/packages/services/Car/tests/CarTestDpc/src/com/android/car/testdpc/ |
D | DpcActivity.java | 99 showToast(R.string.rebooting); in uiReboot() 112 showToast(R.string.user_not_found); in uiAddUserRestriction() 119 showToast(R.string.no_dpm); in uiAddUserRestriction() 125 showToast("%s: addUserRestriction(%s)", targetDpm.getUser(), restriction); in uiAddUserRestriction() 127 showToast(e, "Exception when calling addUserRestriction(%s)", restriction); in uiAddUserRestriction() 137 showToast("%s: getUserRestrictions()", in uiDisplayUserRestrictions() 140 showToast(e, "Exception when calling getUserRestrictions()"); in uiDisplayUserRestrictions() 154 showToast(e, R.string.target_user_not_found); in getUserHandleFromUserId() 159 public void showToast(@StringRes int text) { in showToast() method in DpcActivity 163 public void showToast(Exception e, @StringRes int text) { in showToast() method in DpcActivity [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | BugleActionToasts.java | 61 showToast(R.string.send_message_failure_airplane_mode); in onSendMessageOrManualDownloadActionCompleted() 63 showToast(R.string.download_message_failure_airplane_mode); in onSendMessageOrManualDownloadActionCompleted() 68 showToast(R.string.send_message_failure_no_data); in onSendMessageOrManualDownloadActionCompleted() 70 showToast(R.string.download_message_failure_no_data); in onSendMessageOrManualDownloadActionCompleted() 81 showToast(isSend ? R.string.send_message_success in onSendMessageOrManualDownloadActionCompleted() 92 showToast(isSend ? R.string.send_message_failure in onSendMessageOrManualDownloadActionCompleted() 111 showToast(announcement); in onMessageReceived() 117 showToast(R.string.conversation_deleted); in onConversationDeleted() 120 private static void showToast(final int messageResId) { in showToast() method in BugleActionToasts 130 private static void showToast(final String message) { in showToast() method in BugleActionToasts
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioMirrorTestFragment.java | 75 showToast("Mirror enabled from outside app for zones " + mirroredAudioZones); 81 showToast("Mirror request " + requestId + " approved"); 85 showToast("Mirror request " + requestId + " status changed: " + status); 99 showToast("Request " + requestId + " is no longer valid"); in handleResetMirrorForAudioZones() 103 showToast("Disabling mirror request " + requestId); in handleResetMirrorForAudioZones() 109 showToast("Must select two distinct zones to mirror"); in handleEnableMirroringForZones() 121 showToast("Error while enabling mirror: " + e.getMessage()); in handleEnableMirroringForZones() 126 showToast("Can not enable any more zones for mirroring, status " + status); in handleEnableMirroringForZones() 134 showToast("Could not enable mirroring for zones [" + zoneOne + ", " + zoneTwo + "]"); in handleEnableMirroringForZones() 141 showToast("Requested mirroring for audio zones [" + zoneOne + ", " + zoneTwo + "]"); in handleEnableMirroringForZones() [all …]
|
D | AudioUserAssignmentFragment.java | 208 showToast("User " + userId + " is not currently assigned to any occupant zone"); in handleRequestUserToPlayInMainCabin() 213 showToast("User " + userId + " is already allowed to play in primary zone"); in handleRequestUserToPlayInMainCabin() 221 showToast("Can not enable primary zone playback as user " + userId in handleRequestUserToPlayInMainCabin() 237 showToast("Error while requesting media playback: " + e.getMessage()); in requestToPlayAudioInPrimaryZone() 288 showToast("Occupant " + info + " not currently assign to play media in primary zone"); in handleCancelMediaAudioOnPrimaryZone() 299 showToast("Could not cancel media on primary zone: " + e.getMessage()); in handleCancelMediaAudioOnPrimaryZone() 303 showToast("Could not unassigned request " + requestId + " for occupant " + info); in handleCancelMediaAudioOnPrimaryZone() 306 showToast("Unassigned request " + requestId + " for occupant " + info); in handleCancelMediaAudioOnPrimaryZone() 342 showToast("Car service not ready!"); in onCarReady() 397 showToast("Audio playback to primary zone is not supported on this device"); in setUserInfo() [all …]
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/toast/ |
D | CarToastUITest.java | 116 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_notSystemNotPrivilegedNotPlatformKey_createToastNotCalled() 129 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_notSystemNotPrivilegedIsPlatformKey_createToastCalled() 141 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_notSystemIsPrivilegedNotPlatformKey_createToastNotCalled() 154 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_notSystemIsPrivilegedIsPlatformKey_createToastCalled() 166 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemNotPrivilegedNotPlatformKey_createToastNotCalled() 185 carToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemNotPrivilegedNotPlatformKeyAllowListed_createToastCalled() 197 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemNotPrivilegedIsPlatformKey_createToastCalled() 209 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemIsPrivilegedNotPlatformKey_createToastCalled() 221 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemIsPrivilegedIsPlatformKey_createToastCalled()
|
/packages/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/ |
D | DialogSamples.java | 46 Button showToast = findViewById(R.id.showToast); in onCreate() local 47 showToast.setOnClickListener(v -> showToast()); in onCreate() 99 private void showToast() { in showToast() method in DialogSamples
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestUssdActivity.java | 27 showToast("USSD Response Successly received for code:" + request + "," + 34 showToast("USSD Response failed for code:" + request + "," + failureCode); 71 showToast("Permission check failed"); in placeUssdRequest() 82 private void showToast(String message) { in showToast() method in TestUssdActivity
|
D | TestDialerActivity.java | 114 showToast("User accepted request to become default dialer"); in onActivityResult() 116 showToast("User declined request to become default dialer"); in onActivityResult() 160 showToast("Permission check failed"); in testVoicemail() 163 showToast("Permission check succeeded"); in testVoicemail() 166 private void showToast(String message) { in showToast() method in TestDialerActivity
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | BuildNumberPreferenceController.java | 86 showToast(getContext().getString(R.string.show_dev_on), Toast.LENGTH_LONG); in handlePreferenceClicked() 88 showToast(StringUtil.getIcuPluralsString(getContext(), mDevHitCountdown, in handlePreferenceClicked() 92 showToast(getContext().getString(R.string.show_dev_already), Toast.LENGTH_LONG); in handlePreferenceClicked() 97 private void showToast(String text, @Toast.Duration int duration) { in showToast() method in BuildNumberPreferenceController
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 94 showToast("onAvailable(), netId: " + n); in onAvailable() 101 showToast("onLosing(), netId: " + n); in onLosing() 108 showToast("onLost(), netId: " + n); in onLost() 198 showToast("Requesting Network " + netId); in requestNetworkById() 206 showToast("Released Network " + netId); in releaseNetworkById() 227 showToast("Set process default network " + netId); in bindToNetwork() 232 showToast("Clear process default network"); in clearBoundNetwork() 241 showToast("Reporting Network " + netId); in reportNetworkbyId() 421 showToast("Refreshed Networks (" + mNetworkItems.length + ")"); in refreshNetworksAndPrompt() 587 public void showToast(String text) { in showToast() method in ConnectivityFragment
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/drivemode/ |
D | DriveModeSwitchController.java | 45 showToast("OverlayManager not available"); in DriveModeSwitchController() 71 showToast("New state: %s. Please reboot to apply changes.", newState); in setDriveMode() 78 private void showToast(String msg, Object... args) { in showToast() method in DriveModeSwitchController
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ChangeDefaultSmsAppHelper.java | 61 UiUtils.showToast(R.string.sms_disabled); in warnOfMissingActionConditions() 65 UiUtils.showToast(R.string.no_preferred_sim_selected); in warnOfMissingActionConditions() 149 UiUtils.showToast(R.string.toast_after_setting_default_sms_app); in handleChangeDefaultSmsResult()
|
/packages/apps/Car/Settings/src/com/android/car/settings/admin/ |
D | FactoryResetActivity.java | 113 showToast(R.string.factory_reset_driving_text); in showFactoryResetToast() 137 showToast(R.string.factory_reset_later_text); in factoryResetLater() 141 private void showToast(int resId) { in showToast() method in FactoryResetActivity
|
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/ |
D | CarModeDialerActivity.java | 81 showToast("User accepted request to become default dialer"); in onActivityResult() 83 showToast("User declined request to become default dialer"); in onActivityResult() 108 private void showToast(String message) { in showToast() method in CarModeDialerActivity
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ConnectionFailureNotifier.java | 121 mFrameworkFacade.showToast(mContext, message); in showRandomizationSettingsDialog() 143 mFrameworkFacade.showToast(mContext, message); in showRandomizationSettingsDialog() 152 mFrameworkFacade.showToast(mContext, message); in showRandomizationSettingsDialog()
|
/packages/apps/Dialer/java/com/android/dialer/clipboard/ |
D | ClipboardUtils.java | 39 Context context, CharSequence label, CharSequence text, boolean showToast) { in copyText() argument 49 if (showToast) { in copyText()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ClipboardUtils.java | 39 boolean showToast) { in copyText() argument 47 if (showToast) { in copyText()
|
D | ContactSaveService.java | 320 showToast(R.string.contactSavedErrorToast); in onHandleIntent() 603 showToast(R.string.contactSavedErrorToast); in saveContact() 1313 showToast(R.string.contactUnlinkedToast); in splitContact() 1470 showToast(R.string.contactsJoinedMessage); in joinSeveralContacts() 1472 showToast(R.string.contactsJoinedNamedMessage, name); in joinSeveralContacts() 1481 showToast(R.string.contactJoinErrorToast); in joinSeveralContacts() 1540 showToast(R.string.contactSavedErrorToast); in applyOperations() 1579 showToast(R.string.contactSavedErrorToast); in joinContacts() 1608 showToast(R.string.contactsJoinedMessage); in joinContacts() 1610 showToast(R.string.contactsJoinedNamedMessage, name); in joinContacts() [all …]
|
/packages/services/Car/FrameworkPackageStubs/src/com/android/car/frameworkpackagestubs/ |
D | Stubs.java | 49 showToast(); in onCreate() 61 private void showToast() { in showToast() method in Stubs.BaseActivity
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | NotificationClickHandlerFactory.java | 153 showToast(context, R.string.toast_message_sent_success); in getActionClickHandler() 198 showToast(context, R.string.assist_action_failed_toast); 231 showToast(context, R.string.assist_action_failed_toast); 430 private void showToast(Context context, int resourceId) {
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/toast/ |
D | CarToastUI.java | 70 public void showToast(int uid, String packageName, IBinder token, CharSequence text, in showToast() method in CarToastUI 87 super.showToast(uid, packageName, token, text, windowToken, duration, callback, displayId); in showToast()
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
D | DeepShortcutTextView.java | 119 showToast(); in performClick() 159 private void showToast() { in showToast() method in DeepShortcutTextView
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | PinDialogFragment.java | 280 showToast(R.string.pin_toast_wrong); 284 private void showToast(int resId) { 318 showToast(R.string.pin_toast_not_match);
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | BugReportService.java | 357 private void showToast(@StringRes int resId) { in showToast() method in BugReportService 423 showToast(R.string.toast_status_dump_state_failed); in saveBugReport() 483 showToast(R.string.toast_status_failed); in handleBugReportManagerError() 586 showToast(R.string.toast_status_failed); in zipDirectoryAndUpdateStatus()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppLauncherActivity.java | 181 showToast(exception.getMessage()); in onCreate() 425 showToast(exception.getMessage()); in sendFileInfo() 430 private void showToast(final String msg) { in showToast() method in BluetoothOppLauncherActivity
|