/aosp12/system/bt/main/shim/ |
H A D | entry.cc | 44 return Stack::GetInstance() in GetAdvertising() 50 return Stack::GetInstance() in GetController() 56 return Stack::GetInstance() in GetConnectability() 62 return Stack::GetInstance() in GetDiscoverability() 68 return Stack::GetInstance()->GetStackManager()->GetInstance<Dumpsys>(); in GetDumpsys() 72 return Stack::GetInstance() in GetInquiry() 78 return Stack::GetInstance()->GetStackManager()->GetInstance<hci::HciLayer>(); in GetHciLayer() 82 return Stack::GetInstance() in GetL2capClassicModule() 88 return Stack::GetInstance() in GetL2capLeModule() 94 return Stack::GetInstance() in GetName() [all …]
|
H A D | acl_api.cc | 32 Stack::GetInstance()->GetAcl()->CreateClassicConnection(address); in ACL_CreateClassicConnection() 38 Stack::GetInstance()->GetAcl()->CancelClassicConnection(address); in ACL_CancelClassicConnection() 45 Stack::GetInstance()->GetAcl()->AcceptLeConnectionFrom( in ACL_AcceptLeConnectionFrom() 53 Stack::GetInstance()->GetAcl()->IgnoreLeConnectionFrom( in ACL_IgnoreLeConnectionFrom() 61 Stack::GetInstance()->GetAcl()->WriteData(handle, std::move(packet)); in ACL_WriteData() 76 Stack::GetInstance() in ACL_ConfigureLePrivacy() 78 ->GetInstance<bluetooth::hci::AclManager>() in ACL_ConfigureLePrivacy() 87 ? Stack::GetInstance()->GetAcl()->DisconnectClassic(handle, reason) in ACL_Disconnect() 88 : Stack::GetInstance()->GetAcl()->DisconnectLe(handle, reason); in ACL_Disconnect() 92 Stack::GetInstance()->GetAcl()->Shutdown(); in ACL_Shutdown() [all …]
|
H A D | btm_api.cc | 272 static ShimUi* GetInstance() { in GetInstance() function in ShimUi 404 static ShimBondListener* GetInstance() { in GetInstance() function in ShimBondListener 468 MetricIdAllocator::GetInstance().AllocateId( in OnDeviceBonded() 490 MetricIdAllocator::GetInstance().ForgetDevice( in OnDeviceUnbonded() 538 Stack::GetInstance()->GetBtm()->SetScanningTimer( in BTM_StartInquiry() 549 if (!Stack::GetInstance()->GetBtm()->StartInquiry( in BTM_StartInquiry() 661 Stack::GetInstance()->GetBtm()->StartObserving(); in BTM_BleObserve() 711 Stack::GetInstance()->GetBtm()->StopObserving(); in BTM_BleObserve() 713 Stack::GetInstance()->GetBtm()->StopObserving(); in BTM_BleObserve() 788 Stack::GetInstance()->GetBtm()->CancelInquiry(); in BTM_CancelInquiry() [all …]
|
H A D | metric_id_api.cc | 50 return MetricIdManager::GetInstance().Init( in InitMetricIdAllocator() 54 bool CloseMetricIdAllocator() { return MetricIdManager::GetInstance().Close(); } in CloseMetricIdAllocator() 57 return MetricIdManager::GetInstance().IsEmpty(); in IsEmptyMetricIdAllocator() 62 return MetricIdManager::GetInstance().AllocateId(address); in AllocateIdFromMetricIdAllocator() 67 return MetricIdManager::GetInstance().SaveDevice(address); in SaveDeviceOnMetricIdAllocator() 72 return MetricIdManager::GetInstance().ForgetDevice(address); in ForgetDeviceFromMetricIdAllocator() 76 return MetricIdManager::GetInstance().IsValidId(id); in IsValidIdFromMetricIdAllocator()
|
H A D | shim.cc | 27 bluetooth::shim::Stack::GetInstance()->StartIdleMode(); in IdleModuleStartUp() 32 bluetooth::shim::Stack::GetInstance()->StartEverything(); in ShimModuleStartUp() 37 bluetooth::shim::Stack::GetInstance()->Stop(); in GeneralShutDown() 98 return bluetooth::shim::Stack::GetInstance()->IsRunning(); in is_gd_stack_started_up() 102 return bluetooth::shim::Stack::GetInstance()->IsDumpsysModuleStarted(); in is_gd_dumpsys_module_started()
|
/aosp12/system/bt/stack/test/ |
H A D | btm_iso_test.cc | 508 IsoManager::GetInstance()->Stop(); in TEST_F() 518 IsoManager::GetInstance()->Stop(); in TEST_F() 899 IsoManager::GetInstance()->IsoManager::GetInstance()->EstablishCis( in TEST_F() 915 IsoManager::GetInstance()->IsoManager::GetInstance()->EstablishCis( in TEST_F() 957 IsoManager::GetInstance()->IsoManager::GetInstance()->EstablishCis( in TEST_F() 1138 IsoManager::GetInstance()->IsoManager::GetInstance()->DisconnectCis(handle, in TEST_F() 1146 IsoManager::GetInstance()->IsoManager::GetInstance()->DisconnectCis( in TEST_F() 1164 IsoManager::GetInstance()->IsoManager::GetInstance()->DisconnectCis(handle, in TEST_F() 1170 IsoManager::GetInstance()->IsoManager::GetInstance()->DisconnectCis( in TEST_F() 1202 IsoManager::GetInstance()->IsoManager::GetInstance()->DisconnectCis( in TEST_F() [all …]
|
/aosp12/system/bt/common/ |
H A D | metrics_unittest.cc | 406 BluetoothMetricsLogger::GetInstance()->Reset(); in SetUp() 410 BluetoothMetricsLogger::GetInstance()->Reset(); in TearDown() 424 BluetoothMetricsLogger::GetInstance()->LogPairEvent( in TEST_F() 427 BluetoothMetricsLogger::GetInstance()->WriteString(&msg_str); in TEST_F() 436 BluetoothMetricsLogger::GetInstance()->LogWakeEvent( in TEST_F() 439 BluetoothMetricsLogger::GetInstance()->WriteString(&msg_str); in TEST_F() 450 BluetoothMetricsLogger::GetInstance()->LogWakeEvent( in TEST_F() 456 BluetoothMetricsLogger::GetInstance()->WriteString(&msg_str); in TEST_F() 468 BluetoothMetricsLogger::GetInstance()->LogScanEvent( in TEST_F() 472 BluetoothMetricsLogger::GetInstance()->WriteString(&msg_str); in TEST_F() [all …]
|
H A D | address_obfuscator_unittest.cc | 82 AddressObfuscator::GetInstance()->Initialize(kEmptyKey); in TEST() 83 EXPECT_FALSE(AddressObfuscator::GetInstance()->IsInitialized()); in TEST() 87 AddressObfuscator::GetInstance()->Initialize(kTestKey1); in TEST() 88 EXPECT_TRUE(AddressObfuscator::GetInstance()->IsInitialized()); in TEST() 92 AddressObfuscator::GetInstance()->Initialize(kTestKey1); in TEST() 99 AddressObfuscator::GetInstance()->Initialize(kTestKey2); in TEST() 101 AddressObfuscator::GetInstance()->Obfuscate(kTestData2_1); in TEST() 107 AddressObfuscator::GetInstance()->Initialize(kTestKey2); in TEST() 109 AddressObfuscator::GetInstance()->Obfuscate(kTestData2_2); in TEST() 115 AddressObfuscator::GetInstance()->Initialize(kTestKey2); in TEST() [all …]
|
H A D | metrics.cc | 633 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogA2dpAudioUnderrunEvent() 660 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogA2dpAudioOverrunEvent() 687 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogA2dpPlaybackEvent() 710 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogReadRssiResult() 733 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogReadFailedContactCounterResult() 757 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogReadTxPowerLevelResult() 781 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogSmpPairingEvent() 804 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogClassicPairingEvent() 828 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogSdpAttribute() 854 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogSocketConnectionState() [all …]
|
H A D | metric_id_allocator_unittest.cc | 51 auto& allocator = MetricIdAllocator::GetInstance(); in TEST() 62 auto& allocator = MetricIdAllocator::GetInstance(); in TEST() 75 auto& allocator = MetricIdAllocator::GetInstance(); in TEST() 91 auto& allocator = MetricIdAllocator::GetInstance(); in TEST() 111 auto& allocator = MetricIdAllocator::GetInstance(); in TEST() 131 auto& allocator = MetricIdAllocator::GetInstance(); in TEST() 182 auto& allocator = MetricIdAllocator::GetInstance(); in TEST() 321 auto& allocator = MetricIdAllocator::GetInstance(); in TEST() 385 auto& allocator = MetricIdAllocator::GetInstance(); in TEST() 424 auto& allocator = MetricIdAllocator::GetInstance(); in TEST() [all …]
|
/aosp12/art/runtime/verifier/ |
H A D | reg_type-inl.h | 157 inline const DoubleHiType* DoubleHiType::GetInstance() { in GetInstance() function 162 inline const DoubleLoType* DoubleLoType::GetInstance() { in GetInstance() function 167 inline const LongHiType* LongHiType::GetInstance() { in GetInstance() function 172 inline const LongLoType* LongLoType::GetInstance() { in GetInstance() function 177 inline const FloatType* FloatType::GetInstance() { in GetInstance() function 182 inline const CharType* CharType::GetInstance() { in GetInstance() function 187 inline const ShortType* ShortType::GetInstance() { in GetInstance() function 192 inline const ByteType* ByteType::GetInstance() { in GetInstance() function 198 inline const IntegerType* IntegerType::GetInstance() { in GetInstance() function 203 inline const BooleanType* BooleanType::GetInstance() { in GetInstance() function [all …]
|
H A D | reg_type_cache-inl.h | 51 return *BooleanType::GetInstance(); in Boolean() 54 return *ByteType::GetInstance(); in Byte() 57 return *CharType::GetInstance(); in Char() 60 return *ShortType::GetInstance(); in Short() 63 return *IntegerType::GetInstance(); in Integer() 66 return *FloatType::GetInstance(); in Float() 69 return *LongLoType::GetInstance(); in LongLo() 72 return *LongHiType::GetInstance(); in LongHi() 75 return *DoubleLoType::GetInstance(); in DoubleLo() 78 return *DoubleHiType::GetInstance(); in DoubleHi() [all …]
|
H A D | reg_type_cache.cc | 67 entries_.push_back(NullType::GetInstance()); in FillPrimitiveAndSmallConstantTypes() 69 entries_.push_back(ByteType::GetInstance()); in FillPrimitiveAndSmallConstantTypes() 123 return *BooleanType::GetInstance(); in RegTypeFromPrimitiveType() 125 return *ByteType::GetInstance(); in RegTypeFromPrimitiveType() 127 return *ShortType::GetInstance(); in RegTypeFromPrimitiveType() 129 return *CharType::GetInstance(); in RegTypeFromPrimitiveType() 131 return *IntegerType::GetInstance(); in RegTypeFromPrimitiveType() 133 return *LongLoType::GetInstance(); in RegTypeFromPrimitiveType() 135 return *FloatType::GetInstance(); in RegTypeFromPrimitiveType() 137 return *DoubleLoType::GetInstance(); in RegTypeFromPrimitiveType() [all …]
|
/aosp12/system/core/init/ |
H A D | reboot_test.cpp | 64 auto s = ServiceList::GetInstance().FindService(name); in ~RebootTest() 66 ServiceList::GetInstance().RemoveService(*s); in ~RebootTest() 77 for (const auto& s : ServiceList::GetInstance()) { in GetServiceNames() 104 ServiceList& service_list = ServiceList::GetInstance(); in AddTestService() 124 auto service_a = ServiceList::GetInstance().FindService("A"); in TEST_F() 126 auto service_b = ServiceList::GetInstance().FindService("B"); in TEST_F() 144 ServiceList::GetInstance().AddService(std::move(oneshot_service)); in TEST_F() 151 auto oneshot_service_after_stop = ServiceList::GetInstance().FindService(oneshot_service_name); in TEST_F() 164 auto service_a = ServiceList::GetInstance().FindService("A"); in TEST_F() 166 auto service_b = ServiceList::GetInstance().FindService("B"); in TEST_F() [all …]
|
H A D | builtins.cpp | 156 for (const auto& service : ServiceList::GetInstance()) { in ForEachServiceInClass() 167 for (const auto& service : ServiceList::GetInstance()) { in do_class_start() 189 for (const auto& service : ServiceList::GetInstance()) { in do_class_start_post_data() 258 ServiceList::GetInstance().AddService(std::move(*service)); in do_exec() 271 ServiceList::GetInstance().AddService(std::move(*service)); in do_exec_background() 557 auto& action_manager = ActionManager::GetInstance(); in import_late() 558 auto& service_list = ServiceList::GetInstance(); in import_late() 819 ActionManager::GetInstance().QueueEventTrigger(args[1]); in do_trigger() 1193 ServiceList::GetInstance().AddService(std::move(*service)); in ExecWithFunctionOnFailure() 1266 ServiceList::GetInstance().MarkPostData(); in do_mark_post_data() [all …]
|
H A D | reboot.cpp | 90 for (const auto& s : ServiceList::GetInstance()) { in GetPostDataDebuggingServices() 552 for (const auto& s : ServiceList::GetInstance()) { in StopServicesAndLogViolations() 640 for (const auto& s : ServiceList::GetInstance()) { in DoReboot() 764 for (const auto& s : ServiceList::GetInstance()) { in EnterShutdown() 833 for (const auto& s : ServiceList::GetInstance()) { in DoUserspaceReboot() 855 for (const auto& s : ServiceList::GetInstance()) { in DoUserspaceReboot() 886 for (const auto& s : ServiceList::GetInstance()) { in DoUserspaceReboot() 892 ServiceList::GetInstance().ResetState(); in DoUserspaceReboot() 943 auto& am = ActionManager::GetInstance(); in HandleUserspaceReboot() 1071 ActionManager::GetInstance().ClearQueue(); in HandlePowerctlMessage() [all …]
|
/aosp12/hardware/google/camera/common/hal/tests/ |
H A D | vendor_tag_tests.cc | 146 int count = VendorTagManager::GetInstance().GetCount(); in TEST() 152 ret = VendorTagManager::GetInstance().AddTags(combined_sections); in TEST() 154 count = VendorTagManager::GetInstance().GetCount(); in TEST() 179 VendorTagManager::GetInstance().GetAllTags(tag_id_list); in TEST() 183 VendorTagManager::GetInstance().GetSectionName(tag_id); in TEST() 185 int tag_type = VendorTagManager::GetInstance().GetTagType(tag_id); in TEST() 195 ret = VendorTagManager::GetInstance().AddTags(combined_sections); in TEST() 204 ret = VendorTagManager::GetInstance().AddTags(extra_sections); in TEST() 207 count = VendorTagManager::GetInstance().GetCount(); in TEST() 210 VendorTagManager::GetInstance().Reset(); in TEST() [all …]
|
/aosp12/system/bt/gd/os/android/ |
H A D | metrics.cc | 52 metric_id = MetricIdManager::GetInstance().AllocateId(*address); in LogMetricLinkLayerConnectionEvent() 109 metric_id = MetricIdManager::GetInstance().AllocateId(address); in LogMetricA2dpAudioUnderrunEvent() 136 metric_id = MetricIdManager::GetInstance().AllocateId(address); in LogMetricA2dpAudioOverrunEvent() 164 metric_id = MetricIdManager::GetInstance().AllocateId(address); in LogMetricA2dpPlaybackEvent() 182 metric_id = MetricIdManager::GetInstance().AllocateId(address); in LogMetricReadRssiResult() 201 metric_id = MetricIdManager::GetInstance().AllocateId(address); in LogMetricReadFailedContactCounterResult() 225 metric_id = MetricIdManager::GetInstance().AllocateId(address); in LogMetricReadTxPowerLevelResult() 249 metric_id = MetricIdManager::GetInstance().AllocateId(address); in LogMetricSmpPairingEvent() 274 metric_id = MetricIdManager::GetInstance().AllocateId(address); in LogMetricClassicPairingEvent() 309 metric_id = MetricIdManager::GetInstance().AllocateId(address); in LogMetricSdpAttribute() [all …]
|
/aosp12/system/apex/apexd/ |
H A D | apexd_test.cpp | 221 auto& instance = ApexFileRepository::GetInstance(); in TEST_F() 252 auto& instance = ApexFileRepository::GetInstance(); in TEST_F() 275 auto& instance = ApexFileRepository::GetInstance(); in TEST_F() 297 auto& instance = ApexFileRepository::GetInstance(); in TEST_F() 319 auto& instance = ApexFileRepository::GetInstance(); in TEST_F() 523 auto& instance = ApexFileRepository::GetInstance(); in TEST_F() 537 auto& instance = ApexFileRepository::GetInstance(); in TEST_F() 571 auto& instance = ApexFileRepository::GetInstance(); in TEST_F() 3335 auto& instance = ApexFileRepository::GetInstance(); in TEST_F() 3409 auto& instance = ApexFileRepository::GetInstance(); in TEST_F() [all …]
|
/aosp12/system/core/libprocessgroup/cgrouprc/ |
H A D | cgroup_file.cpp | 79 static CgroupFile* GetInstance() { in GetInstance() function 87 auto file = GetInstance(); in ACgroupFile_getVersion() 93 auto file = GetInstance(); in ACgroupFile_getControllerCount() 99 auto file = GetInstance(); in ACgroupFile_getController()
|
/aosp12/system/bt/gd/common/ |
H A D | metric_id_manager_unittest.cc | 51 auto& manager = MetricIdManager::GetInstance(); in TEST() 63 auto& manager = MetricIdManager::GetInstance(); in TEST() 77 auto& manager = MetricIdManager::GetInstance(); in TEST() 94 auto& manager = MetricIdManager::GetInstance(); in TEST() 115 auto& manager = MetricIdManager::GetInstance(); in TEST() 142 auto& manager = MetricIdManager::GetInstance(); in TEST() 200 auto& manager = MetricIdManager::GetInstance(); in TEST() 346 auto& manager = MetricIdManager::GetInstance(); in TEST() 410 auto& manager = MetricIdManager::GetInstance(); in TEST() 449 auto& manager = MetricIdManager::GetInstance(); in TEST() [all …]
|
/aosp12/hardware/nxp/nfc/snxxx/halimpl/utils/ |
H A D | phNxpConfig.cc | 138 static CNfcConfig& GetInstance(); 477 CNfcConfig& CNfcConfig::GetInstance() { in GetInstance() function in CNfcConfig 640 CNfcConfig::GetInstance().readConfig(fileName, false); in readNxpTransitConfig() 955 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetNxpStrValue() 979 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetNxpByteArrayValue() 997 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetNxpNumValue() 1067 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in resetNxpConfig() 1082 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in isNxpConfigModified() 1097 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in isNxpRFConfigModified() 1115 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in updateNxpConfigTimestamp() [all …]
|
/aosp12/system/bt/btif/src/ |
H A D | btif_metrics_logging.cc | 125 return bluetooth::common::MetricIdAllocator::GetInstance().Init( in init_metric_id_allocator() 134 return bluetooth::common::MetricIdAllocator::GetInstance().Close(); in close_metric_id_allocator() 141 return bluetooth::common::MetricIdAllocator::GetInstance().AllocateId( in allocate_metric_id_from_metric_id_allocator() 149 return bluetooth::common::MetricIdAllocator::GetInstance().SaveDevice( in save_metric_id_from_metric_id_allocator() 157 bluetooth::common::MetricIdAllocator::GetInstance().ForgetDevice(address); in forget_device_from_metric_id_allocator()
|
/aosp12/hardware/google/camera/common/hal/utils/ |
H A D | vendor_tag_utils.cc | 94 return VendorTagManager::GetInstance().GetCount(); in GetCount() 99 return VendorTagManager::GetInstance().GetAllTags(tag_array); in GetAllTags() 104 return VendorTagManager::GetInstance().GetSectionName(tag_id); in GetSectionName() 109 return VendorTagManager::GetInstance().GetTagName(tag_id); in GetTagName() 113 return VendorTagManager::GetInstance().GetTagType(tag_id); in GetTagType() 116 VendorTagManager& VendorTagManager::GetInstance() { in GetInstance() function in android::google_camera_hal::VendorTagManager
|
/aosp12/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
H A D | IPACM_ConntrackClient.cpp | 69 IPACM_ConntrackClient* IPACM_ConntrackClient::GetInstance() in GetInstance() function in IPACM_ConntrackClient 309 pClient = IPACM_ConntrackClient::GetInstance(); in IPA_Conntrack_TCP_Filter_Init() 368 IPACM_ConntrackClient *pClient = IPACM_ConntrackClient::GetInstance(); in IPA_Conntrack_UDP_Filter_Init() 397 nat_inst = NatApp::GetInstance(); in UDPConnTimeoutUpdate() 426 pClient = IPACM_ConntrackClient::GetInstance(); in TCPRegisterWithConnTrack() 521 pClient = IPACM_ConntrackClient::GetInstance(); in UDPRegisterWithConnTrack() 610 pClient = IPACM_ConntrackClient::GetInstance(); in UNRegisterWithConnTrack() 657 pClient = IPACM_ConntrackClient::GetInstance(); in UpdateUDPFilters() 704 pClient = IPACM_ConntrackClient::GetInstance(); in UpdateTCPFilters()
|