/aosp12/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | AppLabelProxy.java | 36 public static CharSequence getAppLabel(PackageManager pm, String packageName) { in getAppLabel() method in AppLabelProxy.Util 50 CharSequence getAppLabel(String packageName); in getAppLabel() method
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/ |
H A D | Formatting.java | 51 String getAppLabel(String pkg) { in getAppLabel() method in Formatting 58 return Utils.getAppLabel(app, mContext); in getAppLabel()
|
/aosp12/frameworks/base/core/java/com/android/internal/app/ |
H A D | BlockedAppActivity.java | 58 CharSequence appLabel = getAppLabel(userId, packageName); in onCreate() 66 private CharSequence getAppLabel(int userId, String packageName) { in getAppLabel() method in BlockedAppActivity
|
H A D | SuspendedAppActivity.java | 94 private CharSequence getAppLabel(String packageName) { in getAppLabel() method in SuspendedAppActivity 149 final CharSequence suspendedAppLabel = getAppLabel(mSuspendedPackage); in resolveDialogMessage() 165 getAppLabel(mSuspendingPackage)); in resolveDialogMessage()
|
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/ |
H A D | RequestToggleWiFiActivityTest.java | 82 assertThat(mActivity.getAppLabel()).isNull(); in getAppLabel_nullPackageName_returnNull() 89 assertThat(mActivity.getAppLabel()).isNotNull(); in getAppLabel_settingsPackageName_returnNotNull()
|
/aosp12/packages/apps/Settings/src/com/android/settings/development/ |
H A D | SelectDebugAppPreferenceController.java | 98 getAppLabel(debugApp))); in updatePreferenceSummary() 104 private String getAppLabel(String debugApp) { in getAppLabel() method in SelectDebugAppPreferenceController
|
H A D | MockLocationAppPreferenceController.java | 102 getAppLabel(mockLocationApp))); in updateMockLocation() 124 private String getAppLabel(String mockLocationApp) { in getAppLabel() method in MockLocationAppPreferenceController
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
H A D | BatteryDiffEntryTest.java | 137 assertThat(entry.getAppLabel()).isEqualTo(expectedName); in testLoadLabelAndIcon_forSystemBattery_returnExpectedResult() 162 assertThat(entry.getAppLabel()).isEqualTo(expectedName); in testLoadLabelAndIcon_forUserBattery_returnExpectedResult() 192 assertThat(entry.getAppLabel()).isEqualTo(expectedAppLabel); in testGetAppLabel_loadDataFromApplicationInfo() 213 assertThat(entry.getAppLabel()).isEqualTo(expectedAppLabel); in testGetAppLabel_loadDataFromPreDefinedNameAndUid() 232 assertThat(entry.getAppLabel()).isEqualTo(expectedAppLabel); in testGetAppLabel_nullAppLabel_returnAppLabelInBatteryHistEntry()
|
H A D | BatteryChartPreferenceControllerTest.java | 288 doReturn(appLabel).when(mBatteryDiffEntry).getAppLabel(); in testAddPreferenceToScreen_addPreferenceIntoScreen() 317 doReturn(appLabel).when(mBatteryDiffEntry).getAppLabel(); in testAddPreferenceToScreen_alreadyInScreen_notAddPreferenceAgain() 478 doReturn("label").when(mBatteryDiffEntry).getAppLabel(); in testOnExpand_expandedIsTrue_addSystemEntriesToPreferenceGroup()
|
/aosp12/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/ |
H A D | RemoteRenderParamsAdapter.java | 129 public String getAppLabel() { in getAppLabel() method in RemoteRenderParamsAdapter 130 return mDelegate.getAppLabel(); in getAppLabel()
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
H A D | AppPermissions.java | 71 mAppLabel = Utils.getAppLabel(packageInfo.applicationInfo, context); in AppPermissions() 87 public CharSequence getAppLabel() { in getAppLabel() method in AppPermissions
|
/aosp12/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
H A D | PackageInstalledNotificationUtils.java | 87 mInstallerAppLabel = getAppLabel(context, installerAppInfo, installerPackage); in PackageInstalledNotificationUtils() 92 mInstalledAppLabel = getAppLabel(context, installedAppInfo, installerPackage); in PackageInstalledNotificationUtils() 106 private static String getAppLabel(@NonNull Context context, @NonNull ApplicationInfo appInfo, in getAppLabel() method in PackageInstalledNotificationUtils
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
H A D | PermissionPreference.java | 433 private String getAppLabel() { in getAppLabel() method in PermissionPreference 462 LocationUtils.showLocationDialog(getContext(), getAppLabel()); in requestChange() 572 LocationUtils.showLocationDialog(getContext(), getAppLabel()); in showBackgroundChooserDialog() 578 getRequestMessage(getAppLabel(), mGroup.getApp().packageName, mGroup.getName(), in showBackgroundChooserDialog()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
H A D | ControlsListingController.kt | 44 fun getAppLabel(name: ComponentName): CharSequence? = "" regex
|
H A D | ControlsListingControllerImpl.kt | 176 override fun getAppLabel(name: ComponentName): CharSequence? {
|
H A D | ControlsProviderSelectorActivity.kt | 161 listingController.getAppLabel(it))
|
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | RequestToggleWiFiActivity.java | 84 mAppLabel = getAppLabel(); in onCreate() 220 protected CharSequence getAppLabel() { in getAppLabel() method in RequestToggleWiFiActivity
|
/aosp12/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/ |
H A D | RemoteRenderParams.java | 53 String getAppLabel() throws RemoteException; in getAppLabel() method
|
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/ |
H A D | MicQcPanel.java | 165 : getAppLabel(applicationInfo.get(), mContext); in addPrivacyElementsToQcList() 192 private String getAppLabel(@NonNull ApplicationInfo applicationInfo, @NonNull Context context) { in getAppLabel() method in MicQcPanel
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/ |
H A D | LocationProviderInterceptDialog.java | 55 Utils.getAppLabel(getPackageInfo(packageName).applicationInfo, this))) in onCreate()
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/ |
H A D | RoleSortFunction.java | 48 Utils.getAppLabel(role.first, context), collator); in RoleSortFunction()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | SessionCommitReceiver.java | 77 + ", has app label: " + !TextUtils.isEmpty(info.getAppLabel())); in processIntent()
|
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | BridgeActionBar.java | 127 String title = mParams.getAppLabel(); in setTitle()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
H A D | ControlsRequestDialogTest.kt | 113 `when`(listingController.getAppLabel(CONTROL_COMPONENT)).thenReturn(LABEL)
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
H A D | Utils.java | 646 public static String getAppLabel(@NonNull ApplicationInfo applicationInfo, in getAppLabel() method in Utils 648 return getAppLabel(applicationInfo, DEFAULT_MAX_LABEL_SIZE_PX, context); in getAppLabel() 662 return getAppLabel(applicationInfo, 0, context); in getFullAppLabel() 675 private static String getAppLabel(@NonNull ApplicationInfo applicationInfo, float ellipsizeDip, in getAppLabel() method in Utils
|