HomeSort by relevance Sort by last modified time
    Searched refs:CURRENT_USER_ID (Results 1 - 6 of 6) sorted by null

  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WifiConfigurationUtilTest.java 37 static final int CURRENT_USER_ID = 0;
41 new UserInfo(CURRENT_USER_ID, "owner", 0),
59 configuration.creatorUid = UserHandle.getUid(CURRENT_USER_ID, 0);
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
CallLogManagerTest.java 89 private static final int CURRENT_USER_ID = 0;
112 UserHandle.of(CURRENT_USER_ID)
128 UserInfo userInfo = new UserInfo(CURRENT_USER_ID, "test", 0);
146 when(userManager.getUserInfo(eq(CURRENT_USER_ID))).thenReturn(userInfo);
164 UserHandle.of(CURRENT_USER_ID)
175 .thenReturn(makeFakePhoneAccount(mDefaultAccountHandle, CURRENT_USER_ID));
187 UserHandle.of(CURRENT_USER_ID)
211 UserHandle.of(CURRENT_USER_ID)
220 .thenReturn(makeFakePhoneAccount(mDefaultAccountHandle, CURRENT_USER_ID));
232 UserHandle.of(CURRENT_USER_ID)
    [all...]
InCallControllerTests.java 83 private static final int CURRENT_USER_ID = 900973;
91 private UserHandle mUserHandle = UserHandle.of(CURRENT_USER_ID);
120 queryIntent, PackageManager.GET_META_DATA, CURRENT_USER_ID))
152 queryIntent, PackageManager.GET_META_DATA, CURRENT_USER_ID))
184 when(mMockDefaultDialerAdapter.getDefaultDialerApplication(mMockContext, CURRENT_USER_ID))
191 any(Intent.class), eq(PackageManager.GET_META_DATA), eq(CURRENT_USER_ID)))
215 eq(PackageManager.GET_META_DATA), eq(CURRENT_USER_ID));
252 when(mMockDefaultDialerAdapter.getDefaultDialerApplication(mMockContext, CURRENT_USER_ID))
260 any(Intent.class), eq(PackageManager.GET_META_DATA), eq(CURRENT_USER_ID)))
284 eq(PackageManager.GET_META_DATA), eq(CURRENT_USER_ID));
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/
EnterprisePolicyGuardTest.java 244 private static final int CURRENT_USER_ID = 0;
247 new UserInfo(CURRENT_USER_ID, "user0", CURRENT_USER_ID);
267 when(mockUm.getUserHandle()).thenReturn(CURRENT_USER_ID);
  /frameworks/base/core/tests/coretests/src/android/print/
BasePrintTest.java 69 private static final int CURRENT_USER_ID = -2; // Mirrors UserHandle.USER_CURRENT
252 "pm clear --user %d %s", CURRENT_USER_ID,
  /cts/tests/tests/print/src/android/print/cts/
BasePrintTest.java 89 private static final int CURRENT_USER_ID = -2; // Mirrors UserHandle.USER_CURRENT
609 "pm clear --user %d %s", CURRENT_USER_ID, PRINT_SPOOLER_PACKAGE_NAME))

Completed in 467 milliseconds