Home
last modified time | relevance | path

Searched refs:APP_LABEL (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetNewPasswordActivityTest.java68 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/
DCameraMicIndicatorsPermissionTest.kt75 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/
DRoleManagerTest.java110 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/
DWifiScanModeActivityTest.java53 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/
DPermissionUsageFragmentTest.kt45 private val APP_LABEL = "CameraRequestApp" constant
71 waitFindObject(By.textContains(APP_LABEL)) in cameraAccessShouldBeListed()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java93 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()
DPowerBackgroundUsageDetailTest.java93 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/
DAppArchiveButtonTest.kt66 whenever(userPackageManager.getApplicationLabel(any())).thenReturn(APP_LABEL) in setUp()
167 const val APP_LABEL = "App label" constant
DAppButtonsTest.kt88 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/
DPickerSyncControllerTest.java83 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()