Home
last modified time | relevance | path

Searched refs:resourceType (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DParcelableResource.java88 @NonNull Context context, @AnyRes int resourceId, @ResourceType int resourceType) in ParcelableResource() argument
91 verifyResourceExistsInCallingPackage(context, resourceId, resourceType); in ParcelableResource()
96 this.mResourceType = resourceType; in ParcelableResource()
105 @ResourceType int resourceType) { in ParcelableResource() argument
109 this.mResourceType = resourceType; in ParcelableResource()
113 Context context, @AnyRes int resourceId, @ResourceType int resourceType) in verifyResourceExistsInCallingPackage() argument
115 switch (resourceType) { in verifyResourceExistsInCallingPackage()
134 "Unknown ResourceType: " + resourceType); in verifyResourceExistsInCallingPackage()
309 int resourceType = xmlPullParser.getAttributeInt( in createFromXml() local
313 resourceId, packageName, resourceName, resourceType); in createFromXml()
[all …]
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/illustration/
DIllustration.kt49 val resourceType: ResourceType constant
61 resourceType = model.resourceType, in Illustration()
69 resourceType: ResourceType, in Illustration()
86 when (resourceType) { in Illustration()
/frameworks/base/media/java/android/media/tv/tunerresourcemanager/
DTunerResourceManager.java231 public void storeResourceMap(int resourceType) { in storeResourceMap() argument
233 mService.storeResourceMap(resourceType); in storeResourceMap()
249 public void clearResourceMap(int resourceType) { in clearResourceMap() argument
251 mService.clearResourceMap(resourceType); in clearResourceMap()
266 public void restoreResourceMap(int resourceType) { in restoreResourceMap() argument
268 mService.restoreResourceMap(resourceType); in restoreResourceMap()
485 public boolean transferOwner(int resourceType, int currentOwnerId, int newOwnerId) { in transferOwner() argument
487 return mService.transferOwner(resourceType, currentOwnerId, newOwnerId); in transferOwner()
/frameworks/base/media/java/android/media/tv/tunerresourcemanager/aidl/android/media/tv/tunerresourcemanager/
DITunerResourceManager.aidl233 boolean transferOwner(in int resourceType, in int currentOwnerId, in int newOwnerId); in transferOwner() argument
447 void storeResourceMap(in int resourceType); in storeResourceMap() argument
459 void clearResourceMap(in int resourceType); in clearResourceMap() argument
470 void restoreResourceMap(in int resourceType); in restoreResourceMap() argument
/frameworks/av/services/tuner/
DTunerHelper.cpp108 int TunerHelper::getResourceHandleFromId(int id, int resourceType) { in getResourceHandleFromId() argument
110 return (resourceType & 0x000000ff) << 24 | (id << 16) | (sResourceRequestCount++ & 0xffff); in getResourceHandleFromId()
DTunerHelper.h66 static int getResourceHandleFromId(int id, int resourceType);
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerService.java355 public boolean transferOwner(int resourceType, int currentOwnerId, int newOwnerId) { in transferOwner() argument
367 return transferOwnerInternal(resourceType, currentOwnerId, newOwnerId); in transferOwner()
612 public void storeResourceMap(int resourceType) { in storeResourceMap() argument
615 storeResourceMapInternal(resourceType); in storeResourceMap()
620 public void clearResourceMap(int resourceType) { in clearResourceMap() argument
623 clearResourceMapInternal(resourceType); in clearResourceMap()
628 public void restoreResourceMap(int resourceType) { in restoreResourceMap() argument
631 restoreResourceMapInternal(resourceType); in restoreResourceMap()
820 protected void storeResourceMapInternal(int resourceType) { in storeResourceMapInternal() argument
821 switch (resourceType) { in storeResourceMapInternal()
[all …]
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/page/
DIllustrationPage.kt52 override val resourceType = ResourceType.LOTTIE in buildEntry() constant
65 override val resourceType = ResourceType.IMAGE in buildEntry() constant
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/widget/illustration/
DIllustrationTest.kt51 resourceType = ResourceType.IMAGE, in image_displayed()
74 resourceType = ResourceType.LOTTIE, in empty_lottie_not_displayed()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderDrawable.java77 ResourceType resourceType = drawableResource.getResourceType(); in render() local
78 if (resourceType != ResourceType.DRAWABLE && resourceType != ResourceType.MIPMAP) { in render()
/frameworks/base/packages/SettingsLib/Spa/screenshot/src/com/android/settingslib/spa/screenshot/widget/illustration/
DImageIllustrationScreenshotTest.kt52 override val resourceType = ResourceType.IMAGE in getTestSpecs() constant
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingUtils.java192 final String resourceType = res.getResourceTypeName( in parseKnownActivityEmbeddingCerts() local
194 if (resourceType.equals("array")) { in parseKnownActivityEmbeddingCerts()
/frameworks/base/media/java/android/media/tv/tuner/
DTuner.java2711 private boolean checkResource(int resourceType, ReentrantLock localLock) { in checkResource() argument
2712 switch (resourceType) { in checkResource()
2714 if (mFrontendHandle == null && !requestResource(resourceType, localLock)) { in checkResource()
2720 if (mLnb == null && !requestResource(resourceType, localLock)) { in checkResource()
2726 if (mDemuxHandle == null && !requestResource(resourceType, localLock)) { in checkResource()
2732 if (mFrontendCiCamHandle == null && !requestResource(resourceType, localLock)) { in checkResource()
2749 private boolean requestResource(int resourceType, ReentrantLock localLock) { in requestResource() argument
2763 acquireTRMSLock("requestResource:" + resourceType); in requestResource()
2771 switch (resourceType) { in requestResource()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/scaffold/
DSuwScaffoldPageProvider.kt87 override val resourceType = ResourceType.IMAGE in Page() constant
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedPermissionUtils.java107 final String resourceType = res.getResourceTypeName(knownCertsResource); in parsePermission() local
108 if (resourceType.equals("array")) { in parsePermission()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java844 @Nullable String resourceType, String packageName) { in lookUpResourceId() argument
855 return res.getIdentifier(resourceName, resourceType, packageName); in lookUpResourceId()
/frameworks/base/core/java/android/widget/
DRemoteViews.java2441 int resourceType, int resId) { in ResourceReflectionAction() argument
2443 this.mResourceType = resourceType; in ResourceReflectionAction()
2527 int resourceType, int attrId) { in AttributeReflectionAction() argument
2529 this.mResourceType = resourceType; in AttributeReflectionAction()
/frameworks/opt/setupwizard/tools/docs/
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java22629 private void sendResourceUpdatedBroadcast(int resourceType, List<String> resourceIds) {
22632 intent.putExtra(EXTRA_RESOURCE_TYPE, resourceType);