Home
last modified time | relevance | path

Searched refs:appName (Results 1 – 25 of 48) sorted by relevance

12

/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DWorkspace.java94 public AppIcon tryGetWorkspaceAppIcon(String appName) { in tryGetWorkspaceAppIcon() argument
99 AppIcon.getAppIconSelector(appName, mLauncher)); in tryGetWorkspaceAppIcon()
112 public AppIcon getWorkspaceAppIcon(String appName) { in getWorkspaceAppIcon() argument
116 AppIcon.getAppIconSelector(appName, mLauncher))); in getWorkspaceAppIcon()
146 public AppIcon getHotseatAppIcon(String appName) { in getHotseatAppIcon() argument
148 mHotseat, AppIcon.getAppIconSelector(appName, mLauncher))); in getHotseatAppIcon()
152 public Folder getHotseatFolder(String appName) { in getHotseatFolder() argument
154 mHotseat, Folder.getSelector(appName, mLauncher))); in getHotseatFolder()
DAllApps.java87 public AppIcon getAppIcon(String appName) { in getAppIcon() argument
89 "getting app icon " + appName + " on all apps")) { in getAppIcon()
99 final BySelector appIconSelector = AppIcon.getAppIconSelector(appName, mLauncher); in getAppIcon()
120 mLauncher.assertTrue("Unable to scroll to a clickable icon: " + appName, in getAppIcon()
DAppIcon.java36 static BySelector getAppIconSelector(String appName, LauncherInstrumentation launcher) { in getAppIconSelector() argument
37 return By.clazz(TextView.class).text(appName).pkg(launcher.getLauncherPackageName()); in getAppIconSelector()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DStorageWizardMoveConfirm.java68 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onCreate() local
72 setHeaderText(R.string.storage_wizard_move_confirm_title, appName); in onCreate()
73 setBodyText(R.string.storage_wizard_move_confirm_body, appName, volumeName); in onCreate()
95 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onNavigateNext() local
100 intent.putExtra(EXTRA_TITLE, appName); in onNavigateNext()
DStorageWizardMoveProgress.java46 final String appName = getIntent().getStringExtra(EXTRA_TITLE); in onCreate() local
50 setHeaderText(R.string.storage_wizard_move_progress_title, appName); in onCreate()
51 setBodyText(R.string.storage_wizard_move_progress_body, volumeName, appName); in onCreate()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardMoveConfirm.java68 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onCreate() local
72 setHeaderText(R.string.storage_wizard_move_confirm_title, appName); in onCreate()
73 setBodyText(R.string.storage_wizard_move_confirm_body, appName, volumeName); in onCreate()
96 final String appName = getPackageManager().getApplicationLabel(mApp).toString(); in onNavigateNext() local
101 intent.putExtra(EXTRA_TITLE, appName); in onNavigateNext()
DStorageWizardMoveProgress.java47 final String appName = getIntent().getStringExtra(EXTRA_TITLE); in onCreate() local
51 setHeaderText(R.string.storage_wizard_move_progress_title, appName); in onCreate()
52 setBodyText(R.string.storage_wizard_move_progress_body, volumeName, appName); in onCreate()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/
DAction.java84 String appName = ""; in getAppName() local
92 appName = (String) mPm.getApplicationLabel(appInfo); in getAppName()
94 appName = APP_NAME_UNKNOWN; in getAppName()
96 return appName; in getAppName()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DAppScanStats.java93 public String appName; field in AppScanStats
110 appName = name; in AppScanStats()
117 source = new WorkSource(Binder.getCallingUid(), appName); in AppScanStats()
170 .setInitiator(truncateAppName(appName)).build(); in recordScanStart()
214 .setInitiator(truncateAppName(appName)) in recordScanStop()
333 sb.append(" " + appName); in dumpToString()
428 ContextMap.App appEntry = mContextMap.getByName(appName); in dumpToString()
DContextMap.java178 String appName = service.getPackageManager().getNameForUid(appUid); in add() local
179 if (appName == null) { in add()
181 appName = "Unknown App (UID: " + appUid + ")"; in add()
186 appScanStats = new AppScanStats(appName, workSource, this, service); in add()
189 App app = new App(uuid, callback, info, appName, appScanStats); in add()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DHighUsageAdapter.java49 public TextView appName; field in HighUsageAdapter.ViewHolder
56 appName = v.findViewById(R.id.app_name); in ViewHolder()
81 holder.appName.setText(Utils.getApplicationLabel(mContext, app.packageName)); in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DHighUsageAdapter.java49 public TextView appName; field in HighUsageAdapter.ViewHolder
56 appName = v.findViewById(R.id.app_name); in ViewHolder()
81 holder.appName.setText(Utils.getApplicationLabel(mContext, app.packageName)); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/development/
DMockLocationAppPreferenceController.java143 private void removeMockLocationForApp(String appName) { in removeMockLocationForApp() argument
146 appName, PackageManager.MATCH_DISABLED_COMPONENTS); in removeMockLocationForApp()
148 appName, AppOpsManager.MODE_ERRORED); in removeMockLocationForApp()
DAppViewHolder.java31 public TextView appName; field in AppViewHolder
44 holder.appName = convertView.findViewById(android.R.id.title); in createOrRecycle()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DMockLocationAppPreferenceController.java143 private void removeMockLocationForApp(String appName) { in removeMockLocationForApp() argument
146 appName, PackageManager.MATCH_DISABLED_COMPONENTS); in removeMockLocationForApp()
148 appName, AppOpsManager.MODE_ERRORED); in removeMockLocationForApp()
DAppViewHolder.java31 public TextView appName; field in AppViewHolder
44 holder.appName = convertView.findViewById(android.R.id.title); in createOrRecycle()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/consent/
DLegacyConsentUiHelper.java101 private void setDpcIconAndLabel(@NonNull String appName, Drawable packageIcon, String orgName) { in setDpcIconAndLabel() argument
102 if (packageIcon == null || TextUtils.isEmpty(appName)) { in setDpcIconAndLabel()
120 mActivity.getResources().getString(R.string.mdm_icon_label, appName)); in setDpcIconAndLabel()
123 deviceManagerName.setText(appName); in setDpcIconAndLabel()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DMockLocationAppPreferenceControllerTest.java73 final String appName = "foobar"; in updateState_foobarAppSelected_shouldSetSummaryToFoobar() local
76 new AppOpsManager.PackageOps(appName, 0, in updateState_foobarAppSelected_shouldSetSummaryToFoobar()
83 verify(mPreference).setSummary(mContext.getString(R.string.mock_location_app_set, appName)); in updateState_foobarAppSelected_shouldSetSummaryToFoobar()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DHelpActivity.java52 final String appName = getString(R.string.app_name); in onCreate() local
54 actionBar.setSubtitle(getString(R.string.version, appName, pi.versionName)); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSmsDefaultDialog.java274 ComponentName appName = SmsApplication.getDefaultSmsApplication( in getSelectedIndex() local
276 if (appName != null) { in getSelectedIndex()
277 String defaultSmsAppPackageName = appName.getPackageName(); in getSelectedIndex()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersCache.java276 CharSequence appName = pm.getApplicationLabel(provider.applicationInfo); in loadRootsForAuthority() local
280 authority, new PackageDetails(appName.toString(), packageName)); in loadRootsForAuthority()
518 public PackageDetails(String appName, String pckgName) { in PackageDetails() argument
519 applicationName = appName; in PackageDetails()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DSettingsWithHeader.java70 final TextView appName = (TextView) mHeader.findViewById(R.id.name); in updateHeader() local
71 appName.setText(mLabel); in updateHeader()
DSettingsWithLargeHeader.java108 TextView appName = header.requireViewById(R.id.entity_header_title); in updateHeader() local
109 appName.setText(mLabel); in updateHeader()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/
DDefaultAutofillPickerPreferenceController.java92 CharSequence appName = info.loadLabel(); in getConfirmationMessage() local
93 String message = getContext().getString(R.string.autofill_confirmation_message, appName); in getConfirmationMessage()
/packages/apps/Car/Cluster/src/android/car/cluster/
DMusicFragment.java63 TextView appName = view.findViewById(R.id.app_name); in onCreateView() local
64 innerViewModel.getAppName().observe(getViewLifecycleOwner(), appName::setText); in onCreateView()

12