Home
last modified time | relevance | path

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

123

/tools/apksig/src/test/java/com/android/apksig/internal/util/
DResources.java57 CertificateFactory.getInstance("X.509").generateCertificate(in); in toCertificate()
68 certs = CertificateFactory.getInstance("X.509").generateCertificates(in); in toCertificateChain()
98 keyFactory = KeyFactory.getInstance("rsa"); in toPrivateKey()
101 keyFactory = KeyFactory.getInstance("dsa"); in toPrivateKey()
104 keyFactory = KeyFactory.getInstance("ec"); in toPrivateKey()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DDosUtils.java42 final Calendar cal = Calendar.getInstance(); in decodeDateTime()
63 Calendar cal = Calendar.getInstance(); in encodeTime()
76 Calendar cal = Calendar.getInstance(); in encodeDate()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/utils/
DMsDosDateTimeUtilsTest.java27 Calendar c = Calendar.getInstance(); in packDate()
50 Calendar c = Calendar.getInstance(); in packTime()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/
DMsDosDateTimeUtils.java40 Calendar c = Calendar.getInstance(); in packTime()
74 Calendar c = Calendar.getInstance(); in packDate()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/companion/
DCompanionRunCommandTargetPreparer.java38 ITestDevice companion = CompanionDeviceTracker.getInstance().getCompanionDevice(device); in setUp()
53 ITestDevice companion = CompanionDeviceTracker.getInstance().getCompanionDevice(device); in tearDown()
DCompanionAwarePreparer.java50 return CompanionDeviceTracker.getInstance(); in getCompanionDeviceTracker()
DCompanionAllocator.java64 return CompanionDeviceTracker.getInstance(); in getCompanionDeviceTracker()
DCompanionTestAppInstallSetup.java47 mCompanion = CompanionDeviceTracker.getInstance().getCompanionDevice(device); in setUp()
DCompanionDeviceTracker.java47 public static CompanionDeviceTracker getInstance() { in getInstance() method in CompanionDeviceTracker
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestSuiteInfoTest.java38 TestSuiteInfo instance = TestSuiteInfo.getInstance(); in testDefaultValues()
67 TestSuiteInfo instance = TestSuiteInfo.getInstance(); in testLoadConfig()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DCompanionAwareTest.java40 mCompanionDevice = CompanionDeviceTracker.getInstance().getCompanionDevice(getDevice()); in getCompanion()
/tools/apksig/src/apksigner/java/com/android/apksigner/
DApkSignerTool.java459 MessageDigest sha256 = MessageDigest.getInstance("SHA-256"); in verify()
460 MessageDigest sha1 = MessageDigest.getInstance("SHA-1"); in verify()
461 MessageDigest md5 = MessageDigest.getInstance("MD5"); in verify()
683 ks = KeyStore.getInstance(ksType, keystoreProviderName); in loadPrivateKeyAndCertsFromKeyStore()
702 ks = KeyStore.getInstance(ksType, ksProvider); in loadPrivateKeyAndCertsFromKeyStore()
705 ks = KeyStore.getInstance(ksType); in loadPrivateKeyAndCertsFromKeyStore()
918 certs = CertificateFactory.getInstance("X.509").generateCertificates(in); in loadPrivateKeyAndCertsFromFiles()
931 SecretKeyFactory.getInstance(encryptedPrivateKeyInfo.getAlgName()); in decryptPkcs8EncodedKey()
957 return KeyFactory.getInstance("RSA").generatePrivate(spec); in loadPkcs8EncodedPrivateKey()
961 return KeyFactory.getInstance("EC").generatePrivate(spec); in loadPkcs8EncodedPrivateKey()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/build/
DFileDownloadCacheFactory.java40 public static FileDownloadCacheFactory getInstance() { in getInstance() method in FileDownloadCacheFactory
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DSignatureTestUtils.java93 generator = KeyPairGenerator.getInstance(sign); in generateSignature()
114 publicKeyInfo = SubjectPublicKeyInfo.getInstance(keyPair.getPublic().getEncoded()); in generateSignature()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/
DBaseModuleControllerTest.java59 ConfigurationFactory.getInstance() in testCheckCompatibility()
/tools/loganalysis/tests/src/com/android/loganalysis/item/
DBatteryDischargeItemTest.java38 item.addBatteryDischargeInfo(Calendar.getInstance(),25, 95); in testToJson()
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DDeviceTracker.java40 public static DeviceTracker getInstance() { in getInstance() method in DeviceTracker
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTestSuiteInfo.java79 public static TestSuiteInfo getInstance() { in getInstance() method in TestSuiteInfo
/tools/tradefederation/core/src/com/android/tradefed/util/hostmetric/
DAbstractHostMonitor.java101 GlobalConfiguration.getInstance().getConfigurationObject(mAgentName); in getMetricAgent()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandRunner.java56 return GlobalConfiguration.getInstance().getCommandScheduler(); in getCommandScheduler()
/tools/tradefederation/core/src/com/android/tradefed/config/gcs/
DGCSConfigurationFactory.java40 public static IConfigurationFactory getInstance(IConfigurationServer configServer) { in getInstance() method in GCSConfigurationFactory
/tools/tradefederation/core/prod-tests/src/com/android/tradefed/presubmit/
DGeneralTestsConfigValidation.java62 IConfigurationFactory configFactory = ConfigurationFactory.getInstance(); in testConfigsLoad()
DDeviceTestsConfigValidation.java62 IConfigurationFactory configFactory = ConfigurationFactory.getInstance(); in testConfigsLoad()
/tools/tradefederation/core/src/com/android/tradefed/config/
DGlobalConfiguration.java100 public static IGlobalConfiguration getInstance() { in getInstance() method in GlobalConfiguration
146 IConfigurationFactory configFactory = ConfigurationFactory.getInstance(); in createGlobalConfiguration()
153 GCSConfigurationFactory.getInstance(globalConfigServer); in createGlobalConfiguration()
226 IConfigurationFactory configFactory = ConfigurationFactory.getInstance(); in createGlobalConfigServer()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SigningCertificateLineage.java98 certFactory = CertificateFactory.getInstance("X.509"); in readSigningCertificateLineage()
129 Signature sig = Signature.getInstance(jcaSignatureAlgorithm); in readSigningCertificateLineage()

123