Home
last modified time | relevance | path

Searched refs:BUNDLE_KEY (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextLanguageTest.java36 private static final String BUNDLE_KEY = "key"; field in TextLanguageTest
40 BUNDLE.putString(BUNDLE_KEY, BUNDLE_VALUE); in BUNDLE.putString() argument
63 assertEquals(BUNDLE_VALUE, language.getExtras().getString(BUNDLE_KEY)); in testTextLanguage()
86 assertEquals(BUNDLE_VALUE, request.getExtras().getString(BUNDLE_KEY)); in testTextLanguageRequest()
DTextLinksTest.java51 private static final String BUNDLE_KEY = "key"; field in TextLinksTest
55 BUNDLE.putString(BUNDLE_KEY, BUNDLE_VALUE); in BUNDLE.putString() argument
85 assertEquals(BUNDLE_VALUE, textLinks.getExtras().getString(BUNDLE_KEY)); in testTextLinks_full()
99 assertEquals(BUNDLE_VALUE, textLinkHasExtra.getExtras().getString(BUNDLE_KEY)); in testTextLinks_full()
250 assertEquals(BUNDLE_VALUE, request.getExtras().getString(BUNDLE_KEY)); in testTextLinksRequest_full()
DTextSelectionTest.java43 private static final String BUNDLE_KEY = "key"; field in TextSelectionTest
47 BUNDLE.putString(BUNDLE_KEY, BUNDLE_VALUE); in BUNDLE.putString() argument
87 assertThat(selection.getExtras().getString(BUNDLE_KEY)).isEqualTo(BUNDLE_VALUE); in testTextSelection()
184 assertThat(request.getExtras().getString(BUNDLE_KEY)).isEqualTo(BUNDLE_VALUE); in testTextSelectionRequest()
DTextClassificationTest.java48 private static final String BUNDLE_KEY = "key"; field in TextClassificationTest
52 BUNDLE.putString(BUNDLE_KEY, BUNDLE_VALUE); in BUNDLE.putString() argument
119 assertEquals(BUNDLE_VALUE, classification.getExtras().getString(BUNDLE_KEY)); in testTextClassification()
184 assertEquals(BUNDLE_VALUE, request.getExtras().getString(BUNDLE_KEY)); in testTextClassificationRequest()
DTextClassifierTest.java64 private static final String BUNDLE_KEY = "key"; field in TextClassifierTest
68 BUNDLE.putString(BUNDLE_KEY, BUNDLE_VALUE); in BUNDLE.putString() argument
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DTrustAgentInfoTest.java27 private static final String BUNDLE_KEY = "testing"; field in TrustAgentInfoTest
36 CONFIG.putString(BUNDLE_KEY, BUNDLE_VALUE); in CONFIG.putString() argument
83 assertEquals(BUNDLE_VALUE, bundle.getString(BUNDLE_KEY)); in assertPersistableBundleList()
/cts/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/queries/
DListQueryHelperTest.java37 private static final String BUNDLE_KEY = "key"; field in ListQueryHelperTest
44 BUNDLE_CONTAINING_KEY.putString(BUNDLE_KEY, "value"); in BUNDLE_CONTAINING_KEY.putString() argument
73 bundle().key(BUNDLE_KEY).exists() in matches_contains_withQuery_doesContain_returnsTrue()
86 bundle().key(BUNDLE_KEY).exists() in matches_contains_withQuery_doesNotContain_returnsFalse()
98 bundle().key(BUNDLE_KEY).exists() in matches_doesNotContain_withQuery_doesContain_returnsFalse()
111 bundle().key(BUNDLE_KEY).exists() in matches_doesNotContain_withQuery_doesNotContain_returnsTrue()
DSetQueryHelperTest.java37 private static final String BUNDLE_KEY = "key"; field in SetQueryHelperTest
45 BUNDLE_CONTAINING_KEY.putString(BUNDLE_KEY, "value"); in BUNDLE_CONTAINING_KEY.putString() argument
74 bundle().key(BUNDLE_KEY).exists() in matches_contains_withQuery_doesContain_returnsTrue()
86 bundle().key(BUNDLE_KEY).exists() in matches_contains_withQuery_doesNotContain_returnsFalse()
98 bundle().key(BUNDLE_KEY).exists() in matches_doesNotContain_withQuery_doesContain_returnsFalse()
110 bundle().key(BUNDLE_KEY).exists() in matches_doesNotContain_withQuery_doesNotContain_returnsTrue()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DTrustAgentInfoTest.java31 private static final String BUNDLE_KEY = "testing"; field in TrustAgentInfoTest
40 CHILD_CONFIG.putString(BUNDLE_KEY, BUNDLE_CHILD_VALUE); in CHILD_CONFIG.putString() argument
41 PARENT_CONFIG.putString(BUNDLE_KEY, BUNDLE_PARENT_VALUE); in PARENT_CONFIG.putString() argument
174 actualValues.add(bundle.getString(BUNDLE_KEY)); in assertPersistableBundleListEquals()
/cts/tests/tests/media/src/android/media/cts/
DMediaMetricsTest.java59 assertEquals("Key", bundle.getString(MediaMetrics.Item.BUNDLE_KEY)); in testBasicItem()
98 assertEquals(key, bundle.getString(MediaMetrics.Item.BUNDLE_KEY)); in testBigItem()
116 assertEquals(key, bundle2.getString(MediaMetrics.Item.BUNDLE_KEY)); in testBigItem()