Home
last modified time | relevance | path

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

12

/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppTest.java62 TestApp testApp = mTestAppProvider.any(); in reference_returnsNeneReference() local
69 TestApp testApp = mTestAppProvider.any(); in install_noUserSpecified_installsInInstrumentedUser() local
82 TestApp testApp = mTestAppProvider.any(); in install_userReference_installs() local
95 TestApp testApp = mTestAppProvider.any(); in install_userReference_returnsReferenceToInstance() local
109 TestApp testApp = mTestAppProvider.any(); in install_userHandle_installs() local
122 TestApp testApp = mTestAppProvider.any(); in install_userHandle_returnsReferenceToInstance() local
136 TestApp testApp = mTestAppProvider.any(); in install_nullUserReference_throwsException() local
143 TestApp testApp = mTestAppProvider.any(); in install_nullUserHandle_throwsException() local
150 TestApp testApp = mTestAppProvider.any(); in instance_userHandle_instanceIsNotInstalled_stillReturnsInstance() local
160 TestApp testApp = mTestAppProvider.any(); in instance_userReference_instanceIsNotInstalled_stillReturnsInstance() local
[all …]
DTestAppProviderTest.java143 TestApp testApp = mTestAppProvider.query() in query_testOnly_returnsMatching() local
152 TestApp testApp = mTestAppProvider.query() in query_notTestOnly_returnsMatching() local
161 TestApp testApp = mTestAppProvider.query() in query_minSdkVersion_returnsMatching() local
170 TestApp testApp = mTestAppProvider.query() in query_targetSdkVersion_returnsMatching() local
179 TestApp testApp = mTestAppProvider.query() in query_withPermission_returnsMatching() local
188 TestApp testApp = mTestAppProvider.query() in query_withoutPermission_returnsMatching() local
197 TestApp testApp = mTestAppProvider.query() in query_metadata_returnsMatching() local
206 TestApp testApp = mTestAppProvider.query() in query_withExistingActivity_returnsMatching() local
220 TestApp testApp = mTestAppProvider.query() in query_withAnyActivity_returnsMatching() local
229 TestApp testApp = mTestAppProvider.query() in query_withNoActivity_returnsMatching() local
[all …]
DTestAppActivityReferenceTest.java56 TestApp testApp = mTestAppProvider.query().whereActivities().isNotEmpty().get(); in start_activityIsStarted() local
67 TestApp testApp = mTestAppProvider.query().whereActivities().isNotEmpty().get(); in remote_executes() local
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DDelegationScopesTest.java90 try (TestAppInstance testApp = sTestApp.install(sUser)) { in getDelegatedScopes_returnsFromSetDelegatedScopes()
110 try (TestAppInstance testApp = sTestApp.install(sUser)) { in setDelegatedScopes_invalidAdmin_throwsSecurityException()
122 try (TestAppInstance testApp = sTestApp.install(sUser)) { in getDelegatedScopes_invalidAdmin_throwsSecurityException()
132 try (TestAppInstance testApp = sTestApp.install(sUser)) { in getDelegatedScopes_returnsLatestFromSetDelegatedScopes()
175 try (TestAppInstance testApp = sTestApp.install(sUser)) { in getDelegatePackages_oneApp_twoScopes_returnsFromSetDelegatedScopes()
199 try (TestAppInstance testApp = sTestApp.install(sUser)) { in getDelegatePackages_invalidAdmin_throwsSecurityException()
209 try (TestAppInstance testApp = sTestApp.install(sUser); in getDelegatePackages_twoApps_differentScopes_returnsFromSetDelegatedScopes()
239 try (TestAppInstance testApp = sTestApp.install(sUser); in getDelegatePackages_twoApps_sameScope_returnsFromSetDelegatedScopes()
268 try (TestAppInstance testApp = sTestApp.install(sUser)) { in setDelegatedScopes_networkLogging_validAdminType_noException()
284 try (TestAppInstance testApp = sTestApp.install(sUser)) { in setDelegatedScopes_networkLogging_invalidAdminType_throwsSecurityException()
[all …]
DLockTaskTest.java435 try (TestAppInstance testApp = sTestApp.install()) { in startLockTask_includedInLockTaskPackages_taskIsLocked()
463 try (TestAppInstance testApp = sTestApp.install()) { in startLockTask_notIncludedInLockTaskPackages_taskIsNotLocked()
490 try (TestAppInstance testApp = sTestApp.install()) { in startLockTask_includedInLockTaskPackages_policyShouldNotApply_taskIsNotLocked()
518 try (TestAppInstance testApp = sTestApp.install()) { in finish_isLocked_doesNotFinish()
549 try (TestAppInstance testApp = sTestApp.install()) { in finish_hasStoppedLockTask_doesFinish()
574 try (TestAppInstance testApp = sTestApp.install()) { in setLockTaskPackages_removingCurrentlyLockedTask_taskFinishes()
600 try (TestAppInstance testApp = sTestApp.install(); in setLockTaskPackages_removingCurrentlyLockedTask_otherLockedTasksRemainLocked()
633 try (TestAppInstance testApp = sTestApp.install(); in startActivity_withinSameTask_startsActivity()
665 try (TestAppInstance testApp = sTestApp.install(); in startActivity_withinSameTask_blockStartInTask_doesNotStart()
706 try (TestAppInstance testApp = sTestApp.install(); in startActivity_inNewTask_blockStartInTask_doesNotStart()
[all …]
DScreenCaptureDisabledTest.java190 try (TestAppInstance testApp = sTestApp.install()) { in takeScreenshotExpectingFailure()
200 try (TestAppInstance testApp = sTestApp.install()) { in takeScreenshotExpectingSuccess()
DApplicationRestrictionsTest.java115 try (TestAppInstance testApp = sTestApp.install()) { in setApplicationRestrictions_applicationRestrictionsAreSet()
140 try (TestAppInstance testApp = sTestApp.install()) { in setApplicationRestrictions_applicationRestrictionsAlreadySet_setsNewRestrictions()
246 try (TestAppInstance testApp = sTestApp.install()) { in setApplicationRestrictions_policyDoesNotApply_applicationRestrictionsAreNotSet()
305 try (TestAppInstance testApp = sTestApp.install()) { in setApplicationRestrictions_restrictionsChangedBroadcastIsReceived()
330 try (TestAppInstance testApp = sTestApp.install()) { in setApplicationRestrictionsManagingPackage_applicationRestrictionsManagingPackageIsSet()
DNoAdminLeakingTest.java197 try (TestAppInstance testApp = sTestApp.install()) { in assertOnlyAggregatePolicyAvailableToNonAdmin()
DCrossProfileSharingTest.java193 try (TestAppInstance testApp = sTestApp.install(targetProfile)) { in getResolveInfo()
/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/remotedpc/src/main/java/com/android/bedstead/remotedpc/
DRemotePolicyManager.java30 RemotePolicyManager(TestApp testApp, UserReference user) { in RemotePolicyManager()
DRemoteDelegate.java37 public RemoteDelegate(TestApp testApp, UserReference user) { in RemoteDelegate()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppProvider.java51 TestApp testApp = query().get(); in any() local
148 void markTestAppUsed(TestAppDetails testApp) { in markTestAppUsed()
DTestAppInstance.java85 public TestAppInstance(TestApp testApp, UserReference user) { in TestAppInstance()
114 public TestApp testApp() { in testApp() method in TestAppInstance
DTestAppEvents.java69 TestAppEvents(TestAppInstance testApp) { in TestAppEvents()
/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.java1447 private static StageSessionResult stageDowngradeSingleApk(TestApp testApp) throws Exception { in stageDowngradeSingleApk()
1463 TestApp testApp = new TestApp(tmpFile.getName(), null, -1, in stageSingleApk() local
1468 private static StageSessionResult stageSingleApk(TestApp testApp) throws Exception { in stageSingleApk()
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DRedactUriDeviceTest.java487 private Uri shareAndGetRedactedUri(File file, TestApp testApp) { in shareAndGetRedactedUri()

12