Searched defs:getInstance (Results 1 - 9 of 9) sorted by relevance

/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/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 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/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/tools/hidl/utils/
H A DFqInstance.cpp57 const std::string& FqInstance::getInstance() const { function in class:android::FqInstance
/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/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

Completed in 161 milliseconds