Home
last modified time | relevance | path

Searched refs:mToastFactory (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/toast/
DCarToastUITest.java69 private ToastFactory mToastFactory; field in CarToastUITest
87 mToastFactory, mToastLogger, mPackageManager); in setUp()
95 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()
182 verify(mToastFactory).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt()); in showToast_isSystemNotPrivilegedNotPlatformKeyAllowListed_createToastCalled()
194 verify(mToastFactory).createToast(any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt()); in showToast_isSystemNotPrivilegedIsPlatformKey_createToastCalled()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java210 @Mock private ToastFactory mToastFactory; field in CallsManagerTest
269 mToastFactory); in setUp()
277 when(mToastFactory.makeText(any(), anyInt(), anyInt())).thenReturn(mToast); in setUp()
278 when(mToastFactory.makeText(any(), any(), anyInt())).thenReturn(mToast); in setUp()
319 mToastFactory); in testConstructPossiblePhoneAccountsMultiSimActive()
1698 mToastFactory); in createCall()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java366 private final ToastFactory mToastFactory; field in CallsManager
572 mToastFactory = toastFactory; in CallsManager()
1277 mToastFactory); in processIncomingCallIntent()
1448 mToastFactory); in addNewUnknownCall()
1546 mToastFactory); in startOutgoingCall()
3556 mToastFactory);
4476 mToastFactory);
5070 false, mClockProxy, mToastFactory);
5275 mToastFactory);
DCall.java483 private final ToastFactory mToastFactory; field in Call
770 mToastFactory = toastFactory; in Call()
2982 mToastFactory.makeText(mContext, R.string.toast_emergency_can_not_pull_call, in pullExternalCall()
3021 mToastFactory.makeText(mContext, in sendCallEvent()