Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetNewPasswordActivityTest.java66 private static final String APP_LABEL = "label"; field in SetNewPasswordActivityTest
122 ShadowPasswordUtils.setCallingAppLabel(APP_LABEL); in testLaunchChooseLock_setNewPasswordExtraWithoutPermission()
145 ShadowPasswordUtils.setCallingAppLabel(APP_LABEL); in testLaunchChooseLock_setNewPasswordExtraWithPermission()
163 assertThat(actualIntent.getStringExtra(EXTRA_KEY_CALLER_APP_NAME)).isEqualTo(APP_LABEL); in testLaunchChooseLock_setNewPasswordExtraWithPermission()
175 ShadowPasswordUtils.setCallingAppLabel(APP_LABEL); in testLaunchChooseLock_setNewPasswordExtraInvalidValue()
191 assertThat(actualIntent.getStringExtra(EXTRA_KEY_CALLER_APP_NAME)).isEqualTo(APP_LABEL); in testLaunchChooseLock_setNewPasswordExtraInvalidValue()
203 ShadowPasswordUtils.setCallingAppLabel(APP_LABEL); in testLaunchChooseLock_setNewPasswordExtraNoneComplexity()
219 assertThat(actualIntent.getStringExtra(EXTRA_KEY_CALLER_APP_NAME)).isEqualTo(APP_LABEL); in testLaunchChooseLock_setNewPasswordExtraNoneComplexity()
231 ShadowPasswordUtils.setCallingAppLabel(APP_LABEL); in testLaunchChooseLock_setNewPasswordWithoutExtra()
246 assertThat(actualIntent.getStringExtra(EXTRA_KEY_CALLER_APP_NAME)).isEqualTo(APP_LABEL); in testLaunchChooseLock_setNewPasswordWithoutExtra()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java81 private static final String APP_LABEL = "app label"; field in AdvancedPowerUsageDetailTest
149 doReturn(APP_LABEL).when(mBundle).getString(nullable(String.class)); in setUp()
172 when(mBatteryEntry.getLabel()).thenReturn(APP_LABEL); in setUp()
226 verify(mEntityHeaderController).setLabel(APP_LABEL); in testInitHeader_NoAppEntry_BuildByBundle()
311 assertThat(mBundle.getString(AdvancedPowerUsageDetail.EXTRA_LABEL)).isEqualTo(APP_LABEL); in testStartBatteryDetailPage_SystemApp()
DBatteryEntryTest.java53 private static final String APP_LABEL = "Test App Name"; field in BatteryEntryTest
78 when(mockPackageManager.getApplicationLabel(appInfo)).thenReturn(APP_LABEL); in stubPackageManagerToReturnAppPackageAndName()
109 assertThat(entry.getLabel()).isEqualTo(APP_LABEL); in batteryEntryForApp_shouldSetDefaultPackageNameAndLabel()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DNotificationChannelSliceTest.java73 private static final String APP_LABEL = "Example App"; field in NotificationChannelSliceTest
127 mContext.getString(R.string.manage_app_notification, APP_LABEL)); in getSlice_hasSuggestedApp_shouldHaveNotificationChannelTitle()
320 applicationInfo.name = APP_LABEL; in addMockPackageToPackageManager()