Home
last modified time | relevance | path

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

12

/system/libvintf/test/
DAssembleVintfTest.cpp40 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()
86getInstance()->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/
Dnfc_config.cc62 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/
Dsimpleperf_report_lib.py277 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/
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/libhidl/libhidlcache/
Dlibhidlcache_test.cpp57 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()
Dmapping.cpp37 sp<HidlMemoryCache> c = HidlMemoryCache::getInstance(); in mapMemory()
42 sp<HidlMemoryCache> c = HidlMemoryCache::getInstance(); in lockMemoryCache()
DHidlMemoryCache.cpp56 virtual ~MemoryCacheable() { HidlMemoryCache::getInstance()->flush(mKey); } in ~MemoryCacheable()
100 sp<HidlMemoryCache> HidlMemoryCache::getInstance() { in getInstance() function in android::hardware::HidlMemoryCache
DHidlMemoryCache.h52 static sp<HidlMemoryCache> getInstance();
/system/libvintf/
DMatrixInstance.cpp66 interface() == provided.getInterface() && matchInstance(provided.getInstance()); in isSatisfiedBy()
82 return isRegex() ? mFqInstance.getInstance() : kEmptyString; in regexPattern()
87 return isRegex() ? kEmptyString : mFqInstance.getInstance(); in exactInstance()
DManifestHal.cpp139 it->instance() == e.getInstance()) { in insertInstance()
149 e.getInstance())) { in insertInstance()
153 e.getInterface() + "', instance='" + e.getInstance() + "'"; in insertInstance()
/system/netd/resolv/
DDnsResolver.cpp34 android::net::gDnsResolv = android::net::DnsResolver::getInstance(); in resolv_init()
54 DnsResolver* DnsResolver::getInstance() { in getInstance() function in android::net::DnsResolver
DResolverEventReporter.cpp25 ResolverEventReporter& ResolverEventReporter::getInstance() { in getInstance() function in ResolverEventReporter
108 ResolverEventReporter::getInstance().handleBinderDied(cookie); in addListenerImplLocked()
DDnsResolver.h30 static DnsResolver* getInstance();
DResolverEventReporter.h41 static ResolverEventReporter& getInstance();
/system/tools/hidl/test/utils_test/
Dmain.cpp42 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/
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/libhidl/base/
DHidlSupport.cpp286 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/
Dnfc_config.h72 static NfcConfig& getInstance();
/system/core/libutils/include/utils/
DSingleton.h51 static TYPE& getInstance() { in getInstance() function
/system/libhidl/libhidlcache/include/hidlcache/
DMemoryDealer.h65 static sp<HidlMemoryDealer> getInstance(const hidl_memory& memory);
/system/tools/hidl/utils/include/hidl-util/
DFqInstance.h44 const std::string& getInstance() const;

12