Home
last modified time | relevance | path

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

/cts/tests/tests/app.usage/src/android/app/usage/cts/
DCacheQuotaHintTest.java36 final CacheQuotaHint hint = in testCacheQuotaHintBuilder() local
38 assertCacheQuotaHint(hint); in testCacheQuotaHintBuilder()
43 final CacheQuotaHint hint = new CacheQuotaHint.Builder( in testCacheQuotaHintBuilderFromCacheQuotaHint() local
46 assertCacheQuotaHint(hint); in testCacheQuotaHintBuilderFromCacheQuotaHint()
51 final CacheQuotaHint hint = in testCacheQuotaHintParcelizeDeparcelize() local
55 hint.writeToParcel(p, 0); in testCacheQuotaHintParcelizeDeparcelize()
72 private void assertCacheQuotaHint(CacheQuotaHint hint) { in assertCacheQuotaHint() argument
73 assertEquals("uuid", hint.getVolumeUuid()); in assertCacheQuotaHint()
74 assertEquals(0, hint.getUid()); in assertCacheQuotaHint()
75 assertEquals(100, hint.getQuota()); in assertCacheQuotaHint()
[all …]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DExtractedTextTest.java80 extractedText.hint = getExpectedHint(); in createForTest()
110 assertEquals(getExpectedHint().toString(), extractedText.hint.toString()); in assertTestInstance()
112 assertTrue(extractedText.hint instanceof Spanned); in assertTestInstance()
113 final Spanned spannedHint = (Spanned) extractedText.hint; in assertTestInstance()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java176 protected void assertMoreThan(String what, float expected, float actual, String hint) { in assertMoreThan() argument
179 + "%; " + hint); in assertMoreThan()
183 protected void assertLessThan(String what, float expected, float actual, String hint) { in assertLessThan() argument
186 + "%; " + hint); in assertLessThan()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DHelper.java424 public static ViewNode findNodeByAutofillHint(ViewNode node, String hint) { in findNodeByAutofillHint() argument
425 return findNodeByFilter(node, hint, AUTOFILL_HINT_FILTER); in findNodeByAutofillHint()
488 public static View findViewByAutofillHint(Activity activity, String hint) { in findViewByAutofillHint() argument
490 return findViewByAutofillHint(rootView, hint); in findViewByAutofillHint()
497 public static View findViewByAutofillHint(View view, String hint) { in findViewByAutofillHint() argument
498 if (AUTOFILL_HINT_VIEW_FILTER.matches(view, hint)) return view; in findViewByAutofillHint()
502 final View child = findViewByAutofillHint(group.getChildAt(i), hint); in findViewByAutofillHint()
/cts/tests/tests/os/CompanionTestApp/src/android/os/cts/companiontestapp/
DCompanionTestAppMainActivity.kt56 val nameFilter by lazy { EditText(this).apply { hint = "Name Filter" } } in <lambda>()
/cts/tests/tests/widget/src/android/widget/cts/
DDialerFilterTest.java402 text1.setId(android.R.id.hint); in createMyDialerFilter()