Home
last modified time | relevance | path

Searched refs:ContentProviderHandler (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/device/contentprovider/
DContentProviderHandlerTest.java52 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 …]
/tools/tradefederation/core/util_apps/ContentProvider/hostsidetests/src/com/android/tradefed/contentprovider/
DContentProviderTest.java22 import com.android.tradefed.device.contentprovider.ContentProviderHandler;
41 private ContentProviderHandler mHandler;
47 mHandler = new ContentProviderHandler(getDevice()); in setUp()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/
DContentProviderHandler.java53 public class ContentProviderHandler { class
91 public ContentProviderHandler(ITestDevice device) throws DeviceNotAvailableException { in ContentProviderHandler() method in ContentProviderHandler
95 public ContentProviderHandler(ITestDevice device, @Nullable Integer userId) { in ContentProviderHandler() method in ContentProviderHandler
319 ContentProviderHandler.class.getResourceAsStream(CONTENT_PROVIDER_APK_RES); in extractResourceApk()
324 ContentProviderHandler.class.getResourceAsStream( in extractResourceApk()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java45 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()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceTest.java59 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()
DNativeDeviceTest.java48 import com.android.tradefed.device.contentprovider.ContentProviderHandler;
101 @Mock ContentProviderHandler mMockContentProviderHandler;
134 … public ContentProviderHandler getContentProvider(int userId) throws DeviceNotAvailableException { in getContentProvider()