Home
last modified time | relevance | path

Searched refs:defaultStringId (Results 1 – 9 of 9) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DUserItemsCombiner.java165 private String getEnterpriseString(String updatableStringId, int defaultStringId) { in getEnterpriseString() argument
167 return getUpdatableEnterpriseString(updatableStringId, defaultStringId); in getEnterpriseString()
169 return mResources.getString(defaultStringId); in getEnterpriseString()
174 private String getUpdatableEnterpriseString(String updatableStringId, int defaultStringId) { in getUpdatableEnterpriseString() argument
176 updatableStringId, () -> mResources.getString(defaultStringId)); in getUpdatableEnterpriseString()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DProfileTabs.java224 private String getEnterpriseString(String updatableStringId, int defaultStringId) { in getEnterpriseString() argument
226 return getUpdatableEnterpriseString(updatableStringId, defaultStringId); in getEnterpriseString()
228 return mTabsContainer.getContext().getString(defaultStringId); in getEnterpriseString()
233 private String getUpdatableEnterpriseString(String updatableStringId, int defaultStringId) { in getUpdatableEnterpriseString() argument
238 () -> mTabsContainer.getContext().getString(defaultStringId)); in getUpdatableEnterpriseString()
DUserManagerState.java457 private String getEnterpriseString(String updatableStringId, int defaultStringId) { in getEnterpriseString() argument
459 return getUpdatableEnterpriseString(updatableStringId, defaultStringId); in getEnterpriseString()
461 return mContext.getString(defaultStringId); in getEnterpriseString()
466 private String getUpdatableEnterpriseString(String updatableStringId, int defaultStringId) { in getUpdatableEnterpriseString() argument
470 return mContext.getString(defaultStringId); in getUpdatableEnterpriseString()
474 () -> mContext.getString(defaultStringId)); in getUpdatableEnterpriseString()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DMessage.java459 private String getEnterpriseString(String updatableStringId, int defaultStringId) { in getEnterpriseString() argument
461 return getUpdatableEnterpriseString(updatableStringId, defaultStringId); in getEnterpriseString()
463 return mEnv.getContext().getString(defaultStringId); in getEnterpriseString()
468 private String getUpdatableEnterpriseString(String updatableStringId, int defaultStringId) { in getUpdatableEnterpriseString() argument
472 updatableStringId, () -> mEnv.getContext().getString(defaultStringId)); in getUpdatableEnterpriseString()
DDocumentHolder.java228 int defaultStringId = in getUpdatablePreviewIconContentDescription() local
232 () -> itemView.getResources().getString(defaultStringId, fileName), in getUpdatablePreviewIconContentDescription()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DStringCache.java239 Context context, String updatableStringId, int defaultStringId) { in getEnterpriseString() argument
243 () -> context.getString(defaultStringId)); in getEnterpriseString()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DProfileDialogFragment.java233 private String getUpdatedEnterpriseString(String updatableStringId, int defaultStringId) { in getUpdatedEnterpriseString() argument
235 return dpm.getResources().getString(updatableStringId, () -> getString(defaultStringId)); in getUpdatedEnterpriseString()
DTabFragment.java866 int defaultStringId) { in getUpdatedEnterpriseString() argument
868 return dpm.getResources().getString(updatableStringId, () -> getString(defaultStringId)); in getUpdatedEnterpriseString()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java1567 @NonNull String updatableStringId, int defaultStringId, @NonNull Object... formatArgs) { in getEnterpriseString() argument
1570 context, updatableStringId, defaultStringId, formatArgs) in getEnterpriseString()
1571 : context.getString(defaultStringId, formatArgs); in getEnterpriseString()
1577 @NonNull String updatableStringId, int defaultStringId, @NonNull Object... formatArgs) { in getUpdatableEnterpriseString() argument
1580 defaultStringId, formatArgs), formatArgs); in getUpdatableEnterpriseString()