Searched refs:getEffectiveUserId (Results 1 – 2 of 2) sorted by relevance
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/ |
D | ContentProviderHandler.java | 120 if (mDevice.isPackageInstalled(PACKAGE_NAME, Integer.toString(getEffectiveUserId()))) { in setUp() 190 "content delete --user %d --uri %s", getEffectiveUserId(), contentUri); in deleteFile() 213 return pullDirInternal(deviceFilePath, localDir, getEffectiveUserId()); in pullDir() 227 return pullFileInternal(deviceFilePath, localFile, getEffectiveUserId()); in pullFile() 249 int userId = getEffectiveUserId(); in pushFile() 274 localFileDir, deviceFilePath, excludedDirectories, getEffectiveUserId()); in pushDir() 287 String.format("content query --user %d --uri %s", getEffectiveUserId(), contentUri); in doesFileExist() 383 int getEffectiveUserId() throws DeviceNotAvailableException { in getEffectiveUserId() method in ContentProviderHandler
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/contentprovider/ |
D | ContentProviderHandlerTest.java | 73 assertEquals(mProvider.getEffectiveUserId(), TEST_USER_ID); in testGetEffectiveUserId() 84 assertEquals(cph.getEffectiveUserId(), currentUserId); in testGetEffectiveUserId_returnsCurrentUserIdIfNotSpecified()
|