/cts/tests/tests/widget29/src/android/widget/cts29/ |
D | ToastTest.java | 178 Toast toast = new Toast(mContext); in testShowFailure() local 180 assertNull(toast.getView()); in testShowFailure() 181 toast.show(); in testShowFailure() 433 Toast toast = Toast.makeText(mContext, "android", Toast.LENGTH_SHORT); in testMakeTextFromString() local 434 assertNotNull(toast); in testMakeTextFromString() 435 assertEquals(Toast.LENGTH_SHORT, toast.getDuration()); in testMakeTextFromString() 436 View view = toast.getView(); in testMakeTextFromString() 439 toast = Toast.makeText(mContext, "cts", Toast.LENGTH_LONG); in testMakeTextFromString() 440 assertNotNull(toast); in testMakeTextFromString() 441 assertEquals(Toast.LENGTH_LONG, toast.getDuration()); in testMakeTextFromString() [all …]
|
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/ |
D | ToastActivity.java | 35 Toast toast = new Toast(this); in onResume() local 38 toast.setView(view); in onResume() 39 toast.setGravity(Gravity.FILL, 0, 0); in onResume() 40 toast.setDuration(Toast.LENGTH_LONG); in onResume() 42 toast.show(); in onResume()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ToastTest.java | 342 Toast toast = new Toast(mContext); in testShowFailure() local 344 assertNull(toast.getView()); in testShowFailure() 345 toast.show(); in testShowFailure() 655 Toast toast = Toast.makeText(mContext, "android", Toast.LENGTH_SHORT); in testMakeTextFromString() local 656 assertNotNull(toast); in testMakeTextFromString() 657 assertEquals(Toast.LENGTH_SHORT, toast.getDuration()); in testMakeTextFromString() 658 View view = toast.getView(); in testMakeTextFromString() 661 toast = Toast.makeText(mContext, "cts", Toast.LENGTH_LONG); in testMakeTextFromString() 662 assertNotNull(toast); in testMakeTextFromString() 663 assertEquals(Toast.LENGTH_LONG, toast.getDuration()); in testMakeTextFromString() [all …]
|
/cts/tests/tests/os/CompanionTestApp/src/android/os/cts/companiontestapp/ |
D | DevicePresenceListener.kt | 24 toast("Device appeared: $address") in onDeviceAppeared() 28 toast("Device disappeared: $address") in onDeviceDisappeared()
|
D | CompanionTestAppMainActivity.kt | 117 toast("Disassociating $address") in <lambda>() 127 toast("startObservingDevicePresence $address") in <lambda>() 145 toast("error: $error") in <lambda>() 149 toast("launching $chooserLauncher") in <lambda>() 163 toast("result code: $resultCode, device: $device") in <lambda>() 207 fun Context.toast(msg: String) { in Context() method
|
D | NotificationListener.kt | 33 toast("Notification detected: ${sbn.packageName}: ${sbn.notification.tickerText}") in onNotificationPosted()
|
/cts/tests/tests/toastlegacy/ |
D | OWNERS | 2 include ../toast/OWNERS
|
/cts/tests/tests/toastlegacy/src/android/widget/toast/cts/legacy/ |
D | ToastTest.java | 17 package android.widget.toast.cts.legacy; 21 import android.widget.toast.cts.BaseToastTest;
|
D | ToastActivity.java | 17 package android.widget.toast.cts.legacy;
|
/cts/tests/tests/appop/ |
D | OWNERS | 5 include ../toast/OWNERS
|
/cts/tests/tests/toast/src/android/widget/toast/cts/ |
D | LegacyToastTest.java | 17 package android.widget.toast.cts;
|
D | BaseToastTest.java | 17 package android.widget.toast.cts;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | PermissionLockdownTestActivity.java | 235 private void showToast(String toast) { in showToast() argument 236 Log.d(TAG, "showToast(" + toast + ")"); in showToast() 237 Toast.makeText(this, toast, Toast.LENGTH_LONG).show(); in showToast()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | ConnectionAccessClientActivity.java | 162 String toast = msg.getData().getString(BluetoothChatService.TOAST); in handleToast() local 163 Toast.makeText(this, toast, Toast.LENGTH_SHORT).show(); in handleToast()
|
D | ConnectionAccessServerActivity.java | 149 String toast = msg.getData().getString(BluetoothChatService.TOAST); in handleToast() local 150 Toast.makeText(this, toast, Toast.LENGTH_LONG).show(); in handleToast()
|
D | MessageTestActivity.java | 321 String toast = msg.getData().getString(BluetoothChatService.TOAST); in handleToast() local 322 Toast.makeText(this, toast, Toast.LENGTH_LONG).show(); in handleToast()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowUntrustedTouchTest.java | 780 Rect toast = mWmState.waitForResult("toast bounds", in testWhenSelfTextToastWindow_allowsTouch() local 783 mTouchHelper.tapOnCenter(toast, mActivity.getDisplayId()); in testWhenSelfTextToastWindow_allowsTouch() 791 Rect toast = mWmState.waitForResult("toast bounds", in testWhenTextToastWindow_allowsTouch() local 794 mTouchHelper.tapOnCenter(toast, mActivity.getDisplayId()); in testWhenTextToastWindow_allowsTouch()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVRecordActivity.java | 162 Toast toast = Toast.makeText(context, msg, duration); in message() local 163 toast.show(); in message()
|