Home
last modified time | relevance | path

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

123

/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_persistable_bundle.cpp314 const char* keys[] = {"key1", "key2", "key3"}; in TEST_F() local
319 APersistableBundle_putBoolean(bundle, keys[i], kBoolVal); in TEST_F()
323 checkAndFree(sizeBytes, outSizeBytes, keys, outKeys, numKeys); in TEST_F()
326 APersistableBundle_putInt(bundle, keys[i], kIntVal); in TEST_F()
330 checkAndFree(sizeBytes, outSizeBytes, keys, outKeys, numKeys); in TEST_F()
333 APersistableBundle_putLong(bundle, keys[i], kLongVal); in TEST_F()
337 checkAndFree(sizeBytes, outSizeBytes, keys, outKeys, numKeys); in TEST_F()
340 APersistableBundle_putDouble(bundle, keys[i], kDoubleVal); in TEST_F()
344 checkAndFree(sizeBytes, outSizeBytes, keys, outKeys, numKeys); in TEST_F()
347 APersistableBundle_putString(bundle, keys[i], kStringVal.c_str()); in TEST_F()
[all …]
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecDecoderDrmTestBase.java84 private static String createJsonWebKeySet(Vector<String> keyIds, Vector<String> keys, in createJsonWebKeySet() argument
89 String key = new String(keys.get(i).getBytes(StandardCharsets.UTF_8)); in createJsonWebKeySet()
129 Vector<String> keys = new Vector<>(); in retrieveKeys() local
132 keys.add(clearKey); in retrieveKeys()
135 String jwkSet = createJsonWebKeySet(keyIds, keys, keyType); in retrieveKeys()
152 byte[] drmInitData, byte[][] keys) throws UnsupportedSchemeException, in setUpMediaDrmAndCrypto() argument
160 MediaDrm.KEY_TYPE_STREAMING, keys); in setUpMediaDrmAndCrypto()
164 retrieveKeys(drm, "cenc", sessionId, drmInitData, MediaDrm.KEY_TYPE_STREAMING, keys); in setUpMediaDrmAndCrypto()
171 public void setUpCrypto(UUID uuidCryptoScheme, byte[] drmInitData, byte[][] keys) in setUpCrypto() argument
175 drmInitData, keys); in setUpCrypto()
DCodecDecoderBlockModelDrmTestBase.java61 public void setUpCrypto(UUID uuidCryptoScheme, byte[] drmInitData, byte[][] keys) in setUpCrypto() argument
65 drmInitData, keys); in setUpCrypto()
DCodecDecoderBlockModelMultiAccessUnitDrmTestBase.java70 public void setUpCrypto(UUID uuidCryptoScheme, byte[] drmInitData, byte[][] keys) in setUpCrypto() argument
74 drmInitData, keys); in setUpCrypto()
DCodecDecoderMultiAccessUnitDrmTestBase.java72 public void setUpCrypto(UUID uuidCryptoScheme, byte[] drmInitData, byte[][] keys) in setUpCrypto() argument
76 drmInitData, keys); in setUpCrypto()
/cts/tests/tests/drm/src/android/drm/cts/
DDrmInfoRequestTest.java73 Iterator<String> keys = attributes.keySet().iterator(); in testPutAndGetKeys() local
74 while (keys.hasNext()) { in testPutAndGetKeys()
75 final String key = (String) keys.next(); in testPutAndGetKeys()
81 while (keys.hasNext()) { in testPutAndGetKeys()
82 final String key = (String) keys.next(); in testPutAndGetKeys()
DDrmInfoTest.java84 Iterator<String> keys = attributes.keySet().iterator(); in testPutAndGetKeys() local
85 while (keys.hasNext()) { in testPutAndGetKeys()
86 final String key = (String) keys.next(); in testPutAndGetKeys()
92 while (keys.hasNext()) { in testPutAndGetKeys()
93 final String key = (String) keys.next(); in testPutAndGetKeys()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java106 public void sendKeys(Instrumentation instrumentation, View targetView, int...keys) { in sendKeys() argument
107 sendKeys(instrumentation, keys); in sendKeys()
117 public void sendKeys(Instrumentation instrumentation, int...keys) { in sendKeys() argument
118 final int count = keys.length; in sendKeys()
122 sendKeyDownUp(instrumentation, keys[i]); in sendKeys()
157 final String[] keys = keysSequence.split(" "); in sendKeys() local
158 final int count = keys.length; in sendKeys()
161 String key = keys[i]; in sendKeys()
/cts/tests/tests/os/src/android/os/cts/
DUsbDebuggingTest.java41 File keys = new File("/adb_keys"); in testUsbDebugging() local
42 assertFalse(keys.exists()); in testUsbDebugging()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/
DCameraTestInstrumentation.java69 Set<String> keys = results.keySet(); in sendStatus() local
70 if (keys.isEmpty()) { in sendStatus()
75 for (String key : keys) { in sendStatus()
/cts/tests/app/src/android/app/cts/
DLauncherActivityTest.java88 private void sendKeys(int... keys) { in sendKeys() argument
89 int count = keys.length; in sendKeys()
92 mInstrumentation.sendKeyDownUpSync(keys[i]); in sendKeys()
/cts/tools/release-parser/tests/resources/
Dbuild.prop5 ro.build.display.id=marlin-userdebug 9 PPR1.180610.011 4904810 dev-keys
20 ro.build.tags=dev-keys
40 ro.build.description=marlin-userdebug 9 PPR1.180610.011 4904810 dev-keys
41 ro.build.fingerprint=google/marlin/marlin:9/PPR1.180610.011/4904810:userdebug/dev-keys
Dbuild.prop.pb.txt55 value: "dev-keys"
115 value: "marlin-userdebug 9 PPR1.180610.011 4904810 dev-keys"
143 value: "marlin-userdebug 9 PPR1.180610.011 4904810 dev-keys"
147 value: "google/marlin/marlin:9/PPR1.180610.011/4904810:userdebug/dev-keys"
/cts/tools/cts-test-metrics/
Dparse_test_metrics.py39 stream_names = json_data.keys()
44 for key in metrics.keys():
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DRecordingResult.java49 Iterable<CaptureResult.Key<?>> keys) { in addKeys() argument
50 for (CaptureResult.Key<?> k : keys) { in addKeys()
/cts/suite/cts/utils/
Dget_csv_report.py155 keys = ["device", "board", "serial", "build", "data size"]
157 for i in xrange(len(keys)):
160 values.append(str(deviceResults[j].getInfoV(keys[i])))
161 reportInfo[keys[i]] = values
166 for key in deviceResult.getResults().keys():
/cts/tests/tests/media/common/src/android/media/cts/
DMediaPlayerTestBase.java238 Set<String> keys = metrics.keySet(); in playLoadedVideo() local
240 if (keys == null) { in playLoadedVideo()
242 } else if (keys.size() != size) { in playLoadedVideo()
261 if (!keys.contains(MediaPlayer.MetricsConstants.PLAYING)) { in playLoadedVideo()
/cts/apps/CameraITS/tests/scene3/
Dtest_lens_movement_reporting.py188 first_key = min(data_af_fd.keys()) # find 1st non-moving frame
210 last_key = max(data_min_fd.keys()) # find last (non-moving) frame
229 last_af_frame_cal = data_af_fd[max(data_af_fd.keys())][
231 first_min_frame_cal = data_min_fd[min(data_min_fd.keys())][
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorStats.java195 List<String> keys = new ArrayList<>(flattenedStats.keySet()); in getSortedKeys() local
196 Collections.sort(keys); in getSortedKeys()
197 return keys; in getSortedKeys()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DSuspendTestUtils.java146 final Set<String> keys = expected.keySet(); in areSameExtras() local
147 if (keys.size() != received.keySet().size()) { in areSameExtras()
150 for (String key : keys) { in areSameExtras()
/cts/tests/app/FgsTimeoutTest/src/android/app/cts/fgstimeouttest/
DFgsTimeoutConfigsTest.java99 private Map<String, Long> extractFgsTimeoutSettings(String... keys) { in extractFgsTimeoutSettings() argument
104 for (String key : keys) { in extractFgsTimeoutSettings()
/cts/apps/CameraITS/tools/
Drun_all_unit_tests.py53 self._scene_folders_exist(run_all_tests._SCENE_REQ.keys())
/cts/tests/tests/text/src/android/text/method/cts/
DKeyListenerTestCase.java133 protected final void sendKeys(View targetView, int...keys) { in sendKeys() argument
134 mCtsKeyEventUtil.sendKeys(mInstrumentation, targetView, keys); in sendKeys()
/cts/tests/app/shared/src/android/app/stubs/shared/
DTestNotificationAssistant.java164 public void onNotificationsSeen(List<String> keys) { in onNotificationsSeen() argument
165 mNotificationSeenCount += keys.size(); in onNotificationsSeen()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/instrumentation/
DArguments.java76 public Set<String> keys() { in keys() method in Arguments

123