/system/libvintf/test/ |
D | AssembleVintfTest.cpp | 50 getInstance()->setFakeEnv("PRODUCT_ENFORCE_VINTF_MANIFEST", "true"); in SetUp() 54 const std::unique_ptr<AssembleVintf>& getInstance() { return mInstance; } in getInstance() function in android::vintf::AssembleVintfTest 63 getInstance()->setFakeEnv(pair.first, pair.second); in setFakeEnvs() 68 getInstance()->setFakeAidlMetadata(metadata); in setFakeAidlMetadata() 71 void setFakeAidlUseUnfrozen(bool use) { getInstance()->setFakeAidlUseUnfrozen(use); } in setFakeAidlUseUnfrozen() 74 getInstance()->addInputStream(name, makeStream(s)); in addInput() 102 getInstance()->addKernelConfigInputStream({3, 18, 0}, "android-base.config", in TEST_F() 104 getInstance()->addKernelConfigInputStream({3, 18, 0}, "android-base-arm64.config", in TEST_F() 106 … getInstance()->addKernelConfigInputStream({4, 4, 0}, "android-base.config", makeStream(kernel44)); in TEST_F() 107 getInstance()->addKernelConfigInputStream({4, 4, 0}, "android-base-arm64.config", in TEST_F() [all …]
|
/system/nfc/src/adaptation/ |
D | nfc_config.cc | 83 NfcConfig& NfcConfig::getInstance() { in getInstance() function in NfcConfig 92 return getInstance().config_.hasKey(key); in hasKey() 96 return getInstance().config_.getString(key); in getString() 106 return getInstance().config_.getUnsigned(key); in getUnsigned() 116 return getInstance().config_.getBytes(key); in getBytes() 119 void NfcConfig::clear() { getInstance().config_.clear(); } in clear()
|
/system/tools/hidl/test/lazy_test/ |
D | hidl_lazy_test_server.cpp | 34 auto lazyRegistrar = android::hardware::LazyServiceRegistrar::getInstance(); in setCustomActiveServicesCallback() 64 CHECK(OK == LazyServiceRegistrar::getInstance().registerService(new Lazy, "default1")); in main() 65 CHECK(OK == LazyServiceRegistrar::getInstance().registerService(new Lazy, "default2")); in main()
|
D | hidl_lazy_cb_test_server.cpp | 44 auto lazyRegistrar = android::hardware::LazyServiceRegistrar::getInstance(); in setCustomActiveServicesCallback() 90 CHECK(OK == LazyServiceRegistrar::getInstance().registerService(service, "default")); in main()
|
/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/extras/simpleperf/scripts/ |
D | simpleperf_report_lib.py | 330 cond: bool = self._SetLogSeverityFunc(self.getInstance(), _char_pt(log_level)) 335 cond: bool = self._SetSymfsFunc(self.getInstance(), _char_pt(symfs_dir)) 340 cond: bool = self._SetRecordFileFunc(self.getInstance(), _char_pt(record_file)) 344 self._ShowIpForUnknownSymbolFunc(self.getInstance()) 348 self._ShowArtFramesFunc(self.getInstance(), show) 352 res = self._RemoveMethodFunc(self.getInstance(), _char_pt(method_name_regex)) 364 self._MergeJavaMethodsFunc(self.getInstance(), merge) 368 if not self._AddProguardMappingFileFunc(self.getInstance(), _char_pt(str(mapping_file))): 373 cond: bool = self._SetKallsymsFileFunc(self.getInstance(), _char_pt(kallsym_file)) 386 modes_str = self._GetSupportedTraceOffCpuModesFunc(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/libvintf/ |
D | MatrixInstance.cpp | 76 interface() == provided.getInterface() && matchInstance(provided.getInstance()); in isSatisfiedBy() 92 return isRegex() ? mFqInstance.getInstance() : kEmptyString; in regexPattern() 97 return isRegex() ? kEmptyString : mFqInstance.getInstance(); in exactInstance()
|
D | ManifestHal.cpp | 152 it->instance() == e.getInstance()) { in insertInstance() 172 e.getInstance())) { in insertInstance() 176 e.getInterface() + "', instance='" + e.getInstance() + "'"; in insertInstance()
|
D | ManifestInstance.cpp | 71 return mFqInstance.getInstance(); in instance() 167 getFqInstance().getInterface(), getFqInstance().getInstance())); in withVersion()
|
/system/tools/aidl/tests/lazy_test/ |
D | server.cpp | 45 auto lazyRegistrar = LazyServiceRegistrar::getInstance(); in setupDoubleLazyServer() 51 auto lazyRegistrar = LazyServiceRegistrar::getInstance(); in setupQuitterServer()
|
D | LazyTestService.cpp | 24 auto lazyRegistrar = LazyServiceRegistrar::getInstance(); in forcePersist()
|
D | ServerCb.cpp | 39 auto lazyRegistrar = LazyServiceRegistrar::getInstance(); in main()
|
D | LazyTestServiceCb.cpp | 26 auto lazyRegistrar = LazyServiceRegistrar::getInstance(); in setCustomActiveServicesCallback()
|
/system/timezone/input_tools/android/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/core/libstats/bootstrap/ |
D | StatsBootstrapAtomClient.cpp | 28 BootstrapClientInternal::getInstance()->getServiceNonBlocking(); in reportBootstrapAtom()
|
D | BootstrapClientInternal.h | 27 static sp<BootstrapClientInternal> getInstance();
|
D | BootstrapClientInternal.cpp | 25 sp<BootstrapClientInternal> BootstrapClientInternal::getInstance() { in getInstance() function in android::os::stats::BootstrapClientInternal
|
/system/tools/hidl/test/utils_test/ |
D | main.cpp | 116 EXPECT_EQ("instance", e.getInstance()); in TEST() 129 EXPECT_EQ("instance", e.getInstance()); in TEST() 141 EXPECT_EQ("instance", e.getInstance()); in TEST()
|
/system/libhidl/transport/include/hidl/ |
D | HidlLazyUtils.h | 43 static LazyServiceRegistrar& getInstance();
|
/system/libhidl/base/ |
D | HidlSupport.cpp | 289 sp<HidlMemory> HidlMemory::getInstance(const hidl_memory& mem) { in getInstance() function in android::hardware::HidlMemory 295 sp<HidlMemory> HidlMemory::getInstance(hidl_memory&& mem) { in getInstance() function in android::hardware::HidlMemory 301 sp<HidlMemory> HidlMemory::getInstance(const hidl_string& name, int fd, uint64_t size) { in getInstance() function in android::hardware::HidlMemory
|
/system/security/identity/util/src/java/com/android/security/identity/internal/ |
D | Util.java | 277 DecimalFormatSymbols.getInstance(Locale.ENGLISH)); in cborPrettyPrintDataItem() 282 DecimalFormatSymbols.getInstance(Locale.ENGLISH)); in cborPrettyPrintDataItem() 448 Signature s = Signature.getInstance("SHA256withECDSA"); in coseSign1Sign() 541 Signature verifier = Signature.getInstance("SHA256withECDSA"); in coseSign1CheckSignature() 622 CertificateFactory factory = CertificateFactory.getInstance("X.509"); in coseSign1GetX5Chain() 689 Mac m = Mac.getInstance("HmacSHA256"); in coseMac0() 841 ks = KeyStore.getInstance("AndroidKeyStore"); in signPublicKeyWithPrivateKey() 862 Signature s = Signature.getInstance("SHA256withECDSA"); in signPublicKeyWithPrivateKey() 922 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in signPublicKeyWithPrivateKey() 1011 KeyAgreement ka = KeyAgreement.getInstance("ECDH"); in calcEMacKeyForReader() [all …]
|