Home
last modified time | relevance | path

Searched refs:loadLabel (Results 1 – 25 of 230) sorted by relevance

12345678910

/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/display/
DThemePreferenceControllerTest.java79 when(info.loadLabel(any())).thenReturn("Theme1"); in testUpdateState()
81 when(info.loadLabel(any())).thenReturn("Theme2"); in testUpdateState()
115 when(info.loadLabel(any())).thenReturn("Theme1"); in testUpdateState_withStaticOverlay()
117 when(info.loadLabel(any())).thenReturn("Theme2"); in testUpdateState_withStaticOverlay()
/packages/apps/TV/src/com/android/tv/util/
DTvInputManagerHelper.java213 CharSequence label = info.loadLabel(mContext);
256 mTvInputLabels.put(inputId, info.loadLabel(mContext).toString());
278 mTvInputLabels.put(inputInfo.getId(), inputInfo.loadLabel(mContext).toString());
458 public String loadLabel(TvInputInfo info) { in loadLabel() method in TvInputManagerHelper
461 CharSequence labelSequence = info.loadLabel(mContext); in loadLabel()
729 mInputManager.loadLabel(lhs), mInputManager.loadLabel(rhs)); in compare()
809 label = mTvInputManagerHelper.loadLabel(input); in getLabel()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperListAdapter.java117 holder.title.setText(wallpaperInfo.info.loadLabel(mPackageManager)); in getView()
169 return mCollator.compare(info1.loadLabel(packageManager), in doInBackground()
170 info2.loadLabel(packageManager)); in doInBackground()
207 String title = info.loadLabel(packageManager).toString(); in doInBackground()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DKeyboardFragment.java134 entries.add(info.loadLabel(packageManager)); in updateCurrentKeyboardPreference()
182 info.loadLabel(packageManager))); in updateKeyboardsSettings()
242 : app.loadLabel(); in updateCurrentAutofillPreference()
266 preference.setTitle(getContext().getString(R.string.title_settings, info.loadLabel())); in updateAutofillSettings()
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DVirtualKeyboardPreferenceControllerTest.java105 when(imis.get(0).loadLabel(mPm)).thenReturn("label"); in updateState_singleIme_setImeLabelToSummary()
125 when(imis.get(0).loadLabel(mPm)).thenReturn(label1); in updateState_multiImeWithMixedLocale_setImeLabelToSummary()
127 when(imis.get(1).loadLabel(mPm)).thenReturn(label2); in updateState_multiImeWithMixedLocale_setImeLabelToSummary()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DLiveWallpaperInfo.java67 label.setText(mInfo.loadLabel(context.getPackageManager())); in createView()
93 return mCollator.compare(info1.loadLabel(pm), info2.loadLabel(pm)); in doInBackground()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAllAppPermissionsFragment.java136 final CharSequence label = appInfo.loadLabel(pm); in updateUi()
223 pref.setTitle(group.loadLabel(pm)); in findOrCreate()
247 pref.setTitle(perm.loadLabel(getActivity().getPackageManager())); in getMutablePreference()
273 pref.setTitle(perm.loadLabel(pm)); in getImmutablePreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DDefaultAppsPreferenceControllerTest.java70 when(mBrowserApplicationInfo.loadLabel(mPackageManager)).thenReturn("Browser1"); in setUp()
73 when(mDialerApplicationInfo.loadLabel(mPackageManager)).thenReturn("Phone1"); in setUp()
76 when(mSmsApplicationInfo.loadLabel(mPackageManager)).thenReturn("Sms1"); in setUp()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/
DPictureInPictureSettings.java78 CharSequence sa = a.first.loadLabel(mPm); in compare()
80 CharSequence sb = b.first.loadLabel(mPm); in compare()
160 final CharSequence label = appInfo.loadLabel(mPackageManager); in onResume()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DDevicePrefFragment.java282 info.activityInfo.loadLabel(getContext().getPackageManager())); in updateGoogleSettings()
304 castPref.setTitle(info.activityInfo.loadLabel(getContext().getPackageManager())); in updateCastSettings()
337 summary = info.loadLabel(getContext().getPackageManager()); in updateKeyboardAutofillSettings()
344 CharSequence autofillInfo = appInfo.loadLabel(); in updateKeyboardAutofillSettings()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DLiveWallpaperInfo.java304 return mCollator.compare(info1.loadLabel(pm), info2.loadLabel(pm)); in getAllOnDevice()
320 CharSequence labelCharSeq = mInfo.loadLabel(context.getPackageManager()); in getTitle()
330 CharSequence labelCharSeq = mInfo.loadLabel(packageManager); in getAttributions()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DWebViewAppPreferenceControllerTest.java73 when(mAppInfo.loadLabel()).thenReturn("SomeRandomAppLabel!!!"); in updateState_hasAppLabel_shouldSetAppLabelAndIcon()
82 when(mAppInfo.loadLabel()).thenReturn(null); in updateState_noAppLabel_shouldSetAppDefaultLabelAndNullIcon()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/
DPermissionApps.java233 CharSequence groupLabel = groupInfo.loadLabel(packageManager); in loadPermissionApps()
284 label = app.applicationInfo.loadLabel(mPm).toString(); in loadPermissionApps()
336 mLabel = info.loadLabel(mPm); in loadGroupInfo()
525 data = Pair.create(app.loadLabel(mPm).toString(), in getAppData()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DInstalledAppResultTask.java82 final CharSequence label = info.loadLabel(mPackageManager); in query()
98 .setTitle(info.loadLabel(mPackageManager)) in query()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationAssistantPicker.java108 info.loadLabel()); in getConfirmationMessage()
140 public CharSequence loadLabel() { in loadLabel() method in NotificationAssistantPicker.CandidateNone
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/defaultapps/
DDefaultAppEntryBasePreferenceControllerTest.java75 when(defaultAppInfo.loadLabel()).thenReturn(TEST_LABEL); in refreshUi_hasDefaultAppWithLabel_summaryAndIconAreSet()
88 when(defaultAppInfo.loadLabel()).thenReturn(null); in refreshUi_hasDefaultAppWithoutLabel_summaryAndIconAreNotSet()
/packages/apps/Settings/src/com/android/settings/webview/
DWebViewAppPicker.java127 public CharSequence loadLabel() { in loadLabel() method in WebViewAppPicker.WebViewAppInfo
133 return String.format("%s %s", super.loadLabel(), versionName); in loadLabel()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DNotificationAccess.java118 service.packageName, 0).loadLabel(mPackageManager); in updateList()
123 final String summary = service.loadLabel(mPackageManager).toString(); in updateList()
/packages/apps/Settings/src/com/android/settings/applications/assist/
DVoiceInputHelper.java64 label = _service.loadLabel(pm); in BaseInfo()
66 appLabel = _service.applicationInfo.loadLabel(pm); in BaseInfo()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DInputOptionsFragment.java87 getPreferenceScreen().setTitle(mInputInfo.loadLabel(getContext())); in onCreatePreferences()
102 final CharSequence defaultLabel = mInputInfo.loadLabel(getContext()); in refresh()
/packages/apps/Settings/src/com/android/settings/accessibility/
DLaunchAccessibilityActivityPreferenceFragment.java76 mPackageName = info.loadLabel(getPackageManager()).toString(); in onProcessArguments()
145 info.getActivityInfo().loadLabel(getPackageManager())); in initLaunchPreference()
DAccessibilityServiceWarning.java158 info.getResolveInfo().loadLabel(context.getPackageManager()))) in createDisableDialog()
174 info.getResolveInfo().loadLabel(context.getPackageManager()); in getServiceName()
/packages/apps/Settings/src/com/android/settings/tts/
DTtsEnginePreferenceFragment.java155 R.string.tts_engine_security_warning, info.loadLabel())) in displayDataAlert()
202 public CharSequence loadLabel() { in loadLabel() method in TtsEnginePreferenceFragment.EngineCandidateInfo
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSource.java137 return serviceInfo.loadLabel(context.getPackageManager()); in extractDisplayName()
142 return applicationInfo.loadLabel(context.getPackageManager()); in extractDisplayName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppInstallerInfoPreferenceControllerTest.java110 when(mAppInfo.loadLabel(mPackageManager)).thenReturn("Label1"); in getAvailabilityStatus_hasAppLabel_shouldReturnAvailable()
165 when(mAppInfo.loadLabel(mPackageManager)).thenReturn("Label"); in getAvailabilityStatus_isMainlineModule_shouldReturnDisabled()

12345678910