/system/core/libutils/tests/ |
H A D | Singleton_test1.cpp | 28 SingletonTestData::getInstance().contents = contents; 32 return SingletonTestData::getInstance().contents;
|
H A D | Singleton_test2.cpp | 27 SingletonTestData::getInstance().contents = contents; 31 return SingletonTestData::getInstance().contents;
|
/system/libvintf/test/ |
H A D | AssembleVintfTest.cpp | 40 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 D | FrameworkUtils.cpp | 29 return HidlMemory::getInstance(hidl_memory()); 35 return HidlMemory::getInstance("ashmem", fd, heap->getSize());
|
/system/nfc/src/adaptation/ |
H A D | nfc_config.cc | 62 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 D | mapping.cpp | 37 sp<HidlMemoryCache> c = HidlMemoryCache::getInstance(); 42 sp<HidlMemoryCache> c = HidlMemoryCache::getInstance();
|
H A D | libhidlcache_test.cpp | 57 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 D | HidlMemoryCache.h | 52 static sp<HidlMemoryCache> getInstance();
|
H A D | HidlMemoryCache.cpp | 55 virtual ~IMemoryCacheable() { HidlMemoryCache::getInstance()->flush(mKey); } 97 sp<HidlMemoryCache> HidlMemoryCache::getInstance() { function in class:android::hardware::HidlMemoryCache
|
H A D | MemoryDealer.cpp | 293 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 D | MatrixInstance.cpp | 66 interface() == provided.getInterface() && matchInstance(provided.getInstance()); 82 return isRegex() ? mFqInstance.getInstance() : kEmptyString; 87 return isRegex() ? kEmptyString : mFqInstance.getInstance();
|
H A D | ManifestHal.cpp | 129 e.getInterface(), e.getInstance())) { 133 e.getInterface() + "', instance='" + e.getInstance() + "'";
|
H A D | ManifestInstance.cpp | 58 return mFqInstance.getInstance();
|
/system/extras/simpleperf/scripts/ |
H A D | simpleperf_report_lib.py | 232 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 D | Utils.java | 150 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 D | nfc_config.h | 68 static NfcConfig& getInstance();
|
/system/core/include/utils/ |
H A D | Singleton.h | 43 // MyClass& getInstance() { 51 static TYPE& getInstance() { function in class:android::Singleton
|
/system/core/libutils/include/utils/ |
H A D | Singleton.h | 43 // MyClass& getInstance() { 51 static TYPE& getInstance() { function in class:android::Singleton
|
/system/libhidl/libhidlcache/include/hidlcache/ |
H A D | MemoryDealer.h | 65 static sp<HidlMemoryDealer> getInstance(const hidl_memory& memory);
|
/system/tools/hidl/utils/include/hidl-util/ |
H A D | FqInstance.h | 44 const std::string& getInstance() const;
|
/system/libhidl/base/ |
H A D | HidlSupport.cpp | 276 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 D | ZoneInfoTest.java | 42 TimeZoneNames timeZoneNames = TimeZoneNames.getInstance(ULocale.ENGLISH); 77 TimeZoneNames timeZoneNames = TimeZoneNames.getInstance(ULocale.ENGLISH); 103 TimeZoneNames timeZoneNames = TimeZoneNames.getInstance(ULocale.ENGLISH);
|
H A D | ZoneOffsetPeriodTest.java | 35 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 D | main.cpp | 146 EXPECT_EQ("instance", e.getInstance()); 159 EXPECT_EQ("instance", e.getInstance()); 171 EXPECT_EQ("instance", e.getInstance());
|
/system/tools/hidl/utils/ |
H A D | FqInstance.cpp | 57 const std::string& FqInstance::getInstance() const { function in class:android::FqInstance
|