Home
last modified time | relevance | path

Searched refs:mAppLabel (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryDiffEntry.java62 @VisibleForTesting String mAppLabel = null; field in BatteryDiffEntry
107 return mAppLabel == null || mAppLabel.length() == 0 in getAppLabel()
108 ? mBatteryHistEntry.mAppLabel in getAppLabel()
109 : mAppLabel; in getAppLabel()
164 mAppLabel = nameAndIcon.name; in loadLabelAndIcon()
190 mAppLabel = nameAndIconForUser.name; in loadLabelAndIcon()
193 new BatteryEntry.NameAndIcon(mAppLabel, mAppIcon, /*iconId=*/ 0)); in loadLabelAndIcon()
201 mAppLabel = nameAndIconForSystem.name; in loadLabelAndIcon()
208 new BatteryEntry.NameAndIcon(mAppLabel, mAppIcon, mAppIconId)); in loadLabelAndIcon()
219 if (mAppLabel != null || mAppIcon != null) { in loadLabelAndIcon()
[all …]
DBatteryHistEntry.java51 public final String mAppLabel; field in BatteryHistEntry
80 mAppLabel = getString(values, KEY_APP_LABEL); in BatteryHistEntry()
101 mAppLabel = getString(cursor, KEY_APP_LABEL); in BatteryHistEntry()
130 mAppLabel = fromEntry.mAppLabel; in BatteryHistEntry()
193 mPackageName, mAppLabel, mUid, mUserId, mIsHidden)) in toString()
DAdvancedPowerUsageDetail.java125 private String mAppLabel; field in AdvancedPowerUsageDetail.LaunchBatteryDetailPageArgs
145 launchArgs.mAppLabel = diffEntry.getAppLabel(); in startBatteryDetailPage()
166 launchArgs.mAppLabel = entry.getLabel(); in startBatteryDetailPage()
181 args.putString(EXTRA_LABEL, launchArgs.mAppLabel); in startBatteryDetailPage()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRequestPermissionHelperActivity.java52 private CharSequence mAppLabel; field in RequestPermissionHelperActivity
85 p.mMessage = mAppLabel != null in createDialog()
86 ? getString(R.string.bluetooth_ask_enablement, mAppLabel) in createDialog()
89 p.mMessage = mAppLabel != null in createDialog()
92 mAppLabel) in createDialog()
96 p.mMessage = mAppLabel != null in createDialog()
98 mAppLabel, mTimeout) in createDialog()
105 p.mMessage = mAppLabel != null in createDialog()
106 ? getString(R.string.bluetooth_ask_disablement, mAppLabel) in createDialog()
168 mAppLabel = getIntent().getCharSequenceExtra(EXTRA_APP_LABEL); in parseIntent()
DRequestPermissionActivity.java73 private @NonNull CharSequence mAppLabel; field in RequestPermissionActivity
101 intent.putExtra(RequestPermissionHelperActivity.EXTRA_APP_LABEL, mAppLabel); in onCreate()
133 intent.putExtra(RequestPermissionHelperActivity.EXTRA_APP_LABEL, mAppLabel); in onCreate()
183 CharSequence message = mAppLabel != null in createDialog()
184 ? getString(R.string.bluetooth_ask_lasting_discovery, mAppLabel) in createDialog()
188 CharSequence message = mAppLabel != null in createDialog()
189 ? getString(R.string.bluetooth_ask_discovery, mAppLabel, mTimeout) in createDialog()
344 mAppLabel = applicationInfo.loadSafeLabel(getPackageManager(), in parseIntent()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java85 private CharSequence mAppLabel; field in BluetoothRequestPermissionActivity
294 mAppLabel = applicationInfo.loadLabel(getPackageManager()); in parseIntent()
317 String message = mAppLabel != null in createDiscoverableConfirmDialog()
318 ? getString(R.string.bluetooth_ask_discovery, mAppLabel, timeoutSeconds) in createDiscoverableConfirmDialog()
331 String message = mAppLabel != null in createRequestEnableBluetoothDialog()
332 ? getString(R.string.bluetooth_ask_enablement, mAppLabel) in createRequestEnableBluetoothDialog()
346 String message = mAppLabel != null in createRequestEnableBluetoothDialogWithTimeout()
347 ? getString(R.string.bluetooth_ask_enablement_and_discovery, mAppLabel, in createRequestEnableBluetoothDialogWithTimeout()
405 String message = mAppLabel != null in createRequestDisableBluetoothDialog()
406 ? getString(R.string.bluetooth_ask_disablement, mAppLabel) in createRequestDisableBluetoothDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiRequestToggleActivity.java66 private CharSequence mAppLabel; field in WifiRequestToggleActivity
119 mAppLabel = applicationInfo.loadSafeLabel(getPackageManager()); in onCreate()
198 builder.setMessage(getString(R.string.wifi_ask_enable, mAppLabel)); in updateUi()
202 builder.setMessage(getString(R.string.wifi_starting, mAppLabel)); in updateUi()
208 builder.setMessage(getString(R.string.wifi_ask_disable, mAppLabel)); in updateUi()
212 builder.setMessage(getString(R.string.wifi_stopping, mAppLabel)); in updateUi()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/interactacrossprofiles/
DInteractAcrossProfilesDetails.java82 private String mAppLabel; field in InteractAcrossProfilesDetails
100 mAppLabel = mPackageInfo.applicationInfo.loadLabel(mPackageManager).toString(); in onCreate()
262 getString(R.string.interact_across_profiles_consent_dialog_title, mAppLabel)); in showConsentDialog()
266 R.string.interact_across_profiles_consent_dialog_app_data_summary, mAppLabel)); in showConsentDialog()
270 R.string.interact_across_profiles_consent_dialog_permissions_summary, mAppLabel)); in showConsentDialog()
398 mAppLabel)); in refreshUiForNonConfigurableApps()
409 mAppLabel)); in refreshUiForNonConfigurableApps()
/packages/apps/Settings/src/com/android/settings/wifi/
DRequestToggleWiFiActivity.java65 private @NonNull CharSequence mAppLabel; field in RequestToggleWiFiActivity
87 mAppLabel = applicationInfo.loadSafeLabel(getPackageManager(), in onCreate()
238 mAlertParams.mMessage = getString(R.string.wifi_ask_enable, mAppLabel); in updateUi()
258 mAlertParams.mMessage = getString(R.string.wifi_ask_disable, mAppLabel); in updateUi()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissions.java51 private final CharSequence mAppLabel; field in AppPermissions
71 mAppLabel = Utils.getAppLabel(packageInfo.applicationInfo, context); in AppPermissions()
88 return mAppLabel; in getAppLabel()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryHistEntryTest.java277 assertThat(entry.mAppLabel).isEqualTo("Settings"); in assertBatteryHistEntry()