Searched refs:getUserId (Results 1 – 6 of 6) sorted by relevance
68 assertTrue(mProvider.getUserId() == TEST_USER_ID); in testGetUserId()83 assertNull(cph.getUserId()); in testGetEffectiveUserId_returnsCurrentUserIdIfNotSpecified()
108 public Integer getUserId() { in getUserId() method in DeviceTestRunOptions
172 if (options.getUserId() != null) { in installPackage()173 installer.setUserId(options.getUserId()); in installPackage()492 options.getUserId(), in runDeviceTests()
135 when(mMockContentProviderHandler.getUserId()).thenReturn(userId); in getContentProvider()300 assertEquals(mMockContentProviderHandler.getUserId().intValue(), testUserId); in testPushDir_withUserId()324 assertEquals(mMockContentProviderHandler.getUserId().intValue(), currentUserId); in testPushDir_withoutUserId()424 assertEquals(mMockContentProviderHandler.getUserId().intValue(), testUserId); in testPullDir_withUserId()447 assertEquals(mMockContentProviderHandler.getUserId().intValue(), currentUserId); in testPullDir_withoutUserId()2189 assertEquals(mMockContentProviderHandler.getUserId().intValue(), testUserId); in testPushFile_withUserId()2212 assertEquals(mMockContentProviderHandler.getUserId().intValue(), currentUserId); in testPushFile_withoutUserId()2284 assertEquals(mMockContentProviderHandler.getUserId().intValue(), testUserId); in testDeleteFile_withUserId()2302 assertEquals(mMockContentProviderHandler.getUserId().intValue(), currentUserId); in testDeleteFile_withoutUserId()
102 public Integer getUserId() { in getUserId() method in ContentProviderHandler
6048 if (mContentProvider == null || mContentProvider.getUserId() != userId) { in getContentProvider()