Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DBufferingParams.java233 public Builder(BufferingParams bp) { in Builder() argument
234 mInitialBufferingMode = bp.mInitialBufferingMode; in Builder()
235 mRebufferingMode = bp.mRebufferingMode; in Builder()
237 mInitialWatermarkMs = bp.mInitialWatermarkMs; in Builder()
238 mInitialWatermarkKB = bp.mInitialWatermarkKB; in Builder()
240 mRebufferingWatermarkLowMs = bp.mRebufferingWatermarkLowMs; in Builder()
241 mRebufferingWatermarkHighMs = bp.mRebufferingWatermarkHighMs; in Builder()
242 mRebufferingWatermarkLowKB = bp.mRebufferingWatermarkLowKB; in Builder()
243 mRebufferingWatermarkHighKB = bp.mRebufferingWatermarkHighKB; in Builder()
264 BufferingParams bp = new BufferingParams(); in build() local
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java492 BasePermission bp = mPermissions.get(grant.permissionName); in applyPendingPermissionGrantsLPw() local
493 if (bp != null) { in applyPendingPermissionGrantsLPw()
495 perms.grantRuntimePermission(bp, userId); in applyPendingPermissionGrantsLPw()
497 perms.updatePermissionFlags(bp, userId, USER_RUNTIME_GRANT_MASK, grant.grantBits); in applyPendingPermissionGrantsLPw()
672 for (BasePermission bp : permissions.values()) { in transferPermissionsLPw()
673 if (origPkg.equals(bp.sourcePackage)) { in transferPermissionsLPw()
675 "Moving permission " + bp.name in transferPermissionsLPw()
676 + " from pkg " + bp.sourcePackage in transferPermissionsLPw()
678 bp.sourcePackage = newPkg; in transferPermissionsLPw()
679 bp.packageSetting = null; in transferPermissionsLPw()
[all …]
DInstantAppRegistry.java828 BasePermission bp = mService.mSettings.mPermissions.get(grantedPermission); in propagateInstantAppPermissionsIfNeeded() local
829 if (bp != null && (bp.isRuntime() || bp.isDevelopment()) && bp.isInstant()) { in propagateInstantAppPermissionsIfNeeded()
DDefaultPermissionGrantPolicy.java223 BasePermission bp = mService.mSettings.mPermissions.get(permission); in grantRuntimePermissionsForPackageLocked() local
224 if (bp != null && bp.isRuntime()) { in grantRuntimePermissionsForPackageLocked()
/frameworks/native/libs/gui/
DSurfaceControl.cpp233 sp<IGraphicBufferProducer> bp; in writeSurfaceToParcel() local
235 bp = control->mGraphicBufferProducer; in writeSurfaceToParcel()
237 return parcel->writeStrongBinder(IInterface::asBinder(bp)); in writeSurfaceToParcel()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsic3DLUT.cpp64 const uchar *bp = (const uchar *)cp->mLUT->mHal.drvState.lod[0].mallocPtr; in kernel() local
84 bp, stride_y, stride_z, in kernel()
102 const uchar *bp2 = bp + (coord1.x * 4) + (coord1.y * stride_y) + (coord1.z * stride_z); in kernel()
/frameworks/rs/tests/java_api/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/base/media/jni/
Dandroid_media_MediaPlayer.cpp380 BufferingParams bp; in android_media_MediaPlayer_getDefaultBufferingParams() local
381 BufferingSettings &settings = bp.settings; in android_media_MediaPlayer_getDefaultBufferingParams()
387 return bp.asJobject(env, gBufferingParamsFields); in android_media_MediaPlayer_getDefaultBufferingParams()
399 BufferingParams bp; in android_media_MediaPlayer_getBufferingParams() local
400 BufferingSettings &settings = bp.settings; in android_media_MediaPlayer_getBufferingParams()
406 return bp.asJobject(env, gBufferingParamsFields); in android_media_MediaPlayer_getBufferingParams()
422 BufferingParams bp; in android_media_MediaPlayer_setBufferingParams() local
423 bp.fillFromJobject(env, gBufferingParamsFields, params); in android_media_MediaPlayer_setBufferingParams()
424 ALOGV("setBufferingParams:{%s}", bp.settings.toString().string()); in android_media_MediaPlayer_setBufferingParams()
427 env, thiz, mp->setBufferingSettings(bp.settings), in android_media_MediaPlayer_setBufferingParams()
/frameworks/base/media/native/midi/
DAndroid.bp15 // The headers module is in frameworks/media/native/midi/Android.bp.
/frameworks/base/native/graphics/jni/
DAndroid.bp15 // The headers module is in frameworks/native/Android.bp.
/frameworks/av/media/ndk/
DAndroid.bp15 // Headers module is in frameworks/av/Android.bp because modules are not allowed
/frameworks/av/camera/ndk/
DAndroid.bp15 // Headers module is in frameworks/av/Android.bp because modules are not allowed
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp513 sp<GraphicBuffer> bp = graphicBufferForJavaObject(env, graphicBuffer); in nativeAttachAndQueueBuffer() local
514 if (bp == nullptr) { in nativeAttachAndQueueBuffer()
522 err = surface->attachBuffer(bp->getNativeBuffer()); in nativeAttachAndQueueBuffer()
526 err = ((ANativeWindow*)surface)->queueBuffer(surface, bp->getNativeBuffer(), -1); in nativeAttachAndQueueBuffer()
/frameworks/base/native/android/
DAndroid.bp15 // The headers module is in frameworks/native/Android.bp.
/frameworks/native/vulkan/libvulkan/
DAndroid.bp15 // Headers module is in frameworks/native/vulkan/Android.bp.
/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/native/opengl/libs/
DAndroid.bp24 // The headers modules are in frameworks/native/opengl/Android.bp.
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1269 sp<IGraphicBufferProducer> bp = surface->getIGraphicBufferProducer(); in nAllocationGetSurface() local
1271 jobject o = android_view_Surface_createFromIGraphicBufferProducer(_env, bp); in nAllocationGetSurface()