Home
last modified time | relevance | path

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

1234

/system/bt/main/shim/
Dentry.cc61 ->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/
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 …]
Dmetric_id_allocator_unittest.cc51 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 …]
Dmetrics.cc582 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 …]
Daddress_obfuscator.h34 static AddressObfuscator* GetInstance() { in GetInstance() function
Dmetric_id_allocator.h50 static MetricIdAllocator& GetInstance();
/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/
Dbuiltins.cpp155 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 …]
Dreboot.cpp90 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 …]
Dinit.cpp247 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 …]
Dsigchld_handler.cpp70 service = ServiceList::GetInstance().FindService(pid, &Service::pid); in ReapOneProcess()
103 ServiceList::GetInstance().RemoveService(*service); in ReapOneProcess()
Daction_manager.h33 static ActionManager& GetInstance();
/system/core/libprocessgroup/
Dsched_policy.cpp137 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()
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()
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()
Dcgroup_map.h63 static CgroupMap& GetInstance();
/system/core/fs_mgr/liblp/
Ddevice_test.cpp38 if (!IPropertyFetcher::GetInstance()->GetBoolProperty("ro.boot.dynamic_partitions", in SetUp()
74 if (IPropertyFetcher::GetInstance()->GetBoolProperty("ro.boot.dynamic_partitions_retrofit", in TEST_F()
Dproperty_fetcher.cpp39 IPropertyFetcher* IPropertyFetcher::GetInstance() { in GetInstance() function in android::fs_mgr::IPropertyFetcher
/system/core/init/test_utils/
Dservice_utils.cpp31 ServiceList& service_list = ServiceList::GetInstance(); in GetOnDeviceServiceInterfacesMap()
/system/bt/gd/
Dstack_manager.h31 T* GetInstance() const { in GetInstance() function
Dstack_manager_unittest.cc51 EXPECT_NE(stack_manager.GetInstance<TestModuleNoDependency>(), nullptr); in TEST()
/system/extras/simpleperf/
DETMRecorder.h51 static ETMRecorder& GetInstance();
/system/core/fs_mgr/liblp/include/liblp/
Dproperty_fetcher.h30 static IPropertyFetcher* GetInstance();
Dmock_property_fetcher.h51 return static_cast<MockPropertyFetcher*>(IPropertyFetcher::GetInstance()); in GetMockedPropertyFetcher()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot_stats.h29 static SnapshotMergeStats* GetInstance(SnapshotManager& manager);

1234