Home
last modified time | relevance | path

Searched refs:toast (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DToastTest.java148 Toast toast = new Toast(mActivity); in testShowFailure() local
150 assertNull(toast.getView()); in testShowFailure()
152 toast.show(); in testShowFailure()
351 Toast toast = Toast.makeText(mActivity, "android", Toast.LENGTH_SHORT);
352 assertNotNull(toast);
353 assertEquals(Toast.LENGTH_SHORT, toast.getDuration());
354 View view = toast.getView();
357 toast = Toast.makeText(mActivity, "cts", Toast.LENGTH_LONG);
358 assertNotNull(toast);
359 assertEquals(Toast.LENGTH_LONG, toast.getDuration());
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/
DConstraintTestActivity.java47 Toast toast = in startTest() local
52 toast.show(); in startTest()
100 final Toast toast = in noteInvalidTest() local
106 toast.show(); in noteInvalidTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DConnectionAccessClientActivity.java162 String toast = msg.getData().getString(BluetoothChatService.TOAST); in handleToast() local
163 Toast.makeText(this, toast, Toast.LENGTH_SHORT).show(); in handleToast()
DConnectionAccessServerActivity.java149 String toast = msg.getData().getString(BluetoothChatService.TOAST); in handleToast() local
150 Toast.makeText(this, toast, Toast.LENGTH_LONG).show(); in handleToast()
DMessageTestActivity.java321 String toast = msg.getData().getString(BluetoothChatService.TOAST); in handleToast() local
322 Toast.makeText(this, toast, Toast.LENGTH_LONG).show(); in handleToast()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DPermissionLockdownTestActivity.java192 private void showToast(String toast) { in showToast() argument
193 Toast.makeText(this, toast, Toast.LENGTH_LONG).show(); in showToast()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVRecordActivity.java124 Toast toast = Toast.makeText(context, msg, duration); in message() local
125 toast.show(); in message()