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.aidl563 ParcelableResource getString(String stringId); in getString() argument
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDeviceManagementResourcesProvider.java213 String stringId = strings.get(i).getStringId(); in updateStrings() local
216 Objects.requireNonNull(stringId, "stringId must be provided."); in updateStrings()
219 updated |= updateString(stringId, resource); in updateStrings()
230 private boolean updateString(String stringId, ParcelableResource updatableResource) { in updateString() argument
232 ParcelableResource current = mUpdatedStrings.get(stringId); in updateString()
236 mUpdatedStrings.put(stringId, updatableResource); in updateString()
248 String stringId = stringIds.get(i); in removeStrings() local
249 removed |= mUpdatedStrings.remove(stringId) != null; in removeStrings()
260 ParcelableResource getString(String stringId) { in getString() argument
262 return mUpdatedStrings.get(stringId); in getString()
DBaseIDevicePolicyManager.java196 public ParcelableResource getString(String stringId) { in getString() argument
DDevicePolicyManagerService.java18710 public ParcelableResource getString(String stringId) {
18712 mDeviceManagementResourcesProvider.getString(stringId));
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DBaseScreenSharePermissionDialog.kt107 protected fun setDialogTitle(@StringRes stringId: Int) { in setDialogTitle()
108 val title = context.getString(stringId, appName) in setDialogTitle()
112 protected fun setStartButtonText(@StringRes stringId: Int) { in setStartButtonText()
113 startButton.setText(stringId) in setStartButtonText()
DRecordingService.java284 protected void showErrorToast(int stringId) { in showErrorToast() argument
285 Toast.makeText(this, stringId, Toast.LENGTH_LONG).show(); in showErrorToast()
/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
70 usb_device_get_string_ucs2(device, stringId, in Java_com_android_server_usb_descriptors_UsbDescriptorParser_getDescriptorString_1native()
/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/
DResolverActivityWorkProfileTest.java314 final int stringId = tab == Tab.WORK ? R.string.resolver_work_tab in switchToTab() local
318 onView(withText(stringId)).perform(click()); in switchToTab()
322 onView(withText(stringId)).check(matches(isSelected())); in switchToTab()
DChooserActivityWorkProfileTest.java336 final int stringId = tab == Tab.WORK ? R.string.resolver_work_tab in switchToTab() local
340 onView(withText(stringId)).perform(click()); in switchToTab()
344 onView(withText(stringId)).check(matches(isSelected())); in switchToTab()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyDialog.kt114 val stringId = getStringIdForState(element.active) in <lambda>() constant
121 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.java193 final int stringId = mMagnificationMode == ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW in formatStateDescription() local
196 return mContext.getResources().getString(stringId); in formatStateDescription()
/frameworks/base/media/java/android/media/
DAudioRecord.java2180 String stringId = logSessionId.getStringId(); in setLogSessionId() local
2181 native_setLogSessionId(stringId); in setLogSessionId()
DAudioTrack.java4216 String stringId = logSessionId.getStringId(); in setLogSessionId() local
4217 native_setLogSessionId(stringId); in setLogSessionId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogController.java1293 void makeOverlayToast(int stringId) {
1297 res.getString(stringId), mContext.getPackageName(), UserHandle.myUserId(),