Home
last modified time | relevance | path

Searched refs:getApplicationLabel (Results 1 – 25 of 95) sorted by relevance

1234

/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
DRestrictAppTip.java65 ? Utils.getApplicationLabel(context, mRestrictAppList.get(0).packageName) in getTitle()
83 ? Utils.getApplicationLabel(context, mRestrictAppList.get(0).packageName) in getSummary()
157 appLabels.add(Utils.getApplicationLabel(context, mRestrictAppList.get(i).packageName)); in getRestrictAppsString()
DAppLabelPredicate.java47 return Utils.getApplicationLabel(mContext, appInfo.packageName) == null; in test()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppInstallerInfoPreferenceTest.kt86 whenever(Utils.getApplicationLabel(context, INSTALLER_PACKAGE_NAME)) in setUp()
88 whenever(Utils.getApplicationLabel(context, INITIATING_PACKAGE_NAME)) in setUp()
109 whenever(Utils.getApplicationLabel(context, INSTALLER_PACKAGE_NAME)).thenReturn(null) in whenInstallerLabelIsNull_notDisplayed()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardMoveConfirm.java69 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onCreate()
112 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onNavigateNext()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppInstallerInfoPreference.kt90 Utils.getApplicationLabel(context, installerPackage) in installerPackage()
105 val initiatingLabel : CharSequence? = Utils.getApplicationLabel( in installerLabel()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipDialogFragment.java105 Utils.getApplicationLabel(context, restrictedAppList.get(0).packageName); in onCreateDialog()
142 Utils.getApplicationLabel(context, unrestrictAppTip.getPackageName()); in onCreateDialog()
DHighUsageAdapter.java81 CharSequence label = Utils.getApplicationLabel(mContext, app.packageName); in onBindViewHolder()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/
DMainActivity.kt26 title = packageManager.getApplicationLabel(applicationInfo) in onCreate()
/packages/services/Telecomm/src/com/android/server/telecom/
DAppLabelProxy.java39 CharSequence result = pm.getApplicationLabel(info); in getAppLabel()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/graphicsdriver/
DGraphicsDriverAppPreferenceControllerTest.java323 when(mPackageManager.getApplicationLabel(app1)).thenReturn(APP_1); in mockPackageManager()
324 when(mPackageManager.getApplicationLabel(app2)).thenReturn(APP_2); in mockPackageManager()
325 when(mPackageManager.getApplicationLabel(app3)).thenReturn(APP_3); in mockPackageManager()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DAutoGrantPermissionsNotifier.java140 CharSequence pkgLabel = pm.getApplicationLabel(mPackageInfo.applicationInfo); in notifyOfAutoGrantPermissions()
234 return pm.getApplicationLabel(resolveInfo.activityInfo.applicationInfo); in getSettingsAppName()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DApp.java60 return packageManager.getApplicationLabel(ai).toString(); in getAppDisplayName()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppInstallerInfoPreferenceController.java66 mInstallerLabel = Utils.getApplicationLabel(mContext, mInstallerPackage); in setPackageName()
/packages/apps/Settings/src/com/android/settings/media/
DRemoteMediaSlice.java128 final CharSequence appName = Utils.getApplicationLabel( in getSlice()
206 Utils.getApplicationLabel(mContext, info.getClientPackageName()))); in getMediaOutputDialogAction()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/
DNotificationListenerPrivacySourceTest.kt123 Utils.getApplicationLabel( in setup()
130 Utils.getApplicationLabel( in setup()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/app/
DAppInfoReader.kt47 packageManager.getApplicationLabel(getPackageInfo(packageName)).toString(), in getAppMetadata()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/
DAction.java92 appName = (String) mPm.getApplicationLabel(appInfo); in getAppName()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java185 getApplicationLabel()), Snackbar.LENGTH_INDEFINITE); in showSnackBar()
545 getApplicationLabel()); in displayCertChooserDialog()
577 private String getApplicationLabel() { in getApplicationLabel() method in KeyChainActivity
580 return pm.getApplicationLabel(pm.getApplicationInfo(mSenderPackageName, 0)).toString(); in getApplicationLabel()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DDirectoryMessagesUiTest.java95 CharSequence result = pm.getApplicationLabel(ai); in getTestAppName()
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/distantdisplay/activity/
DDistantDisplayCompanionActivity.java102 return String.valueOf(pm.getApplicationLabel(info)); in getAppString()
/packages/apps/Settings/src/com/android/settings/applications/
DDefaultAppsPreferenceController.java93 return BidiFormatter.getInstance().unicodeWrap(AppUtils.getApplicationLabel(mPackageManager, in getDefaultAppLabel()
/packages/apps/Car/Settings/src/com/android/car/settings/location/
DAdasPrivacyPolicyUtil.java67 CharSequence appLabel = packageManager.getApplicationLabel(appInfo); in createPrivacyPolicyPreference()
/packages/apps/Settings/src/com/android/settings/notification/history/
DHistoryLoader.java80 nhp.label = String.valueOf(mPm.getApplicationLabel(info)); in load()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/helpers/
DUtil.java140 return manager.getApplicationLabel(manager.getApplicationInfo(packageName, 0)) in getDisplayName()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DMoveAppActivity.java117 .newInstance(mPackageManager.getApplicationLabel(applicationInfo)); in onRequestMovePackageToVolume()

1234