Searched refs:currentUserId (Results 1 – 3 of 3) sorted by relevance
195 public boolean isUserType(UserType userType, int currentUserId) { in isUserType() argument198 return mUserId == currentUserId; in isUserType()
78 int currentUserId = 100; in testGetEffectiveUserId_returnsCurrentUserIdIfNotSpecified() local79 when(mMockDevice.getCurrentUser()).thenReturn(currentUserId); in testGetEffectiveUserId_returnsCurrentUserIdIfNotSpecified()84 assertEquals(cph.getEffectiveUserId(), currentUserId); in testGetEffectiveUserId_returnsCurrentUserIdIfNotSpecified() local
310 int currentUserId = 100; // non-zero userId to use ContentProvider. in testPushDir_withoutUserId() local315 return currentUserId; in testPushDir_withoutUserId()324 assertEquals(mMockContentProviderHandler.getUserId().intValue(), currentUserId); in testPushDir_withoutUserId() local433 int currentUserId = 100; // non-zero userId to use ContentProvider. in testPullDir_withoutUserId() local438 return currentUserId; in testPullDir_withoutUserId()447 assertEquals(mMockContentProviderHandler.getUserId().intValue(), currentUserId); in testPullDir_withoutUserId() local2198 int currentUserId = 100; // non-zero userId to use ContentProvider. in testPushFile_withoutUserId() local2203 return currentUserId; in testPushFile_withoutUserId()2212 assertEquals(mMockContentProviderHandler.getUserId().intValue(), currentUserId); in testPushFile_withoutUserId() local2290 int currentUserId = 100; // non-zero userId to use ContentProvider. in testDeleteFile_withoutUserId() local[all …]