Home
last modified time | relevance | path

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

12345

/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/targetprep/
DTargetSetupError.java40 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in TargetSetupError()
51 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in TargetSetupError()
62 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in TargetSetupError()
74 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in TargetSetupError()
88 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in TargetSetupError()
100 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in TargetSetupError()
112 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in TargetSetupError()
126 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in TargetSetupError()
140 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in TargetSetupError()
165 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in TargetSetupError()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DDeviceNotAvailableException.java41 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in DeviceNotAvailableException()
54 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in DeviceNotAvailableException()
65 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in DeviceNotAvailableException()
77 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in DeviceNotAvailableException()
89 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in DeviceNotAvailableException()
104 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in DeviceNotAvailableException()
DDeviceUnresponsiveException.java38 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in DeviceUnresponsiveException()
50 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in DeviceUnresponsiveException()
62 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in DeviceUnresponsiveException()
76 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in DeviceUnresponsiveException()
DDeviceDisconnectedException.java38 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in DeviceDisconnectedException()
50 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in DeviceDisconnectedException()
62 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in DeviceDisconnectedException()
76 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in DeviceDisconnectedException()
/tools/apksig/src/apksigner/java/com/android/apksigner/
DSignerParams.java201 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/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiBasedCodebase.kt207 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) in <lambda>()
267 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) ?: continue in <lambda>()
318 val facade = JavaPsiFacade.getInstance(project) in <lambda>()
378 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) in <lambda>()
498 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) in <lambda>()
540 val finder = JavaPsiFacade.getInstance(project) in <lambda>()
/tools/tradefederation/core/src/com/android/tradefed/command/
DConsole.java1040 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()
DCommandRunner.java62 GlobalConfiguration.getInstance().setup(); in initGlobalConfig()
68 return GlobalConfiguration.getInstance().getCommandScheduler(); in getCommandScheduler()
137 GlobalConfiguration.getInstance().cleanup(); in run()
DCommandScheduler.java972 return ConfigurationFactory.getInstance(); in getConfigFactory()
982 IKeyStoreFactory f = GlobalConfiguration.getInstance().getKeyStoreFactory(); in getKeyStoreClient()
1234 return GlobalConfiguration.getInstance().getSandboxFactory().createSandbox(); in createSandbox()
1265 return SandboxConfigurationFactory.getInstance() in createConfiguration()
1287 return RetryConfigurationFactory.getInstance().createRetryConfiguration(config); in createConfiguration()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/error/
DHarnessException.java35 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in HarnessException()
41 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in HarnessException()
47 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in HarnessException()
53 setCallerClass(StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass()); in HarnessException()
/tools/asuite/asuite_plugin/src/java/com/android/atest/commandAdapter/
DCommandRunner.java44 private static final Logger LOG = Logger.getInstance(CommandRunner.class);
139 ExecutionManager.getInstance(mProject) in launchConsole()
152 ExecutionManager.getInstance(project) in stopProcess()
156 ExecutionManager.getInstance(project) in stopProcess()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGoogleApiClientUtilTest.java74 GlobalConfiguration.getInstance(); in setUpBeforeClass()
87 GlobalConfiguration.getInstance() in setUp()
97 GlobalConfiguration.getInstance() in tearDown()
116 new OptionSetter(GlobalConfiguration.getInstance().getHostOptions()); in testCreateCredential_useHostOptions()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGoogleApiClientUtil.java49 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/
DITestSuiteIntegrationTest.java208 ConfigurationFactory.getInstance() in loadTests()
511 ConfigurationFactory.getInstance() in testRun_sharding_firstModuleRunsAll()
553 ConfigurationFactory.getInstance() in testRun_sharding_parallelRun()
601 ConfigurationFactory.getInstance() in testRun_sharding_withIndex()
681 ConfigurationFactory.getInstance() in helperTestShardIndex()
DITestSuiteTest.java157 ConfigurationFactory.getInstance() in loadTests()
168 ConfigurationFactory.getInstance() in loadTests()
659 ConfigurationFactory.getInstance() in testRun_unresponsiveDevice()
720 ConfigurationFactory.getInstance() in testRun_deviceUnavailable()
791 ConfigurationFactory.getInstance() in testRun_runtimeException()
1495 ConfigurationFactory.getInstance() in testRun_coverageOptionsCopied()
1562 ConfigurationFactory.getInstance() in testRun_GranularRerunwithModuleListener()
DTestSuiteInfoTest.java38 TestSuiteInfo instance = TestSuiteInfo.getInstance(); in testDefaultValues()
67 TestSuiteInfo instance = TestSuiteInfo.getInstance(); in testLoadConfig()
93 TestSuiteInfo instance = TestSuiteInfo.getInstance(); in testLoadConfig_multiArch()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java478 mds[i] = MessageDigest.getInstance(jcaAlgorithm); in computeOneMbChunkContentDigests()
590 return MessageDigest.getInstance(algorithm.getJcaMessageDigestAlgorithm()); in createMessageDigest()
832 KeyFactory.getInstance(publicKey.getAlgorithm()) in encodePublicKey()
1197 Signature signature = Signature.getInstance(jcaSignatureAlgorithm); in generateSignaturesOverData()
1211 Signature signature = Signature.getInstance(jcaSignatureAlgorithm); in generateSignaturesOverData()
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/
DGlobalConfiguration.java120 public static IGlobalConfiguration getInstance() { in getInstance() method in GlobalConfiguration
167 IConfigurationFactory configFactory = ConfigurationFactory.getInstance(); in createGlobalConfiguration()
174 GCSConfigurationFactory.getInstance(globalConfigServer); in createGlobalConfiguration()
251 IConfigurationFactory configFactory = ConfigurationFactory.getInstance(); in createGlobalConfigServer()
/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/apksig/src/test/java/com/android/apksig/
DApkVerifierTest.java186 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/asuite/asuite_plugin/src/java/com/android/atest/toolWindow/
DAtestToolWindow.java40 private static final Logger LOG = Logger.getInstance(AtestToolWindow.class);
102 public static AtestToolWindow getInstance(@NotNull Project project) { in getInstance() method in AtestToolWindow
104 ToolWindowManager.getInstance(project).getToolWindow(Constants.ATEST_TOOL_WINDOW); in getInstance()
/tools/apksig/src/test/java/com/android/apksig/internal/util/
DResources.java109 keyFactory = KeyFactory.getInstance("rsa"); in toPrivateKey()
112 keyFactory = KeyFactory.getInstance("dsa"); in toPrivateKey()
115 keyFactory = KeyFactory.getInstance("ec"); in toPrivateKey()
/tools/asuite/asuite_plugin/src/java/com/android/atest/run/
DAtestRunConfiguration.java44 private static final Logger LOG = Logger.getInstance(AtestRunConfiguration.class);
158 AtestToolWindow.getInstance(executionEnvironment.getProject()); in getState()
192 ToolWindowManager.getInstance(project).getToolWindow(Constants.ATEST_TOOL_WINDOW); in showAtestTW()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DGlobalConfigurationTest.java93 IConfigurationFactory configFactory = ConfigurationFactory.getInstance(); in testCreateGlobalConfiguration_empty()
302 GCSConfigurationFactory.getInstance(globalConfigServer); in testCreateGlobalConfiguration_withConfigServerAndCloneConfigWithFilter()
312 ConfigurationFactory.getInstance() in testCreateGlobalConfiguration_withConfigServerAndCloneConfigWithFilter()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java200 certFactory = CertificateFactory.getInstance("X.509"); in parseSigners()
310 KeyFactory.getInstance(keyAlgorithm).generatePublic( in parseSigner()
317 Signature sig = Signature.getInstance(jcaSignatureAlgorithm); in parseSigner()

12345