Searched refs:APP_LABEL (Results 1 – 4 of 4) sorted by relevance
66 private static final String APP_LABEL = "label"; field in SetNewPasswordActivityTest122 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 …]
81 private static final String APP_LABEL = "app label"; field in AdvancedPowerUsageDetailTest149 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()
53 private static final String APP_LABEL = "Test App Name"; field in BatteryEntryTest78 when(mockPackageManager.getApplicationLabel(appInfo)).thenReturn(APP_LABEL); in stubPackageManagerToReturnAppPackageAndName()109 assertThat(entry.getLabel()).isEqualTo(APP_LABEL); in batteryEntryForApp_shouldSetDefaultPackageNameAndLabel()
73 private static final String APP_LABEL = "Example App"; field in NotificationChannelSliceTest127 mContext.getString(R.string.manage_app_notification, APP_LABEL)); in getSlice_hasSuggestedApp_shouldHaveNotificationChannelTitle()320 applicationInfo.name = APP_LABEL; in addMockPackageToPackageManager()