Home
last modified time | relevance | path

Searched refs:GetInstance (Results 1 – 25 of 49) sorted by relevance

12

/system/bt/common/
Daddress_obfuscator_unittest.cc82 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 …]
Dmetrics_unittest.cc406 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 …]
Daddress_obfuscator.h34 static AddressObfuscator* GetInstance() { in GetInstance() function
Dmetrics.cc580 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/
Dcgroup_file.cpp79 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/
Dreboot.cpp148 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 …]
Dbuiltins.cpp102 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 …]
Dinit.cpp105 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 …]
Dsigchld_handler.cpp69 service = ServiceList::GetInstance().FindService(pid, &Service::pid); in ReapOneProcess()
95 ServiceList::GetInstance().RemoveService(*service); in ReapOneProcess()
Dhost_init_verifier.cpp142 ActionManager& am = ActionManager::GetInstance(); in main()
143 ServiceList& sl = ServiceList::GetInstance(); in main()
Daction_manager.h31 static ActionManager& GetInstance();
Daction_manager.cpp26 ActionManager& ActionManager::GetInstance() { in GetInstance() function in android::init::ActionManager
/system/core/libprocessgroup/
Dsched_policy.cpp154 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()
Dprocessgroup.cpp59 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()
Dcgroup_map.h63 static CgroupMap& GetInstance();
Dtask_profiles.cpp295 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/
DVintfObject.cpp86 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/
Dinterface_with_instances_base.h74 std::shared_ptr<bluetooth::BluetoothInstance> GetInstance(int instance_id);
Dbluetooth_gatt_client_binder_server.cc72 GetInstance(client_id)); in GetGattClient()
Dinterface_with_instances_base.cc105 InterfaceWithInstancesBase::GetInstance(int instance_id) { in GetInstance() function in ipc::binder::InterfaceWithInstancesBase
/system/nfc/src/adaptation/
Dnfc_config.cc52 NfcAdaptation& theInstance = NfcAdaptation::GetInstance(); in loadConfig()
/system/bt/btif/src/
Dbtif_a2dp_audio_interface.cc108 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()
Dbluetooth.cc330 bluetooth::common::BluetoothMetricsLogger::GetInstance()->WriteString(output); in dumpMetrics()
447 return bluetooth::common::AddressObfuscator::GetInstance()->Obfuscate( in obfuscate_address()
/system/bt/osi/src/
Dwakelock.cc287 BluetoothMetricsLogger::GetInstance()->LogWakeEvent( in update_wakelock_acquired_stats()
329 BluetoothMetricsLogger::GetInstance()->LogWakeEvent( in update_wakelock_released_stats()
/system/nfc/src/include/
DNfcAdaptation.h91 static NfcAdaptation& GetInstance();

12