Home
last modified time | relevance | path

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

123

/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp415 BinaryPrimitive* bp = test::GetValueForConfigAndProduct<BinaryPrimitive>( in TEST() local
417 ASSERT_THAT(bp, NotNull()); in TEST()
418 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_INT_BOOLEAN)); in TEST()
419 EXPECT_THAT(bp->value.data, Eq(ResourceUtils::TryParseBool("true")->value.data)); in TEST()
421 bp = test::GetValueForConfigAndProduct<BinaryPrimitive>(&new_table, "android:bool/boolean_false", in TEST()
423 ASSERT_THAT(bp, NotNull()); in TEST()
424 EXPECT_THAT(bp->value.dataType, Eq(android::Res_value::TYPE_INT_BOOLEAN)); in TEST()
425 EXPECT_THAT(bp->value.data, Eq(ResourceUtils::TryParseBool("false")->value.data)); in TEST()
427 bp = test::GetValueForConfigAndProduct<BinaryPrimitive>(&new_table, "android:color/color_rgb8", in TEST()
429 ASSERT_THAT(bp, NotNull()); in TEST()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java455 Permission bp = mRegistry.getPermission(perm.name); in PermissionManagerServiceImpl() local
456 if (bp == null) { in PermissionManagerServiceImpl()
457 bp = new Permission(perm.name, "android", Permission.TYPE_CONFIG); in PermissionManagerServiceImpl()
458 mRegistry.addPermission(bp); in PermissionManagerServiceImpl()
461 bp.setGids(perm.gids, perm.perUser); in PermissionManagerServiceImpl()
575 final Permission bp = mRegistry.getPermission(permName); in getPermissionInfo() local
576 if (bp == null) { in getPermissionInfo()
579 permissionInfo = bp.generatePermissionInfo(flags, targetSdkVersion); in getPermissionInfo()
618 for (Permission bp : mRegistry.getPermissions()) { in queryPermissionsByGroup()
619 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.java139 for (LegacyPermission bp : mPermissions.values()) { in writePermissions()
140 bp.write(serializer); in writePermissions()
147 for (LegacyPermission bp : mPermissionTrees.values()) { in writePermissionTrees()
148 bp.write(serializer); in writePermissionTrees()
/frameworks/base/api/
DOWNERS6 per-file Android.bp = file:platform/build/soong:/OWNERS
9 per-file Android.bp = aurimas@google.com,emberrose@google.com,sjgilbert@google.com
/frameworks/base/
DOWNERS32 per-file *.bp = file:platform/build/soong:/OWNERS #{LAST_RESORT_SUGGESTION}
35 per-file TestProtoLibraries.bp = file:platform/platform_testing:/libraries/health/OWNERS
36 per-file TestProtoLibraries.bp = file:platform/tools/tradefederation:/OWNERS
/frameworks/base/core/java/android/os/
DBinderProxy.java168 BinderProxy bp = wr.get(); in get() local
169 if (bp != null) { in get()
170 return bp; in get()
285 BinderProxy bp = weakRef.get(); in getSortedInterfaceCounts() local
287 if (bp == null) { in getSortedInterfaceCounts()
291 key = bp.getInterfaceDescriptor(); in getSortedInterfaceCounts()
292 if ((key == null || key.isEmpty()) && !bp.isBinderAlive()) { in getSortedInterfaceCounts()
/frameworks/base/services/core/
DOWNERS1 per-file Android.bp = file:platform/build/soong:/OWNERS
/frameworks/base/services/api/
DOWNERS1 per-file Android.bp = file:platform/build/soong:/OWNERS
/frameworks/native/libs/gui/
DSurfaceControl.cpp129 sp<IGraphicBufferProducer> bp; in writeSurfaceToParcel() local
131 bp = control->getIGraphicBufferProducer(); in writeSurfaceToParcel()
133 return parcel->writeStrongBinder(IInterface::asBinder(bp)); in writeSurfaceToParcel()
/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/services/
DOWNERS1 per-file Android.bp = file:platform/build/soong:/OWNERS
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/
Doverview.md32 …ets can be found in the Shell library's [Android.bp](frameworks/base/libs/WindowManager/Shell/Andr…
/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/aom/
DAndroid.bp17 // coordinated with frameworks/av/media/codec2/components/gav1/Android.bp
/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/base/startop/view_compiler/
DREADME.md36 `genrule` named `generate_dex_testcases` in `Android.bp`. These files are then
44 `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/libeffects/dynamicsproc/dsp/
DDPFrequency.cpp91 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()
/frameworks/ex/framesequence/jni/
DAndroid.bp25 // NOTE: the following code when dropped during the Android.mk->Android.bp
/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