/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | SignerParams.java | 201 ks = KeyStore.getInstance(ksType, keystoreProviderName); in loadPrivateKeyAndCertsFromKeyStore() 220 ks = KeyStore.getInstance(ksType, ksProvider); in loadPrivateKeyAndCertsFromKeyStore() 223 ks = KeyStore.getInstance(ksType); in loadPrivateKeyAndCertsFromKeyStore() 449 SecretKeyFactory.getInstance(encryptedPrivateKeyInfo.getAlgName()); in decryptPkcs8EncodedKey() 475 return KeyFactory.getInstance("RSA").generatePrivate(spec); in loadPkcs8EncodedPrivateKey() 479 return KeyFactory.getInstance("EC").generatePrivate(spec); in loadPkcs8EncodedPrivateKey() 483 return KeyFactory.getInstance("DSA").generatePrivate(spec); in loadPkcs8EncodedPrivateKey()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | GoogleApiClientUtilTest.java | 74 GlobalConfiguration.getInstance(); in setUpBeforeClass() 87 GlobalConfiguration.getInstance() in setUp() 97 GlobalConfiguration.getInstance() in tearDown() 116 new OptionSetter(GlobalConfiguration.getInstance().getHostOptions()); in testCreateCredential_useHostOptions()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | DosUtils.java | 42 final Calendar cal = Calendar.getInstance(); in decodeDateTime() 63 Calendar cal = Calendar.getInstance(); in encodeTime() 76 Calendar cal = Calendar.getInstance(); in encodeDate()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | GoogleApiClientUtil.java | 49 private static GoogleApiClientUtil getInstance() { in getInstance() method in GoogleApiClientUtil 68 return getInstance().doCreateCredentialFromJsonKeyFile(file, scopes); in createCredentialFromJsonKeyFile() 103 return getInstance() in createCredential() 122 GlobalConfiguration.getInstance() in doCreateCredential()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | TestSuiteInfoTest.java | 38 TestSuiteInfo instance = TestSuiteInfo.getInstance(); in testDefaultValues() 67 TestSuiteInfo instance = TestSuiteInfo.getInstance(); in testLoadConfig() 93 TestSuiteInfo instance = TestSuiteInfo.getInstance(); in testLoadConfig_multiArch()
|
D | ITestSuiteIntegrationTest.java | 194 ConfigurationFactory.getInstance() in loadTests() 490 ConfigurationFactory.getInstance() in testRun_sharding_firstModuleRunsAll() 530 ConfigurationFactory.getInstance() in testRun_sharding_parallelRun() 576 ConfigurationFactory.getInstance() in testRun_sharding_withIndex() 655 ConfigurationFactory.getInstance() in helperTestShardIndex()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandRunner.java | 53 GlobalConfiguration.getInstance().setup(); in initGlobalConfig() 59 return GlobalConfiguration.getInstance().getCommandScheduler(); in getCommandScheduler() 117 GlobalConfiguration.getInstance().cleanup(); in run()
|
D | Console.java | 1040 GlobalConfiguration.getInstance().cleanup(); in run() 1065 return ConfigurationFactory.getInstance(); in getConfigurationFactory() 1153 GlobalConfiguration.getInstance().setup(); in startConsole() 1155 console.setCommandScheduler(GlobalConfiguration.getInstance().getCommandScheduler()); in startConsole() 1156 console.setKeyStoreFactory(GlobalConfiguration.getInstance().getKeyStoreFactory()); in startConsole() 1159 GlobalConfiguration.getInstance().getCommandScheduler().setClearcutClient(client); in startConsole()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiBasedCodebase.kt | 180 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) in <lambda>() 240 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) ?: continue in <lambda>() 291 val facade = JavaPsiFacade.getInstance(project) in <lambda>() 351 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) in <lambda>() 475 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) in <lambda>() 519 val finder = JavaPsiFacade.getInstance(project) in <lambda>()
|
/tools/apksig/src/test/java/com/android/apksig/internal/util/ |
D | Resources.java | 109 keyFactory = KeyFactory.getInstance("rsa"); in toPrivateKey() 112 keyFactory = KeyFactory.getInstance("dsa"); in toPrivateKey() 115 keyFactory = KeyFactory.getInstance("ec"); in toPrivateKey()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | GlobalConfiguration.java | 115 public static IGlobalConfiguration getInstance() { in getInstance() method in GlobalConfiguration 161 IConfigurationFactory configFactory = ConfigurationFactory.getInstance(); in createGlobalConfiguration() 170 GCSConfigurationFactory.getInstance(globalConfigServer); in createGlobalConfiguration() 248 IConfigurationFactory configFactory = ConfigurationFactory.getInstance(); in createGlobalConfigServer() 814 return ConfigurationFactory.getInstance(); in getConfigurationFactory()
|
D | SandboxConfigurationFactory.java | 61 public static SandboxConfigurationFactory getInstance() { in getInstance() method in SandboxConfigurationFactory 163 IKeyStoreFactory f = GlobalConfiguration.getInstance().getKeyStoreFactory(); in getKeyStoreClient()
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/utils/ |
D | MsDosDateTimeUtilsTest.java | 27 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/ |
D | MsDosDateTimeUtils.java | 40 Calendar c = Calendar.getInstance(); in packTime() 74 Calendar c = Calendar.getInstance(); in packDate()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/companion/ |
D | CompanionRunCommandTargetPreparer.java | 38 ITestDevice companion = CompanionDeviceTracker.getInstance().getCompanionDevice(device); in setUp() 53 ITestDevice companion = CompanionDeviceTracker.getInstance().getCompanionDevice(device); in tearDown()
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/ |
D | SignatureTestUtils.java | 93 generator = KeyPairGenerator.getInstance(sign); in generateSignature() 114 publicKeyInfo = SubjectPublicKeyInfo.getInstance(keyPair.getPublic().getEncoded()); in generateSignature()
|
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/ |
D | RunConfigDeviceRecovery.java | 145 return GlobalConfiguration.getInstance().getDeviceManager(); in getDeviceManager() 151 return GlobalConfiguration.getInstance().getCommandScheduler(); in getCommandScheduler()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
D | V2SchemeVerifier.java | 200 certFactory = CertificateFactory.getInstance("X.509"); in parseSigners() 310 KeyFactory.getInstance(keyAlgorithm).generatePublic( in parseSigner() 317 Signature sig = Signature.getInstance(jcaSignatureAlgorithm); in parseSigner()
|
/tools/apksig/src/test/java/com/android/apksig/ |
D | ApkVerifierTest.java | 186 Signature s = Signature.getInstance("SHA1withDSA"); in testV1OneSignerSHA1withDSAAcceptedWithKeysTooLongForDigest() 220 Signature s = Signature.getInstance("SHA224withDSA"); in testV1OneSignerSHA224withDSAAcceptedWithKeysTooLongForDigest() 675 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in testV1SchemeSignatureCertNotReencoded() 1199 return MessageDigest.getInstance("SHA-256").digest(msg); in sha256()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | ShardHelperTest.java | 89 return ConfigurationFactory.getInstance() in setUp() 323 ConfigurationFactory.getInstance() in testClone_withKeystore() 389 ConfigurationFactory.getInstance() in testClone_withKeystore_loadingFails()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | NoisyDryRunTest.java | 156 ConfigurationFactory.getInstance() in testCommandLines() 181 SandboxConfigurationFactory.getInstance() in testSandboxCommand()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeVerifier.java | 249 certFactory = CertificateFactory.getInstance("X.509"); in parseSigners() 357 KeyFactory.getInstance(keyAlgorithm).generatePublic( in parseSigner() 364 Signature sig = Signature.getInstance(jcaSignatureAlgorithm); in parseSigner()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtils.java | 475 mds[i] = MessageDigest.getInstance(jcaAlgorithm); in computeOneMbChunkContentDigests() 587 return MessageDigest.getInstance(algorithm.getJcaMessageDigestAlgorithm()); in createMessageDigest() 782 KeyFactory.getInstance(publicKey.getAlgorithm()) in encodePublicKey() 1147 Signature signature = Signature.getInstance(jcaSignatureAlgorithm); in generateSignaturesOverData() 1161 Signature signature = Signature.getInstance(jcaSignatureAlgorithm); in generateSignaturesOverData()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeSigner.java | 173 return MessageDigest.getInstance(jcaAlgorithm); in getMessageDigestInstance() 514 Signature signature = Signature.getInstance(jcaSignatureAlgorithm); in generateSignatureBlock() 526 Signature signature = Signature.getInstance(jcaSignatureAlgorithm); in generateSignatureBlock()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | ShardHelper.java | 193 return GlobalConfiguration.getInstance(); in getGlobalConfiguration() 217 ConfigurationFactory.getInstance() in cloneConfigObject()
|