/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryDiffEntry.java | 113 @VisibleForTesting String mAppLabel = null; field in BatteryDiffEntry 253 return mAppLabel == null || mAppLabel.length() == 0 ? mLegacyLabel : mAppLabel; in getAppLabel() 342 mAppLabel = nameAndIcon.mName; in loadLabelAndIcon() 367 mAppLabel = mContext.getString(pair.first); in loadLabelAndIcon() 370 putResourceCache(getKey(), new NameAndIcon(mAppLabel, mAppIcon, mAppIconId)); in loadLabelAndIcon() 381 mAppLabel = nameAndIconForUser.mName; in loadLabelAndIcon() 383 getKey(), new NameAndIcon(mAppLabel, mAppIcon, /* iconId= */ 0)); in loadLabelAndIcon() 390 mAppLabel = nameAndIconForSystem.mName; in loadLabelAndIcon() 395 putResourceCache(getKey(), new NameAndIcon(mAppLabel, mAppIcon, mAppIconId)); in loadLabelAndIcon() 406 if (mAppLabel != null || mAppIcon != null) { in loadLabelAndIcon() [all …]
|
D | BatteryHistEntry.java | 41 public final String mAppLabel; field in BatteryHistEntry 78 mAppLabel = batteryInformation.getAppLabel(); in BatteryHistEntry() 108 mAppLabel = batteryInformation.getAppLabel(); in BatteryHistEntry() 146 mAppLabel = fromEntry.mAppLabel; in BatteryHistEntry() 200 mPackageName, mAppLabel, mUid, mUserId, mIsHidden)) in toString()
|
D | DataProcessor.java | 661 entry.mAppLabel, in generateBatteryDiffData() 1506 selectedBatteryEntry.mAppLabel, in insertHourlyUsageDiffDataPerSlot()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothRequestPermissionActivity.java | 87 private CharSequence mAppLabel; field in BluetoothRequestPermissionActivity 305 mAppLabel = applicationInfo.loadLabel(getPackageManager()); in parseIntent() 328 String message = mAppLabel != null in createDiscoverableConfirmDialog() 329 ? getString(R.string.bluetooth_ask_discovery, mAppLabel, timeoutSeconds) in createDiscoverableConfirmDialog() 342 String message = mAppLabel != null in createRequestEnableBluetoothDialog() 343 ? getString(R.string.bluetooth_ask_enablement, mAppLabel) in createRequestEnableBluetoothDialog() 357 String message = mAppLabel != null in createRequestEnableBluetoothDialogWithTimeout() 358 ? getString(R.string.bluetooth_ask_enablement_and_discovery, mAppLabel, in createRequestEnableBluetoothDialogWithTimeout() 416 String message = mAppLabel != null in createRequestDisableBluetoothDialog() 417 ? getString(R.string.bluetooth_ask_disablement, mAppLabel) in createRequestDisableBluetoothDialog()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | RequestPermissionActivity.java | 79 private @NonNull CharSequence mAppLabel; field in RequestPermissionActivity 106 RequestPermissionHelper.INSTANCE.requestDisable(this, mAppLabel, in onCreate() 139 RequestPermissionHelper.INSTANCE.requestEnable(this, mAppLabel, in onCreate() 195 CharSequence message = mAppLabel != null in createDialog() 196 ? getString(R.string.bluetooth_ask_lasting_discovery, mAppLabel) in createDialog() 200 CharSequence message = mAppLabel != null in createDialog() 201 ? getString(R.string.bluetooth_ask_discovery, mAppLabel, mTimeout) in createDialog() 341 mAppLabel = applicationInfo.loadSafeLabel(getPackageManager(), in parseIntent()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiRequestToggleActivity.java | 65 private CharSequence mAppLabel; field in WifiRequestToggleActivity 111 mAppLabel = pm.getApplicationLabel(ai); in onCreate() 190 builder.setMessage(getString(R.string.wifi_ask_enable, mAppLabel)); in updateUi() 194 builder.setMessage(getString(R.string.wifi_starting, mAppLabel)); in updateUi() 200 builder.setMessage(getString(R.string.wifi_ask_disable, mAppLabel)); in updateUi() 204 builder.setMessage(getString(R.string.wifi_stopping, mAppLabel)); in updateUi()
|
/packages/apps/Car/Settings/src/com/android/car/settings/notifications/ |
D | NotificationAccessConfirmationActivity.java | 71 CharSequence mAppLabel; in onCreate() local 81 mAppLabel = applicationInfo.loadSafeLabel(getPackageManager(), in onCreate() 91 if (TextUtils.isEmpty(mAppLabel)) { in onCreate() 99 mAppLabel)) in onCreate() 102 mAppLabel)) in onCreate()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/interactacrossprofiles/ |
D | InteractAcrossProfilesDetails.java | 103 private String mAppLabel; field in InteractAcrossProfilesDetails 120 mAppLabel = mPackageInfo.applicationInfo.loadLabel(mPackageManager).toString(); in onCreate() 305 getString(R.string.interact_across_profiles_consent_dialog_title, mAppLabel), in showConsentDialog() 306 mAppLabel)); in showConsentDialog() 313 mAppLabel), mAppLabel)); in showConsentDialog() 320 mAppLabel), in showConsentDialog() 321 mAppLabel)); in showConsentDialog() 458 mAppLabel), in refreshUiForNonConfigurableApps() 459 mAppLabel)); in refreshUiForNonConfigurableApps() 473 mAppLabel), in refreshUiForNonConfigurableApps() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationAccessConfirmationActivity.java | 89 CharSequence mAppLabel; in onCreate() local 101 mAppLabel = applicationInfo.loadSafeLabel(getPackageManager(), in onCreate() 111 if (TextUtils.isEmpty(mAppLabel)) { in onCreate() 119 mAppLabel); in onCreate() 122 mAppLabel); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | RequestToggleWiFiActivity.java | 69 private @NonNull CharSequence mAppLabel; field in RequestToggleWiFiActivity 84 mAppLabel = getAppLabel(); in onCreate() 85 if (TextUtils.isEmpty(mAppLabel)) { in onCreate() 257 mAlertParams.mMessage = getString(R.string.wifi_ask_enable, mAppLabel); in updateUi() 277 mAlertParams.mMessage = getString(R.string.wifi_ask_disable, mAppLabel); in updateUi()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
D | AppPermissions.java | 52 private final CharSequence mAppLabel; field in AppPermissions 72 mAppLabel = Utils.getAppLabel(packageInfo.applicationInfo, context); in AppPermissions() 89 return mAppLabel; in getAppLabel()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | AdvancedPowerUsageDetail.java | 114 private String mAppLabel; field in AdvancedPowerUsageDetail.LaunchBatteryDetailPageArgs 142 launchArgs.mAppLabel = diffEntry.getAppLabel(); in startBatteryDetailPage() 170 launchArgs.mAppLabel = entry.getLabel(); in startBatteryDetailPage() 184 args.putString(EXTRA_LABEL, launchArgs.mAppLabel); in startBatteryDetailPage()
|
/packages/apps/Settings/src/com/android/settings/language/ |
D | VoiceInputHelper.java | 61 public final CharSequence mAppLabel; field in VoiceInputHelper.BaseInfo 71 mAppLabel = service.applicationInfo.loadLabel(pm); in BaseInfo()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryDiffDataTest.java | 207 batteryHistEntry.mAppLabel, in createBatteryDiffEntry()
|
D | BatteryHistEntryTest.java | 351 assertThat(entry.mAppLabel).isEqualTo("Settings"); in assertBatteryHistEntry()
|
D | BatteryUsageBreakdownControllerTest.java | 468 batteryHistEntry.mAppLabel, in createBatteryDiffEntry()
|
D | BatteryDiffEntryTest.java | 581 batteryHistEntry.mAppLabel, in createBatteryDiffEntry()
|
D | ConvertUtilsTest.java | 324 assertThat(batteryHistEntry.mAppLabel).isEqualTo("Settings"); in convertToBatteryHistEntry_returnsExpectedResult()
|