Home
last modified time | relevance | path

Searched refs:testKey (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DKeyEventInterceptTest.java87 testKey(KeyEvent.KEYCODE_HOME); in testKeyCodeHome()
92 testKey(KeyEvent.KEYCODE_VIDEO_APP_1); in testKeyCodesForLaunchingApplications()
93 testKey(KeyEvent.KEYCODE_VIDEO_APP_2); in testKeyCodesForLaunchingApplications()
94 testKey(KeyEvent.KEYCODE_VIDEO_APP_3); in testKeyCodesForLaunchingApplications()
95 testKey(KeyEvent.KEYCODE_VIDEO_APP_4); in testKeyCodesForLaunchingApplications()
96 testKey(KeyEvent.KEYCODE_VIDEO_APP_5); in testKeyCodesForLaunchingApplications()
97 testKey(KeyEvent.KEYCODE_VIDEO_APP_6); in testKeyCodesForLaunchingApplications()
98 testKey(KeyEvent.KEYCODE_VIDEO_APP_7); in testKeyCodesForLaunchingApplications()
99 testKey(KeyEvent.KEYCODE_VIDEO_APP_8); in testKeyCodesForLaunchingApplications()
100 testKey(KeyEvent.KEYCODE_FEATURED_APP_1); in testKeyCodesForLaunchingApplications()
[all …]
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaController2Test.java204 final String testKey = "test_key"; in testBuilder_setConnectionHints_withFrameworkParcelable() local
207 connectionHints.putParcelable(testKey, frameworkParcelable); in testBuilder_setConnectionHints_withFrameworkParcelable()
215 assertThat(connectionHintsOut).containsKey(testKey); in testBuilder_setConnectionHints_withFrameworkParcelable()
216 assertThat(connectionHintsOut).parcelable(testKey).isEqualTo(frameworkParcelable); in testBuilder_setConnectionHints_withFrameworkParcelable()
224 final String testKey = "test_key"; in testBuilder_setConnectionHints_withCustomParcelable() local
229 connectionHints.putParcelable(testKey, customParcelable); in testBuilder_setConnectionHints_withCustomParcelable()
DMediaSession2Test.java164 final String testKey = "test_key"; in testBuilder_setExtras_withFrameworkParcelable() local
169 extras.putParcelable(testKey, frameworkParcelable); in testBuilder_setExtras_withFrameworkParcelable()
176 assertThat(extrasOut).containsKey(testKey); in testBuilder_setExtras_withFrameworkParcelable()
177 assertThat(extrasOut).parcelable(testKey).isEqualTo(frameworkParcelable); in testBuilder_setExtras_withFrameworkParcelable()
183 final String testKey = "test_key"; in testBuilder_setExtras_withCustomParcelable() local
187 extras.putParcelable(testKey, customParcelable); in testBuilder_setExtras_withCustomParcelable()
DMediaSessionTest.java966 final String testKey = "test_key"; in testSessionInfoWithFrameworkParcelable() local
970 sessionInfo.putParcelable(testKey, frameworkParcelable); in testSessionInfoWithFrameworkParcelable()
977 assertThat(sessionInfoOut.containsKey(testKey)).isTrue(); in testSessionInfoWithFrameworkParcelable()
978 assertThat((AudioAttributes) sessionInfoOut.getParcelable(testKey)) in testSessionInfoWithFrameworkParcelable()
990 final String testKey = "test_key"; in testSessionInfoWithCustomParcelable() local
995 sessionInfo.putParcelable(testKey, customParcelable); in testSessionInfoWithCustomParcelable()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaDrmClearkeyTest.java1724 private void testIntegerProperties(MediaDrm drm, String testKey) in testIntegerProperties() argument
1730 assertEquals("Default value not 0", drm.getPropertyString(testKey), "0"); in testIntegerProperties()
1732 drm.setPropertyString(testKey, "xyz"); }); in testIntegerProperties()
1734 drm.setPropertyString(testKey, "3.141"); }); in testIntegerProperties()
1736 drm.setPropertyString(testKey, Long.toString(Long.MAX_VALUE)); }); in testIntegerProperties()
1738 drm.setPropertyString(testKey, Long.toString(Long.MIN_VALUE)); }); in testIntegerProperties()
1739 drm.setPropertyString(testKey, testValue); in testIntegerProperties()
1740 assertEquals("Property didn't match", drm.getPropertyString(testKey), testValue); in testIntegerProperties()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioMetadataTest.java61 public void testKey() throws Exception { in testKey() method in AudioMetadataTest