/system/libvintf/test/ |
D | AssembleVintfTest.cpp | 40 getInstance()->setFakeEnv("PRODUCT_ENFORCE_VINTF_MANIFEST", "true"); in SetUp() 44 const std::unique_ptr<AssembleVintf>& getInstance() { return mInstance; } in getInstance() function in android::vintf::AssembleVintfTest 52 getInstance()->setFakeEnv(pair.first, pair.second); in setFakeEnvs() 57 getInstance()->addInputStream(name, makeStream(s)); in addInput() 82 getInstance()->addKernelConfigInputStream({3, 18, 0}, "android-base.config", in TEST_F() 84 getInstance()->addKernelConfigInputStream({3, 18, 0}, "android-base-arm64.config", in TEST_F() 86 … getInstance()->addKernelConfigInputStream({4, 4, 0}, "android-base.config", makeStream(kernel44)); in TEST_F() 87 getInstance()->addKernelConfigInputStream({4, 4, 0}, "android-base-arm64.config", in TEST_F() 90 EXPECT_TRUE(getInstance()->assemble()); in TEST_F() 227 getInstance()->setFakeEnv("PRODUCT_ENFORCE_VINTF_MANIFEST", "true"); in TEST_F() [all …]
|
/system/nfc/src/adaptation/ |
D | nfc_config.cc | 62 NfcConfig& NfcConfig::getInstance() { in getInstance() function in NfcConfig 71 return getInstance().config_.hasKey(key); in hasKey() 75 return getInstance().config_.getString(key); in getString() 85 return getInstance().config_.getUnsigned(key); in getUnsigned() 95 return getInstance().config_.getBytes(key); in getBytes() 98 void NfcConfig::clear() { getInstance().config_.clear(); } in clear()
|
/system/extras/simpleperf/scripts/ |
D | simpleperf_report_lib.py | 277 cond = self._SetLogSeverityFunc(self.getInstance(), _char_pt(log_level)) 282 cond = self._SetSymfsFunc(self.getInstance(), _char_pt(symfs_dir)) 287 cond = self._SetRecordFileFunc(self.getInstance(), _char_pt(record_file)) 291 self._ShowIpForUnknownSymbolFunc(self.getInstance()) 295 self._ShowArtFramesFunc(self.getInstance(), show) 299 cond = self._SetKallsymsFileFunc(self.getInstance(), _char_pt(kallsym_file)) 303 psample = self._GetNextSampleFunc(self.getInstance()) 314 event = self._GetEventOfCurrentSampleFunc(self.getInstance()) 319 symbol = self._GetSymbolOfCurrentSampleFunc(self.getInstance()) 324 callchain = self._GetCallChainOfCurrentSampleFunc(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/libhidl/libhidlcache/ |
D | libhidlcache_test.cpp | 57 mem = HidlMemory::getInstance(_mem); in HidlCacheWhiteBoxTest() 66 sp<HidlMemoryCache> cache = HidlMemoryCache::getInstance(); in HidlCacheWhiteBoxTest() 124 m1 = HidlMemory::getInstance(mem); in TEST_F() 129 m2 = HidlMemory::getInstance(mem); in TEST_F() 135 dealer = HidlMemoryDealer::getInstance(*m1); in TEST_F() 138 dealer = HidlMemoryDealer::getInstance(*m2); in TEST_F()
|
D | mapping.cpp | 37 sp<HidlMemoryCache> c = HidlMemoryCache::getInstance(); in mapMemory() 42 sp<HidlMemoryCache> c = HidlMemoryCache::getInstance(); in lockMemoryCache()
|
D | HidlMemoryCache.cpp | 56 virtual ~MemoryCacheable() { HidlMemoryCache::getInstance()->flush(mKey); } in ~MemoryCacheable() 100 sp<HidlMemoryCache> HidlMemoryCache::getInstance() { in getInstance() function in android::hardware::HidlMemoryCache
|
D | HidlMemoryCache.h | 52 static sp<HidlMemoryCache> getInstance();
|
/system/libvintf/ |
D | MatrixInstance.cpp | 66 interface() == provided.getInterface() && matchInstance(provided.getInstance()); in isSatisfiedBy() 82 return isRegex() ? mFqInstance.getInstance() : kEmptyString; in regexPattern() 87 return isRegex() ? kEmptyString : mFqInstance.getInstance(); in exactInstance()
|
D | ManifestHal.cpp | 139 it->instance() == e.getInstance()) { in insertInstance() 149 e.getInstance())) { in insertInstance() 153 e.getInterface() + "', instance='" + e.getInstance() + "'"; in insertInstance()
|
/system/netd/resolv/ |
D | DnsResolver.cpp | 34 android::net::gDnsResolv = android::net::DnsResolver::getInstance(); in resolv_init() 54 DnsResolver* DnsResolver::getInstance() { in getInstance() function in android::net::DnsResolver
|
D | ResolverEventReporter.cpp | 25 ResolverEventReporter& ResolverEventReporter::getInstance() { in getInstance() function in ResolverEventReporter 108 ResolverEventReporter::getInstance().handleBinderDied(cookie); in addListenerImplLocked()
|
D | DnsResolver.h | 30 static DnsResolver* getInstance();
|
D | ResolverEventReporter.h | 41 static ResolverEventReporter& getInstance();
|
/system/tools/hidl/test/utils_test/ |
D | main.cpp | 42 EXPECT_EQ("instance", e.getInstance()); in TEST_F() 55 EXPECT_EQ("instance", e.getInstance()); in TEST_F() 67 EXPECT_EQ("instance", e.getInstance()); in TEST_F()
|
/system/timezone/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/libhidl/base/ |
D | HidlSupport.cpp | 286 sp<HidlMemory> HidlMemory::getInstance(const hidl_memory& mem) { in getInstance() function in android::hardware::HidlMemory 292 sp<HidlMemory> HidlMemory::getInstance(hidl_memory&& mem) { in getInstance() function in android::hardware::HidlMemory 298 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 | 72 static NfcConfig& getInstance();
|
/system/core/libutils/include/utils/ |
D | Singleton.h | 51 static TYPE& getInstance() { in getInstance() function
|
/system/libhidl/libhidlcache/include/hidlcache/ |
D | MemoryDealer.h | 65 static sp<HidlMemoryDealer> getInstance(const hidl_memory& memory);
|
/system/tools/hidl/utils/include/hidl-util/ |
D | FqInstance.h | 44 const std::string& getInstance() const;
|