/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 253 BasePermission bp = mSettings.getPermissionLocked(perm.name); in PermissionManagerService() local 254 if (bp == null) { in PermissionManagerService() 255 bp = new BasePermission(perm.name, "android", BasePermission.TYPE_BUILTIN); in PermissionManagerService() 256 mSettings.putPermissionLocked(perm.name, bp); in PermissionManagerService() 259 bp.setGids(perm.gids, perm.perUser); in PermissionManagerService() 312 BasePermission bp = mSettings.getPermissionLocked(permName); in checkPermission() local 313 if (bp != null && bp.isInstant()) { in checkPermission() 527 final BasePermission bp = mSettings.getPermissionLocked(permName); in getPermissionInfo() local 528 if (bp == null) { in getPermissionInfo() 532 bp.getProtectionLevel(), packageName, callingUid); in getPermissionInfo() [all …]
|
D | BasePermission.java | 331 static BasePermission createOrUpdate(@Nullable BasePermission bp, @NonNull Permission p, in createOrUpdate() argument 336 if (bp != null && !Objects.equals(bp.sourcePackageName, p.info.packageName)) { in createOrUpdate() 337 final boolean currentOwnerIsSystem = (bp.perm != null in createOrUpdate() 338 && bp.perm.owner.isSystem()); in createOrUpdate() 340 if (bp.type == BasePermission.TYPE_BUILTIN && bp.perm == null) { in createOrUpdate() 342 bp.sourcePackageSetting = pkgSetting; in createOrUpdate() 343 bp.perm = p; in createOrUpdate() 344 bp.uid = pkg.applicationInfo.uid; in createOrUpdate() 345 bp.sourcePackageName = p.info.packageName; in createOrUpdate() 349 + p.info.name + " is system; overriding " + bp.sourcePackageName; in createOrUpdate() [all …]
|
D | PermissionSettings.java | 110 for (BasePermission bp : permissions.values()) { in transferPermissions() 111 bp.transfer(origPackageName, newPackageName); in transferPermissions() 119 final BasePermission bp = mPermissions.get(permName); in canPropagatePermissionToInstantApp() local 120 return (bp != null && (bp.isRuntime() || bp.isDevelopment()) && bp.isInstant()); in canPropagatePermissionToInstantApp() 139 for (BasePermission bp : mPermissions.values()) { in writePermissions() 140 bp.writeLPr(serializer); in writePermissions() 147 for (BasePermission bp : mPermissionTrees.values()) { in writePermissionTrees() 148 bp.writeLPr(serializer); in writePermissionTrees() 177 for (BasePermission bp : mPermissions.values()) { in dumpPermissions() 178 printedSomething = bp.dumpPermissionsLPr(pw, packageName, permissionNames, in dumpPermissions() [all …]
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 340 BinaryPrimitive* bp = test::GetValueForConfigAndProduct<BinaryPrimitive>( in TEST() local 342 ASSERT_THAT(bp, NotNull()); in TEST() 343 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_INT_BOOLEAN)); in TEST() 344 EXPECT_THAT(bp->value.data, Eq(ResourceUtils::TryParseBool("true")->value.data)); in TEST() 346 bp = test::GetValueForConfigAndProduct<BinaryPrimitive>(&new_table, "android:bool/boolean_false", in TEST() 348 ASSERT_THAT(bp, NotNull()); in TEST() 349 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_INT_BOOLEAN)); in TEST() 350 EXPECT_THAT(bp->value.data, Eq(ResourceUtils::TryParseBool("false")->value.data)); in TEST() 352 bp = test::GetValueForConfigAndProduct<BinaryPrimitive>(&new_table, "android:color/color_rgb8", in TEST() 354 ASSERT_THAT(bp, NotNull()); in TEST() [all …]
|
/frameworks/base/media/apex/java/android/media/ |
D | BufferingParams.java | 123 public Builder(BufferingParams bp) { in Builder() argument 124 mInitialMarkMs = bp.mInitialMarkMs; in Builder() 125 mResumePlaybackMarkMs = bp.mResumePlaybackMarkMs; in Builder() 135 BufferingParams bp = new BufferingParams(); in build() local 136 bp.mInitialMarkMs = mInitialMarkMs; in build() 137 bp.mResumePlaybackMarkMs = mResumePlaybackMarkMs; in build() 139 return bp; in build()
|
/frameworks/base/core/java/android/os/ |
D | BinderProxy.java | 154 BinderProxy bp = wr.get(); in get() local 155 if (bp != null) { in get() 156 return bp; in get() 254 BinderProxy bp = weakRef.get(); in getSortedInterfaceCounts() local 256 if (bp == null) { in getSortedInterfaceCounts() 260 key = bp.getInterfaceDescriptor(); in getSortedInterfaceCounts() 261 if ((key == null || key.isEmpty()) && !bp.isBinderAlive()) { in getSortedInterfaceCounts()
|
/frameworks/native/libs/gui/ |
D | SurfaceControl.cpp | 134 sp<IGraphicBufferProducer> bp; in writeSurfaceToParcel() local 136 bp = control->mGraphicBufferProducer; in writeSurfaceToParcel() 138 return parcel->writeStrongBinder(IInterface::asBinder(bp)); in writeSurfaceToParcel()
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | Android.bp | 18 // - frameworks/native/opengl/libs/Android.bp 19 // - frameworks/native/opengl/tests/EGLTest/Android.bp
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsic3DLUT.cpp | 64 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/av/media/codec2/components/gav1/ |
D | Android.bp | 8 // coordinated with frameworks/av/media/codec2/components/aom/Android.bp
|
/frameworks/av/media/codec2/components/aom/ |
D | Android.bp | 8 // coordinated with frameworks/av/media/codec2/components/gav1/Android.bp
|
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
D | BallsRS.java | 78 Bitmap bp = BitmapFactory.decodeResource(mRes, id, options); in loadTexture() local 80 Allocation.createFromBitmap(mRS, bp, in loadTexture()
|
/frameworks/base/startop/view_compiler/ |
D | README.md | 36 `genrule` named `generate_dex_testcases` in `Android.bp`. These files are then 44 `Android.bp`.
|
/frameworks/base/cmds/incident_helper/ |
D | README.md | 22 If add a new proto file, add it in Android.bp under frameworks/base/ and make incident helper
|
/frameworks/base/tools/aapt2/ |
D | development.md | 4 All build targets can be found in `Android.bp` file. The main ones are `make -j aapt2` and `make -j…
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | Android.bp | 17 // Adapted in part from frameworks/native/opengl/libs/Android.bp
|
/frameworks/ml/nn/driver/cache/ |
D | Android.bp | 17 // cc_defaults adapted in part from frameworks/native/opengl/libs/Android.bp
|
/frameworks/av/media/libeffects/dynamicsproc/dsp/ |
D | DPFrequency.cpp | 91 void ChannelBuffer::computeBinStartStop(BandParams &bp, size_t binStart) { in computeBinStartStop() argument 93 bp.binStart = binStart; in computeBinStartStop() 94 bp.binStop = (int)(0.5 + bp.freqCutoffHz * mBlockSize / mSamplingRate); in computeBinStartStop()
|
D | DPFrequency.h | 104 void computeBinStartStop(BandParams &bp, size_t binStart);
|
/frameworks/base/native/graphics/jni/ |
D | Android.bp | 43 // The headers module is in frameworks/native/Android.bp.
|
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/64/jni/ |
D | Android.bp | 17 // This Android.bp supplies the rules for building a library of JNI code for
|
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/dual/jni/ |
D | Android.bp | 17 // This Android.bp supplies the rules for building a library of JNI code for
|
/frameworks/ex/framesequence/jni/ |
D | Android.bp | 21 // NOTE: the following code when dropped during the Android.mk->Android.bp
|
/frameworks/rs/ |
D | rsMesh.cpp | 232 const uint8_t *bp = (const uint8_t *)rsc->mHal.funcs.allocation.lock1D( in computeBBox() local 234 posPtr = (float*)(bp + offset); in computeBBox()
|
/frameworks/native/vulkan/libvulkan/ |
D | Android.bp | 15 // Headers module is in external/vulkan-headers/Android.bp.
|