Home
last modified time | relevance | path

Searched refs:mResourceId (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/net/
DIpSecManager.java156 private int mResourceId = INVALID_RESOURCE_ID; field in IpSecManager.SecurityParameterIndex
173 mService.releaseSecurityParameterIndex(mResourceId); in close()
181 mResourceId = INVALID_RESOURCE_ID; in close()
224 mResourceId = result.resourceId; in SecurityParameterIndex()
230 if (mResourceId == INVALID_RESOURCE_ID) { in SecurityParameterIndex()
243 return mResourceId; in getResourceId()
252 .append(mResourceId) in toString()
548 private int mResourceId = INVALID_RESOURCE_ID; field in IpSecManager.UdpEncapsulationSocket
568 mResourceId = result.resourceId; in UdpEncapsulationSocket()
600 mService.closeUdpEncapsulationSocket(mResourceId); in close()
[all …]
DIpSecTransform.java95 mResourceId = INVALID_RESOURCE_ID; in IpSecTransform()
140 mResourceId = result.resourceId; in activate()
141 Log.d(TAG, "Added Transform with Id " + mResourceId); in activate()
160 return getConfig().equals(rhs.getConfig()) && mResourceId == rhs.mResourceId; in equals()
174 Log.d(TAG, "Removing Transform with Id " + mResourceId); in close()
177 if (mResourceId == INVALID_RESOURCE_ID) { in close()
183 svc.deleteTransform(mResourceId); in close()
192 mResourceId = INVALID_RESOURCE_ID; in close()
212 private int mResourceId; field in IpSecTransform
249 return mResourceId; in getResourceId()
[all …]
DNattSocketKeepalive.java34 private final int mResourceId; field in NattSocketKeepalive
47 mResourceId = resourceId; in NattSocketKeepalive()
54 mService.startNattKeepaliveWithFd(mNetwork, mPfd.getFileDescriptor(), mResourceId, in startImpl()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/
DResourceEntry.java37 private final int mResourceId; field in ResourceEntry
61 mResourceId = resourceId; in ResourceEntry()
73 return this.mResourceId; in getResourceId()
85 result.putInt(KEY_RESOURCE_ID, mResourceId); in toBundle()
/frameworks/base/core/java/android/security/net/config/
DResourceCertificateSource.java39 private final int mResourceId; field in ResourceCertificateSource
46 mResourceId = resourceId; in ResourceCertificateSource()
60 in = mContext.getResources().openRawResource(mResourceId); in ensureInitialized()
63 throw new RuntimeException("Failed to load trust anchors from id " + mResourceId, in ensureInitialized()
DXmlConfigSource.java37 private final int mResourceId; field in XmlConfigSource
48 mResourceId = resourceId; in XmlConfigSource()
82 try (XmlResourceParser parser = mContext.getResources().getXml(mResourceId)) { in ensureInitialized()
89 + mContext.getResources().getResourceEntryName(mResourceId), e); in ensureInitialized()
388 String packageName = resources.getResourcePackageName(mResourceId); in parseDebugOverridesResource()
389 String entryName = resources.getResourceEntryName(mResourceId); in parseDebugOverridesResource()
/frameworks/base/core/java/android/gesture/
DGestureLibraries.java146 private final int mResourceId; field in GestureLibraries.ResourceGestureLibrary
150 mResourceId = resourceId; in ResourceGestureLibrary()
166 final InputStream in = context.getResources().openRawResource(mResourceId); in load()
172 context.getResources().getResourceName(mResourceId), e); in load()
/frameworks/base/core/java/android/text/style/
DImageSpan.java66 private int mResourceId; field in ImageSpan
223 mResourceId = resourceId; in ImageSpan()
247 drawable = mContext.getDrawable(mResourceId); in getDrawable()
251 Log.e("ImageSpan", "Unable to find resource: " + mResourceId); in getDrawable()
/frameworks/base/services/core/java/com/android/server/infra/
DFrameworkResourcesServiceNameResolver.java52 private final @StringRes int mResourceId; field in FrameworkResourcesServiceNameResolver
88 mResourceId = resourceId; in FrameworkResourcesServiceNameResolver()
101 final String name = mContext.getString(mResourceId); in getDefaultServiceName()
217 pw.print("FrameworkResourcesServiceNamer: resId="); pw.print(mResourceId); in dumpShort()
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/
DFrameSequenceTest.java31 int mResourceId; field in FrameSequenceTest
62 mResourceId = getIntent().getIntExtra("resourceId", R.raw.animated_gif); in onCreate()
102 InputStream is = getResources().openRawResource(mResourceId); in onResume()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java495 protected final int mResourceId; field in IpSecService.OwnedResourceRecord
502 mResourceId = resourceId; in OwnedResourceRecord()
527 .append(mResourceId) in toString()
638 Log.e(TAG, "Failed to delete SA with ID: " + mResourceId, e); in freeUnderlyingResources()
646 getUserRecord().removeTransformRecord(mResourceId); in invalidate()
663 .append(mSpi.mResourceId) in toString()
702 Log.e(TAG, "Failed to delete SPI reservation with ID: " + mResourceId, e); in freeUnderlyingResources()
733 getUserRecord().removeSpiRecord(mResourceId); in invalidate()
865 + mResourceId, e); in freeUnderlyingResources()
910 getUserRecord().removeTunnelInterfaceRecord(mResourceId); in invalidate()
[all …]
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java80 private final int[] mResourceId; field in BridgeTypedArray
94 mResourceId = new int[len]; in BridgeTypedArray()
110 mResourceId[index] = resourceId; in bridgeSetValue()
791 outValue.resourceId = mResourceId[index]; in getValue()
/frameworks/compile/slang/
Dslang_rs_reflection.h75 std::string mResourceId; variable
163 inline const std::string &getResourceId() const { return mResourceId; } in getResourceId()
Dslang_rs_reflection.cpp505 mResourceId(RSSlangReflectUtils::JavaClassNameFromRSFileName( in RSReflectionJava()
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java88 private int mResourceId; field in FontResourcesParser.FontFileResourceEntry
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp73 jfieldID mResourceId; member
207 env->SetIntField(out_typed_value, gTypedValueOffsets.mResourceId, ref); in CopyValue()
1590 gTypedValueOffsets.mResourceId = GetFieldIDOrDie(env, typedValue, "resourceId", "I"); in register_android_content_AssetManager()