Home
last modified time | relevance | path

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

123

/packages/apps/Settings/tests/unit/src/com/android/settings/applications/
DAppOpsSettingsTest.java116 private String getApplicationLabel(String packageName) throws Exception { in getApplicationLabel() method in AppOpsSettingsTest
118 return mPackageManager.getApplicationLabel(info).toString(); in getApplicationLabel()
132 final String testAppLabel = getApplicationLabel(mPackageName); in testAppList()
162 final String testAppLabel = getApplicationLabel(mPackageName); in testAppDetailScreenForAppOp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/tips/
DRestrictAppTip.java63 final CharSequence appLabel = num > 0 ? Utils.getApplicationLabel(context, in getTitle()
76 final CharSequence appLabel = num > 0 ? Utils.getApplicationLabel(context, in getSummary()
148 appLabels.add(Utils.getApplicationLabel(context, in getRestrictAppsString()
DAppLabelPredicate.java49 return Utils.getApplicationLabel(mContext, appInfo.packageName) == null; in test()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
DRestrictAppTip.java63 final CharSequence appLabel = num > 0 ? Utils.getApplicationLabel(context, in getTitle()
76 final CharSequence appLabel = num > 0 ? Utils.getApplicationLabel(context, in getSummary()
148 appLabels.add(Utils.getApplicationLabel(context, in getRestrictAppsString()
DAppLabelPredicate.java49 return Utils.getApplicationLabel(mContext, appInfo.packageName) == null; in test()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DStorageWizardMoveConfirm.java68 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onCreate()
95 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onNavigateNext()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardMoveConfirm.java68 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onCreate()
96 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onNavigateNext()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/gamedriver/
DGameDriverAppPreferenceControllerTest.java288 when(mPackageManager.getApplicationLabel(app1)).thenReturn(APP_1); in mockPackageManager()
289 when(mPackageManager.getApplicationLabel(app2)).thenReturn(APP_2); in mockPackageManager()
290 when(mPackageManager.getApplicationLabel(app3)).thenReturn(APP_3); in mockPackageManager()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipDialogFragment.java103 final CharSequence appLabel = Utils.getApplicationLabel(context, in onCreateDialog()
132 final CharSequence name = Utils.getApplicationLabel(context, in onCreateDialog()
DHighUsageAdapter.java81 holder.appName.setText(Utils.getApplicationLabel(mContext, app.packageName)); in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DBatteryTipDialogFragment.java103 final CharSequence appLabel = Utils.getApplicationLabel(context, in onCreateDialog()
132 final CharSequence name = Utils.getApplicationLabel(context, in onCreateDialog()
DHighUsageAdapter.java81 holder.appName.setText(Utils.getApplicationLabel(mContext, app.packageName)); in onBindViewHolder()
/packages/apps/TV/src/com/android/tv/menu/
DAppLinkCardView.java135 return mPackageManager.getApplicationLabel(appInfo); in onBind()
210 return mPackageManager.getApplicationLabel(appInfo); in onBind()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DMdmPackageInfo.java64 pm.getApplicationLabel(ai).toString()); in createFromPackageName()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppInstallerInfoPreferenceController.java66 mInstallerLabel = Utils.getApplicationLabel(mContext, mInstallerPackage); in setPackageName()
/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/applications/
DDefaultAppsPreferenceController.java75 return AppUtils.getApplicationLabel(mPackageManager, packageName); in getDefaultAppLabel()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/
DAction.java92 appName = (String) mPm.getApplicationLabel(appInfo); in getAppName()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DDefaultAppsPreferenceController.java75 return AppUtils.getApplicationLabel(mPackageManager, packageName); in getDefaultAppLabel()
/packages/apps/Settings/src/com/android/settings/password/
DPasswordUtils.java64 return Utils.getApplicationLabel(context, pkg); in getCallingAppLabel()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DMdmPackageInfoTest.java55 when(mockPackageManager.getApplicationLabel(mApplicationInfo)).thenReturn(TEST_LABEL); in setUp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DPasswordUtils.java64 return Utils.getApplicationLabel(context, pkg); in getCallingAppLabel()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowUtils.java99 protected static CharSequence getApplicationLabel(Context context, String packageName) { in getApplicationLabel() method in ShadowUtils
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DDirectoryMessagesUiTest.java95 CharSequence result = pm.getApplicationLabel(ai); in getTestAppName()
/packages/apps/Settings/src/com/android/settings/development/
DSelectDebugAppPreferenceController.java108 final CharSequence lab = mPackageManager.getApplicationLabel(ai); in getAppLabel()

123