Searched refs:getInstance (Results 1 - 25 of 31) sorted by relevance

12

/system/core/libutils/tests/
H A DSingleton_test1.cpp28 SingletonTestData::getInstance().contents = contents;
32 return SingletonTestData::getInstance().contents;
H A DSingleton_test2.cpp27 SingletonTestData::getInstance().contents = contents;
31 return SingletonTestData::getInstance().contents;
/system/libvintf/test/
H A DAssembleVintfTest.cpp40 getInstance()->setFakeEnv("PRODUCT_ENFORCE_VINTF_MANIFEST", "true");
44 const std::unique_ptr<AssembleVintf>& getInstance() { return mInstance; } function in class:android::vintf::AssembleVintfTest
52 getInstance()->setFakeEnv(pair.first, pair.second);
57 getInstance()->addInputStream(name, makeStream(s));
82 getInstance()->addKernelConfigInputStream({3, 18, 0}, "android-base.cfg",
84 getInstance()->addKernelConfigInputStream({3, 18, 0}, "android-base-arm64.cfg",
86 getInstance()->addKernelConfigInputStream({4, 4, 0}, "android-base.cfg", makeStream(kernel44));
87 getInstance()->addKernelConfigInputStream({4, 4, 0}, "android-base-arm64.cfg",
90 EXPECT_TRUE(getInstance()->assemble());
227 getInstance()
[all...]
/system/libhidl/transport/allocator/1.0/utils/
H A DFrameworkUtils.cpp29 return HidlMemory::getInstance(hidl_memory());
35 return HidlMemory::getInstance("ashmem", fd, heap->getSize());
/system/nfc/src/adaptation/
H A Dnfc_config.cc62 NfcConfig& NfcConfig::getInstance() { function in class:NfcConfig
71 return getInstance().config_.hasKey(key);
75 return getInstance().config_.getString(key);
85 return getInstance().config_.getUnsigned(key);
95 return getInstance().config_.getBytes(key);
98 void NfcConfig::clear() { getInstance().config_.clear(); }
/system/libhidl/libhidlcache/
H A Dmapping.cpp37 sp<HidlMemoryCache> c = HidlMemoryCache::getInstance();
42 sp<HidlMemoryCache> c = HidlMemoryCache::getInstance();
H A Dlibhidlcache_test.cpp57 mem = HidlMemory::getInstance(_mem);
66 sp<HidlMemoryCache> cache = HidlMemoryCache::getInstance();
124 m1 = HidlMemory::getInstance(mem);
129 m2 = HidlMemory::getInstance(mem);
135 dealer = HidlMemoryDealer::getInstance(*m1);
138 dealer = HidlMemoryDealer::getInstance(*m2);
H A DHidlMemoryCache.h52 static sp<HidlMemoryCache> getInstance();
H A DHidlMemoryCache.cpp55 virtual ~IMemoryCacheable() { HidlMemoryCache::getInstance()->flush(mKey); }
97 sp<HidlMemoryCache> HidlMemoryCache::getInstance() { function in class:android::hardware::HidlMemoryCache
H A DMemoryDealer.cpp293 sp<HidlMemoryDealer> HidlMemoryDealer::getInstance(const hidl_memory& mem) { function in class:android::hardware::HidlMemoryDealer
310 mToken(new HidlMemoryToken(HidlMemory::getInstance(mem))) {}
/system/libvintf/
H A DMatrixInstance.cpp66 interface() == provided.getInterface() && matchInstance(provided.getInstance());
82 return isRegex() ? mFqInstance.getInstance() : kEmptyString;
87 return isRegex() ? kEmptyString : mFqInstance.getInstance();
H A DManifestHal.cpp129 e.getInterface(), e.getInstance())) {
133 e.getInterface() + "', instance='" + e.getInstance() + "'";
H A DManifestInstance.cpp58 return mFqInstance.getInstance();
/system/extras/simpleperf/scripts/
H A Dsimpleperf_report_lib.py232 cond = self._SetLogSeverityFunc(self.getInstance(), _char_pt(log_level))
237 cond = self._SetSymfsFunc(self.getInstance(), _char_pt(symfs_dir))
242 cond = self._SetRecordFileFunc(self.getInstance(), _char_pt(record_file))
246 self._ShowIpForUnknownSymbolFunc(self.getInstance())
250 cond = self._SetKallsymsFileFunc(self.getInstance(), _char_pt(kallsym_file))
254 psample = self._GetNextSampleFunc(self.getInstance())
266 event = self._GetEventOfCurrentSampleFunc(self.getInstance())
273 symbol = self._GetSymbolOfCurrentSampleFunc(self.getInstance())
280 callchain = self._GetCallChainOfCurrentSampleFunc(self.getInstance())
287 build_id = self._GetBuildIdForPathFunc(self.getInstance(), _char_p
358 def getInstance(self): member in class:ReportLib
[all...]
/system/extras/verity/
H A DUtils.java150 SecretKeyFactory skFactory = SecretKeyFactory.getInstance(epkInfo.getAlgName());
154 Cipher cipher = Cipher.getInstance(epkInfo.getAlgName());
173 PrivateKeyInfo pki = PrivateKeyInfo.getInstance(bIn.readObject());
176 return KeyFactory.getInstance(algOid).generatePrivate(spec);
194 KeyFactory factory = KeyFactory.getInstance("RSA");
201 KeyFactory factory = KeyFactory.getInstance("RSA");
215 CertificateFactory cf = CertificateFactory.getInstance("X.509");
223 KeyFactory factory = KeyFactory.getInstance("EC");
267 Signature verifier = Signature.getInstance(algName);
275 Signature signer = Signature.getInstance(getSignatureAlgorith
[all...]
/system/nfc/src/include/
H A Dnfc_config.h68 static NfcConfig& getInstance();
/system/core/include/utils/
H A DSingleton.h43 // MyClass& getInstance() {
51 static TYPE& getInstance() { function in class:android::Singleton
/system/core/libutils/include/utils/
H A DSingleton.h43 // MyClass& getInstance() {
51 static TYPE& getInstance() { function in class:android::Singleton
/system/libhidl/libhidlcache/include/hidlcache/
H A DMemoryDealer.h65 static sp<HidlMemoryDealer> getInstance(const hidl_memory& memory);
/system/tools/hidl/utils/include/hidl-util/
H A DFqInstance.h44 const std::string& getInstance() const;
/system/libhidl/base/
H A DHidlSupport.cpp276 sp<HidlMemory> HidlMemory::getInstance(const hidl_memory& mem) { function in class:android::hardware::HidlMemory
282 sp<HidlMemory> HidlMemory::getInstance(hidl_memory&& mem) { function in class:android::hardware::HidlMemory
288 sp<HidlMemory> HidlMemory::getInstance(const hidl_string& name, int fd, uint64_t size) { function in class:android::hardware::HidlMemory
/system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/
H A DZoneInfoTest.java42 TimeZoneNames timeZoneNames = TimeZoneNames.getInstance(ULocale.ENGLISH);
77 TimeZoneNames timeZoneNames = TimeZoneNames.getInstance(ULocale.ENGLISH);
103 TimeZoneNames timeZoneNames = TimeZoneNames.getInstance(ULocale.ENGLISH);
H A DZoneOffsetPeriodTest.java35 TimeZoneNames timeZoneNames = TimeZoneNames.getInstance(ULocale.ENGLISH);
103 TimeZoneNames timeZoneNames = TimeZoneNames.getInstance(ULocale.ENGLISH);
142 TimeZoneNames timeZoneNames = TimeZoneNames.getInstance(ULocale.ENGLISH);
/system/tools/hidl/test/utils_test/
H A Dmain.cpp146 EXPECT_EQ("instance", e.getInstance());
159 EXPECT_EQ("instance", e.getInstance());
171 EXPECT_EQ("instance", e.getInstance());
/system/tools/hidl/utils/
H A DFqInstance.cpp57 const std::string& FqInstance::getInstance() const { function in class:android::FqInstance

Completed in 300 milliseconds

12