Loading system/include/notreached.h 0 → 100644 +24 −0 Original line number Diff line number Diff line // // Copyright 2021 Google, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at: // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // #pragma once // On all old libchrome, NOTREACHED is available via logging.h // After 822064, this was moved into base/notreached.h #if defined(BASE_VER) && BASE_VER >= 822064 #include <base/notreached.h> #else #include <base/logging.h> #endif system/service/adapter.cc +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ #include <base/observer_list.h> #include "abstract_observer_list.h" #include "notreached.h" #include "service/a2dp_sink.h" #include "service/a2dp_source.h" #include "service/avrcp_control.h" Loading system/service/avrcp_control.cc +1 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ #include <base/memory/ptr_util.h> #include <base/strings/string_number_conversions.h> #include "notreached.h" #include "service/logging_helpers.h" #include "stack/include/avrc_defs.h" Loading system/service/client/main.cc +2 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,8 @@ #include <bluetooth/scan_settings.h> #include <bluetooth/uuid.h> #include "notreached.h" using namespace std; using android::sp; Loading Loading
system/include/notreached.h 0 → 100644 +24 −0 Original line number Diff line number Diff line // // Copyright 2021 Google, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at: // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // #pragma once // On all old libchrome, NOTREACHED is available via logging.h // After 822064, this was moved into base/notreached.h #if defined(BASE_VER) && BASE_VER >= 822064 #include <base/notreached.h> #else #include <base/logging.h> #endif
system/service/adapter.cc +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ #include <base/observer_list.h> #include "abstract_observer_list.h" #include "notreached.h" #include "service/a2dp_sink.h" #include "service/a2dp_source.h" #include "service/avrcp_control.h" Loading
system/service/avrcp_control.cc +1 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ #include <base/memory/ptr_util.h> #include <base/strings/string_number_conversions.h> #include "notreached.h" #include "service/logging_helpers.h" #include "stack/include/avrc_defs.h" Loading
system/service/client/main.cc +2 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,8 @@ #include <bluetooth/scan_settings.h> #include <bluetooth/uuid.h> #include "notreached.h" using namespace std; using android::sp; Loading