Home
last modified time | relevance | path

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

12

/cts/tests/translation/src/android/translation/cts/unittests/
DViewTranslationRequestTest.java51 assertThat(request.getKeys().size()).isEqualTo(1); in testBuilderVirtualAutofillId_validSetText()
52 assertThat(request.getKeys()).containsExactly("sample id"); in testBuilderVirtualAutofillId_validSetText()
64 assertThat(request.getKeys().size()).isEqualTo(1); in testBuilder_validSetText()
65 assertThat(request.getKeys()).containsExactly("sample id"); in testBuilder_validSetText()
79 assertThat(request.getKeys().size()).isEqualTo(1); in testBuilder_setTextTwice()
80 assertThat(request.getKeys()).containsExactly("sample id"); in testBuilder_setTextTwice()
92 assertThat(request.getKeys().size()).isEqualTo(1); in testGetValue_invalidId()
93 assertThat(request.getKeys()).containsExactly("sample id"); in testGetValue_invalidId()
110 assertThat(request.getKeys().size()).isEqualTo(2); in testBuilder_multipleTexts()
111 assertThat(request.getKeys()).containsExactly("sample id", "id2"); in testBuilder_multipleTexts()
DTranslationRequestTest.java58 assertThat(viewRequest.getKeys().size()).isEqualTo(1); in testBuilder_validViewTranslationRequest()
59 assertThat(viewRequest.getKeys()).containsExactly("sample id"); in testBuilder_validViewTranslationRequest()
108 assertThat(viewRequest.getKeys().size()).isEqualTo(1); in testBuilder_mixingSetters()
109 assertThat(viewRequest.getKeys()).containsExactly("sample id"); in testBuilder_mixingSetters()
161 assertThat(viewRequest.getKeys().size()).isEqualTo(1); in testBuilder_sameAutofillIdViewTranslationRequests()
162 assertThat(viewRequest.getKeys()).containsExactly("sample id"); in testBuilder_sameAutofillIdViewTranslationRequests()
168 assertThat(viewRequest2.getKeys().size()).isEqualTo(1); in testBuilder_sameAutofillIdViewTranslationRequests()
169 assertThat(viewRequest2.getKeys()).containsExactly("id2"); in testBuilder_sameAutofillIdViewTranslationRequests()
196 assertThat(request1.getKeys().size()).isEqualTo(1); in testParceledRequest_validViewTranslationRequests()
197 assertThat(request1.getKeys()).containsExactly("sample id"); in testParceledRequest_validViewTranslationRequests()
[all …]
DViewTranslationResponseTest.java54 assertThat(request.getKeys().size()).isEqualTo(1); in testBuilder_validAddText()
65 assertThat(request.getKeys().size()).isEqualTo(1); in testBuilder_validAddError()
80 assertThat(request.getKeys().size()).isEqualTo(1); in testGetValue_invalidId()
102 assertThat(request.getKeys().size()).isEqualTo(3); in testBuilder_multipleResults()
DTranslationResponseTest.java67 assertThat(viewResponse.getKeys().size()).isEqualTo(1); in testBuilder_validViewTranslationResponse()
89 assertThat(viewResponse.getKeys().size()).isEqualTo(1); in testBuilder_errorViewTranslationResponse()
156 assertThat(viewResponse.getKeys().size()).isEqualTo(1); in testBuilder_mixingAdders()
184 assertThat(viewResponse.getKeys().size()).isEqualTo(1); in testBuilder_mixingSetters()
219 assertThat(viewResponse1.getKeys().size()).isEqualTo(1); in testParceledResponse_validViewTranslationResponses()
225 assertThat(viewResponse2.getKeys().size()).isEqualTo(1); in testParceledResponse_validViewTranslationResponses()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaFormatTest.java291 Set<String> keySet = format.getKeys(); in testSingleKeyRemoval()
322 Set<String> keySet = format.getKeys(); in testKeySetContainsAndRemove()
469 assertFalse(format.getKeys().contains("feature-int")); in testFeatureKeySetContainsAndRemove()
472 assertFalse(format.getKeys().remove("feature-int")); in testFeatureKeySetContainsAndRemove()
613 assertEquals(3, format.getKeys().size()); in testMediaFormatConstructors()
623 assertEquals(3, format.getKeys().size()); in testMediaFormatConstructors()
631 assertEquals(2, format.getKeys().size()); in testMediaFormatConstructors()
644 assertEquals(2, format.getKeys().size()); in testMediaFormatConstructors()
651 assertEquals(3, other.getKeys().size()); in testMediaFormatConstructors()
/cts/tests/translation/src/android/translation/cts/views/
DCustomTextView.java60 if (response.getKeys().contains(CUSTOM_TRANSLATION_ID_MY_TAG)) { in onViewTranslationResponse()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DRecordingResult.java54 public Set<CaptureResult.Key<?>> getKeys() { in getKeys() method in RecordingResult
DItsSerializer.java505 for (CaptureResult.Key<?> key : recordingResult.getKeys()) { in serialize()
542 List<CameraCharacteristics.Key<?>> charsKeys = chars.getKeys(); in serialize()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaDrmClearkeyTest.java277 private void getKeys(MediaDrm drm, String initDataType, in getKeys() method in MediaDrmClearkeyTest
328 getKeys(mDrm, initDataType, mSessionId, mDrmInitData, in startDrm()
332 getKeys(mDrm, initDataType, mSessionId, mDrmInitData, in startDrm()
467 getKeys(mDrm, initDataType, mSessionId, mDrmInitData, keyType, clearKeyIds); in testClearKeyPlayback()
535 getKeys(mDrm, initDataType, mSessionId, mDrmInitData, MediaDrm.KEY_TYPE_OFFLINE, in testReleaseOfflineLicense()
547 getKeys(mDrm, initDataType, mKeySetId, mDrmInitData, MediaDrm.KEY_TYPE_RELEASE, in testReleaseOfflineLicense()
620 getKeys(drm, "cenc", mSessionId, mDrmInitData, MediaDrm.KEY_TYPE_STREAMING, in testQueryKeyStatus()
672 getKeys(drm, "cenc", mSessionId, mDrmInitData, MediaDrm.KEY_TYPE_OFFLINE, in testOfflineKeyManagement()
1155 getKeys(drm, "cenc", mSessionId, mDrmInitData, in testSecureStop()
1337 getKeys(drm, initDataType, mSessionId, mDrmInitData, in testOnExpirationUpdateListener()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraDeviceSetupTest.java263 staticChars.getCharacteristics().getKeys(); in testSessionCharacteristics()
265 sessionCharacteristics.getKeys(); in testSessionCharacteristics()
312 sessionCharsWithoutCallbacks.getKeys(); in checkSessionCharacteristicsForNoCallbackConfig()
323 List<CameraCharacteristics.Key<?>> sessionCharKeys = sessionCharacteristics.getKeys(); in checkSessionCharacteristicsForNoCallbackConfig()
431 request.build().getKeys(), requestFromSetup.build().getKeys()); in testCameraDeviceSetupTemplatesByCamera()
DCameraExtensionCharacteristicsTest.java428 Set<CameraCharacteristics.Key> keys = chars.getKeys(extension); in testExtensionGetCharacteristics()
456 Set<CameraCharacteristics.Key> keys = chars.getKeys(extension); in testGetRequiredKeys()
DCaptureResultTest.java219 List<CaptureResult.Key<?>> partialKeys = partialResult.getKeys(); in testPartialResult()
233 List<CaptureResult.Key<?>> totalResultKeys = totalResult.getKeys(); in testPartialResult()
DStaticMetadataTest.java633 List<Key<?>> keys = metadata.getCharacteristics().getKeys(); in testCameraCharacteristicKeysAreUnique()
DExtendedCameraCharacteristicsTest.java1128 List<CameraCharacteristics.Key<?>> allKeys = c.getKeys(); in testKeys()
2909 c.getKeys().contains(CameraCharacteristics.SENSOR_BLACK_LEVEL_PATTERN); in testOpticalBlackRegions()
2911 c.getKeys().contains(CameraCharacteristics.SENSOR_INFO_WHITE_LEVEL); in testOpticalBlackRegions()
2921 if (c.getKeys().contains(CameraCharacteristics.SENSOR_OPTICAL_BLACK_REGIONS)) { in testOpticalBlackRegions()
3101 List<Key<?>> allKeys = c.getKeys(); in testMonochromeCharacteristics()
4311 List<Key<?>> allKeys = c.getKeys();
DCaptureRequestTest.java811 List<Key<?>> keys = staticInfo.getCharacteristics().getKeys(); in testCameraStabilizations()
2723 List<Key<?>> keys = mStaticInfo.getCharacteristics().getKeys();
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DKeyboardTest.java46 for (final Key key : keyboard.getKeys()) { in testKeyOnPressedAndReleased()
/cts/tests/security/src/android/keystore/cts/
DEatAttestation.java56 for (DataItem key : extension.getKeys()) { in EatAttestation()
DAuthorizationList.java360 for (DataItem key : submodMap.getKeys()) { in AuthorizationList()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorStats.java108 public synchronized Set<String> getKeys() { in getKeys() method in SensorStats
/cts/suite/cts/utils/
Dget_csv_report.py126 def getKeys(self): member in Result
/cts/tests/translation/src/android/translation/cts/
DUiTranslationManagerTest.java267 assertThat(viewRequest.getKeys().size()).isEqualTo(1); in testUiTranslation()
268 assertThat(viewRequest.getKeys()).containsExactly(ViewTranslationRequest.ID_TEXT); in testUiTranslation()
543 assertThat(viewRequest.getKeys().size()).isEqualTo(2); in testUiTranslation_hasContentDescription()
544 assertThat(viewRequest.getKeys()).containsExactly(ID_CONTENT_DESCRIPTION, in testUiTranslation_hasContentDescription()
1197 assertThat(viewRequest1.getKeys()).containsExactly(ViewTranslationRequest.ID_TEXT); in testVirtualViewUiTranslation()
1203 assertThat(viewRequest2.getKeys()).containsExactly(ViewTranslationRequest.ID_TEXT); in testVirtualViewUiTranslation()
/cts/tests/tests/media/muxer/src/android/media/muxer/cts/
DNativeMuxerTest.java297 Set<String> keys = f1.getKeys(); in compareFormats()
/cts/tests/media/common/src/android/mediav2/common/cts/
DEncoderConfigParams.java258 java.util.Set<String> keys = format.getKeys(); in serializeMediaFormat()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_persistable_bundle.cpp309 TEST_F(NdkBinderTest_APersistableBundle, getKeys) { in TEST_F() argument
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java2343 return mCharacteristics.getKeys().containsAll(keys); in areCharacteristicsKeysAvailable()

12