Home
last modified time | relevance | path

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

/tools/test/graphicsbenchmark/benchmark_libs/
Dagq.cpp46 jlong timespecToMs(timespec spec) { in timespecToMs() argument
47 return jlong(spec.tv_sec) * 1000 + spec.tv_nsec / 1000000; in timespecToMs()
52 struct timespec spec; in createIntent() local
53 clock_gettime(CLOCK_MONOTONIC, &spec); in createIntent()
70 jlong timestamp = timespecToMs(spec); in createIntent()
/tools/test/connectivity/acts/framework/tests/
Dacts_context_test.py58 event = Mock(spec=TestCaseEvent)
68 event = Mock(spec=TestClassEvent)
81 event = Mock(spec=TestClassBeginEvent)
89 event = Mock(spec=TestClassBeginEvent)
91 event2 = Mock(spec=TestClassEndEvent)
101 event = Mock(spec=TestClassBeginEvent)
103 event2 = Mock(spec=TestCaseBeginEvent)
114 event = Mock(spec=TestClassBeginEvent)
116 event2 = Mock(spec=TestCaseBeginEvent)
119 event3 = Mock(spec=TestCaseEndEvent)
/tools/apksig/src/apksigner/java/com/android/apksigner/
DPasswordRetriever.java90 String spec, String description, Charset... additionalPwdEncodings) in getPasswords() argument
141 if (spec.startsWith("pass:")) { in getPasswords()
142 char[] pwd = spec.substring("pass:".length()).toCharArray(); in getPasswords()
144 } else if (SPEC_STDIN.equals(spec)) { in getPasswords()
165 } else if (spec.startsWith("file:")) { in getPasswords()
166 String name = spec.substring("file:".length()); in getPasswords()
181 } else if (spec.startsWith("env:")) { in getPasswords()
182 String name = spec.substring("env:".length()); in getPasswords()
191 throw new IOException("Unsupported password spec for " + description + ": " + spec); in getPasswords()
DSignerParams.java39 import java.security.spec.InvalidKeySpecException;
40 import java.security.spec.PKCS8EncodedKeySpec;
48 import javax.crypto.spec.PBEKeySpec;
472 private static PrivateKey loadPkcs8EncodedPrivateKey(PKCS8EncodedKeySpec spec) in loadPkcs8EncodedPrivateKey() argument
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/acloud/create/
Dcreate_test.py117 spec = mock.MagicMock()
118 spec.avd_type = constants.TYPE_GCE
119 spec.instance_type = constants.INSTANCE_TYPE_REMOTE
120 spec.image_source = constants.IMAGE_SRC_LOCAL
121 self.Patch(avd_spec, "AVDSpec", return_value=spec)
/tools/test/connectivity/acts/framework/tests/test_utils/power/tel/lab/
Dinit_simulation_test.py49 mock_lte_sim = mock.Mock(spec=LteSimulation)
62 self.test.unpack_userparams(simulation=mock.Mock(spec=LteSimulation),
78 self.test.unpack_userparams(simulation=mock.Mock(spec=LteSimulation))
Dpower_tel_traffic_e2e_test.py66 simulation=mock.Mock(spec=LteSimulation),
78 spec=cmw.CMW500CellularSimulator)),
Dsave_summary_to_file_test.py50 self.test.unpack_userparams(simulation=mock.Mock(spec=LteSimulation))
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DSignatureAlgorithm.java21 import java.security.spec.AlgorithmParameterSpec;
22 import java.security.spec.MGF1ParameterSpec;
23 import java.security.spec.PSSParameterSpec;
DApkSigningBlockUtils.java71 import java.security.spec.AlgorithmParameterSpec;
72 import java.security.spec.InvalidKeySpecException;
73 import java.security.spec.X509EncodedKeySpec;
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DFakeTest.java200 void executeTestRun(ITestInvocationListener listener, String runName, String spec) in executeTestRun() argument
202 listener.testRunStarted(runName, spec.length()); in executeTestRun()
204 for (char c : spec.toCharArray()) { in executeTestRun()
207 "Received unexpected test spec character '%c' in spec \"%s\"", c, spec)); in executeTestRun()
/tools/asuite/atest/test_finders/
Dtest_finder_utils_unittest.py231 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
245 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
264 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
282 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
302 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
321 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
337 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
352 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
Dmodule_finder_unittest.py102 self.mod_finder.module_info = mock.Mock(spec=module_info.ModuleInfo)
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils_unittest.py228 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
242 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
261 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
279 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
299 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
318 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
334 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
349 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
Dmodule_finder_unittest.py99 self.mod_finder.module_info = mock.Mock(spec=module_info.ModuleInfo)
/tools/apksig/src/test/java/com/android/apksig/internal/util/
DResources.java32 import java.security.spec.InvalidKeySpecException;
33 import java.security.spec.PKCS8EncodedKeySpec;
/tools/test/connectivity/acts/
D.gitignore32 *.spec
/tools/test/connectivity/tools/
D.gitignore32 *.spec
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4SchemeVerifier.java43 import java.security.spec.AlgorithmParameterSpec;
44 import java.security.spec.X509EncodedKeySpec;
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java45 import java.security.spec.AlgorithmParameterSpec;
46 import java.security.spec.X509EncodedKeySpec;
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java50 import java.security.spec.AlgorithmParameterSpec;
51 import java.security.spec.X509EncodedKeySpec;
DV3SigningCertificateLineage.java43 import java.security.spec.AlgorithmParameterSpec;
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DSourceStampVerifier.java37 import java.security.spec.AlgorithmParameterSpec;
/tools/repohooks/tools/
Dspelling.txt1021 sepc||spec
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...