Searched refs:DEFAULT_USER_ID (Results 1 – 5 of 5) sorted by relevance
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/ |
D | AppsIndexerMaintenanceTest.java | 72 private static final int DEFAULT_USER_ID = 0; field in AppsIndexerMaintenanceTest 73 private static final UserHandle DEFAULT_USER_HANDLE = new UserHandle(DEFAULT_USER_ID); 128 JobInfo jobInfo = getPendingUpdateJob(DEFAULT_USER_ID); in testScheduleUpdateJob_oneOff_isNotPeriodic() 150 JobInfo jobInfo = getPendingUpdateJob(DEFAULT_USER_ID); in testScheduleUpdateJob_periodic_isPeriodic() 329 UserInfo userInfo = new UserInfo(DEFAULT_USER_ID, /* name= */ "default", /* flags= */ 0); in testCancelPendingUpdateJob_succeeds() 343 JobInfo jobInfo = getPendingUpdateJob(DEFAULT_USER_ID); in testCancelPendingUpdateJob_succeeds() 349 jobInfo = getPendingUpdateJob(DEFAULT_USER_ID); in testCancelPendingUpdateJob_succeeds()
|
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/ |
D | AppSearchMaintenanceServiceTest.java | 56 private static final int DEFAULT_USER_ID = 0; field in AppSearchMaintenanceServiceTest 170 AppSearchMaintenanceService.scheduleFullyPersistJob(mContext, DEFAULT_USER_ID, in testCancelPendingFullPersistJob_succeeds() 175 int jobId = MIN_APPSEARCH_MAINTENANCE_JOB_ID + DEFAULT_USER_ID; in testCancelPendingFullPersistJob_succeeds() 179 AppSearchMaintenanceService.cancelFullyPersistJobIfScheduled(mContext, DEFAULT_USER_ID); in testCancelPendingFullPersistJob_succeeds()
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | ContactsIndexerMaintenanceTest.java | 72 private static final int DEFAULT_USER_ID = 0; field in ContactsIndexerMaintenanceTest 125 JobInfo jobInfo = getPendingFullUpdateJob(DEFAULT_USER_ID); in testScheduleFullUpdateJob_oneOff_isNotPeriodic() 147 JobInfo jobInfo = getPendingFullUpdateJob(DEFAULT_USER_ID); in testScheduleFullUpdateJob_periodic_isPeriodic() 317 UserInfo userInfo = new UserInfo(DEFAULT_USER_ID, /*name=*/ "default", /*flags=*/ 0); in testCancelPendingFullUpdateJob_succeeds() 331 JobInfo jobInfo = getPendingFullUpdateJob(DEFAULT_USER_ID); in testCancelPendingFullUpdateJob_succeeds() 337 jobInfo = getPendingFullUpdateJob(DEFAULT_USER_ID); in testCancelPendingFullUpdateJob_succeeds()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | UserHalServiceTest.java | 149 private static final int DEFAULT_USER_ID = 333; field in UserHalServiceTest 1616 eq(DEFAULT_USER_ID), eq(DEFAULT_USER_FLAGS), eq(1), anyString(), anyString())); in testSetUserAssociation_responseWithWrongRequestId() 1646 eq(DEFAULT_USER_ID), eq(DEFAULT_USER_FLAGS), eq(1), anyString(), anyString())); in testSetUserAssociation_notEnoughValuesOnResponse() 1686 eq(DEFAULT_USER_ID), eq(DEFAULT_USER_FLAGS), eq(1), anyString(), anyString())); in testSetUserAssociation_wrongNumberOfAssociationsOnResponse() 1726 eq(DEFAULT_USER_ID), eq(DEFAULT_USER_FLAGS), eq(1), anyString(), anyString())); in testSetUserAssociation_typeMismatchOnResponse() 1773 eq(DEFAULT_USER_ID), eq(DEFAULT_USER_FLAGS), eq(1), anyString(), anyString())); in testSetUserAssociation_ok() 1906 request.userInfo.userId = DEFAULT_USER_ID; in replyToValidGetUserIdentificationRequest() 1912 DEFAULT_REQUEST_ID, DEFAULT_USER_ID, DEFAULT_USER_FLAGS, in replyToValidGetUserIdentificationRequest() 1925 request.userInfo.userId = DEFAULT_USER_ID; in replyToValidGetUserIdentificationRequestWithException() 1931 DEFAULT_REQUEST_ID, DEFAULT_USER_ID, DEFAULT_USER_FLAGS, in replyToValidGetUserIdentificationRequestWithException() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 105 private static final int DEFAULT_USER_ID = 0; field in ContactsActor 183 public int myUser = DEFAULT_USER_ID; 429 return DEFAULT_USER_ID; in ContactsActor()
|