/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | SetNewPasswordActivityTest.java | 68 private static final String APP_LABEL = "label"; field in SetNewPasswordActivityTest 126 ShadowPasswordUtils.setCallingAppLabel(APP_LABEL); in testLaunchChooseLock_setNewPasswordExtraWithoutPermission() 149 ShadowPasswordUtils.setCallingAppLabel(APP_LABEL); in testLaunchChooseLock_setNewPasswordExtraWithPermission() 167 assertThat(actualIntent.getStringExtra(EXTRA_KEY_CALLER_APP_NAME)).isEqualTo(APP_LABEL); in testLaunchChooseLock_setNewPasswordExtraWithPermission() 179 ShadowPasswordUtils.setCallingAppLabel(APP_LABEL); in testLaunchChooseLock_setNewPasswordExtraInvalidValue() 195 assertThat(actualIntent.getStringExtra(EXTRA_KEY_CALLER_APP_NAME)).isEqualTo(APP_LABEL); in testLaunchChooseLock_setNewPasswordExtraInvalidValue() 207 ShadowPasswordUtils.setCallingAppLabel(APP_LABEL); in testLaunchChooseLock_setNewPasswordExtraNoneComplexity() 223 assertThat(actualIntent.getStringExtra(EXTRA_KEY_CALLER_APP_NAME)).isEqualTo(APP_LABEL); in testLaunchChooseLock_setNewPasswordExtraNoneComplexity() 235 ShadowPasswordUtils.setCallingAppLabel(APP_LABEL); in testLaunchChooseLock_setNewPasswordWithoutExtra() 250 assertThat(actualIntent.getStringExtra(EXTRA_KEY_CALLER_APP_NAME)).isEqualTo(APP_LABEL); in testLaunchChooseLock_setNewPasswordWithoutExtra() [all …]
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | CameraMicIndicatorsPermissionTest.kt | 75 private const val APP_LABEL = "CtsCameraMicAccess" in <lambda>() constant 375 uiDevice.findObject(UiSelector().textContains(APP_LABEL)) in <lambda>() 379 assertTrue("View with text $APP_LABEL not found", appView.exists()) in <lambda>() 531 val appView = uiDevice.findObject(UiSelector().textContains(APP_LABEL)) in <lambda>() 532 assertTrue("View with text $APP_LABEL not found", appView.exists()) in <lambda>() 537 val appView = uiDevice.findObject(UiSelector().textContains(APP_LABEL)) in <lambda>() 538 assertTrue("View with text $APP_LABEL not found", appView.exists()) in <lambda>() 551 val appView = uiDevice.findObject(UiSelector().textContains(APP_LABEL)) in <lambda>() 553 "View with text $APP_LABEL found, but did not expect to", in <lambda>() 605 var appView = waitFindObject(By.textContains(APP_LABEL)) in <lambda>() [all …]
|
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 110 private static final String APP_LABEL = "CtsRoleTestApp"; field in RoleManagerTest 453 waitFindObject(By.text(APP_LABEL)).click(); in respondToRoleRequest() 617 waitFindObject(By.text(APP_LABEL)).click(); in targetSdk28AndChangeDefaultDialerForAnotherAppAsHolderAndAllowThenTheOtherAppIsDefaultDialer() 663 waitFindObject(By.text(APP_LABEL)).click(); in targetSdk28AndChangeDefaultSmsForAnotherAppAsHolderAndAllowThenTheOtherAppIsDefaultSms() 681 waitFindObject(By.clickable(true).checked(false).hasDescendant(By.text(APP_LABEL))); in openDefaultAppDetailsThenIsNotDefaultApp() 684 .hasDescendant(By.text(APP_LABEL))); in openDefaultAppDetailsThenIsNotDefaultApp() 710 waitFindObject(By.text(APP_LABEL).enabled(false)).clickAndWait(Until.newWindow(), in openDefaultAppDetailsOnHandHeldThenRestrictedAppIsNotSelectableAsDefaultApp() 731 By.text(APP_LABEL))).click(); in openDefaultAppDetailsAndSetDefaultAppThenIsDefaultApp() 734 .hasDescendant(By.text(APP_LABEL))).click(); in openDefaultAppDetailsAndSetDefaultAppThenIsDefaultApp() 738 waitFindObject(By.clickable(true).checked(true).hasDescendant(By.text(APP_LABEL))); in openDefaultAppDetailsAndSetDefaultAppThenIsDefaultApp() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiScanModeActivityTest.java | 53 static final String APP_LABEL = "app_label"; field in WifiScanModeActivityTest 98 ShadowUtils.setApplicationLabel(LAUNCHED_PACKAGE, APP_LABEL); in refreshAppLabel_hasPackageName_shouldHasAppLabel() 103 assertThat(mActivity.mApp).isEqualTo(APP_LABEL); in refreshAppLabel_hasPackageName_shouldHasAppLabel()
|
/packages/modules/Permission/PermissionController/tests/permissionui/src/com/android/permissioncontroller/permissionui/ui/handheld/v31/ |
D | PermissionUsageFragmentTest.kt | 45 private val APP_LABEL = "CameraRequestApp" constant in com.android.permissioncontroller.permissionui.ui.handheld.v31.PermissionUsageFragmentTest 71 waitFindObject(By.textContains(APP_LABEL)) in cameraAccessShouldBeListed()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | AdvancedPowerUsageDetailTest.java | 93 private static final String APP_LABEL = "app label"; field in AdvancedPowerUsageDetailTest 140 doReturn(APP_LABEL).when(mBundle).getString(nullable(String.class)); in setUp() 168 when(mBatteryEntry.getLabel()).thenReturn(APP_LABEL); in setUp() 195 when(mBatteryDiffEntry.getAppLabel()).thenReturn(APP_LABEL); in setUp() 244 verify(mEntityHeaderController).setLabel(APP_LABEL); in initHeader_NoAppEntry_BuildByBundle()
|
D | PowerBackgroundUsageDetailTest.java | 93 private static final String APP_LABEL = "app label"; field in PowerBackgroundUsageDetailTest 141 doReturn(APP_LABEL).when(mBundle).getString(nullable(String.class)); in setUp() 169 when(mBatteryEntry.getLabel()).thenReturn(APP_LABEL); in setUp() 219 verify(mEntityHeaderController).setLabel(APP_LABEL); in initHeader_NoAppEntry_BuildByBundle()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/ |
D | AppArchiveButtonTest.kt | 66 whenever(userPackageManager.getApplicationLabel(any())).thenReturn(APP_LABEL) in setUp() 167 const val APP_LABEL = "App label" constant
|
D | AppButtonsTest.kt | 88 whenever(packageManager.getApplicationLabel(any())).thenReturn(APP_LABEL) in setUp() 196 const val APP_LABEL = "App label" constant
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ |
D | PickerSyncControllerTest.java | 83 private static final String APP_LABEL = "MediaProvider Tests"; field in PickerSyncControllerTest 765 .that(mController.getCurrentCloudProviderLocalizedLabel()).isEqualTo(APP_LABEL); in testSetCloudProvider() 800 .that(mController.getCurrentCloudProviderLocalizedLabel()).isEqualTo(APP_LABEL); in testSetCloudProvider()
|