Home
last modified time | relevance | path

Searched refs:getInstance (Results 1 – 25 of 42) sorted by relevance

12

/system/libvintf/test/
DAssembleVintfTest.cpp42 getInstance()->setFakeEnv("PRODUCT_ENFORCE_VINTF_MANIFEST", "true"); in SetUp()
46 const std::unique_ptr<AssembleVintf>& getInstance() { return mInstance; } in getInstance() function in android::vintf::AssembleVintfTest
54 getInstance()->setFakeEnv(pair.first, pair.second); in setFakeEnvs()
59 getInstance()->addInputStream(name, makeStream(s)); in addInput()
86 getInstance()->addKernelConfigInputStream({3, 18, 0}, "android-base.config", in TEST_F()
88 getInstance()->addKernelConfigInputStream({3, 18, 0}, "android-base-arm64.config", in TEST_F()
90getInstance()->addKernelConfigInputStream({4, 4, 0}, "android-base.config", makeStream(kernel44)); in TEST_F()
91 getInstance()->addKernelConfigInputStream({4, 4, 0}, "android-base-arm64.config", in TEST_F()
94 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
235 getInstance()->setFakeEnv("PRODUCT_ENFORCE_VINTF_MANIFEST", "true"); in TEST_F()
[all …]
/system/nfc/src/adaptation/
Dnfc_config.cc83 NfcConfig& NfcConfig::getInstance() { in getInstance() function in NfcConfig
92 return getInstance().config_.hasKey(key); in hasKey()
96 return getInstance().config_.getString(key); in getString()
106 return getInstance().config_.getUnsigned(key); in getUnsigned()
116 return getInstance().config_.getBytes(key); in getBytes()
119 void NfcConfig::clear() { getInstance().config_.clear(); } in clear()
/system/extras/simpleperf/scripts/
Dsimpleperf_report_lib.py279 cond = self._SetLogSeverityFunc(self.getInstance(), _char_pt(log_level))
284 cond = self._SetSymfsFunc(self.getInstance(), _char_pt(symfs_dir))
289 cond = self._SetRecordFileFunc(self.getInstance(), _char_pt(record_file))
293 self._ShowIpForUnknownSymbolFunc(self.getInstance())
297 self._ShowArtFramesFunc(self.getInstance(), show)
308 self._MergeJavaMethodsFunc(self.getInstance(), merge)
312 cond = self._SetKallsymsFileFunc(self.getInstance(), _char_pt(kallsym_file))
316 psample = self._GetNextSampleFunc(self.getInstance())
327 event = self._GetEventOfCurrentSampleFunc(self.getInstance())
332 symbol = self._GetSymbolOfCurrentSampleFunc(self.getInstance())
[all …]
/system/core/libutils/
DSingleton_test2.cpp27 SingletonTestData::getInstance().contents = contents; in singletonSetInstanceContents()
31 return SingletonTestData::getInstance().contents; in singletonGetInstanceContents()
DSingleton_test1.cpp28 SingletonTestData::getInstance().contents = contents; in singletonSetInstanceContents()
32 return SingletonTestData::getInstance().contents; in singletonGetInstanceContents()
/system/libhidl/transport/allocator/1.0/utils/
DFrameworkUtils.cpp29 return HidlMemory::getInstance(hidl_memory()); in fromHeap()
35 return HidlMemory::getInstance("ashmem", fd, heap->getSize()); in fromHeap()
/system/extras/verity/
DUtils.java150 SecretKeyFactory skFactory = SecretKeyFactory.getInstance(epkInfo.getAlgName()); in decryptPrivateKey()
154 Cipher cipher = Cipher.getInstance(epkInfo.getAlgName()); in decryptPrivateKey()
173 PrivateKeyInfo pki = PrivateKeyInfo.getInstance(bIn.readObject()); in loadDERPrivateKey()
176 return KeyFactory.getInstance(algOid).generatePrivate(spec); in loadDERPrivateKey()
194 KeyFactory factory = KeyFactory.getInstance("RSA"); in loadDERPublicKey()
201 KeyFactory factory = KeyFactory.getInstance("RSA"); in loadPEMPublicKey()
215 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in loadPEMCertificate()
223 KeyFactory factory = KeyFactory.getInstance("EC"); in getSignatureAlgorithm()
267 Signature verifier = Signature.getInstance(algName); in verify()
275 Signature signer = Signature.getInstance(getSignatureAlgorithm(privateKey)); in sign()
/system/tools/hidl/test/lazy_test/
Dhidl_lazy_test_server.cpp32 CHECK(OK == LazyServiceRegistrar::getInstance().registerService(new Lazy, "default1")); in main()
33 CHECK(OK == LazyServiceRegistrar::getInstance().registerService(new Lazy, "default2")); in main()
Dhidl_lazy_test.cpp46 instance.getInstance(), in getHal()
84 if (name == instance.getInstance()) { in isServiceRunning()
/system/libvintf/
DMatrixInstance.cpp76 interface() == provided.getInterface() && matchInstance(provided.getInstance()); in isSatisfiedBy()
92 return isRegex() ? mFqInstance.getInstance() : kEmptyString; in regexPattern()
97 return isRegex() ? kEmptyString : mFqInstance.getInstance(); in exactInstance()
DManifestHal.cpp155 it->instance() == e.getInstance()) { in insertInstance()
165 e.getInstance())) { in insertInstance()
169 e.getInterface() + "', instance='" + e.getInstance() + "'"; in insertInstance()
DVintfObject.cpp724 {fqInstance.getInstance()} /* instanceHint*/); in IsInstanceListed()
726 [&](const auto& pair) { return pair.first == fqInstance.getInstance(); }); in IsInstanceListed()
759 if (!childFqInstance.setTo(childFqName, fqInstance.getInstance())) { in GetListedInstanceInheritance()
761 << fqInstance.getInstance() << " as FqInstance"; in GetListedInstanceInheritance()
787 targetMatrixInstance.matchInstance(fqInstance.getInstance())) { in IsFqInstanceDeprecated()
804 {fqInstance.getInstance()} /* instanceHint */)) { in IsFqInstanceDeprecated()
805 if (newPair.first == fqInstance.getInstance()) { in IsFqInstanceDeprecated()
DManifestInstance.cpp60 return mFqInstance.getInstance(); in instance()
/system/tools/aidl/tests/lazy_test/
DLazyTestService.cpp24 auto lazyRegistrar = LazyServiceRegistrar::getInstance(); in forcePersist()
Dserver.cpp20 auto lazyRegistrar = LazyServiceRegistrar::getInstance(); in main()
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/
DZoneInfoTest.java42 TimeZoneNames timeZoneNames = TimeZoneNames.getInstance(ULocale.ENGLISH); in testCreate()
77 TimeZoneNames timeZoneNames = TimeZoneNames.getInstance(ULocale.ENGLISH); in testCreateKey()
103 TimeZoneNames timeZoneNames = TimeZoneNames.getInstance(ULocale.ENGLISH); in testSplit()
DZoneOffsetPeriodTest.java35 TimeZoneNames timeZoneNames = TimeZoneNames.getInstance(ULocale.ENGLISH); in testEqualPeriods_withDstTransitions()
103 TimeZoneNames timeZoneNames = TimeZoneNames.getInstance(ULocale.ENGLISH); in testEqualPeriods_withoutDstTransitions()
142 TimeZoneNames timeZoneNames = TimeZoneNames.getInstance(ULocale.ENGLISH); in testSplitAtTime()
/system/tools/hidl/test/utils_test/
Dmain.cpp113 EXPECT_EQ("instance", e.getInstance()); in TEST()
126 EXPECT_EQ("instance", e.getInstance()); in TEST()
138 EXPECT_EQ("instance", e.getInstance()); in TEST()
/system/gsid/tests/
DLockScreenAutomation.java50 mDevice = UiDevice.getInstance(getInstrumentation()); in setPin()
93 mDevice = UiDevice.getInstance(getInstrumentation()); in unlock()
103 mDevice = UiDevice.getInstance(getInstrumentation()); in removePin()
/system/libhidl/transport/include/hidl/
DHidlLazyUtils.h33 static LazyServiceRegistrar& getInstance();
/system/libhidl/base/
DHidlSupport.cpp281 sp<HidlMemory> HidlMemory::getInstance(const hidl_memory& mem) { in getInstance() function in android::hardware::HidlMemory
287 sp<HidlMemory> HidlMemory::getInstance(hidl_memory&& mem) { in getInstance() function in android::hardware::HidlMemory
293 sp<HidlMemory> HidlMemory::getInstance(const hidl_string& name, int fd, uint64_t size) { in getInstance() function in android::hardware::HidlMemory
/system/nfc/src/include/
Dnfc_config.h73 static NfcConfig& getInstance();
/system/core/libutils/include/utils/
DSingleton.h51 static TYPE& getInstance() { in getInstance() function
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/
DMain.java51 if(Config.getInstance().createLockFile()) { in main()
/system/tools/hidl/utils/include/hidl-util/
DFqInstance.h44 const std::string& getInstance() const;

12