Home
last modified time | relevance | path

Searched refs:ProviderTestUtils (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DBlockedNumberBackupRestoreTest.java62 ProviderTestUtils.setDefaultSmsApp(true, mContext.getPackageName(), mUiAutomation); in setUp()
64 mOldTransport = ProviderTestUtils.setBackupTransport( in setUp()
66 mOldBackupEnabled = ProviderTestUtils.setBackupEnabled(true, mUiAutomation); in setUp()
77 ProviderTestUtils.setBackupEnabled(mOldBackupEnabled, mUiAutomation); in tearDown()
78 ProviderTestUtils.setBackupTransport(mOldTransport, mUiAutomation); in tearDown()
79 ProviderTestUtils.setDefaultSmsApp(false, mContext.getPackageName(), mUiAutomation); in tearDown()
137 return ProviderTestUtils.hasBackupTransport(LOCAL_BACKUP_COMPONENT, mUiAutomation) in isFeatureSupported()
170 ProviderTestUtils.runBackup(BLOCKED_NUMBERS_PROVIDER_PACKAGE, mUiAutomation); in runBackup()
174 ProviderTestUtils.runRestore(BLOCKED_NUMBERS_PROVIDER_PACKAGE, mUiAutomation); in runRestore()
178 ProviderTestUtils.wipeBackup(LOCAL_BACKUP_COMPONENT, BLOCKED_NUMBERS_PROVIDER_PACKAGE, in wipeBackup()
DSmsBackupRestoreTest.java84 ProviderTestUtils.setDefaultSmsApp(true, mContext.getPackageName(), mUiAutomation); in setUp()
86 ProviderTestUtils.setBackupTransport(LOCAL_BACKUP_COMPONENT, mUiAutomation); in setUp()
87 mOldBackupEnabled = ProviderTestUtils.setBackupEnabled(true, mUiAutomation); in setUp()
98 ProviderTestUtils.setBackupEnabled(mOldBackupEnabled, mUiAutomation); in tearDown()
99 ProviderTestUtils.setBackupTransport(mOldTransport, mUiAutomation); in tearDown()
100 ProviderTestUtils.setDefaultSmsApp(false, mContext.getPackageName(), mUiAutomation); in tearDown()
107 return (ProviderTestUtils.hasBackupTransport(LOCAL_BACKUP_COMPONENT, mUiAutomation) in isFeatureSupported()
156 ProviderTestUtils.runBackup(TELEPHONY_PROVIDER_PACKAGE, mUiAutomation); in testSmsBackupRestore()
160 ProviderTestUtils.runRestore(TELEPHONY_PROVIDER_PACKAGE, mUiAutomation); in testSmsBackupRestore()
262 ProviderTestUtils.wipeBackup(LOCAL_BACKUP_COMPONENT, TELEPHONY_PROVIDER_PACKAGE, in wipeBackup()
DProviderTestUtils.java38 public class ProviderTestUtils { class
DBlockedNumberContractTest.java637 ProviderTestUtils.setDefaultSmsApp( in setDefaultSmsApp()
/cts/tests/tests/provider/
DAndroid.bp63 "src/android/provider/cts/ProviderTestUtils.java",
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_Audio_MediaTest.java41 import android.provider.cts.ProviderTestUtils;
229 ProviderTestUtils.executeShellCommand("content delete" in testCanonicalize()
DMediaStore_Video_MediaTest.java48 import android.provider.cts.ProviderTestUtils;
354 ProviderTestUtils.executeShellCommand("content delete" in testCanonicalize()
DMediaStore_Images_MediaTest.java51 import android.provider.cts.ProviderTestUtils;
503 ProviderTestUtils.executeShellCommand("content delete"
DMediaProviderTestUtils.java19 import static android.provider.cts.ProviderTestUtils.executeShellCommand;