Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/admin/
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);
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()
DIDevicePolicyManager.aidl596 ParcelableResource getString(String stringId); in getString() argument
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
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()
DDevicePolicyManagerService.java22620 public ParcelableResource getString(String stringId) {
22622 mDeviceManagementResourcesProvider.getString(stringId));
/frameworks/base/services/core/jni/
Dcom_android_server_UsbDescriptorParser.cpp48 JNIEnv* env, jobject thiz, jstring deviceAddr, jint stringId) { in Java_com_android_server_usb_descriptors_UsbDescriptorParser_getDescriptorString_1native() argument
66 char* data = usb_device_get_string(device, stringId, USB_CONTROL_TRANSFER_TIMEOUT_MS); in Java_com_android_server_usb_descriptors_UsbDescriptorParser_getDescriptorString_1native()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/permission/
DBaseMediaProjectionPermissionDialogDelegate.kt135 protected fun setDialogTitle(@StringRes stringId: Int) { in <lambda>()
136 val title = dialog.context.getString(stringId, appName) in <lambda>()
140 protected fun setStartButtonText(@StringRes stringId: Int) { in <lambda>()
141 startButton.setText(stringId) in <lambda>()
/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
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()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
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()
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyDialog.kt113 val stringId = getStringIdForState(element.active) in <lambda>() constant
120 val firstLine = context.getString(stringId, appName) in <lambda>()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
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
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DMagnificationModeSwitch.java195 final int stringId = mMagnificationMode == ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW in formatStateDescription() local
198 return mContext.getResources().getString(stringId); in formatStateDescription()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java291 protected void showErrorToast(int stringId) { in showErrorToast() argument
292 Toast.makeText(this, stringId, Toast.LENGTH_LONG).show(); in showErrorToast()
/frameworks/base/media/java/android/media/
DAudioRecord.java2323 String stringId = logSessionId.getStringId(); in setLogSessionId() local
2324 native_setLogSessionId(stringId); in setLogSessionId()
DAudioTrack.java4280 String stringId = logSessionId.getStringId(); in setLogSessionId() local
4281 native_setLogSessionId(stringId); in setLogSessionId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogController.java1417 void makeOverlayToast(int stringId) {
1421 res.getString(stringId), mContext.getPackageName(), UserHandle.myUserId(),
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...