/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | RootsAdapter.java | 68 String stringId = getItem(position).stringId; in getItemId() local 71 if (sIdMap.containsKey(stringId)) { in getItemId() 72 id = sIdMap.get(stringId); in getItemId() 75 sIdMap.put(stringId, id); in getItemId()
|
D | Item.java | 42 final String stringId; field in Item 44 public Item(@LayoutRes int layoutId, String title, String stringId, UserId userId) { in Item() argument 47 this.stringId = stringId; in Item()
|
/packages/modules/Permission/SafetyCenter/ResourcesLib/java/com/android/safetycenter/resources/ |
D | SafetyCenterResourcesApk.java | 236 public String getString(@StringRes int stringId) { in getString() argument 237 return getContext().getString(stringId); in getString() 241 public String getString(@StringRes int stringId, Object... formatArgs) { in getString() argument 242 return getContext().getString(stringId, formatArgs); in getString() 275 public String getOptionalString(@StringRes int stringId) { in getOptionalString() argument 276 if (stringId == Resources.ID_NULL) { in getOptionalString() 279 return getString(stringId); in getOptionalString()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/ |
D | HealthConnectResourcesContext.java | 216 private String getOptionalString(@StringRes int stringId) { in getOptionalString() argument 217 if (stringId == Resources.ID_NULL) { in getOptionalString() 221 return getString(stringId); in getOptionalString() 225 private String getOptionalStringWithArgs(@StringRes int stringId, Object... formatArgs) { in getOptionalStringWithArgs() argument 226 if (stringId == Resources.ID_NULL) { in getOptionalStringWithArgs() 230 return getString(stringId, formatArgs); in getOptionalStringWithArgs()
|
/packages/modules/GeoTZ/tzs2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/ |
D | HeaderBlockWriter.java | 101 int stringId = stringIds.get(stringIdIndex); in close() local 102 if (stringId < 0 || stringId > Character.MAX_VALUE) { in close() 105 + " stringIdentifier=" + stringId); in close() 107 stringIdsAsCharArray[stringIdIndex] = (char) stringId; in close()
|
D | BankedTzIdSetsPacker.java | 160 Integer stringId = mStringToStringId.get(string); in getStringIdList() local 161 if (stringId == null) { in getStringIdList() 164 uniqueTzIdIntSet.add(stringId); in getStringIdList()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | PhotoItem.java | 137 int stringId = R.string.photo_date_content_description; in fillImageView() local 140 stringId = R.string.panorama_date_content_description; in fillImageView() 143 stringId = R.string.photosphere_date_content_description; in fillImageView() 145 stringId = R.string.refocus_date_content_description; in fillImageView() 149 stringId, in fillImageView()
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | WifiQCUtils.java | 41 int stringId = WifiUtil.getStateDesc(wifiState); in getSubtitle() local 42 if (stringId != 0) { in getSubtitle() 43 return context.getString(stringId); in getSubtitle()
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
D | WidgetConversationService.java | 412 int stringId; in updateViewContent() local 415 stringId = R.string.conversation_list_snippet_picture; in updateViewContent() 417 stringId = R.string.conversation_list_snippet_video; in updateViewContent() 419 stringId = R.string.conversation_list_snippet_audio_clip; in updateViewContent() 421 stringId = R.string.conversation_list_snippet_vcard; in updateViewContent() 423 stringId = 0; in updateViewContent() 425 if (stringId > 0) { in updateViewContent() 427 description.append(mContext.getString(stringId)); in updateViewContent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryEntryTest.java | 399 private void assertNameAndIcon(String name, int stringId) { in assertNameAndIcon() argument 402 assertThat(nameAndIcon.mName).isEqualTo(getString(stringId)); in assertNameAndIcon() 405 private void assertNameAndIcon(int powerComponentId, int stringId, int iconId) { in assertNameAndIcon() argument 408 assertThat(nameAndIcon.mName).isEqualTo(getString(stringId)); in assertNameAndIcon() 412 private String getString(int stringId) { in getString() argument 413 return mContext.getResources().getString(stringId); in getString()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | PluralMessageFormat.java | 36 public static final String getIcuPluralString(Context context, @StringRes int stringId, in getIcuPluralString() argument 39 context.getResources().getString(stringId), in getIcuPluralString()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | BackgroundPermissionButtonLabelTest.java | 43 int stringId = permissionControllerContext.getResources().getIdentifier( in testBackgroundPermissionButtonLabel() local 48 permissionControllerContext.getString(stringId)); in testBackgroundPermissionButtonLabel()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | ResetNetworkConfirmFragment.java | 155 String stringId = sharedPreferences.getString( in getNetworkSubscriptionId() local 157 if (TextUtils.isEmpty(stringId)) { in getNetworkSubscriptionId() 160 return Integer.parseInt(stringId); in getNetworkSubscriptionId()
|
/packages/apps/Settings/src/com/android/settings/display/darkmode/ |
D | DarkModePreference.java | 70 final int stringId = active in updateSummary() local 73 setSummary(getContext().getString(stringId)); in updateSummary()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | DarkUIPreferenceController.java | 98 int stringId = isChecked() in updateEnabledStateIfNeeded() local 101 mPreference.setSummary(mContext.getString(stringId)); in updateEnabledStateIfNeeded()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | MessageBuilder.java | 138 public String getQuantityString(@PluralsRes int stringId, int quantity) { in getQuantityString() argument 139 return Shared.getQuantityString(mContext, stringId, quantity); in getQuantityString()
|
/packages/modules/GeoTZ/tzs2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/ |
D | BankedTzIdSets.java | 143 for (int stringId : stringIds) { in addTzIdSet() 144 String string = mStringsByIndex.get(stringId); in addTzIdSet()
|
/packages/services/Telecomm/src/com/android/server/telecom/settings/ |
D | BlockedNumbersUtil.java | 75 public static void showToastWithFormattedNumber(Context context, int stringId, String number) { in showToastWithFormattedNumber() argument 77 String message = context.getString(stringId, formattedNumber); in showToastWithFormattedNumber()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | UserUtil.java | 71 int stringId, String tag, String reason) { in showErrorDialogForRestrictedOutgoingCall() argument 74 intent.putExtra(ErrorDialogActivity.ERROR_MESSAGE_ID_EXTRA, stringId); in showErrorDialogForRestrictedOutgoingCall()
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/activitydelegates/ |
D | MainActivityActionDelegate.java | 167 private String getQuantityString(int count, int stringId) { in getQuantityString() argument 170 mActivity.getResources().getString(stringId), in getQuantityString()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | OpenSupportedLinks.java | 122 private SelectorWithWidgetPreference makeRadioPreference(String key, int stringId) { in makeRadioPreference() argument 126 pref.setTitle(stringId); in makeRadioPreference()
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | ContactDisplayUtils.java | 242 Resources resources, int stringId, String number) { in getTtsSpannedPhoneNumber() argument 243 String msg = resources.getString(stringId, number); in getTtsSpannedPhoneNumber()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/ |
D | HealthConnectChangeLogsDeviceTests.java | 64 (deletedLog, stringId) -> 65 deletedLog.getDeletedRecordId().equals(stringId),
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ContactDisplayUtils.java | 197 int stringId, String number){ in getTtsSpannedPhoneNumber() argument 198 String msg = resources.getString(stringId, number); in getTtsSpannedPhoneNumber()
|
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/ |
D | ChooserActivityWorkProfileTest.java | 376 final int stringId = tab == Tab.WORK ? R.string.resolver_work_tab in switchToTab() local 380 onView(withText(stringId)).perform(click()); in switchToTab() 384 onView(withText(stringId)).check(matches(isSelected())); in switchToTab()
|