/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/ |
D | TestAppTest.java | 56 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 …]
|
D | TestAppInstanceReferenceTest.java | 74 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 …]
|
D | TestAppActivityReferenceTest.java | 57 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/ |
D | LockTaskTest.java | 403 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/ |
D | TestUtils.java | 245 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/ |
D | TestAppInstanceReference.java | 54 TestAppInstanceReference(TestApp testApp, UserReference user) { in TestAppInstanceReference() 80 public TestApp testApp() { in testApp() method in TestAppInstanceReference
|
D | TestAppProvider.java | 85 void markTestAppUsed(TestAppDetails testApp) { in markTestAppUsed()
|
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/ |
D | TranscodeTestUtils.java | 285 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/ |
D | AssertionsByGroupData.java | 46 public static MimeGroupAssertions testApp(Context context) { in testApp() method in AssertionsByGroupData
|
D | MimeGroupAssertions.java | 56 public static MimeGroupAssertions testApp(Context context) { in testApp() method in MimeGroupAssertions
|
D | AssertionsByIntentResolution.java | 79 public static MimeGroupAssertions testApp(Context context) { in testApp() method in AssertionsByIntentResolution
|
/cts/tests/ProcessTest/src/com/android/cts/process/ |
D | ProcessTest.java | 38 String testApp = mContext.getPackageName(); in testUid() local
|
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/commands/ |
D | MimeGroupCommands.java | 78 static MimeGroupCommands testApp(Context context) { in testApp() method
|
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/ |
D | ScopedStorageTest.java | 922 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/ |
D | Install.java | 65 public static Install single(TestApp testApp) { in single()
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | StagedInstallTest.java | 1274 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/ |
D | RedactUriDeviceTest.java | 489 private Uri shareAndGetRedactedUri(File file, TestApp testApp) { in shareAndGetRedactedUri()
|
D | ScopedStorageDeviceTest.java | 3044 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()
|