Home
last modified time | relevance | path

Searched refs:hint (Results 1 – 7 of 7) 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/tests/view/src/android/view/cts/
DAttachedSurfaceControlTest.java67 public void onBufferTransformHintChanged(int hint) { in onBufferTransformHintChanged() argument
70 + " expected=" + expectedOrientation + " transformHint=" + hint); in onBufferTransformHintChanged()
71 Assert.assertEquals("Failed to switch orientation hint=" + hint, orientation, in onBufferTransformHintChanged()
73 hintConsumer.accept(hint); in onBufferTransformHintChanged()
101 requestedOrientation, hint -> transformHintResult[0] = hint); in testOnBufferTransformHintChangedListener()
118 requestedOrientation, hint -> transformHintResult[1] = hint); in testOnBufferTransformHintChangedListener()
168 ORIENTATION_LANDSCAPE, hint -> transformHintResult[0] = hint); in testOnBufferTransformHintChangesFromLandToSea()
185 ORIENTATION_LANDSCAPE, hint -> transformHintResult[1] = hint); in testOnBufferTransformHintChangesFromLandToSea()
/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/tests/os/CompanionTestApp/src/android/os/cts/companiontestapp/
DCompanionTestAppMainActivity.kt57 hint = "Name Filter" in <lambda>()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DHelper.java425 public static ViewNode findNodeByAutofillHint(ViewNode node, String hint) { in findNodeByAutofillHint() argument
426 return findNodeByFilter(node, hint, AUTOFILL_HINT_FILTER); in findNodeByAutofillHint()
489 public static View findViewByAutofillHint(Activity activity, String hint) { in findViewByAutofillHint() argument
491 return findViewByAutofillHint(rootView, hint); in findViewByAutofillHint()
498 public static View findViewByAutofillHint(View view, String hint) { in findViewByAutofillHint() argument
499 if (AUTOFILL_HINT_VIEW_FILTER.matches(view, hint)) return view; in findViewByAutofillHint()
503 final View child = findViewByAutofillHint(group.getChildAt(i), hint); in findViewByAutofillHint()
/cts/tests/tests/widget/src/android/widget/cts/
DDialerFilterTest.java402 text1.setId(android.R.id.hint); in createMyDialerFilter()