Home
last modified time | relevance | path

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

/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DUserInfo.java195 public boolean isUserType(UserType userType, int currentUserId) { in isUserType() argument
198 return mUserId == currentUserId; in isUserType()
/tools/tradefederation/core/javatests/com/android/tradefed/device/contentprovider/
DContentProviderHandlerTest.java78 int currentUserId = 100; in testGetEffectiveUserId_returnsCurrentUserIdIfNotSpecified() local
79 when(mMockDevice.getCurrentUser()).thenReturn(currentUserId); in testGetEffectiveUserId_returnsCurrentUserIdIfNotSpecified()
84 assertEquals(cph.getEffectiveUserId(), currentUserId); in testGetEffectiveUserId_returnsCurrentUserIdIfNotSpecified() local
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DNativeDeviceTest.java310 int currentUserId = 100; // non-zero userId to use ContentProvider. in testPushDir_withoutUserId() local
315 return currentUserId; in testPushDir_withoutUserId()
324 assertEquals(mMockContentProviderHandler.getUserId().intValue(), currentUserId); in testPushDir_withoutUserId() local
433 int currentUserId = 100; // non-zero userId to use ContentProvider. in testPullDir_withoutUserId() local
438 return currentUserId; in testPullDir_withoutUserId()
447 assertEquals(mMockContentProviderHandler.getUserId().intValue(), currentUserId); in testPullDir_withoutUserId() local
2198 int currentUserId = 100; // non-zero userId to use ContentProvider. in testPushFile_withoutUserId() local
2203 return currentUserId; in testPushFile_withoutUserId()
2212 assertEquals(mMockContentProviderHandler.getUserId().intValue(), currentUserId); in testPushFile_withoutUserId() local
2290 int currentUserId = 100; // non-zero userId to use ContentProvider. in testDeleteFile_withoutUserId() local
[all …]