/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | DisplayUtils.java | 87 int resourceId = context.getResources().getIdentifier("config_rounded_mask_size_bottom", in getCornerRadiusBottom() local 89 if (resourceId > 0) { in getCornerRadiusBottom() 90 radius = context.getResources().getDimensionPixelSize(resourceId); in getCornerRadiusBottom() 106 int resourceId = context.getResources().getIdentifier("config_rounded_mask_size_top", in getCornerRadiusTop() local 108 if (resourceId > 0) { in getCornerRadiusTop() 109 radius = context.getResources().getDimensionPixelSize(resourceId); in getCornerRadiusTop() 121 int resourceId = context.getResources().getIdentifier("config_rounded_mask_size", in getCornerRadiusDefault() local 123 if (resourceId > 0) { in getCornerRadiusDefault() 124 radius = context.getResources().getDimensionPixelSize(resourceId); in getCornerRadiusDefault()
|
/frameworks/base/services/core/java/com/android/server/ |
D | IpSecService.java | 407 void removeSpiRecord(int resourceId) { in removeSpiRecord() argument 408 mSpiRecords.remove(resourceId); in removeSpiRecord() 411 void removeTransformRecord(int resourceId) { in removeTransformRecord() argument 412 mTransformRecords.remove(resourceId); in removeTransformRecord() 415 void removeTunnelInterfaceRecord(int resourceId) { in removeTunnelInterfaceRecord() argument 416 mTunnelInterfaceRecords.remove(resourceId); in removeTunnelInterfaceRecord() 419 void removeEncapSocketRecord(int resourceId) { in removeEncapSocketRecord() argument 420 mEncapSocketRecords.remove(resourceId); in removeEncapSocketRecord() 497 OwnedResourceRecord(int resourceId) { in OwnedResourceRecord() argument 499 if (resourceId == INVALID_RESOURCE_ID) { in OwnedResourceRecord() [all …]
|
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceParameterizedTest.java | 211 mIpSecService.releaseSecurityParameterIndex(spiResp.resourceId); in testReleaseSecurityParameterIndex() 227 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testReleaseSecurityParameterIndex() 245 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testSecurityParameterIndexBinderDeath() 262 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testSecurityParameterIndexBinderDeath() 278 return spi.resourceId; in getNewSpiResourceId() 292 private void addEncapSocketToIpSecConfig(int resourceId, IpSecConfig config) throws Exception { in addEncapSocketToIpSecConfig() argument 294 config.setEncapSocketResourceId(resourceId); in addEncapSocketToIpSecConfig() 369 addEncapSocketToIpSecConfig(udpSock.resourceId, ipSecConfig); in testCreateTransportModeTransformWithEncap() 395 addEncapSocketToIpSecConfig(udpSock.resourceId, ipSecConfig); in testCreateTunnelModeTransformWithEncap() 431 mIpSecService.deleteTransform(createTransformResp.resourceId); in testCreateTwoTransformsWithSameSpis() [all …]
|
D | IpSecServiceTest.java | 181 mIpSecService.closeUdpEncapsulationSocket(udpEncapResp.resourceId); in testOpenAndCloseUdpEncapsulationSocket() 189 userRecord.mEncapSocketRecords.getRefcountedResourceOrThrow(udpEncapResp.resourceId); in testOpenAndCloseUdpEncapsulationSocket() 205 udpEncapResp.resourceId); in testUdpEncapsulationSocketBinderDeath() 212 userRecord.mEncapSocketRecords.getRefcountedResourceOrThrow(udpEncapResp.resourceId); in testUdpEncapsulationSocketBinderDeath() 227 mIpSecService.closeUdpEncapsulationSocket(udpEncapResp.resourceId); in testOpenUdpEncapsulationSocketAfterClose() 257 mIpSecService.closeUdpEncapsulationSocket(udpEncapResp.resourceId); in testUdpEncapPortNotReleased() 267 mIpSecService.closeUdpEncapsulationSocket(udpEncapResp.resourceId); in testOpenUdpEncapsulationSocketOnRandomPort() 298 mIpSecService.closeUdpEncapsulationSocket(udpEncapResp.resourceId); in testOpenUdpEncapsulationSocketTwice() 494 mIpSecService.closeUdpEncapsulationSocket(openUdpEncapSockets.get(0).resourceId); in testSocketResourceTrackerLimitation() 506 mIpSecService.closeUdpEncapsulationSocket(openSocket.resourceId); in testSocketResourceTrackerLimitation() [all …]
|
/frameworks/base/core/java/android/net/ |
D | IpSecTransformResponse.java | 30 public final int resourceId; field in IpSecTransformResponse 42 out.writeInt(resourceId); in writeToParcel() 50 resourceId = IpSecManager.INVALID_RESOURCE_ID; in IpSecTransformResponse() 55 resourceId = inResourceId; in IpSecTransformResponse() 60 resourceId = in.readInt(); in IpSecTransformResponse()
|
D | IpSecSpiResponse.java | 30 public final int resourceId; field in IpSecSpiResponse 43 out.writeInt(resourceId); in writeToParcel() 49 resourceId = inResourceId; in IpSecSpiResponse() 58 resourceId = IpSecManager.INVALID_RESOURCE_ID; in IpSecSpiResponse() 64 resourceId = in.readInt(); in IpSecSpiResponse()
|
D | IpSecTunnelInterfaceResponse.java | 30 public final int resourceId; field in IpSecTunnelInterfaceResponse 43 out.writeInt(resourceId); in writeToParcel() 52 resourceId = IpSecManager.INVALID_RESOURCE_ID; in IpSecTunnelInterfaceResponse() 58 resourceId = inResourceId; in IpSecTunnelInterfaceResponse() 64 resourceId = in.readInt(); in IpSecTunnelInterfaceResponse()
|
D | IpSecUdpEncapResponse.java | 33 public final int resourceId; field in IpSecUdpEncapResponse 53 out.writeInt(resourceId); in writeToParcel() 63 resourceId = IpSecManager.INVALID_RESOURCE_ID; in IpSecUdpEncapResponse() 74 resourceId = inResourceId; in IpSecUdpEncapResponse() 81 resourceId = in.readInt(); in IpSecUdpEncapResponse()
|
D | IIpSecService.aidl | 38 void releaseSecurityParameterIndex(int resourceId); in releaseSecurityParameterIndex() argument 42 void closeUdpEncapsulationSocket(int resourceId); in closeUdpEncapsulationSocket() argument 61 void deleteTunnelInterface(int resourceId, in String callingPackage); in deleteTunnelInterface() argument
|
D | NattSocketKeepalive.java | 39 int resourceId, in NattSocketKeepalive() argument 47 mResourceId = resourceId; in NattSocketKeepalive()
|
D | IpSecConfig.java | 92 public void setSpiResourceId(int resourceId) { in setSpiResourceId() argument 93 mSpiResourceId = resourceId; in setSpiResourceId() 120 public void setEncapSocketResourceId(int resourceId) { in setEncapSocketResourceId() argument 121 mEncapSocketResourceId = resourceId; in setEncapSocketResourceId()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | InflateTest.java | 56 public void inflateTest(int resourceId) { in inflateTest() argument 57 mView = mInflater.inflate(resourceId, null); in inflateTest() 61 public void inflateCachedTest(int resourceId) { in inflateCachedTest() argument 63 mInflater.inflate(resourceId, null); in inflateCachedTest() 65 mInflater.inflate(resourceId, null); in inflateCachedTest()
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/ |
D | ResourceEntry.java | 54 int resourceId = bundle.getInt(KEY_RESOURCE_ID); in fromBundle() local 55 return new ResourceEntry(packageName, resourceName, resourceId); in fromBundle() 58 public ResourceEntry(String packageName, String resourceName, int resourceId) { in ResourceEntry() argument 61 mResourceId = resourceId; in ResourceEntry()
|
/frameworks/base/core/java/android/widget/ |
D | CalendarView.java | 311 public void setSelectedDateVerticalBar(@DrawableRes int resourceId) { in setSelectedDateVerticalBar() argument 312 mDelegate.setSelectedDateVerticalBar(resourceId); in setSelectedDateVerticalBar() 349 public void setWeekDayTextAppearance(@StyleRes int resourceId) { in setWeekDayTextAppearance() argument 350 mDelegate.setWeekDayTextAppearance(resourceId); in setWeekDayTextAppearance() 372 public void setDateTextAppearance(@StyleRes int resourceId) { in setDateTextAppearance() argument 373 mDelegate.setDateTextAppearance(resourceId); in setDateTextAppearance() 616 void setSelectedDateVerticalBar(@DrawableRes int resourceId); in setSelectedDateVerticalBar() argument 620 void setWeekDayTextAppearance(@StyleRes int resourceId); in setWeekDayTextAppearance() argument 623 void setDateTextAppearance(@StyleRes int resourceId); in setDateTextAppearance() argument
|
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/ |
D | SamplesList.java | 36 static Map<String,?> makeSample(String name, Class<?> activity, int resourceId) { in makeSample() argument 40 ret.put(KEY_RESOURCE, resourceId); in makeSample() 61 int resourceId = ((Integer) SAMPLES.get(position).get(KEY_RESOURCE)).intValue(); in onListItemClick() local 64 intent.putExtra("resourceId", resourceId); in onListItemClick()
|
/frameworks/base/core/java/android/gesture/ |
D | GestureLibraries.java | 48 public static GestureLibrary fromRawResource(Context context, @RawRes int resourceId) { in fromRawResource() argument 49 return new ResourceGestureLibrary(context, resourceId); in fromRawResource() 113 public ResourceGestureLibrary(Context context, int resourceId) { in ResourceGestureLibrary() argument 115 mResourceId = resourceId; in ResourceGestureLibrary()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NetworkRegistrationManager.java | 315 int resourceId; in getPackageName() local 320 resourceId = com.android.internal.R.string.config_wwan_network_service_package; in getPackageName() 325 resourceId = com.android.internal.R.string.config_wlan_network_service_package; in getPackageName() 335 packageName = mPhone.getContext().getResources().getString(resourceId); in getPackageName() 349 int resourceId; in getClassName() local 354 resourceId = com.android.internal.R.string.config_wwan_network_service_class; in getClassName() 359 resourceId = com.android.internal.R.string.config_wlan_network_service_class; in getClassName() 369 className = mPhone.getContext().getResources().getString(resourceId); in getClassName()
|
/frameworks/base/core/java/android/util/ |
D | TypedValue.java | 185 public int resourceId; field in TypedValue 536 resourceId = other.resourceId; in setTo() 551 if (resourceId != 0) { in toString() 552 sb.append(" r=0x").append(Integer.toHexString(resourceId)); in toString()
|
/frameworks/base/core/java/android/text/style/ |
D | ImageSpan.java | 206 public ImageSpan(@NonNull Context context, @DrawableRes int resourceId) { in ImageSpan() argument 207 this(context, resourceId, ALIGN_BOTTOM); in ImageSpan() 219 public ImageSpan(@NonNull Context context, @DrawableRes int resourceId, in ImageSpan() argument 223 mResourceId = resourceId; in ImageSpan()
|
/frameworks/base/core/java/android/view/ |
D | PointerIcon.java | 249 int resourceId = a.getResourceId(typeIndex, -1); in getSystemIcon() local 252 if (resourceId == -1) { in getSystemIcon() 258 if ((resourceId & 0xff000000) == 0x01000000) { in getSystemIcon() 259 icon.mSystemIconResourceId = resourceId; in getSystemIcon() 261 icon.loadResource(context, context.getResources(), resourceId); in getSystemIcon() 323 public static PointerIcon load(@NonNull Resources resources, @XmlRes int resourceId) { in load() argument 329 icon.loadResource(null, resources, resourceId); in load() 459 private void loadResource(Context context, Resources resources, @XmlRes int resourceId) { in loadResource() argument 460 final XmlResourceParser parser = resources.getXml(resourceId); in loadResource()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
D | GraphReader.java | 41 public FilterGraph readGraphResource(Context context, int resourceId) throws GraphIOException { in readGraphResource() argument 42 InputStream inputStream = context.getResources().openRawResource(resourceId); in readGraphResource()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataServiceManager.java | 444 int resourceId; in getDataServicePackageName() local 449 resourceId = com.android.internal.R.string.config_wwan_data_service_package; in getDataServicePackageName() 454 resourceId = com.android.internal.R.string.config_wlan_data_service_package; in getDataServicePackageName() 464 packageName = mPhone.getContext().getResources().getString(resourceId); in getDataServicePackageName() 494 int resourceId; in getDataServiceClassName() local 498 resourceId = com.android.internal.R.string.config_wwan_data_service_class; in getDataServiceClassName() 503 resourceId = com.android.internal.R.string.config_wlan_data_service_class; in getDataServiceClassName() 513 className = mPhone.getContext().getResources().getString(resourceId); in getDataServiceClassName()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/ |
D | ExternalResources.java | 82 Integer resourceId = resourceIds.get(ResName.qualifyResName(name, defPackage, defType)); in getIdentifier() local 83 if (resourceId == null) { in getIdentifier() 86 return resourceId; in getIdentifier()
|
/frameworks/base/tools/processors/view_inspector/test/resources/android/processor/view/inspector/InspectionCompanionGeneratorTest/ |
D | SimpleProperties.java.txt | 72 * Property ID of {@code resourceId}. 93 mResourceIdId = propertyMapper.mapResourceId("resourceId", R.attr.resourceId);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GraphReader.java | 532 public static FilterGraph readXmlGraphResource(MffContext context, int resourceId) in readXmlGraphResource() argument 534 FilterGraph.Builder builder = getBuilderForXmlResource(context, resourceId); in readXmlGraphResource() 550 MffContext context, int resourceId, FilterGraph parentGraph) in readXmlSubGraphResource() argument 552 FilterGraph.Builder builder = getBuilderForXmlResource(context, resourceId); in readXmlSubGraphResource() 565 private static FilterGraph.Builder getBuilderForXmlResource(MffContext context, int resourceId) in getBuilderForXmlResource() argument 568 .openRawResource(resourceId); in getBuilderForXmlResource()
|