/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/ |
D | TestEnrollmentActivity.java | 69 Toast.makeText( in onEnrollButtonClicked() 73 Toast.makeText(this, "Failed to enroll!!!" + modelUuid, Toast.LENGTH_SHORT).show(); in onEnrollButtonClicked() 84 Toast.makeText(this, "Sound model not found!!!", Toast.LENGTH_SHORT).show(); in onUnEnrollButtonClicked() 89 Toast.makeText(this, "Successfully un-enrolled, model UUID=" + soundModel.uuid, in onUnEnrollButtonClicked() 93 Toast.makeText(this, "Failed to un-enroll!!!", Toast.LENGTH_SHORT).show(); in onUnEnrollButtonClicked() 104 Toast.makeText(this, "Sound model not found!!!", Toast.LENGTH_SHORT).show(); in onReEnrollButtonClicked() 114 Toast.makeText(this, "Successfully re-enrolled, model UUID=" + updated.uuid, in onReEnrollButtonClicked() 118 Toast.makeText(this, "Failed to re-enroll!!!", Toast.LENGTH_SHORT).show(); in onReEnrollButtonClicked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SysUIToast.java | 27 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) { in makeText() method in SysUIToast 28 return makeText(context, context.getString(resId), duration); in makeText() 31 public static Toast makeText(Context context, CharSequence text, @Duration int duration) { in makeText() method in SysUIToast 32 Toast toast = Toast.makeText(context, text, duration); in makeText()
|
/frameworks/base/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/ |
D | MainActivity.java | 204 Toast.makeText( in onCreate() 207 Toast.makeText(MainActivity.this, "Config push FAILED!", in onCreate() 212 Toast.makeText(MainActivity.this, "failed to read config", Toast.LENGTH_LONG); in onCreate() 229 Toast.makeText(MainActivity.this, in onCreate() 233 Toast.makeText(MainActivity.this, "Statsd did not set receiver", in onCreate() 239 Toast.makeText(MainActivity.this, "failed to set receiver", Toast.LENGTH_LONG); in onCreate() 253 Toast.makeText(MainActivity.this, "Receiver remove", Toast.LENGTH_LONG) in onCreate() 256 Toast.makeText(MainActivity.this, "Statsd did not remove receiver", in onCreate() 262 Toast.makeText( in onCreate() 273 Toast.makeText(MainActivity.this, "Statsd NOT running!", Toast.LENGTH_LONG).show(); in statsdRunning() [all …]
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | ToastTest.java | 89 mToast1 = Toast.makeText(ToastTest.this, text, Toast.LENGTH_SHORT); 97 mToast1 = Toast.makeText(ToastTest.this, "hi 1", Toast.LENGTH_SHORT); 121 mToast2 = Toast.makeText(ToastTest.this, "hi 2", Toast.LENGTH_SHORT); 135 Toast toast = Toast.makeText(ToastTest.this, "LEFT", Toast.LENGTH_SHORT); 144 Toast toast = Toast.makeText(ToastTest.this, "FILL_HORIZONTAL",
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | ObjectViewer.java | 84 Toast.makeText(mContext, R.string.start_activity_failed_message, in onScanCompleted() 178 Toast.makeText(this, R.string.object_saved_message, Toast.LENGTH_SHORT).show(); in importObject() 183 Toast.makeText(this, R.string.save_failed_message, Toast.LENGTH_SHORT).show(); in importObject() 189 Toast.makeText(this, R.string.object_deleted_message, Toast.LENGTH_SHORT).show(); in deleteObject() 192 Toast.makeText(this, R.string.delete_failed_message, Toast.LENGTH_SHORT).show(); in deleteObject()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenRecordDialog.java | 102 Toast.makeText(this, in onActivityResult() 111 Toast.makeText(this, in onActivityResult() 125 Toast.makeText(this, in onActivityResult()
|
D | RecordingService.java | 145 Toast.makeText(this, R.string.screenrecord_delete_error, Toast.LENGTH_LONG) in onStartCommand() 148 Toast.makeText(this, R.string.screenrecord_cancel_success, Toast.LENGTH_LONG) in onStartCommand() 196 Toast.makeText( in onStartCommand() 428 Toast.makeText(this, R.string.screenrecord_delete_error, Toast.LENGTH_LONG) in saveRecording()
|
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/ |
D | BackupRestoreConfirmation.java | 94 … Toast.makeText(mContext, R.string.toast_backup_started, Toast.LENGTH_LONG).show(); in handleMessage() 105 Toast.makeText(mContext, R.string.toast_backup_ended, Toast.LENGTH_LONG).show(); in handleMessage() 111 … Toast.makeText(mContext, R.string.toast_restore_started, Toast.LENGTH_LONG).show(); in handleMessage() 122 … Toast.makeText(mContext, R.string.toast_restore_ended, Toast.LENGTH_SHORT).show(); in handleMessage() 128 Toast.makeText(mContext, R.string.toast_timeout, Toast.LENGTH_LONG).show(); in handleMessage()
|
/frameworks/base/core/java/android/widget/ |
D | Toast.java | 275 public static Toast makeText(Context context, CharSequence text, @Duration int duration) { in makeText() method in Toast 276 return makeText(context, null, text, duration); in makeText() 284 public static Toast makeText(@NonNull Context context, @Nullable Looper looper, in makeText() method in Toast 311 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) in makeText() method in Toast 313 return makeText(context, context.getResources().getText(resId), duration); in makeText()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | ForcedResizableInfoActivityController.java | 123 Toast.makeText(mContext, R.string.dock_non_resizeble_failed_to_dock_text, in activityDismissingDockedStack() 128 Toast.makeText(mContext, R.string.activity_launch_on_secondary_display_failed_text, in activityLaunchOnSecondaryDisplayFailed()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MainActivity.java | 113 Toast.makeText(this, "We need this permission", Toast.LENGTH_LONG).show(); in checkPermission() 136 Toast.makeText(this, "We need permissions", Toast.LENGTH_LONG).show(); in onRequestPermissionsResult()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
D | HomeActivity.java | 102 … Toast.makeText(HomeActivity.this, "Exporting...", Toast.LENGTH_LONG).show(); in onOptionsItemSelected() 117 Toast.makeText(HomeActivity.this, "Done", Toast.LENGTH_LONG).show(); in onOptionsItemSelected()
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ActivityTestMain.java | 166 Toast.makeText(ActivityTestMain.this, msg, Toast.LENGTH_LONG) 177 Toast.makeText(ActivityTestMain.this, in onReceive() 244 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu() 279 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu() 303 Toast.makeText(ActivityTestMain.this, in onCreateOptionsMenu() 346 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu() 370 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu()
|
D | SingleUserService.java | 32 Toast.makeText(this, in onCreate()
|
D | ServiceUserTarget.java | 32 Toast.makeText(this, in onCreate()
|
/frameworks/base/tools/aapt2/integration-tests/NamespaceTest/App/src/com/android/aapt/namespace/app/ |
D | MainActivity.java | 32 Toast.makeText(this, tv.getTextViewAttr(), Toast.LENGTH_LONG).show(); in onCreate()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | TrackerActivity.java | 187 Toast.makeText(this, "Successfully exported data to " + in exportFile() 191 Toast.makeText(this, "Error exporting file: " + in exportFile()
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageStatsActivity.java | 75 Toast.makeText(this, "Timeout of observed app\n" + extras, Toast.LENGTH_SHORT).show(); in onCreate() 84 Toast.makeText(this, "Timeout of observed app\n" + extras, Toast.LENGTH_SHORT).show(); in onNewIntent() 286 Toast.makeText(getApplicationContext(), "package name copied to clipboard", in getView()
|
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/ |
D | CrashingService.java | 49 Toast.makeText(this, "service starting", Toast.LENGTH_SHORT).show(); in onCreate()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | InfoMediaDevice.java | 68 Toast.makeText(mContext, "This is cast device !", Toast.LENGTH_SHORT).show(); in connect()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ScreenPinningNotify.java | 72 Toast toast = SysUIToast.makeText(mContext, resId, Toast.LENGTH_LONG); in makeAllUserToastAndShow()
|
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/ |
D | AELogger.java | 62 final Toast toast = Toast.makeText(this, in onAccessibilityEvent()
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 74 Toast.makeText(BackupTestActivity.this, str, Toast.LENGTH_SHORT).show(); 118 Toast.makeText(BackupTestActivity.this, str, Toast.LENGTH_SHORT).show();
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | NetworkActivity.java | 304 Toast.makeText(context, R.string.wifi_connected, Toast.LENGTH_SHORT).show(); in onReceive() 317 Toast.makeText(context, R.string.lost_connection, Toast.LENGTH_SHORT).show(); in onReceive()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListWithDisappearingItemBug.java | 44 Toast.makeText(this, "Make sure you rotate screen to see bug", Toast.LENGTH_LONG).show(); in onCreate()
|