/system/bt/main/shim/ |
D | entry.cc | 61 ->GetInstance<bluetooth::hci::LeAdvertisingManager>(); in GetAdvertising() 67 ->GetInstance<bluetooth::hci::Controller>(); in GetController() 74 ->GetInstance<bluetooth::neighbor::ConnectabilityModule>(); in GetConnectability() 81 ->GetInstance<bluetooth::neighbor::DiscoverabilityModule>(); in GetDiscoverability() 87 ->GetInstance<bluetooth::shim::Dumpsys>(); in GetDumpsys() 93 ->GetInstance<bluetooth::neighbor::InquiryModule>(); in GetInquiry() 99 ->GetInstance<bluetooth::hci::HciLayer>(); in GetHciLayer() 105 ->GetInstance<bluetooth::shim::L2cap>(); in GetL2cap() 111 ->GetInstance<bluetooth::neighbor::NameModule>(); in GetName() 117 ->GetInstance<bluetooth::neighbor::PageModule>(); in GetPage() [all …]
|
/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 | 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() 408 auto& allocator = MetricIdAllocator::GetInstance(); in TEST() [all …]
|
D | metrics.cc | 582 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(*address); in LogLinkLayerConnectionEvent() 583 metric_id = MetricIdAllocator::GetInstance().AllocateId(*address); in LogLinkLayerConnectionEvent() 632 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogA2dpAudioUnderrunEvent() 633 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogA2dpAudioUnderrunEvent() 659 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogA2dpAudioOverrunEvent() 660 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogA2dpAudioOverrunEvent() 686 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogReadRssiResult() 687 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogReadRssiResult() 709 obfuscated_id = AddressObfuscator::GetInstance()->Obfuscate(address); in LogReadFailedContactCounterResult() 710 metric_id = MetricIdAllocator::GetInstance().AllocateId(address); in LogReadFailedContactCounterResult() [all …]
|
D | address_obfuscator.h | 34 static AddressObfuscator* GetInstance() { in GetInstance() function
|
D | metric_id_allocator.h | 50 static MetricIdAllocator& GetInstance();
|
/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 | builtins.cpp | 155 for (const auto& service : ServiceList::GetInstance()) { in ForEachServiceInClass() 166 for (const auto& service : ServiceList::GetInstance()) { in do_class_start() 188 for (const auto& service : ServiceList::GetInstance()) { in do_class_start_post_data() 238 Service* svc = ServiceList::GetInstance().FindService(args[1]); in do_enable() 257 ServiceList::GetInstance().AddService(std::move(*service)); in do_exec() 270 ServiceList::GetInstance().AddService(std::move(*service)); in do_exec_background() 275 Service* service = ServiceList::GetInstance().FindService(args[1]); in do_exec_start() 344 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_restart() 351 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_start() 360 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_stop() [all …]
|
D | reboot.cpp | 90 for (const auto& s : ServiceList::GetInstance()) { in GetPostDataDebuggingServices() 192 Service* service = ServiceList::GetInstance().FindService("blank_screen"); in TurnOffBacklight() 513 for (const auto& s : ServiceList::GetInstance().services_in_shutdown_order()) { in StopServices() 540 for (const auto& s : ServiceList::GetInstance()) { in StopServicesAndLogViolations() 616 for (const auto& s : ServiceList::GetInstance()) { in DoReboot() 642 Service* boot_anim = ServiceList::GetInstance().FindService("bootanim"); in DoReboot() 643 Service* surface_flinger = ServiceList::GetInstance().FindService("surfaceflinger"); in DoReboot() 654 for (const auto& service : ServiceList::GetInstance()) { in DoReboot() 685 Service* vold_service = ServiceList::GetInstance().FindService("vold"); in DoReboot() 734 for (const auto& s : ServiceList::GetInstance()) { in EnterShutdown() [all …]
|
D | init.cpp | 247 ServiceList::GetInstance().DumpState(); in DumpState() 248 ActionManager::GetInstance().DumpState(); in DumpState() 310 ActionManager::GetInstance().QueuePropertyChange(name, value); in PropertyChanged() 319 for (const auto& s : ServiceList::GetInstance()) { in HandleProcessActions() 398 service = ServiceList::GetInstance().FindInterface(name); in HandleControlMessage() 400 service = ServiceList::GetInstance().FindService(name); in HandleControlMessage() 504 …ActionManager::GetInstance().QueueBuiltinAction(property_enable_triggers_action, "enable_property_… in queue_property_triggers_action() 505 ActionManager::GetInstance().QueueAllPropertyActions(); in queue_property_triggers_action() 619 for (const auto& service : ServiceList::GetInstance()) { in HandleKeychord() 789 ActionManager& am = ActionManager::GetInstance(); in SecondStageMain() [all …]
|
D | sigchld_handler.cpp | 70 service = ServiceList::GetInstance().FindService(pid, &Service::pid); in ReapOneProcess() 103 ServiceList::GetInstance().RemoveService(*service); in ReapOneProcess()
|
D | action_manager.h | 33 static ActionManager& GetInstance();
|
/system/core/libprocessgroup/ |
D | sched_policy.cpp | 137 static bool enabled = (CgroupMap::GetInstance().FindController("cpuset").IsUsable()); in cpusets_enabled() 142 return (CgroupMap::GetInstance().FindController("schedtune").IsUsable()); in schedtune_enabled() 146 return (CgroupMap::GetInstance().FindController("cpu").IsUsable()); in cpuctl_enabled() 156 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() 115 TaskProfiles::GetInstance().DropResourceCaching(); in DropTaskProfilesResourceCaching() 119 return TaskProfiles::GetInstance().SetProcessProfiles(uid, pid, profiles); in SetProcessProfiles() 123 return TaskProfiles::GetInstance().SetTaskProfiles(tid, profiles, use_fd_cache); in SetTaskProfiles()
|
D | cgroup_map.h | 63 static CgroupMap& GetInstance();
|
/system/core/fs_mgr/liblp/ |
D | device_test.cpp | 38 if (!IPropertyFetcher::GetInstance()->GetBoolProperty("ro.boot.dynamic_partitions", in SetUp() 74 if (IPropertyFetcher::GetInstance()->GetBoolProperty("ro.boot.dynamic_partitions_retrofit", in TEST_F()
|
D | property_fetcher.cpp | 39 IPropertyFetcher* IPropertyFetcher::GetInstance() { in GetInstance() function in android::fs_mgr::IPropertyFetcher
|
/system/core/init/test_utils/ |
D | service_utils.cpp | 31 ServiceList& service_list = ServiceList::GetInstance(); in GetOnDeviceServiceInterfacesMap()
|
/system/bt/gd/ |
D | stack_manager.h | 31 T* GetInstance() const { in GetInstance() function
|
D | stack_manager_unittest.cc | 51 EXPECT_NE(stack_manager.GetInstance<TestModuleNoDependency>(), nullptr); in TEST()
|
/system/extras/simpleperf/ |
D | ETMRecorder.h | 51 static ETMRecorder& GetInstance();
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | property_fetcher.h | 30 static IPropertyFetcher* GetInstance();
|
D | mock_property_fetcher.h | 51 return static_cast<MockPropertyFetcher*>(IPropertyFetcher::GetInstance()); in GetMockedPropertyFetcher()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot_stats.h | 29 static SnapshotMergeStats* GetInstance(SnapshotManager& manager);
|