Home
last modified time | relevance | path

Searched refs:WORK_HANDLE (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/ui/
DActivityAllAppsContainerViewTest.java60 private static final UserHandle WORK_HANDLE = new UserHandle(13); field in ActivityAllAppsContainerViewTest
80 .thenReturn(Arrays.asList(Process.myUserHandle(), WORK_HANDLE)); in setUp() local
83 when(mUserCache.getUserInfo(WORK_HANDLE)) in setUp()
84 .thenReturn(new UserIconInfo(WORK_HANDLE, 1)); in setUp()
90 AppInfo gmailWorkAppInfo = new AppInfo(componentName, "Gmail", WORK_HANDLE, new Intent()); in setUp()
115 when(mUserManager.requestQuietModeEnabled(false, WORK_HANDLE)) in testWorkProfileEnabled_requestQuietModeCalledCorrectly()
123 Mockito.verify(mUserManager).requestQuietModeEnabled(false, WORK_HANDLE); in testWorkProfileEnabled_requestQuietModeCalledCorrectly()
DBubbleTextViewTest.java76 private static final UserHandle WORK_HANDLE = new UserHandle(13); field in BubbleTextViewTest
135 mGmailAppInfo = new AppInfo(componentName, "Gmail", WORK_HANDLE, new Intent()); in setUp()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java200 private static final PhoneAccountHandle WORK_HANDLE = new PhoneAccountHandle( field in CallsManagerTest
246 WORK_HANDLE, "work")
412 eq(WORK_HANDLE), any())).thenReturn(WORK_ACCOUNT); in setUp()
2887 doReturn(WORK_HANDLE.getComponentName()).when(service).getComponentName(); in testRejectIncomingCallOnPAHInactive_SecondaryUser()
2888 mCallsManager.addConnectionServiceRepositoryCache(WORK_HANDLE.getComponentName(), in testRejectIncomingCallOnPAHInactive_SecondaryUser()
2889 WORK_HANDLE.getUserHandle(), service); in testRejectIncomingCallOnPAHInactive_SecondaryUser()
2892 when(mMockCurrentUserManager.isQuietModeEnabled(eq(WORK_HANDLE.getUserHandle()))) in testRejectIncomingCallOnPAHInactive_SecondaryUser()
2894 when(mPhoneAccountRegistrar.getPhoneAccountUnchecked(eq(WORK_HANDLE))) in testRejectIncomingCallOnPAHInactive_SecondaryUser()
2897 WORK_HANDLE, new Bundle(), false); in testRejectIncomingCallOnPAHInactive_SecondaryUser()
2908 doReturn(WORK_HANDLE.getComponentName()).when(service).getComponentName(); in testRejectIncomingCallOnPAHInactive_ProfilePaused()
[all …]