Home
last modified time | relevance | path

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

123

/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp416 BinaryPrimitive* bp = test::GetValueForConfigAndProduct<BinaryPrimitive>( in TEST() local
418 ASSERT_THAT(bp, NotNull()); in TEST()
419 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_INT_BOOLEAN)); in TEST()
420 EXPECT_THAT(bp->value.data, Eq(ResourceUtils::TryParseBool("true")->value.data)); in TEST()
422 bp = test::GetValueForConfigAndProduct<BinaryPrimitive>(&new_table, "android:bool/boolean_false", in TEST()
424 ASSERT_THAT(bp, NotNull()); in TEST()
425 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_INT_BOOLEAN)); in TEST()
426 EXPECT_THAT(bp->value.data, Eq(ResourceUtils::TryParseBool("false")->value.data)); in TEST()
428 bp = test::GetValueForConfigAndProduct<BinaryPrimitive>(&new_table, "android:color/color_rgb8", in TEST()
430 ASSERT_THAT(bp, NotNull()); in TEST()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java466 Permission bp = mRegistry.getPermission(perm.name); in PermissionManagerServiceImpl() local
467 if (bp == null) { in PermissionManagerServiceImpl()
468 bp = new Permission(perm.name, "android", Permission.TYPE_CONFIG); in PermissionManagerServiceImpl()
469 mRegistry.addPermission(bp); in PermissionManagerServiceImpl()
472 bp.setGids(perm.gids, perm.perUser); in PermissionManagerServiceImpl()
580 final Permission bp = mRegistry.getPermission(permName); in getPermissionInfo() local
581 if (bp == null) { in getPermissionInfo()
584 permissionInfo = bp.generatePermissionInfo(flags, targetSdkVersion); in getPermissionInfo()
625 for (Permission bp : mRegistry.getPermissions()) { in queryPermissionsByGroup()
626 if (Objects.equals(bp.getGroup(), groupName)) { in queryPermissionsByGroup()
[all …]
DLegacyPermission.java150 LegacyPermission bp = out.get(name); in read() local
152 if (bp == null || bp.mType != TYPE_CONFIG) { in read()
153 bp = new LegacyPermission(name.intern(), packageName, in read()
156 bp.mPermissionInfo.protectionLevel = readInt(parser, null, "protection", in read()
158 bp.mPermissionInfo.protectionLevel = PermissionInfo.fixProtectionLevel( in read()
159 bp.mPermissionInfo.protectionLevel); in read()
161 bp.mPermissionInfo.icon = readInt(parser, null, "icon", 0); in read()
162 bp.mPermissionInfo.nonLocalizedLabel = parser.getAttributeValue(null, "label"); in read()
164 out.put(bp.mPermissionInfo.name, bp); in read()
DLegacyPermissionSettings.java135 for (LegacyPermission bp : mPermissions.values()) { in writePermissions()
136 bp.write(serializer); in writePermissions()
143 for (LegacyPermission bp : mPermissionTrees.values()) { in writePermissionTrees()
144 bp.write(serializer); in writePermissionTrees()
/frameworks/base/tools/hoststubgen/
DREADME.md18 - More Android specific build files and code are stored in `frameworks/base/Ravenwood.bp`
30 - `annotations-src/` See `Android.bp`.
31 - `helper-framework-buildtime-src/` See `Android.bp`.
32 - `helper-framework-runtime-src/` See `Android.bp`.
33 - `helper-runtime-src/` See `Android.bp`.
/frameworks/base/api/
DOWNERS9 per-file Android.bp = file:platform/build/soong:/OWNERS #{LAST_RESORT_SUGGESTION}
12 per-file Android.bp = aurimas@google.com,emberrose@google.com
/frameworks/base/
DOWNERS31 per-file **.bp,**.mk = hansson@google.com, joeo@google.com, lamontjones@google.com
32 per-file TestProtoLibraries.bp = file:platform/platform_testing:/libraries/health/OWNERS
33 per-file TestProtoLibraries.bp = file:platform/tools/tradefederation:/OWNERS
/frameworks/base/core/java/android/os/
DBinderProxy.java170 BinderProxy bp = wr.get(); in get() local
171 if (bp != null) { in get()
172 return bp; in get()
287 BinderProxy bp = weakRef.get(); in getSortedInterfaceCounts() local
289 if (bp == null) { in getSortedInterfaceCounts()
293 key = bp.getInterfaceDescriptor(); in getSortedInterfaceCounts()
294 if ((key == null || key.isEmpty()) && !bp.isBinderAlive()) { in getSortedInterfaceCounts()
/frameworks/base/services/api/
DOWNERS1 per-file Android.bp = file:platform/build/soong:/OWNERS #{LAST_RESORT_SUGGESTION}
/frameworks/base/services/companion/
DOWNERS3 per-file Android.bp,lint-baseline.xml,OWNERS=file:java/com/android/server/companion/virtual/OWNERS
/frameworks/rs/toolkit/
DLut3d.cpp72 const uchar* bp = mCubeTable; in kernel() local
87 rsdIntrinsic3DLUT_K(out, in, len, bp, stride_y, stride_z, dims.x, dims.y, dims.z); in kernel()
104 const uchar* bp2 = bp + (coord1.x * 4) + (coord1.y * stride_y) + (coord1.z * stride_z); in kernel()
/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/base/data/fonts/
DAndroid.bp87 // converted to Android.bp for now.
88 // After system.img can be generated by Soong, then it can be converted to Android.bp.
/frameworks/native/libs/gui/
DSurfaceControl.cpp130 sp<IGraphicBufferProducer> bp; in writeSurfaceToParcel() local
132 bp = control->getIGraphicBufferProducer(); in writeSurfaceToParcel()
134 return parcel->writeStrongBinder(IInterface::asBinder(bp)); in writeSurfaceToParcel()
/frameworks/base/services/
DOWNERS1 per-file Android.bp = file:platform/build/soong:/OWNERS #{LAST_RESORT_SUGGESTION}
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/
Doverview.md32 …ious targets can be found in the Shell library's [Android.bp](/libs/WindowManager/Shell/Android.bp)
/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/av/media/codec2/components/gav1/
DAndroid.bp17 // coordinated with frameworks/av/media/codec2/components/aom/Android.bp
/frameworks/base/cmds/incident_helper/
DREADME.md22 If add a new proto file, add it in Android.bp under frameworks/base/ and make incident helper
/frameworks/av/media/codec2/components/aom/
DAndroid.bp17 // coordinated with frameworks/av/media/codec2/components/gav1/Android.bp
/frameworks/libs/modules-utils/
DREADME.md12 `Android.bp` files should go alongside the java source files, and should only
/frameworks/base/tools/aapt2/
Ddevelopment.md4 All build targets can be found in `Android.bp` file. The main ones are `make -j aapt2` and `make -j…
/frameworks/av/media/ndk/tests/
DAndroid.bp15 // Headers module is in frameworks/av/Android.bp because modules are not allowed
/frameworks/av/media/libaudiohal/tests/
DAndroid.bp15 // Headers module is in frameworks/av/Android.bp because modules are not allowed
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/64/jni/
DAndroid.bp17 // This Android.bp supplies the rules for building a library of JNI code for

123