Home
last modified time | relevance | path

Searched defs:testApp (Results 1 – 18 of 18) sorted by relevance

/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppTest.java56 TestApp testApp = mTestAppProvider.any(); in reference_returnsNeneReference() local
63 TestApp testApp = mTestAppProvider.any(); in resolve_returnsNenePackage() local
77 TestApp testApp = mTestAppProvider.any(); in install_userReference_installs() local
90 TestApp testApp = mTestAppProvider.any(); in install_userReference_returnsReferenceToInstance() local
104 TestApp testApp = mTestAppProvider.any(); in install_userHandle_installs() local
117 TestApp testApp = mTestAppProvider.any(); in install_userHandle_returnsReferenceToInstance() local
131 TestApp testApp = mTestAppProvider.any(); in install_nullUserReference_throwsException() local
138 TestApp testApp = mTestAppProvider.any(); in install_nullUserHandle_throwsException() local
145 TestApp testApp = mTestAppProvider.any(); in instance_userHandle_instanceIsNotInstalled_stillReturnsInstance() local
155 TestApp testApp = mTestAppProvider.any(); in instance_userReference_instanceIsNotInstalled_stillReturnsInstance() local
[all …]
DTestAppInstanceReferenceTest.java74 TestApp testApp = mTestAppProvider.any(); in user_returnsUserReference() local
82 TestApp testApp = mTestAppProvider.any(); in testApp_returnsTestApp() local
90 TestApp testApp = mTestAppProvider.any(); in activities_any_returnsActivity() local
98 TestApp testApp = mTestAppProvider.any(); in uninstall_uninstalls() local
111 TestApp testApp = mTestAppProvider.any(); in autoclose_uninstalls() local
124 TestApp testApp = mTestAppProvider.any(); in keepAlive_notInstalled_throwsException() local
132 TestApp testApp = mTestAppProvider.any(); in killProcess_keepAlive_processIsRunningAgain() local
147 TestApp testApp = mTestAppProvider.any(); in stop_processIsNotRunning() local
159 TestApp testApp = mTestAppProvider.any(); in stop_previouslyCalledKeepAlive_processDoesNotRestart() local
172 TestApp testApp = mTestAppProvider.any(); in process_isNotRunning_returnsNull() local
[all …]
DTestAppActivityReferenceTest.java57 TestApp testApp = mTestAppProvider.any(); // TODO(scottjonathan): specify must have activity in start_activityIsStarted() local
68 TestApp testApp = mTestAppProvider.any(); // TODO(scottjonathan): specify must have activity in remote_executes() local
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DLockTaskTest.java403 try (TestAppInstanceReference testApp = in startLockTask_includedInLockTaskPackages_taskIsLocked()
429 try (TestAppInstanceReference testApp = in startLockTask_notIncludedInLockTaskPackages_taskIsNotLocked()
456 try (TestAppInstanceReference testApp = in startLockTask_includedInLockTaskPackages_policyShouldNotApply_taskIsNotLocked()
483 try (TestAppInstanceReference testApp = in finish_isLocked_doesNotFinish()
513 try (TestAppInstanceReference testApp = in finish_hasStoppedLockTask_doesFinish()
542 try (TestAppInstanceReference testApp = in setLockTaskPackages_removingCurrentlyLockedTask_taskFinishes()
570 try (TestAppInstanceReference testApp = in setLockTaskPackages_removingCurrentlyLockedTask_otherLockedTasksRemainLocked()
607 try (TestAppInstanceReference testApp = in startActivity_withinSameTask_startsActivity()
641 try (TestAppInstanceReference testApp = in startActivity_withinSameTask_blockStartInTask_doesNotStart()
677 try (TestAppInstanceReference testApp = in startActivity_inNewTask_blockStartInTask_doesNotStart()
[all …]
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java245 public static ArrayList<String> listAs(TestApp testApp, String dirPath) throws Exception { in listAs()
253 public static boolean canReadAndWriteAs(TestApp testApp, String path) throws Exception { in canReadAndWriteAs()
262 TestApp testApp, String filePath) throws Exception { in readExifMetadataFromTestApp()
273 public static boolean createFileAs(TestApp testApp, String path) throws Exception { in createFileAs()
284 public static boolean createImageEntryAs(TestApp testApp, String path) throws Exception { in createImageEntryAs()
293 public static boolean deleteFileAs(TestApp testApp, String path) throws Exception { in deleteFileAs()
300 public static boolean deleteFileAsNoThrow(TestApp testApp, String path) { in deleteFileAsNoThrow()
316 public static boolean canOpenFileAs(TestApp testApp, File file, boolean forWrite) in canOpenFileAs()
331 public static boolean renameFileAs(TestApp testApp, File src, File dst) throws Exception { in renameFileAs()
342 public static boolean checkDatabaseRowExistsAs(TestApp testApp, File file) throws Exception { in checkDatabaseRowExistsAs()
[all …]
/cts/common/device-side/bedstead/testapp/src/main/library/java/com/android/bedstead/testapp/
DTestAppInstanceReference.java54 TestAppInstanceReference(TestApp testApp, UserReference user) { in TestAppInstanceReference()
80 public TestApp testApp() { in testApp() method in TestAppInstanceReference
DTestAppProvider.java85 void markTestAppUsed(TestAppDetails testApp) { in markTestAppUsed()
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/
DTranscodeTestUtils.java285 public static void installAppWithStoragePermissions(TestApp testApp) in installAppWithStoragePermissions()
308 public static void uninstallApp(TestApp testApp) throws Exception { in uninstallApp()
328 public static ParcelFileDescriptor openFileAs(TestApp testApp, File dirPath) in openFileAs()
339 private static Bundle getFromTestApp(TestApp testApp, String dirPath, String actionName) in getFromTestApp()
358 private static void sendIntentToTestApp(TestApp testApp, String dirPath, String actionName, in sendIntentToTestApp()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/assertions/
DAssertionsByGroupData.java46 public static MimeGroupAssertions testApp(Context context) { in testApp() method in AssertionsByGroupData
DMimeGroupAssertions.java56 public static MimeGroupAssertions testApp(Context context) { in testApp() method in MimeGroupAssertions
DAssertionsByIntentResolution.java79 public static MimeGroupAssertions testApp(Context context) { in testApp() method in AssertionsByIntentResolution
/cts/tests/ProcessTest/src/com/android/cts/process/
DProcessTest.java38 String testApp = mContext.getPackageName(); in testUid() local
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/commands/
DMimeGroupCommands.java78 static MimeGroupCommands testApp(Context context) { in testApp() method
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java922 private void createAndCheckFileAsApp(TestApp testApp, File newFile) throws Exception { in createAndCheckFileAsApp()
929 private static void assertCreateFilesAs(TestApp testApp, File... files) throws Exception { in assertCreateFilesAs()
944 private static void assertCreatePublishedFilesAs(TestApp testApp, File... files) in assertCreatePublishedFilesAs()
954 private static void deleteFilesAs(TestApp testApp, File... files) throws Exception { in deleteFilesAs()
/cts/libs/install/src/com/android/cts/install/lib/
DInstall.java65 public static Install single(TestApp testApp) { in single()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java1274 private static StageSessionResult stageDowngradeSingleApk(TestApp testApp) throws Exception { in stageDowngradeSingleApk()
1290 TestApp testApp = new TestApp(tmpFile.getName(), null, -1, in stageSingleApk() local
1295 private static StageSessionResult stageSingleApk(TestApp testApp) throws Exception { in stageSingleApk()
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DRedactUriDeviceTest.java489 private Uri shareAndGetRedactedUri(File file, TestApp testApp) { in shareAndGetRedactedUri()
DScopedStorageDeviceTest.java3044 private static void assertCreateFilesAs(TestApp testApp, File... files) throws Exception { in assertCreateFilesAs()
3059 private static void assertCreatePublishedFilesAs(TestApp testApp, File... files) in assertCreatePublishedFilesAs()
3070 private static void deleteFilesAs(TestApp testApp, File... files) throws Exception { in deleteFilesAs()
3075 private static void assertCanDeletePathsAs(TestApp testApp, String... filePaths) in assertCanDeletePathsAs()
3083 private static void assertCantDeletePathsAs(TestApp testApp, String... filePaths) in assertCantDeletePathsAs()