/system/bt/common/ |
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() 93 std::string result = AddressObfuscator::GetInstance()->Obfuscate(kTestData1); 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() [all …]
|
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 …]
|
D | address_obfuscator.h | 34 static AddressObfuscator* GetInstance() { in GetInstance() function
|
D | metrics.cc | 580 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(*address); in LogLinkLayerConnectionEvent() 628 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogA2dpAudioUnderrunEvent() 653 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogA2dpAudioOverrunEvent() 678 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogReadRssiResult() 699 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogReadFailedContactCounterResult() 721 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogReadTxPowerLevelResult() 743 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogSmpPairingEvent() 764 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogClassicPairingEvent() 784 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogSdpAttribute() 808 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogSocketConnectionState() [all …]
|
/system/core/libprocessgroup/cgrouprc/ |
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()
|
/system/core/init/ |
D | reboot.cpp | 148 Service* service = ServiceList::GetInstance().FindService("blank_screen"); in TurnOffBacklight() 376 for (const auto& s : ServiceList::GetInstance()) { in DoReboot() 399 Service* bootAnim = ServiceList::GetInstance().FindService("bootanim"); in DoReboot() 400 Service* surfaceFlinger = ServiceList::GetInstance().FindService("surfaceflinger"); in DoReboot() 411 for (const auto& service : ServiceList::GetInstance()) { in DoReboot() 436 for (const auto& s : ServiceList::GetInstance().services_in_shutdown_order()) { in DoReboot() 447 for (const auto& s : ServiceList::GetInstance()) { in DoReboot() 472 for (const auto& s : ServiceList::GetInstance().services_in_shutdown_order()) { in DoReboot() 479 Service* voldService = ServiceList::GetInstance().FindService("vold"); in DoReboot() 487 for (const auto& s : ServiceList::GetInstance().services_in_shutdown_order()) { in DoReboot() [all …]
|
D | builtins.cpp | 102 for (const auto& service : ServiceList::GetInstance()) { in ForEachServiceInClass() 113 for (const auto& service : ServiceList::GetInstance()) { in do_class_start() 128 for (const auto& service : ServiceList::GetInstance()) { in do_class_start_post_data() 173 Service* svc = ServiceList::GetInstance().FindService(args[1]); in do_enable() 192 ServiceList::GetInstance().AddService(std::move(service)); in do_exec() 205 ServiceList::GetInstance().AddService(std::move(service)); in do_exec_background() 210 Service* service = ServiceList::GetInstance().FindService(args[1]); in do_exec_start() 279 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_restart() 286 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_start() 295 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_stop() [all …]
|
D | init.cpp | 105 ServiceList::GetInstance().DumpState(); in DumpState() 106 ActionManager::GetInstance().DumpState(); in DumpState() 196 if (property_triggers_enabled) ActionManager::GetInstance().QueuePropertyChange(name, value); in property_changed() 209 for (const auto& s : ServiceList::GetInstance()) { in HandleProcessActions() 307 svc = ServiceList::GetInstance().FindService(name); in HandleControlMessage() 310 svc = ServiceList::GetInstance().FindInterface(name); in HandleControlMessage() 456 …ActionManager::GetInstance().QueueBuiltinAction(property_enable_triggers_action, "enable_property_… in queue_property_triggers_action() 457 ActionManager::GetInstance().QueueAllPropertyActions(); in queue_property_triggers_action() 586 for (const auto& service : ServiceList::GetInstance()) { in HandleKeychord() 703 ActionManager& am = ActionManager::GetInstance(); in SecondStageMain() [all …]
|
D | sigchld_handler.cpp | 69 service = ServiceList::GetInstance().FindService(pid, &Service::pid); in ReapOneProcess() 95 ServiceList::GetInstance().RemoveService(*service); in ReapOneProcess()
|
D | host_init_verifier.cpp | 142 ActionManager& am = ActionManager::GetInstance(); in main() 143 ServiceList& sl = ServiceList::GetInstance(); in main()
|
D | action_manager.h | 31 static ActionManager& GetInstance();
|
D | action_manager.cpp | 26 ActionManager& ActionManager::GetInstance() { in GetInstance() function in android::init::ActionManager
|
/system/core/libprocessgroup/ |
D | sched_policy.cpp | 154 static bool enabled = (CgroupMap::GetInstance().FindController("cpuset").IsUsable()); in cpusets_enabled() 159 static bool enabled = (CgroupMap::GetInstance().FindController("schedtune").IsUsable()); in schedboost_enabled() 164 auto controller = CgroupMap::GetInstance().FindController(subsys); in getCGroupSubsys()
|
D | processgroup.cpp | 59 auto controller = CgroupMap::GetInstance().FindController(cgroup_name); in CgroupGetControllerPath() 73 const TaskProfiles& tp = TaskProfiles::GetInstance(); in CgroupGetAttributePath() 88 const TaskProfiles& tp = TaskProfiles::GetInstance(); in CgroupGetAttributePathForTask() 109 static bool memcg_supported = CgroupMap::GetInstance().FindController("memory").IsUsable(); in isMemoryCgroupSupported() 116 const TaskProfiles& tp = TaskProfiles::GetInstance(); in SetProcessProfiles() 136 const TaskProfiles& tp = TaskProfiles::GetInstance(); in SetTaskProfiles()
|
D | cgroup_map.h | 63 static CgroupMap& GetInstance();
|
D | task_profiles.cpp | 295 TaskProfiles& TaskProfiles::GetInstance() { in GetInstance() function in TaskProfiles 304 if (!Load(CgroupMap::GetInstance(), TASK_PROFILE_DB_FILE)) { in TaskProfiles() 310 !Load(CgroupMap::GetInstance(), TASK_PROFILE_DB_VENDOR_FILE)) { in TaskProfiles()
|
/system/libvintf/ |
D | VintfObject.cpp | 86 std::shared_ptr<VintfObject> VintfObject::GetInstance() { in GetInstance() function in android::vintf::VintfObject 95 return GetInstance()->getDeviceHalManifest(skipCache); in GetDeviceHalManifest() 104 return GetInstance()->getFrameworkHalManifest(skipCache); in GetFrameworkHalManifest() 113 return GetInstance()->getDeviceCompatibilityMatrix(skipCache); in GetDeviceCompatibilityMatrix() 122 return GetInstance()->getFrameworkCompatibilityMatrix(skipCache); in GetFrameworkCompatibilityMatrix() 450 return GetInstance()->getRuntimeInfo(skipCache, flags); in GetRuntimeInfo() 655 return GetInstance()->checkCompatibility(xmls, error, flags); in CheckCompatibility() 740 return GetInstance()->checkDeprecation(listInstances, error); in CheckDeprecation() 792 return GetInstance()->checkDeprecation(error); in CheckDeprecation()
|
/system/bt/service/ipc/binder/ |
D | interface_with_instances_base.h | 74 std::shared_ptr<bluetooth::BluetoothInstance> GetInstance(int instance_id);
|
D | bluetooth_gatt_client_binder_server.cc | 72 GetInstance(client_id)); in GetGattClient()
|
D | interface_with_instances_base.cc | 105 InterfaceWithInstancesBase::GetInstance(int instance_id) { in GetInstance() function in ipc::binder::InterfaceWithInstancesBase
|
/system/nfc/src/adaptation/ |
D | nfc_config.cc | 52 NfcAdaptation& theInstance = NfcAdaptation::GetInstance(); in loadConfig()
|
/system/bt/btif/src/ |
D | btif_a2dp_audio_interface.cc | 108 BluetoothMetricsLogger::GetInstance()->LogA2dpSession(metrics); in StoreMetrics() 303 BluetoothMetricsLogger::GetInstance()->LogBluetoothSessionStart( in btif_a2dp_audio_interface_start_session() 317 BluetoothMetricsLogger::GetInstance()->LogBluetoothSessionEnd( in btif_a2dp_audio_interface_end_session()
|
D | bluetooth.cc | 330 bluetooth::common::BluetoothMetricsLogger::GetInstance()->WriteString(output); in dumpMetrics() 447 return bluetooth::common::AddressObfuscator::GetInstance()->Obfuscate( in obfuscate_address()
|
/system/bt/osi/src/ |
D | wakelock.cc | 287 BluetoothMetricsLogger::GetInstance()->LogWakeEvent( in update_wakelock_acquired_stats() 329 BluetoothMetricsLogger::GetInstance()->LogWakeEvent( in update_wakelock_released_stats()
|
/system/nfc/src/include/ |
D | NfcAdaptation.h | 91 static NfcAdaptation& GetInstance();
|