/aosp12/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/ |
H A D | TestEnrollmentActivity.java | 74 Toast.makeText( in onEnrollButtonClicked() 78 Toast.makeText(this, "Failed to enroll!!!" + modelUuid, Toast.LENGTH_SHORT).show(); in onEnrollButtonClicked() 89 Toast.makeText(this, "Sound model not found!!!", Toast.LENGTH_SHORT).show(); in onUnEnrollButtonClicked() 94 Toast.makeText(this, "Successfully un-enrolled, model UUID=" + soundModel.getUuid(), in onUnEnrollButtonClicked() 98 Toast.makeText(this, "Failed to un-enroll!!!", Toast.LENGTH_SHORT).show(); in onUnEnrollButtonClicked() 109 Toast.makeText(this, "Sound model not found!!!", Toast.LENGTH_SHORT).show(); in onReEnrollButtonClicked() 119 Toast.makeText(this, "Successfully re-enrolled, model UUID=" + updated.getUuid(), in onReEnrollButtonClicked() 123 Toast.makeText(this, "Failed to re-enroll!!!", Toast.LENGTH_SHORT).show(); in onReEnrollButtonClicked()
|
/aosp12/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/ |
H A D | EmbmsTestDownloadApp.java | 221 Toast.makeText(EmbmsTestDownloadApp.this, in onCreate() 233 Toast.makeText(EmbmsTestDownloadApp.this, in onCreate() 248 Toast.makeText(EmbmsTestDownloadApp.this, in onCreate() 255 Toast.makeText(EmbmsTestDownloadApp.this, in onCreate() 287 Toast.makeText(EmbmsTestDownloadApp.this, in onCreate() 301 Toast.makeText(EmbmsTestDownloadApp.this, in onCreate() 307 Toast.makeText(EmbmsTestDownloadApp.this, in onCreate() 329 Toast.makeText(EmbmsTestDownloadApp.this, in onCreate() 335 Toast.makeText(EmbmsTestDownloadApp.this, in onCreate() 355 Toast.makeText(EmbmsTestDownloadApp.this, in onCreate() [all …]
|
/aosp12/packages/services/Telephony/testapps/SmsManagerTestApp/src/com/android/phone/testapps/smsmanagertestapp/ |
H A D | SmsManagerTestApp.java | 116 Toast.makeText(this, "read_phone_state denied.", Toast.LENGTH_SHORT).show(); in onRequestPermissionsResult() 135 Toast.makeText(this, "User picked sub id = " + resultSubId, in onActivityResult() 138 Toast.makeText(this, "User cancelled dialog.", in onActivityResult() 150 Toast.makeText(this, "Couldn't get phone number from view! Ignoring request...", in sendOutgoingSms() 166 Toast.makeText(this, "Couldn't get phone number from view! Ignoring request...", in sendOutgoingSmsService() 191 Toast.makeText(this, "Unable to launch Settings application.", in getSubIdForResult() 213 Toast.makeText(this, "Single Reg permission granted", in checkSingleRegPermission() 216 Toast.makeText(this, "Single Reg permission NOT granted", in checkSingleRegPermission() 241 Toast.makeText(this, "Couldn't resolve line 1 due to permissions error.", in getPhoneNumber()
|
H A D | SendStatusReceiver.java | 44 Toast.makeText(context, "SMS not sent, user cancelled.", Toast.LENGTH_LONG).show(); in onReceive() 46 Toast.makeText(context, "SMS result=" + resultCode + ", error extra=" + errorCode, in onReceive()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SysUIToast.java | 26 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) { in makeText() method in SysUIToast 27 return makeText(context, context.getString(resId), duration); in makeText() 30 public static Toast makeText(Context context, CharSequence text, @Duration int duration) { in makeText() method in SysUIToast 31 return Toast.makeText(context, text, duration); in makeText()
|
/aosp12/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A 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",
|
/aosp12/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | SelfManagedCallingActivity.java | 81 Toast.makeText(SelfManagedCallingActivity.this, 88 Toast.makeText(SelfManagedCallingActivity.this, 196 Toast.makeText(this, R.string.outgoingCallNotPermitted , Toast.LENGTH_SHORT).show(); in placeOutgoingCall() 221 Toast.makeText(this, R.string.outgoingCallNotPermitted, Toast.LENGTH_SHORT).show(); in placeSelfManagedOutgoingCall() 247 Toast.makeText(this, R.string.incomingCallNotPermitted , Toast.LENGTH_SHORT).show(); in placeIncomingCall() 271 Toast.makeText(this, R.string.incomingCallNotPermitted , Toast.LENGTH_SHORT).show(); in placeSelfManagedIncomingCall() 285 Toast.makeText(this, "Enabling car mode with priority " + DEFAULT_PRIORITY, in enableCarMode() 292 Toast.makeText(this, "Disabling car mode", Toast.LENGTH_LONG).show(); in disableCarMode() 315 Toast.makeText(this, "Call screening role granted.", Toast.LENGTH_SHORT).show(); in onActivityResult() 317 Toast.makeText(this, "Call screening role NOT granted.", Toast.LENGTH_SHORT).show(); in onActivityResult()
|
H A D | TestDialerActivity.java | 164 Toast.makeText(this, message, Toast.LENGTH_SHORT).show(); in showToast() 172 Toast.makeText(this, "Privileged dialer operation failed", Toast.LENGTH_SHORT).show(); in cancelMissedCallNotification() 175 Toast.makeText(this, "Privileged dialer operation succeeded", Toast.LENGTH_SHORT).show(); in cancelMissedCallNotification() 201 Toast.makeText(this, "Invalid priority; not enabling car mode.", in enableCarMode() 207 Toast.makeText(this, "Enabling car mode with priority " + priority, in enableCarMode() 214 Toast.makeText(this, "Disabling car mode", Toast.LENGTH_LONG).show(); in disableCarMode() 229 Toast.makeText(this, "Is UI enabled? " + isEnabled, Toast.LENGTH_LONG).show(); in toggleInCallService()
|
H A D | TestInCallUI.java | 99 Toast.makeText(TestInCallUI.this, "RTT now enabled", Toast.LENGTH_SHORT).show(); in onCreate() 104 Toast.makeText(TestInCallUI.this, "RTT now disabled", Toast.LENGTH_SHORT).show(); in onCreate() 109 Toast.makeText(TestInCallUI.this, String.format("RTT failed to init: %d", reason), in onCreate() 115 Toast.makeText(TestInCallUI.this, String.format("RTT request: %d", id), in onCreate() 355 Toast.makeText(this, "Is UI enabled? " + isEnabled, Toast.LENGTH_LONG).show(); in disableInCallService() 366 Toast.makeText(this, "Is UI enabled? " + isEnabled, Toast.LENGTH_LONG).show(); in enableInCallService()
|
/aosp12/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/toolbar/ |
H A D | ToolbarActivity.java | 197 i -> Toast.makeText(this, "Clicked", in onCreate() 208 Toast.makeText(this, in onCreate() 220 i -> Toast.makeText(this, "Clicked", in onCreate() 232 i -> Toast.makeText(this, "Clicked", in onCreate() 243 i -> Toast.makeText(this, "Clicked", in onCreate() 256 i -> Toast.makeText(this, "Clicked", in onCreate() 269 i -> Toast.makeText(this, "Clicked", in onCreate() 280 i -> Toast.makeText(this, "Clicked", in onCreate() 300 i -> Toast.makeText(this, "Clicked", in onCreate() 312 i -> Toast.makeText(this, in onCreate() [all …]
|
/aosp12/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/ |
H A D | CarModeDialerActivity.java | 109 Toast.makeText(this, message, Toast.LENGTH_SHORT).show(); in showToast() 126 Toast.makeText(this, "Invalid priority; not enabling car mode.", in enableCarMode() 132 Toast.makeText(this, "Enabling car mode with priority " + priority, in enableCarMode() 139 Toast.makeText(this, "Disabling car mode", Toast.LENGTH_LONG).show(); in disableCarMode() 154 Toast.makeText(this, "Is UI enabled? " + isEnabled, Toast.LENGTH_LONG).show(); in toggleInCallService()
|
H A D | CarModeInCallUI.java | 89 Toast.makeText(CarModeInCallUI.this, "RTT now enabled", Toast.LENGTH_SHORT).show(); in onCreate() 94 Toast.makeText(CarModeInCallUI.this, "RTT now disabled", Toast.LENGTH_SHORT).show(); in onCreate() 99 … Toast.makeText(CarModeInCallUI.this, String.format("RTT failed to init: %d", reason), in onCreate() 105 Toast.makeText(CarModeInCallUI.this, String.format("RTT request: %d", id), in onCreate()
|
/aosp12/packages/services/Telephony/testapps/TelephonyManagerTestApp/src/com/android/phone/testapps/telephonymanagertestapp/ |
H A D | ParameterParser.java | 79 return o -> Toast.makeText(mContext, "Consumer: " + String.valueOf(o), Toast.LENGTH_SHORT) in parseConsumer() 115 Toast.makeText(mContext, "Invalid class " + className, in parseList() 120 Toast.makeText(mContext, "Cannot parse " + className, in parseList() 133 Toast.makeText(mContext, "Received verification " + phoneNumber, in parseNumberVerificationCallback() 139 Toast.makeText(mContext, "Verification failed " + reason, in parseNumberVerificationCallback()
|
/aosp12/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/currentactivity/ |
H A D | CurrentActivityService.java | 72 Toast.makeText(this, "android.permission.REAL_GET_TASKS is not granted!", in onCreate() 100 Toast.makeText(this, e.getLocalizedMessage(), Toast.LENGTH_LONG).show(); in onCreate() 153 Toast.makeText(this, "Couldn't display overlay", Toast.LENGTH_SHORT) in onCreate() 181 Toast.makeText(this, e.getLocalizedMessage(), Toast.LENGTH_LONG).show(); in onDestroy() 197 Toast.makeText(this, e.getLocalizedMessage(), Toast.LENGTH_LONG).show(); in showCurrentTask()
|
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/assistant/ |
H A D | CarAssistantFragment.java | 58 Toast.makeText(context, "Failed to show VoiceInteractionSession", in onViewCreated() 72 Toast.makeText(context, "Unable to retrieve assist component for current user", in onViewCreated() 83 Toast.makeText(context, in onViewCreated()
|
/aosp12/packages/services/Telephony/testapps/EmbmsTestStreamingApp/src/com/android/phone/testapps/embmsfrontend/ |
H A D | EmbmsTestStreamingApp.java | 50 Toast.makeText(EmbmsTestStreamingApp.this, 58 runOnUiThread(() -> Toast.makeText(EmbmsTestStreamingApp.this, "Successfully bound", 164 Toast.makeText(EmbmsTestStreamingApp.this, in onCreate() 199 Toast.makeText(EmbmsTestStreamingApp.this, in onCreate() 206 Toast.makeText(EmbmsTestStreamingApp.this, in onCreate() 221 Toast.makeText(EmbmsTestStreamingApp.this, in onCreate()
|
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
H A D | ToastFactory.java | 24 Toast makeText(Context context, @StringRes int resId, int duration); in makeText() method 25 Toast makeText(Context context, CharSequence text, int duration); in makeText() method
|
/aosp12/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
H A 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()
|
/aosp12/packages/apps/Settings/src/com/android/settings/ |
H A D | SetFullBackupPassword.java | 50 Toast.makeText(SetFullBackupPassword.this, 61 Toast.makeText(SetFullBackupPassword.this, 68 Toast.makeText(SetFullBackupPassword.this,
|
/aosp12/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/ |
H A 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()
|
/aosp12/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/caruirecyclerview/ |
H A D | CarUiListItemActivity.java | 114 Toast.makeText(context, "Item clicked", Toast.LENGTH_SHORT).show(); in generateSampleData() 123 (listItem, isChecked) -> Toast.makeText(context, in generateSampleData() 133 (listItem, isChecked) -> Toast.makeText(context, in generateSampleData() 141 Toast.makeText(context, "Click on item with switch", Toast.LENGTH_SHORT).show(); in generateSampleData() 199 item.setOnItemClickedListener(v -> Toast.makeText(context, "Clicked item", in generateSampleData() 202 v -> Toast.makeText(context, "Clicked supplemental icon", in generateSampleData()
|
/aosp12/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
H A D | StorageUtils.java | 155 Toast.makeText(mContext, mContext.getString(R.string.storage_unmount_success, in onPostExecute() 159 Toast.makeText(mContext, mContext.getString(R.string.storage_unmount_failure, in onPostExecute() 192 Toast.makeText(mContext, mContext.getString(R.string.storage_mount_success, in onPostExecute() 196 Toast.makeText(mContext, mContext.getString(R.string.storage_mount_failure, in onPostExecute()
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
H A D | BuildNumberPreferenceControllerTest.java | 91 when(Toast.makeText(any(), anyString(), anyInt())).thenReturn(mMockToast); in setUp() 149 () -> Toast.makeText(any(), anyString(), anyInt()), never()); in testHandlePreferenceClicked_devSettingsDisabled_firstClick_noToast() 189 () -> Toast.makeText(any(), eq(alreadyDevString), anyInt()), never()); in testHandlePreferenceClicked_devSettingsDisabled_extraClicks_noAlreadyDevToast() 204 () -> Toast.makeText(any(), eq(toastText), anyInt())); in assertToastShown()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
H A D | BugleActionToasts.java | 124 Toast.makeText(getApplicationContext(), in showToast() 134 Toast.makeText(getApplicationContext(), message, Toast.LENGTH_LONG).show(); in showToast() 158 Toast.makeText(mContext, in onUpdateDestinationBlockedAction()
|
/aosp12/packages/services/Telecomm/testapps/companionapp/src/com/android/server/telecom/companionapp/ |
H A D | CompanionInCallServiceImpl.java | 41 Toast.makeText( 48 Toast.makeText(
|