Home
last modified time | relevance | path

Searched refs:showToast (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/toast/
DToastUITest.java125 mToastUI.showToast(UID_1, PACKAGE_NAME_1, TOKEN_1, TEXT, WINDOW_TOKEN_1, Toast.LENGTH_LONG, in testShowToast_addsCorrectViewToWindowManager()
135 mToastUI.showToast(UID_1, PACKAGE_NAME_1, TOKEN_1, TEXT, WINDOW_TOKEN_1, Toast.LENGTH_LONG, in testShowToast_addsViewWithCorrectLayoutParamsToWindowManager()
151 mToastUI.showToast(ANDROID_UID, "android", TOKEN_1, TEXT, WINDOW_TOKEN_1, Toast.LENGTH_LONG, in testShowToast_forAndroidPackage_addsAllUserFlag()
164 mToastUI.showToast(SYSTEMUI_UID, "com.android.systemui", TOKEN_1, TEXT, WINDOW_TOKEN_1, in testShowToast_forSystemUiPackage_addsAllUserFlag()
177 mToastUI.showToast(UID_1, PACKAGE_NAME_1, TOKEN_1, TEXT, WINDOW_TOKEN_1, Toast.LENGTH_LONG, in testShowToast_callsCallback()
197 mToastUI.showToast(UID_1, PACKAGE_NAME_1, TOKEN_1, TEXT, WINDOW_TOKEN_1, Toast.LENGTH_LONG, in testShowToast_sendsAccessibilityEvent()
211 mToastUI.showToast(UID_1, PACKAGE_NAME_1, TOKEN_1, TEXT, WINDOW_TOKEN_1, Toast.LENGTH_LONG, in testHideToast_removesView()
222 mToastUI.showToast(UID_1, PACKAGE_NAME_1, TOKEN_1, TEXT, WINDOW_TOKEN_1, Toast.LENGTH_LONG, in testHideToast_finishesToken()
232 mToastUI.showToast(UID_1, PACKAGE_NAME_1, TOKEN_1, TEXT, WINDOW_TOKEN_1, Toast.LENGTH_LONG, in testHideToast_callsCallback()
242 mToastUI.showToast(UID_1, PACKAGE_NAME_1, TOKEN_1, TEXT, WINDOW_TOKEN_1, Toast.LENGTH_LONG, in testHideToast_whenNotCurrentToastToken_doesNotHideToast()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java300 verify(sInjector).showToast(anyInt(), anyInt()); in shouldSkipDisclosure_notWhitelisted()
315 verify(sInjector, never()).showToast(anyInt(), anyInt()); in shouldSkipDisclosure_withResolverActivity()
327 verify(sInjector, never()).showToast(anyInt(), anyInt()); in shouldSkipDisclosure_callIntent_call()
339 verify(sInjector, never()).showToast(anyInt(), anyInt()); in shouldSkipDisclosure_callIntent_callPrivileged()
351 verify(sInjector, never()).showToast(anyInt(), anyInt()); in shouldSkipDisclosure_callIntent_callEmergency()
363 verify(sInjector, never()).showToast(anyInt(), anyInt()); in shouldSkipDisclosure_callIntent_dial()
375 verify(sInjector).showToast(anyInt(), anyInt()); in shouldSkipDisclosure_callIntent_notCallOrDial()
389 verify(sInjector, never()).showToast(anyInt(), anyInt()); in shouldSkipDisclosure_callIntent_actionViewTel()
402 verify(sInjector, never()).showToast(anyInt(), anyInt()); in shouldSkipDisclosure_textMessageIntent_sms()
415 verify(sInjector, never()).showToast(anyInt(), anyInt()); in shouldSkipDisclosure_textMessageIntent_smsto()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DConnectionFailureNotifier.java122 mFrameworkFacade.showToast(mContext, message); in onClick()
131 mFrameworkFacade.showToast(mContext, message); in onClick()
151 mFrameworkFacade.showToast(mContext, message); in showRandomizationSettingsDialog()
DFrameworkFacade.java263 public void showToast(Context context, String text) { in showToast() method in FrameworkFacade
/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java188 mInjector.showToast(messageId, Toast.LENGTH_LONG); in maybeShowDisclosure()
418 public void showToast(int messageId, int duration) { in showToast() method in IntentForwarderActivity.InjectorImpl
432 void showToast(@StringRes int messageId, int duration); in showToast() method
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerInternal.java134 void showToast(int uid, String packageName, IBinder token, CharSequence text, in showToast() method
DStatusBarManagerService.java507 public void showToast(int uid, String packageName, IBinder token, CharSequence text,
512 mBar.showToast(uid, packageName, token, text, windowToken, duration, callback);
/frameworks/base/services/core/java/com/android/server/notification/toast/
DTextToastRecord.java63 mStatusBar.showToast(uid, pkg, token, text, windowToken, getDuration(), mCallback); in show()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestActivity.java170 public void showMessage(String msg, boolean showToast) { in showMessage() argument
181 if (showToast) { in showMessage()
DSoundTriggerTestService.java63 void showMessage(String msg, boolean showToast); in showMessage() argument
737 private synchronized void showMessage(String msg, int logLevel, boolean showToast) { in showMessage() argument
740 mUserActivity.showMessage(msg, showToast); in showMessage()
/frameworks/base/core/java/com/android/internal/statusbar/
DIStatusBar.aidl207 void showToast(int uid, String packageName, IBinder token, CharSequence text, in showToast() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastUI.java86 public void showToast(int uid, String packageName, IBinder token, CharSequence text, in showToast() method in ToastUI
/frameworks/base/tests/net/java/com/android/server/connectivity/
DLingerMonitorTest.java327 verify(mNotifier, never()).showToast(any(), any()); in verifyNoToast()
342 verify(mNotifier, times(1)).showToast(from, to); in verifyToast()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DConnectionFailureNotifierTest.java182 verify(mFrameworkFacade).showToast(any(), any()); in testWifiConfigurationMismatch()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java233 showToast(); in performAccessibilityShortcut()
243 private void showToast() { in showToast() method in AccessibilityShortcutController
/frameworks/base/services/core/java/com/android/server/connectivity/
DLingerMonitor.java195 mNotifier.showToast(fromNai, toNai); in notify()
DNetworkNotificationManager.java335 public void showToast(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in showToast() method in NetworkNotificationManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java328 default void showToast(int uid, String packageName, IBinder token, CharSequence text, in showToast() method
802 public void showToast(int uid, String packageName, IBinder token, CharSequence text, in showToast() method in CommandQueue
1285 callbacks.showToast(uid, packageName, token, text, windowToken, duration, in handleMessage()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java4850 verify(mStatusBar).showToast(anyInt(), any(), any(), any(), any(), anyInt(), any()); in testTextToastsCallStatusBar()
/frameworks/base/services/
Dart-profile30793 HPLcom/android/server/statusbar/StatusBarManagerService$1;->showToast(ILjava/lang/String;Landroid/o…