Home
last modified time | relevance | path

Searched refs:bp (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java1995 BasePermission bp = mSettings.mPermissions.get(permission); in grantRuntimePermissionsGrantedToDisabledPrivSysPackageParentLPw() local
1996 if (bp == null || !(bp.isRuntime() || bp.isDevelopment())) { in grantRuntimePermissionsGrantedToDisabledPrivSysPackageParentLPw()
2087 final BasePermission bp; in grantRequestedRuntimePermissionsForUser() local
2089 bp = mSettings.mPermissions.get(permission); in grantRequestedRuntimePermissionsForUser()
2091 if (bp != null && (bp.isRuntime() || bp.isDevelopment()) in grantRequestedRuntimePermissionsForUser()
2303 BasePermission bp = mSettings.mPermissions.get(perm.name); in PackageManagerService() local
2304 if (bp == null) { in PackageManagerService()
2305 bp = new BasePermission(perm.name, "android", BasePermission.TYPE_BUILTIN); in PackageManagerService()
2306 mSettings.mPermissions.put(perm.name, bp); in PackageManagerService()
2309 bp.setGids(perm.gids, perm.perUser); in PackageManagerService()
[all …]
DSettings.java486 BasePermission bp = mPermissions.get(grant.permissionName); in applyPendingPermissionGrantsLPw() local
487 if (bp != null) { in applyPendingPermissionGrantsLPw()
489 perms.grantRuntimePermission(bp, userId); in applyPendingPermissionGrantsLPw()
491 perms.updatePermissionFlags(bp, userId, USER_RUNTIME_GRANT_MASK, grant.grantBits); in applyPendingPermissionGrantsLPw()
666 for (BasePermission bp : permissions.values()) { in transferPermissionsLPw()
667 if (origPkg.equals(bp.sourcePackage)) { in transferPermissionsLPw()
669 "Moving permission " + bp.name in transferPermissionsLPw()
670 + " from pkg " + bp.sourcePackage in transferPermissionsLPw()
672 bp.sourcePackage = newPkg; in transferPermissionsLPw()
673 bp.packageSetting = null; in transferPermissionsLPw()
[all …]
DDefaultPermissionGrantPolicy.java184 BasePermission bp = mService.mSettings.mPermissions.get(permission); in grantPermissionsToSysComponentsAndPrivApps() local
185 if (bp != null && bp.isRuntime()) { in grantPermissionsToSysComponentsAndPrivApps()
/frameworks/native/libs/gui/
DSurfaceControl.cpp206 sp<IGraphicBufferProducer> bp; in writeSurfaceToParcel() local
208 bp = control->mGraphicBufferProducer; in writeSurfaceToParcel()
210 return parcel->writeStrongBinder(IInterface::asBinder(bp)); in writeSurfaceToParcel()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsic3DLUT.cpp71 const uchar *bp = (const uchar *)cp->mLUT->mHal.drvState.lod[0].mallocPtr; in kernel() local
91 bp, stride_y, stride_z, in kernel()
109 const uchar *bp2 = bp + (coord1.x * 4) + (coord1.y * stride_y) + (coord1.z * stride_z); in kernel()
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
DBallsRS.java78 Bitmap bp = BitmapFactory.decodeResource(mRes, id, options); in loadTexture() local
80 Allocation.createFromBitmap(mRS, bp, in loadTexture()
/frameworks/rs/
DrsMesh.cpp232 const uint8_t *bp = (const uint8_t *)rsc->mHal.funcs.allocation.lock1D( in computeBBox() local
234 posPtr = (float*)(bp + offset); in computeBBox()
/frameworks/rs/cpp/
DAllocation.cpp506 android::sp<IGraphicBufferProducer> bp = v; in getSurface() local
509 return new Surface(bp, true);; in getSurface()
/frameworks/base/docs/html/guide/webapps/
Dbest-practices.jd107 href="http://www.w3.org/TR/mobile-bp/">Mobile Web Best Practices</a>. For other guidance on
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1257 sp<IGraphicBufferProducer> bp = v; in nAllocationGetSurface() local
1260 jobject o = android_view_Surface_createFromIGraphicBufferProducer(_env, bp); in nAllocationGetSurface()
/frameworks/base/core/res/assets/webkit/
Dhyph_en_US.dic813 4bp