Home
last modified time | relevance | path

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

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/toast/
DCarToastUITest.java99 when(mToastFactory.createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt())) in setUp()
119 verify(mToastFactory, never()).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), in showToast_notSystemNotPrivilegedNotPlatformKey_createToastNotCalled()
132 verify(mToastFactory).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt()); in showToast_notSystemNotPrivilegedIsPlatformKey_createToastCalled()
144 verify(mToastFactory, never()).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), in showToast_notSystemIsPrivilegedNotPlatformKey_createToastNotCalled()
157 verify(mToastFactory).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt()); in showToast_notSystemIsPrivilegedIsPlatformKey_createToastCalled()
169 verify(mToastFactory, never()).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), in showToast_isSystemNotPrivilegedNotPlatformKey_createToastNotCalled()
188 verify(mToastFactory).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt()); in showToast_isSystemNotPrivilegedNotPlatformKeyAllowListed_createToastCalled()
200 verify(mToastFactory).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt()); in showToast_isSystemNotPrivilegedIsPlatformKey_createToastCalled()
212 verify(mToastFactory).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt()); in showToast_isSystemIsPrivilegedNotPlatformKey_createToastCalled()
224 verify(mToastFactory).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt()); in showToast_isSystemIsPrivilegedIsPlatformKey_createToastCalled()
/packages/apps/Car/Launcher/libs/car-launcher-common/src/com/android/car/carlaunchercommon/shortcuts/
DForceStopShortcutItem.kt195 createToast(context, message, Toast.LENGTH_LONG).show() in <lambda>()
238 open fun createToast(context: Context, text: CharSequence, duration: Int): Toast = in <lambda>() method in com.android.car.carlaunchercommon.shortcuts.ForceStopShortcutItem
/packages/apps/Car/SystemUI/src/com/android/systemui/car/input/
DDisplayInputSinkController.java329 UnaryOperator<Toast> createToast = (toast) -> Toast.makeText(displayContext, in mayStartDisplayInputLock() local
347 toastRef.updateAndGet(createToast).show(); in mayStartDisplayInputLock()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/keyguard/
DCarKeyguardViewController.java518 SystemUIToast systemUIToast = mToastFactory.createToast(mContext, in makeOverlayToast()
/packages/apps/Car/Launcher/libs/car-launcher-common/tests/src/com/android/car/carlaunchercommon/shortcuts/
DForceStopShortcutItemTest.kt438 override fun createToast(context: Context, text: CharSequence, duration: Int) = in createForceStopShortcutItem() method