Home
last modified time | relevance | path

Searched refs:stringId (Results 1 – 18 of 18) sorted by relevance

/aosp14/frameworks/base/core/java/android/app/admin/
H A DDevicePolicyStringResource.java57 @NonNull String stringId, in DevicePolicyStringResource() argument
59 this(stringId, resourceIdInCallingPackage, new ParcelableResource( in DevicePolicyStringResource()
64 @NonNull String stringId, in DevicePolicyStringResource()
67 Objects.requireNonNull(stringId, "stringId must be provided."); in DevicePolicyStringResource()
70 this.mStringId = stringId; in DevicePolicyStringResource()
132 String stringId = in.readString();
136 return new DevicePolicyStringResource(stringId, resourceIdInCallingPackage, resource);
H A DDevicePolicyResourcesManager.java477 @NonNull String stringId, in getString()
480 Objects.requireNonNull(stringId, "stringId can't be null"); in getString()
483 if (stringId.equals(DevicePolicyResources.UNDEFINED) || DeviceConfig.getBoolean( in getString()
491 ParcelableResource resource = mService.getString(stringId); in getString()
524 @NonNull String stringId, in getString()
528 Objects.requireNonNull(stringId, "stringId can't be null"); in getString()
531 if (stringId.equals(DevicePolicyResources.UNDEFINED) || DeviceConfig.getBoolean( in getString()
539 ParcelableResource resource = mService.getString(stringId); in getString()
H A DIDevicePolicyManager.aidl589 ParcelableResource getString(String stringId); in getString() argument
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDeviceManagementResourcesProvider.java214 String stringId = strings.get(i).getStringId(); in updateStrings() local
217 Objects.requireNonNull(stringId, "stringId must be provided."); in updateStrings()
220 updated |= updateString(stringId, resource); in updateStrings()
231 private boolean updateString(String stringId, ParcelableResource updatableResource) { in updateString() argument
233 ParcelableResource current = mUpdatedStrings.get(stringId); in updateString()
237 mUpdatedStrings.put(stringId, updatableResource); in updateString()
249 String stringId = stringIds.get(i); in removeStrings() local
250 removed |= mUpdatedStrings.remove(stringId) != null; in removeStrings()
261 ParcelableResource getString(String stringId) { in getString() argument
263 return mUpdatedStrings.get(stringId); in getString()
H A DDevicePolicyManagerService.java22740 public ParcelableResource getString(String stringId) {
22742 mDeviceManagementResourcesProvider.getString(stringId));
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
H A DBaseScreenSharePermissionDialog.kt101 protected fun setDialogTitle(@StringRes stringId: Int) {
102 val title = context.getString(stringId, appName)
106 protected fun setStartButtonText(@StringRes stringId: Int) {
107 startButton.setText(stringId)
H A DRecordingService.java286 protected void showErrorToast(int stringId) { in showErrorToast() argument
287 Toast.makeText(this, stringId, Toast.LENGTH_LONG).show(); in showErrorToast()
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_UsbDescriptorParser.cpp48 JNIEnv* env, jobject thiz, jstring deviceAddr, jint stringId) { in Java_com_android_server_usb_descriptors_UsbDescriptorParser_getDescriptorString_1native() argument
70 usb_device_get_string_ucs2(device, stringId, in Java_com_android_server_usb_descriptors_UsbDescriptorParser_getDescriptorString_1native()
/aosp14/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
H A DProtoInputStreamObjectTest.java47 final long stringId = stringFieldFlags | ((long) 4 & 0x0ffffffffL); in parseProto() local
58 case (int) stringId: in parseProto()
59 mString = pi.readString(stringId); in parseProto()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DChooserActivityWorkProfileTest.java338 final int stringId = tab == Tab.WORK ? R.string.resolver_work_tab in switchToTab() local
342 onView(withText(stringId)).perform(click()); in switchToTab()
346 onView(withText(stringId)).check(matches(isSelected())); in switchToTab()
H A DResolverActivityWorkProfileTest.java316 final int stringId = tab == Tab.WORK ? R.string.resolver_work_tab in switchToTab() local
320 onView(withText(stringId)).perform(click()); in switchToTab()
324 onView(withText(stringId)).check(matches(isSelected())); in switchToTab()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
H A DPrivacyDialog.kt113 val stringId = getStringIdForState(element.active) regex
120 val firstLine = context.getString(stringId, appName)
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
H A DUsbDescriptorParser.java357 public String getDescriptorString(int stringId) { in getDescriptorString() argument
358 return getDescriptorString_native(mDeviceAddr, stringId); in getDescriptorString()
361 private native String getDescriptorString_native(String deviceAddr, int stringId); in getDescriptorString_native() argument
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DMagnificationModeSwitch.java191 final int stringId = mMagnificationMode == ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW in formatStateDescription() local
194 return mContext.getResources().getString(stringId); in formatStateDescription()
/aosp14/frameworks/base/media/java/android/media/
H A DAudioRecord.java2330 String stringId = logSessionId.getStringId(); in setLogSessionId() local
2331 native_setLogSessionId(stringId); in setLogSessionId()
H A DAudioTrack.java4279 String stringId = logSessionId.getStringId(); in setLogSessionId() local
4280 native_setLogSessionId(stringId); in setLogSessionId()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
H A DInternetDialogController.java1364 void makeOverlayToast(int stringId) {
1368 res.getString(stringId), mContext.getPackageName(), UserHandle.myUserId(),
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...