/system/libvintf/test/ |
D | AssembleVintfTest.cpp | 42 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() 90 … getInstance()->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/ |
D | nfc_config.cc | 83 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/ |
D | simpleperf_report_lib.py | 279 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/ |
D | Singleton_test2.cpp | 27 SingletonTestData::getInstance().contents = contents; in singletonSetInstanceContents() 31 return SingletonTestData::getInstance().contents; in singletonGetInstanceContents()
|
D | Singleton_test1.cpp | 28 SingletonTestData::getInstance().contents = contents; in singletonSetInstanceContents() 32 return SingletonTestData::getInstance().contents; in singletonGetInstanceContents()
|
/system/libhidl/transport/allocator/1.0/utils/ |
D | FrameworkUtils.cpp | 29 return HidlMemory::getInstance(hidl_memory()); in fromHeap() 35 return HidlMemory::getInstance("ashmem", fd, heap->getSize()); in fromHeap()
|
/system/extras/verity/ |
D | Utils.java | 150 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/ |
D | hidl_lazy_test_server.cpp | 32 CHECK(OK == LazyServiceRegistrar::getInstance().registerService(new Lazy, "default1")); in main() 33 CHECK(OK == LazyServiceRegistrar::getInstance().registerService(new Lazy, "default2")); in main()
|
D | hidl_lazy_test.cpp | 46 instance.getInstance(), in getHal() 84 if (name == instance.getInstance()) { in isServiceRunning()
|
/system/libvintf/ |
D | MatrixInstance.cpp | 76 interface() == provided.getInterface() && matchInstance(provided.getInstance()); in isSatisfiedBy() 92 return isRegex() ? mFqInstance.getInstance() : kEmptyString; in regexPattern() 97 return isRegex() ? kEmptyString : mFqInstance.getInstance(); in exactInstance()
|
D | ManifestHal.cpp | 155 it->instance() == e.getInstance()) { in insertInstance() 165 e.getInstance())) { in insertInstance() 169 e.getInterface() + "', instance='" + e.getInstance() + "'"; in insertInstance()
|
D | VintfObject.cpp | 724 {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()
|
D | ManifestInstance.cpp | 60 return mFqInstance.getInstance(); in instance()
|
/system/tools/aidl/tests/lazy_test/ |
D | LazyTestService.cpp | 24 auto lazyRegistrar = LazyServiceRegistrar::getInstance(); in forcePersist()
|
D | server.cpp | 20 auto lazyRegistrar = LazyServiceRegistrar::getInstance(); in main()
|
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/ |
D | ZoneInfoTest.java | 42 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()
|
D | ZoneOffsetPeriodTest.java | 35 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/ |
D | main.cpp | 113 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/ |
D | LockScreenAutomation.java | 50 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/ |
D | HidlLazyUtils.h | 33 static LazyServiceRegistrar& getInstance();
|
/system/libhidl/base/ |
D | HidlSupport.cpp | 281 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/ |
D | nfc_config.h | 73 static NfcConfig& getInstance();
|
/system/core/libutils/include/utils/ |
D | Singleton.h | 51 static TYPE& getInstance() { in getInstance() function
|
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/ |
D | Main.java | 51 if(Config.getInstance().createLockFile()) { in main()
|
/system/tools/hidl/utils/include/hidl-util/ |
D | FqInstance.h | 44 const std::string& getInstance() const;
|