Searched refs:ContentProviderHandler (Results 1 – 6 of 6) sorted by relevance
52 private ContentProviderHandler mProvider;58 mProvider = new ContentProviderHandler(mMockDevice, TEST_USER_ID); in setUp()80 ContentProviderHandler cph = new ContentProviderHandler(mMockDevice); in testGetEffectiveUserId_returnsCurrentUserIdIfNotSpecified()97 ContentProviderHandler.PACKAGE_NAME)); in testSetUp_install()103 String.format("cmd appops get %s", ContentProviderHandler.PACKAGE_NAME)); in testSetUp_install()113 ContentProviderHandler.PACKAGE_NAME, String.valueOf(TEST_USER_ID)); in testSetUp_alreadyInstalled()136 + ContentProviderHandler.createEscapedContentUri( in testDeleteFile()155 + ContentProviderHandler.createEscapedContentUri( in testDeleteFile_fail()173 + ContentProviderHandler.createEscapedContentUri( in testError()191 + ContentProviderHandler.createEscapedContentUri( in testPushFile()[all …]
22 import com.android.tradefed.device.contentprovider.ContentProviderHandler;41 private ContentProviderHandler mHandler;47 mHandler = new ContentProviderHandler(getDevice()); in setUp()
53 public class ContentProviderHandler { class91 public ContentProviderHandler(ITestDevice device) throws DeviceNotAvailableException { in ContentProviderHandler() method in ContentProviderHandler95 public ContentProviderHandler(ITestDevice device, @Nullable Integer userId) { in ContentProviderHandler() method in ContentProviderHandler319 ContentProviderHandler.class.getResourceAsStream(CONTENT_PROVIDER_APK_RES); in extractResourceApk()324 ContentProviderHandler.class.getResourceAsStream( in extractResourceApk()
45 import com.android.tradefed.device.contentprovider.ContentProviderHandler;249 private ContentProviderHandler mContentProvider = null;1416 ContentProviderHandler handler = getContentProvider(userId); in pullFile()1588 ContentProviderHandler handler = getContentProvider(userId); in pushFileInternal()1681 ContentProviderHandler handler = getContentProvider(userId); in doesFileExist()1722 ContentProviderHandler handler = getContentProvider(userId); in deleteFile()2050 ContentProviderHandler handler = getContentProvider(userId); in pushDir()2117 ContentProviderHandler handler = getContentProvider(userId); in pullDir()6037 … public ContentProviderHandler getContentProvider(int userId) throws DeviceNotAvailableException { in getContentProvider()6049 mContentProvider = new ContentProviderHandler(this, userId); in getContentProvider()
59 import com.android.tradefed.device.contentprovider.ContentProviderHandler;5826 public ContentProviderHandler getContentProvider(int userId) in testPostInvocationWifiTearDown()6069 ContentProviderHandler cp = Mockito.mock(ContentProviderHandler.class); in testDoesFileExists_sdcard()6105 ContentProviderHandler cp = spy.getContentProvider(mTestDevice.getCurrentUser()); in testPushFile_contentProvider()6144 ContentProviderHandler cp = spy.getContentProvider(mTestDevice.getCurrentUser()); in testPushFile_contentProvider_notFound()
48 import com.android.tradefed.device.contentprovider.ContentProviderHandler;101 @Mock ContentProviderHandler mMockContentProviderHandler;134 … public ContentProviderHandler getContentProvider(int userId) throws DeviceNotAvailableException { in getContentProvider()