/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/ |
D | TestAppTest.java | 54 TestApp testApp = sDeviceState.testApps().any(); in reference_returnsNeneReference() 61 TestApp testApp = sDeviceState.testApps().any(); in install_noUserSpecified_installsInInstrumentedUser() 74 TestApp testApp = sDeviceState.testApps().any(); in install_userReference_installs() 87 TestApp testApp = sDeviceState.testApps().any(); in install_userReference_returnsReferenceToInstance() 101 TestApp testApp = sDeviceState.testApps().any(); in install_userHandle_installs() 114 TestApp testApp = sDeviceState.testApps().any(); in install_userHandle_returnsReferenceToInstance() 128 TestApp testApp = sDeviceState.testApps().any(); in install_nullUserReference_throwsException() 135 TestApp testApp = sDeviceState.testApps().any(); in install_nullUserHandle_throwsException() 142 TestApp testApp = sDeviceState.testApps().any(); in instance_userHandle_instanceIsNotInstalled_stillReturnsInstance() 152 TestApp testApp = sDeviceState.testApps().any(); in instance_userReference_instanceIsNotInstalled_stillReturnsInstance() [all …]
|
D | TestAppActivityReferenceTest.java | 48 TestApp testApp = sDeviceState.testApps().query().whereActivities().isNotEmpty().get(); in start_activityIsStarted() 59 TestApp testApp = sDeviceState.testApps().query().whereActivities().isNotEmpty().get(); in remote_executes()
|
D | TestAppActivitiesTest.java | 47 private static final TestApp sTestApp = sDeviceState.testApps().query()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | TestAppsComponent.kt | 45 private val testApps: MutableMap<String, TestAppInstance> = HashMap() constant 62 testApps[testAppKey]!!.permissions() in ensureTestAppHasPermission() 85 testApps[testAppKey]!!.permissions().withoutPermission(*permissions) in ensureTestAppDoesNotHavePermission() 105 testApps[testAppKey]!!.permissions() in ensureTestAppHasAppOp() 110 if (!testApps.containsKey(testAppKey)) { in checkTestAppExistsWithKey() 113 " Valid Test apps: " + testApps in checkTestAppExistsWithKey() 151 testApps[key] = testAppInstance in ensureTestAppInstalled() 182 return testApps[key] in testApp() 190 testApps[key] = remoteDpc in addRemoteDpcTestApp() 220 testApps.clear() in teardownNonShareableState() [all …]
|
D | DeviceStateTester.java | 111 public TestAppProvider testApps() { 112 return mDeviceState.testApps();
|
/cts/hostsidetests/install/app/src/android/cts/install/ |
D | UpgradeTest.java | 116 List<TestApp> testApps = mInstallRule.getTestApps(mInstallType, versionCode); in getParameterizedInstall() local 117 Install install = testApps.size() == 1 in getParameterizedInstall() 118 ? Install.single(testApps.get(0)) in getParameterizedInstall() 119 : Install.multi(testApps.toArray(new TestApp[testApps.size()])); in getParameterizedInstall()
|
D | DowngradeTest.java | 149 List<TestApp> testApps = mInstallRule.getTestApps(mInstallType, versionCode); in getParameterizedInstall() local 150 Install install = testApps.size() == 1 in getParameterizedInstall() 151 ? Install.single(testApps.get(0)) in getParameterizedInstall() 152 : Install.multi(testApps.toArray(new TestApp[testApps.size()])); in getParameterizedInstall()
|
D | SamegradeTest.java | 163 List<TestApp> testApps = mInstallRule.getTestApps(mInstallType, versionCode); in getParameterizedInstall() local 164 Install install = testApps.size() == 1 in getParameterizedInstall() 165 ? Install.single(testApps.get(0)) in getParameterizedInstall() 166 : Install.multi(testApps.toArray(new TestApp[testApps.size()])); in getParameterizedInstall()
|
D | InstallTest.java | 147 List<TestApp> testApps = mInstallRule.getTestApps(mInstallType, versionCode); in getParameterizedInstall() local 148 Install install = testApps.size() == 1 in getParameterizedInstall() 149 ? Install.single(testApps.get(0)) in getParameterizedInstall() 150 : Install.multi(testApps.toArray(new TestApp[testApps.size()])); in getParameterizedInstall()
|
/cts/common/device-side/bedstead/harrier/src/test/java/com/android/bedstead/harrier/ |
D | DeviceStateInternalTest.java | 108 mDeviceState.testApps().query() in requirePackageRespondsToIntentAnnotation_packageRespondsToIntent() 132 mDeviceState.testApps().query().whereActivities().contains( in requirePackageRespondsToIntentAnnotation_workProfile_packageRespondsToIntent() 173 mDeviceState.testApps().query() in requireNoPackageRespondsToIntentAnnotation_packageRespondsToIntent() 211 TestApp testApp = mDeviceState.testApps().query() in ensureNoPackageRespondsToIntentAnnotation()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | Install.java | 61 private Install(boolean isMultiPackage, TestApp... testApps) { in Install() argument 63 mTestApps = testApps; in Install() 83 public static Install multi(TestApp... testApps) { in multi() argument 84 return new Install(true, testApps); in multi()
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/activities/ |
D | ActivitiesTest.kt | 37 deviceState.testApps().query() in activityNameOfIntent_returnsActivityNameOfIntent() 55 deviceState.testApps().query() in getActivityNameOfIntent_isAlias_returnsTargetActivity()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | PackageSuspensionTest.java | 116 try (TestAppInstance anotherApp = sDeviceState.testApps().any().install()) { in setPackagesSuspended_suspendAlreadySuspendedPackage_returnsEmpty() 192 try (TestAppInstance anotherApp = sDeviceState.testApps().any().install()) { in setPackagesSuspended_suspendMultipleTimes_allPackagesSuspended() 219 try (TestAppInstance anotherApp = sDeviceState.testApps().any().install()) { in setPackagesSuspended_unsuspendMultipleTimes_allPackagesUnsuspended() 273 try (TestAppInstance anotherApp = sDeviceState.testApps().any().install()) { in setPackagesSuspended_multipleAdminsSuspendPackages_success() 308 try (TestAppInstance anotherApp = sDeviceState.testApps().any().install()) { in setPackagesSuspended_adminsUnsuspendOtherAdmin_fail()
|
D | SystemErrorDialogsTest.java | 146 try (TestAppInstance t = sDeviceState.testApps().query() in appCrashes_disallowSystemErrorDialogsNotSet_alwaysShowSystemErrorDialogsEnabled_showsDialog() 170 try (TestAppInstance t = sDeviceState.testApps().query() in appCrashes_disallowSystemErrorDialogsSet_alwaysShowSystemErrorDialogsEnabled_doesNotShowDialog()
|
D | PersonalAppsSuspensionTest.java | 66 sDeviceState.testApps().query().whereActivities().contains( 70 private static final TestApp sTestApp = sDeviceState.testApps().any();
|
D | SystemAppTest.java | 51 private static final TestApp sTestApp = sDeviceState.testApps().any();
|
D | DeviceOwnerTest.kt | 467 private val TEST_ONLY_DPC = deviceState.testApps() in <lambda>() 476 private val NOT_TEST_ONLY_DPC = deviceState.testApps() in <lambda>() 480 private val remoteDpcTestApp = deviceState.testApps().query() in <lambda>()
|
D | TransferOwnershipTest.kt | 301 deviceState.testApps().query() in <lambda>() 309 deviceState.testApps().query() in <lambda>()
|
D | AdbProvisioningTest.java | 51 private static final TestApp sRemoteDpcTestApp = sDeviceState.testApps().query()
|
D | NotificationTest.java | 52 private static final TestApp sTestApp = sDeviceState.testApps().query()
|
/cts/common/device-side/bedstead/remotedpc/src/test/java/com/android/bedstead/remotedpc/ |
D | RemoteDpcTest.java | 67 private static TestApp sNonRemoteDpcTestApp = sDeviceState.testApps().query() 819 sDeviceState.testApps().query().whereTargetSdkVersion().isLessThan(28)); in setAsProfileOwner_alreadySetToDifferentRemoteDpc_replacesRemoteDpc() 821 sDeviceState.testApps().query().whereTargetSdkVersion().isGreaterThan(28)); in setAsProfileOwner_alreadySetToDifferentRemoteDpc_replacesRemoteDpc() 837 sDeviceState.testApps().query().whereTargetSdkVersion().isLessThan(28)); in setAsDeviceOwner_alreadySetToDifferentRemoteDpc_replacesRemoteDpc() 839 sDeviceState.testApps().query().whereTargetSdkVersion().isGreaterThan(28)); in setAsDeviceOwner_alreadySetToDifferentRemoteDpc_replacesRemoteDpc() 855 sDeviceState.testApps().query().whereTargetSdkVersion().isEqualTo(28)); in setAsProfileOwner_matchesExistingRemoteDpc_doesNotReplace() 857 sDeviceState.testApps().query().whereTargetSdkVersion().isEqualTo(28)); in setAsProfileOwner_matchesExistingRemoteDpc_doesNotReplace() 873 sDeviceState.testApps().query().whereTargetSdkVersion().isEqualTo(28)); in setAsDeviceOwner_matchesExistingRemoteDpc_doesNotReplace() 875 sDeviceState.testApps().query().whereTargetSdkVersion().isEqualTo(28)); in setAsDeviceOwner_matchesExistingRemoteDpc_doesNotReplace()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | SettingsIntentsTest.java | 53 public void testApps() { in testApps() method in SettingsIntentsTest
|
/cts/tests/tests/multiuser/src/android/multiuser/cts/ |
D | UserVisibilityTestCase.java | 116 TestApp testApp = sDeviceState.testApps().any(); in runTestOnDisplay() 151 TestApp testApp = sDeviceState.testApps().any(); in runTestOnSecondaryDisplay()
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/packages/ |
D | ProcessReferenceTest.java | 39 private static final TestApp sTestApp = sDeviceState.testApps().query()
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/devicepolicy/ |
D | DeviceOwnerTest.java | 50 private static final TestApp sNonTestOnlyDpc = sDeviceState.testApps().query()
|