Home
last modified time | relevance | path

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

123456789

/hardware/google/pixel/power-libperfmgr/aidl/
DPower.cpp62 HintManager::GetInstance()->DoHint("SUSTAINED_PERFORMANCE"); in Power()
66 HintManager::GetInstance()->DoHint(state); in Power()
70 HintManager::GetInstance()->DoHint("VR_SUSTAINED_PERFORMANCE"); in Power()
80 HintManager::GetInstance()->DoHint(state); in Power()
86 HintManager::GetInstance()->DoHint("EXPENSIVE_RENDERING"); in Power()
95 if (HintManager::GetInstance()->GetAdpfProfile() && in setMode()
96 HintManager::GetInstance()->GetAdpfProfile()->mReportingRateLimitNs > 0) { in setMode()
103 HintManager::GetInstance()->DoHint(toString(type)); in setMode()
105 HintManager::GetInstance()->EndHint(toString(type)); in setMode()
111 HintManager::GetInstance()->DoHint("SUSTAINED_PERFORMANCE"); in setMode()
[all …]
DPowerExt.cpp46 HintManager::GetInstance()->DoHint(mode); in setMode()
48 HintManager::GetInstance()->EndHint(mode); in setMode()
50 if (HintManager::GetInstance()->GetAdpfProfile() && in setMode()
51 HintManager::GetInstance()->GetAdpfProfile()->mReportingRateLimitNs > 0) { in setMode()
59 bool supported = HintManager::GetInstance()->IsHintSupported(mode); in isModeSupported()
61 if (!supported && HintManager::GetInstance()->IsAdpfProfileSupported(mode)) { in isModeSupported()
71 if (HintManager::GetInstance()->GetAdpfProfile() && in setBoost()
72 HintManager::GetInstance()->GetAdpfProfile()->mReportingRateLimitNs > 0) { in setBoost()
77 HintManager::GetInstance()->DoHint(boost, std::chrono::milliseconds(durationMs)); in setBoost()
79 HintManager::GetInstance()->DoHint(boost); in setBoost()
[all …]
DPowerHintSession.cpp65 std::shared_ptr<AdpfConfig> adpfConfig = HintManagerT::GetInstance()->GetAdpfProfile(); in convertWorkDurationToBoostByPid()
142 HintManagerT::GetInstance()->GetAdpfProfile()->mHeuristicBoostOn.has_value() && in PowerHintSession()
143 HintManagerT::GetInstance() in PowerHintSession()
146 ? std::make_unique<SessionRecords>(HintManagerT::GetInstance() in PowerHintSession()
149 HintManagerT::GetInstance() in PowerHintSession()
160 auto adpfConfig = HintManagerT::GetInstance()->GetAdpfProfile(); in PowerHintSession()
192 auto adpfConfig = HintManagerT::GetInstance()->GetAdpfProfile(); in updatePidControlVariable()
205 mSupportedHints[hint] = HintManagerT::GetInstance()->IsHintSupported(hint); in tryToSendPowerHint()
208 HintManagerT::GetInstance()->DoHint(hint); in tryToSendPowerHint()
285 targetDurationNanos * HintManagerT::GetInstance()->GetAdpfProfile()->mTargetTimeFactor; in updateTargetWorkDuration()
[all …]
Dservice.cpp43 HintManager *hm = HintManager::GetInstance(); in main()
73 HintManager::GetInstance()->Start(); in main()
DPowerSessionManager.cpp92 if (HintManager::GetInstance()->GetAdpfProfile()) { in updateHintMode()
93 HintManager::GetInstance()->SetAdpfProfile(mode); in updateHintMode()
404 if (HintManager::GetInstance()->IsHintSupported(kDisableBoostHintName)) { in enableSystemTopAppBoost()
406 HintManager::GetInstance()->EndHint(kDisableBoostHintName); in enableSystemTopAppBoost()
412 if (HintManager::GetInstance()->IsHintSupported(kDisableBoostHintName)) { in disableSystemTopAppBoost()
414 HintManager::GetInstance()->DoHint(kDisableBoostHintName); in disableSystemTopAppBoost()
472 auto config = HintManager::GetInstance()->GetAdpfProfile(); in applyUclampLocked()
516 auto const gpuVotingOn = HintManager::GetInstance()->GetAdpfProfile()->mGpuBoostOn; in applyGpuVotesLocked()
/hardware/google/camera/common/hal/tests/
Dvendor_tag_tests.cc146 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()
184 const char* tag_name = VendorTagManager::GetInstance().GetTagName(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()
[all …]
/hardware/nxp/nfc/snxxx/halimpl/src/adaptation/
DEseAdaptation.cc88 EseAdaptation& EseAdaptation::GetInstance() { in GetInstance() function in EseAdaptation
139 EseAdaptation::GetInstance().signal(); in Thread()
217 EseAdaptation* pAdaptation = &EseAdaptation::GetInstance(); in IoctlCallback()
246 EseAdaptation::GetInstance().mCurrentIoctlData = pInpOutData; in HalIoctl()
/hardware/google/camera/common/hal/utils/
Dvendor_tag_utils.cc94 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
/hardware/nxp/nfc/snxxx/halimpl/utils/
DphNxpConfig.cc145 static CNfcConfig& GetInstance();
484 CNfcConfig& CNfcConfig::GetInstance() { in GetInstance() function in CNfcConfig
645 CNfcConfig::GetInstance().readConfig(fileName, false); in readNxpTransitConfig()
659 CNfcConfig::GetInstance().readConfig(fileName, false); in readNxpRFConfig()
946 CNfcConfig::GetInstance().readConfig(strPath.c_str(), false); in readOptionalConfig()
960 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetNxpStrValue()
984 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetNxpByteArrayValue()
1002 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetNxpNumValue()
1082 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in resetNxpConfig()
1097 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in isNxpConfigModified()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_ConntrackClient.cpp69 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()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_ConntrackClient.cpp72 IPACM_ConntrackClient* IPACM_ConntrackClient::GetInstance() in GetInstance() function in IPACM_ConntrackClient
312 pClient = IPACM_ConntrackClient::GetInstance(); in IPA_Conntrack_TCP_Filter_Init()
371 IPACM_ConntrackClient *pClient = IPACM_ConntrackClient::GetInstance(); in IPA_Conntrack_UDP_Filter_Init()
399 nat_inst = NatApp::GetInstance(); in UDPConnTimeoutUpdate()
428 pClient = IPACM_ConntrackClient::GetInstance(); in TCPRegisterWithConnTrack()
529 pClient = IPACM_ConntrackClient::GetInstance(); in UDPRegisterWithConnTrack()
619 pClient = IPACM_ConntrackClient::GetInstance(); in UNRegisterWithConnTrack()
666 pClient = IPACM_ConntrackClient::GetInstance(); in UpdateUDPFilters()
713 pClient = IPACM_ConntrackClient::GetInstance(); in UpdateTCPFilters()
/hardware/nxp/nfc/pn8x/halimpl/utils/
DphNxpConfig.cpp126 static CNfcConfig& GetInstance();
445 CNfcConfig& CNfcConfig::GetInstance() { in GetInstance() function in CNfcConfig
754 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetNxpStrValue()
778 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetNxpByteArrayValue()
796 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetNxpNumValue()
836 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in resetNxpConfig()
863 CNfcConfig::GetInstance().readConfig(strPath.c_str(), false); in readOptionalConfig()
876 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in isNxpConfigModified()
890 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in updateNxpConfigTimestamp()
/hardware/nxp/secure_element/pn8x/libese-spi/src/adaptation/
DNfcAdaptation.cpp61 NfcAdaptation& NfcAdaptation::GetInstance() { in GetInstance() function in NfcAdaptation
210 pInpOutData->inp.context = &NfcAdaptation::GetInstance(); in HalIoctl()
211 NfcAdaptation::GetInstance().mCurrentIoctlData = pInpOutData; in HalIoctl()
/hardware/nxp/nfc/pn8x/halimpl/src/adaptation/
DEseAdaptation.cpp98 EseAdaptation& EseAdaptation::GetInstance() { in GetInstance() function in EseAdaptation
161 EseAdaptation::GetInstance().signal(); in Thread()
267 pInpOutData->inp.context = &EseAdaptation::GetInstance(); in HalIoctl()
268 EseAdaptation::GetInstance().mCurrentIoctlData = pInpOutData; in HalIoctl()
/hardware/st/nfc/st21nfc/adaptation/
Dconfig.cpp61 static CNfcConfig& GetInstance();
373 CNfcConfig& CNfcConfig::GetInstance() { in GetInstance() function in CNfcConfig
662 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetStrValue()
686 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetByteArrayValue()
702 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetNumValue()
740 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in resetConfig()
767 CNfcConfig::GetInstance().readConfig(strPath.c_str(), false); in readOptionalConfig()
/hardware/qcom/sm7250/display/gralloc/
Dgr_utils.cpp193 if (CameraInfo::GetInstance() && in IsCameraCustomFormat()
194 !(CameraInfo::GetInstance()->IsCameraUtilsPresent())) { in IsCameraCustomFormat()
352 if (IsCameraCustomFormat(format) && CameraInfo::GetInstance()) { in GetSize()
353 int result = CameraInfo::GetInstance()->GetBufferSize(format, width, height, &size); in GetSize()
798 if (AdrenoMemInfo::GetInstance()) { in IsUBwcPISupported()
799 return AdrenoMemInfo::GetInstance()->IsPISupportedByGPU(format, usage); in IsUBwcPISupported()
826 if (AdrenoMemInfo::GetInstance()) { in IsUBwcEnabled()
827 enable = AdrenoMemInfo::GetInstance()->IsUBWCSupportedByGPU(format); in IsUBwcEnabled()
1068 if (IsCameraCustomFormat(format) && CameraInfo::GetInstance()) { in GetAlignedWidthAndHeight()
1071 int result = CameraInfo::GetInstance()->GetStrideInBytes( in GetAlignedWidthAndHeight()
[all …]
/hardware/st/nfc/1.0/adaptation/
Dconfig.cpp60 static CNfcConfig& GetInstance();
359 CNfcConfig& CNfcConfig::GetInstance() { in GetInstance() function in CNfcConfig
605 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetStrValue()
622 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetNumValue()
660 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in resetConfig()
687 CNfcConfig::GetInstance().readConfig(strPath.c_str(), false); in readOptionalConfig()
/hardware/interfaces/radio/aidl/vts/
Dradio_aidl_hal_utils.cpp147 ALOGD("BEGIN %s#%s", ::testing::UnitTest::GetInstance()->current_test_info()->test_suite_name(), in SetUp()
148 ::testing::UnitTest::GetInstance()->current_test_info()->name()); in SetUp()
156 ALOGD("END %s#%s", ::testing::UnitTest::GetInstance()->current_test_info()->test_suite_name(), in TearDown()
157 ::testing::UnitTest::GetInstance()->current_test_info()->name()); in TearDown()
Dradio_sap_test.cpp25 ALOGD("BEGIN %s#%s", ::testing::UnitTest::GetInstance()->current_test_info()->test_suite_name(), in SetUp()
26 ::testing::UnitTest::GetInstance()->current_test_info()->name()); in SetUp()
47 ALOGD("END %s#%s", ::testing::UnitTest::GetInstance()->current_test_info()->test_suite_name(), in TearDown()
48 ::testing::UnitTest::GetInstance()->current_test_info()->name()); in TearDown()
/hardware/nxp/secure_element/pn8x/libese-spi/p73/pal/spi/
DphNxpEsePal_spi.cpp73 NfcAdaptation& pNfcAdapt = NfcAdaptation::GetInstance(); in phPalEse_spi_close()
130 NfcAdaptation& pNfcAdapt = NfcAdaptation::GetInstance(); in phPalEse_spi_open_and_configure()
304 NfcAdaptation& pNfcAdapt = NfcAdaptation::GetInstance(); in phPalEse_spi_ioctl()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DTestMain.cpp22 testing::UnitTest::GetInstance()->listeners().Append( in main()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DTestMain.cpp22 testing::UnitTest::GetInstance()->listeners().Append( in main()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DTestMain.cpp22 testing::UnitTest::GetInstance()->listeners().Append( in main()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DTestMain.cpp22 testing::UnitTest::GetInstance()->listeners().Append( in main()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DTestMain.cpp23 testing::UnitTest::GetInstance()->listeners().Append( in main()

123456789