Home
last modified time | relevance | path

Searched refs:mToast (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DToastTest.java55 private Toast mToast; field in ToastTest
111 () -> mToast = Toast.makeText(mContext, TEST_TOAST_TEXT, Toast.LENGTH_LONG)); in makeToast()
119 final View view = mToast.getView(); in testShow()
125 mActivityRule.runOnUiThread(mToast::show); in testShow()
146 final View view = mToast.getView(); in testCancel()
151 mToast.show(); in testCancel()
152 mToast.cancel(); in testCancel()
162 assertFalse(mToast.getView() instanceof ImageView); in testAccessView()
169 mToast.setView(imageView); in testAccessView()
170 mToast.show(); in testAccessView()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DAuthenticationBoundKeyTestActivity.java116 private Toast mToast; field in AuthenticationBoundKeyTestActivity.LockscreenCountDownTester
121mToast = Toast.makeText(AuthenticationBoundKeyTestActivity.this, "", Toast.LENGTH_SHORT); in LockscreenCountDownTester()
126 mToast.cancel(); in onFinish()
144 mToast.setText(String.format("Lockscreen challenge start in %d seconds..", in onTick()
146 mToast.show(); in onTick()