Home
last modified time | relevance | path

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

12

/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/security/gdb/heap_print/
Dheap_print_script.py114 def __init__(self, spec): argument
115 super().__init__(spec, internal=True)
132 def __init__(self, spec): argument
133 super().__init__(spec, internal=True)
152 def __init__(self, spec): argument
153 super().__init__(spec, internal=True)
/tools/acloud/create/
Dcreate.py229 spec = avd_spec.AVDSpec(args)
230 avd_creator_class = GetAvdCreatorClass(spec.avd_type,
231 spec.instance_type,
232 spec.image_source)
234 report = avd_creator.Create(spec, args.no_prompt)
Dcreate_test.py160 spec = mock.MagicMock()
161 spec.avd_type = constants.TYPE_GCE
162 spec.instance_type = constants.INSTANCE_TYPE_REMOTE
163 spec.image_source = constants.IMAGE_SRC_LOCAL
164 self.Patch(avd_spec, "AVDSpec", return_value=spec)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils_tests/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.py69 simulation=mock.Mock(spec=LteSimulation),
81 spec=cmw.CMW500CellularSimulator)),
Dsave_summary_to_file_test.py50 self.test.unpack_userparams(simulation=mock.Mock(spec=LteSimulation))
/tools/apksig/src/apksigner/java/com/android/apksigner/
DSignerParams.java39 import java.security.spec.InvalidKeySpecException;
40 import java.security.spec.PKCS8EncodedKeySpec;
48 import javax.crypto.spec.PBEKeySpec;
481 private static PrivateKey loadPkcs8EncodedPrivateKey(PKCS8EncodedKeySpec spec) in loadPkcs8EncodedPrivateKey() argument
484 return KeyFactory.getInstance("RSA").generatePrivate(spec); in loadPkcs8EncodedPrivateKey()
488 return KeyFactory.getInstance("EC").generatePrivate(spec); in loadPkcs8EncodedPrivateKey()
492 return KeyFactory.getInstance("DSA").generatePrivate(spec); in loadPkcs8EncodedPrivateKey()
/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.java72 import java.security.spec.AlgorithmParameterSpec;
73 import java.security.spec.InvalidKeySpecException;
74 import java.security.spec.X509EncodedKeySpec;
/tools/asuite/atest-py2/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)
/tools/asuite/atest/test_finders/
Dtest_finder_utils_unittest.py258 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
272 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
291 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
309 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
329 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
348 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
364 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
379 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
393 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
408 mock_module_info = mock.Mock(spec=module_info.ModuleInfo)
Dcache_finder_unittest.py41 self.cache_finder.module_info = mock.Mock(spec=module_info.ModuleInfo)
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationTest.java27 import java.security.spec.ECGenParameterSpec;
203 private void generateKeyPair(String algorithm, KeyGenParameterSpec spec) in generateKeyPair() argument
208 keyPairGenerator.initialize(spec); in generateKeyPair()
/tools/apksig/src/test/java/com/android/apksig/internal/util/
DResources.java32 import java.security.spec.InvalidKeySpecException;
33 import java.security.spec.PKCS8EncodedKeySpec;
/tools/acloud/public/
Dconfig.py260 if parsed_args.which == create_args.CMD_CREATE and parsed_args.spec:
263 parsed_args.spec, "")
266 parsed_args.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/test/connectivity/tools/
D.gitignore32 *.spec
/tools/test/connectivity/acts/
D.gitignore32 *.spec
/tools/test/connectivity/acts_tests/
D.gitignore32 *.spec
/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.java51 import java.security.spec.AlgorithmParameterSpec;
52 import java.security.spec.X509EncodedKeySpec;
DV3SigningCertificateLineage.java43 import java.security.spec.AlgorithmParameterSpec;
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DSourceStampCertificateLineage.java39 import java.security.spec.AlgorithmParameterSpec;

12