Home
last modified time | relevance | path

Searched refs:createToast (Results 1 – 7 of 7) sorted by relevance

/aosp12/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/toast/
H A DCarToastUITest.java95 when(mToastFactory.createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt())) in setUp()
115 verify(mToastFactory, never()).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), in showToast_notSystemNotPrivilegedNotPlatformKey_createToastNotCalled()
128 verify(mToastFactory).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt()); in showToast_notSystemNotPrivilegedIsPlatformKey_createToastCalled()
140 verify(mToastFactory, never()).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), in showToast_notSystemIsPrivilegedNotPlatformKey_createToastNotCalled()
153 verify(mToastFactory).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt()); in showToast_notSystemIsPrivilegedIsPlatformKey_createToastCalled()
165 verify(mToastFactory, never()).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), in showToast_isSystemNotPrivilegedNotPlatformKey_createToastNotCalled()
184 verify(mToastFactory).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt()); in showToast_isSystemNotPrivilegedNotPlatformKeyAllowListed_createToastCalled()
196 verify(mToastFactory).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt()); in showToast_isSystemNotPrivilegedIsPlatformKey_createToastCalled()
208 verify(mToastFactory).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt()); in showToast_isSystemIsPrivilegedNotPlatformKey_createToastCalled()
220 verify(mToastFactory).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt()); in showToast_isSystemIsPrivilegedIsPlatformKey_createToastCalled()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
H A DToastFactory.java72 public SystemUIToast createToast(Context context, CharSequence text, String packageName, in createToast() method in ToastFactory
75 return new SystemUIToast(mLayoutInflater, context, text, mPlugin.createToast(text, in createToast()
H A DToastUI.java113 mToast = mToastFactory.createToast(mContext /* sysuiContext */, text, packageName, in showToast()
/aosp12/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
H A DToastPlugin.java37 @NonNull Toast createToast(CharSequence text, String packageName, int userId); in createToast() method
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
H A DInternetDialogControllerTest.java162 when(mToastFactory.createToast(any(), anyString(), anyString(), anyInt(), anyInt())) in setUp()
192 verify(mToastFactory).createToast(any(), eq(TOAST_MESSAGE_STRING), anyString(), anyInt(), in connectCarrierNetwork_mergedCarrierEntryCanConnect_connectAndCreateSysUiToast()
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/keyguard/
H A DCarKeyguardViewController.java457 SystemUIToast systemUIToast = mToastFactory.createToast(mContext, in makeOverlayToast()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
H A DInternetDialogController.java1110 final SystemUIToast systemUIToast = mToastFactory.createToast(mContext,