Home
last modified time | relevance | path

Searched +defs:p +defs:b (Results 1 – 25 of 36) sorted by relevance

12

/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java81 Parcel p; in testAppendFrom() local
101 Parcel p; in testDataAvail() local
122 Parcel p; in testDataCapacity() local
135 Parcel p; in testSetDataCapacity() local
149 Parcel p; in testDataPosition() local
162 Parcel p; in testSetDataPosition() local
182 Parcel p; in testDataSize() local
196 Parcel p; in testSetDataSize() local
215 Parcel p; in testEnforceInterface() local
261 Parcel p; in testReadValue() local
[all …]
DBundleTest.java81 Parcel p = Parcel.obtain(); in testEmptyStream() local
83 Bundle b = p.readBundle(); in testEmptyStream() local
885 Parcel p = Parcel.obtain(); in testHasFileDescriptor() local
908 Parcel p = Parcel.obtain(); in testBundleLengthNotAlignedByFour() local
919 final Bundle b = new Bundle(); in testBundleLengthNotAlignedByFour() local
958 private static Bundle cloneBundle(Bundle b) { in cloneBundle()
962 private static Bundle cloneBundleViaParcel(Bundle b) { in cloneBundleViaParcel()
963 final Parcel p = Parcel.obtain(); in cloneBundleViaParcel() local
975 private static void assertHasFd(Bundle b) { in assertHasFd()
983 private static void assertNotHaveFd(Bundle b) { in assertNotHaveFd()
/cts/tests/tests/text/src/android/text/style/cts/
DBackgroundColorSpanTest.java37 BackgroundColorSpan b = new BackgroundColorSpan(Color.GREEN); in testConstructor() local
39 final Parcel p = Parcel.obtain(); in testConstructor() local
92 Parcel p = Parcel.obtain(); in testWriteToParcel() local
97 BackgroundColorSpan b = new BackgroundColorSpan(p); in testWriteToParcel() local
108 BackgroundColorSpan b = new BackgroundColorSpan(p); in testWriteToParcel() local
DBulletSpanTest.java135 Parcel p = Parcel.obtain(); in testWriteToParcel() local
140 BulletSpan b = new BulletSpan(p); in testWriteToParcel() local
154 BulletSpan b = new BulletSpan(p); in testWriteToParcel() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DPathDashPathEffectTest.java47 Bitmap b = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); in testPathDashPathEffect() local
52 Paint p = new Paint(); in testPathDashPathEffect() local
55 canvas.drawPath(path(), p); in testPathDashPathEffect() local
81 Path p = new Path(); in path() local
88 Path p = new Path(); in shape() local
DPaint_TextBoundsTest.java73 Paint p = getPaint(); in testSingleChar_1em() local
84 Paint p = getPaint(); in testSingleChar_2em() local
95 Paint p = getPaint(); in testSingleChar_2em_with_lsb() local
106 Paint p = getPaint(); in testSingleChar_1em_with_y1em_origin() local
117 Paint p = getPaint(); in testMultiChar_1em_1em() local
128 Paint p = getPaint(); in testMultiChar_1em_2em() local
139 Paint p = getPaint(); in testMultiChar_3em_2em_with_lsb() local
150 Paint p = getPaint(); in testMultiChar_1em_with_y1em() local
161 Paint p = getPaint(); in testMultiChar_1em_5times() local
163 StringBuilder b = new StringBuilder(); in testMultiChar_1em_5times() local
DPaintFlagsDrawFilterTest.java61 Paint p = new Paint(Paint.UNDERLINE_TEXT_FLAG); in drawText() local
66 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); in drawText() local
DBitmapShaderTest.java50 Paint p = new Paint(); in testBitmapShader() local
59 Bitmap b = Bitmap.createBitmap(NUM_TILES * TILE_WIDTH - TILE_WIDTH / 2, in testBitmapShader() local
DBitmapColorSpaceTest.java93 Bitmap b = Bitmap.createBitmap(32, 32, config, false, requested); in createWithColorSpace() local
106 Bitmap b = Bitmap.createBitmap(32, 32, config, false, requested); in createWithColorSpace() local
122 Bitmap b = Bitmap.createBitmap(32, 32, config, false, requested); in createWithColorSpace() local
220 Bitmap b = BitmapFactory.decodeResource(mResources, R.drawable.robot); in sRGB() local
239 Bitmap b = BitmapFactory.decodeStream(in); in p3() local
261 Bitmap b = BitmapFactory.decodeStream(in); in extendedSRGB() local
284 Bitmap b = BitmapFactory.decodeStream(in); in linearSRGB() local
295 Bitmap b = BitmapFactory.decodeStream(in, null, options); in linearSRGB() local
329 Bitmap b = BitmapFactory.decodeStream(in, null, opts); in reconfigure() local
386 Bitmap b = BitmapFactory.decodeStream(in); in verifyGetPixel() local
[all …]
DBitmapFactoryTest.java140 Bitmap b = BitmapFactory.decodeResource(mRes, R.drawable.start, in testDecodeResource1() local
152 Bitmap b = BitmapFactory.decodeResource(mRes, R.drawable.start); in testDecodeResource2() local
164 Bitmap b = BitmapFactory.decodeResourceStream(mRes, value, is, r, mOpt1); in testDecodeResourceStream() local
174 Bitmap b = BitmapFactory.decodeByteArray(array, 0, array.length, mOpt1); in testDecodeByteArray1() local
186 Bitmap b = BitmapFactory.decodeByteArray(array, 0, array.length); in testDecodeByteArray2() local
197 Bitmap b = BitmapFactory.decodeStream(is, r, mOpt1); in testDecodeStream1() local
209 Bitmap b = BitmapFactory.decodeStream(is); in testDecodeStream2() local
220 Bitmap b = BitmapFactory.decodeStream(is); in testDecodeStream3() local
320 Bitmap b = BitmapFactory.decodeFileDescriptor(input, r, mOpt1); in testDecodeFileDescriptor1() local
333 Bitmap b = BitmapFactory.decodeFileDescriptor(input); in testDecodeFileDescriptor2() local
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java88 float[] p = stroke.getPath().approximate(0.3f); in lastPointOf() local
133 public static float distance(PointF a, PointF b) { in distance()
143 public static PointF add(PointF a, PointF b) { in add()
147 public static PointF diff(PointF a, PointF b) { in diff()
151 public static PointF negate(PointF p) { in negate()
155 public static PointF times(float mult, PointF p) { in times()
159 public static float length(PointF p) { in length()
163 public static PointF ceil(PointF p) { in ceil()
/cts/tests/tests/keystore/src/android/keystore/cts/
DECCurves.java106 BigInteger p, in createNistPCurveSpec()
109 BigInteger b, in createNistPCurveSpec()
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DSamplePointWideGamutVerifier.java46 Point p = mPoints[i]; in verify() local
71 private static boolean floatCompare(float a, float b, float eps) { in floatCompare()
/cts/tests/tests/media/libmediandkjni/
Dmd5_utils.cpp29 md5byte *p; in byteSwap() local
110 md5byte *p = (md5byte *)ctx->in + count; in MD5Final() local
160 /*register*/ UWORD32 a, b, c, d; in MD5Transform() local
/cts/tests/tests/widget/src/android/widget/cts/
DRelativeLayoutTest.java270 RelativeLayout.LayoutParams p = new RelativeLayout.LayoutParams(200, 300); in testGenerateLayoutParams2() local
333 RelativeLayout.LayoutParams p = new RelativeLayout.LayoutParams(0, 0); in testGetRule() local
403 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout()
408 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { in checkLayoutParams()
417 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams()
DTableRowTest.java225 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { in checkLayoutParams()
236 ViewGroup.LayoutParams p) { in generateLayoutParams()
241 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout()
DTableLayoutTest.java636 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { in checkLayoutParams()
647 ViewGroup.LayoutParams p) { in generateLayoutParams()
652 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout()
DGalleryTest.java271 ViewGroup.LayoutParams p = gallery.generateDefaultLayoutParams(); in testGenerateDefaultLayoutParams() local
357 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { in checkLayoutParams()
387 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams()
411 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout()
/cts/tests/tests/slice/src/android/slice/cts/
DSliceProvider.java80 Builder b = new Builder(sliceUri, SPEC); in onBindSlice() local
146 TestParcel p = (TestParcel) obj; in equals() local
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_parcel.cpp42 bool NdkBinderSenseOfEquality(T a, T b) { in NdkBinderSenseOfEquality()
47 const AStatus* b) { in NdkBinderSenseOfEquality()
58 bool NdkBinderSenseOfEquality<AStatus*>(AStatus* a, AStatus* b) { in NdkBinderSenseOfEquality()
372 AParcel* p = AParcel_create(); in TEST_F() local
399 AParcel* p = AParcel_create(); in TEST_F() local
418 AParcel* p = AParcel_create(); in TEST_F() local
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DCanvasTests.java249 Paint p = new Paint(); in testHwBitmapShaderInSwCanvas1() local
262 Paint p = new Paint(); in testHwBitmapShaderInSwCanvas2() local
361 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapAtPointRecycled() local
370 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapSrcDstFloatRecycled() local
379 Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapSrcDstIntRecycled() local
462 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshNegativeWidth() local
471 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshNegativeHeight() local
480 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshNegativeVertOffset() local
489 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshNegativeColorOffset() local
498 final Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, 29, Bitmap.Config.ARGB_8888); in testDrawBitmapMeshTooFewVerts() local
[all …]
/cts/tests/tests/security/src/android/security/cts/
DAmbiguousBundlesTest.java615 Parcel p = Parcel.obtain(); in reparcel() local
655 Parcel p = Parcel.obtain(); in makeStringToInject() local
701 StringBuilder b = new StringBuilder(); in randomString() local
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DSipDelegateManagerTest.java395 PersistableBundle b = new PersistableBundle(); in testIsSupportedWithSipTransportCapable() local
419 PersistableBundle b = new PersistableBundle(); in testIsSupportedWithSipTransportCapableCarrierConfigNotSet() local
441 PersistableBundle b = new PersistableBundle(); in testIsSupportedWithSipTransportCapableOnlyRcs() local
470 PersistableBundle b = new PersistableBundle(); in testIsSupportedWithSipTransportCapableButNotImplemented() local
496 PersistableBundle b = new PersistableBundle(); in testIsSupportedWithSipTransportImplementedButNotCapable() local
521 PersistableBundle b = new PersistableBundle(); in testIsSupportedWithSipTransportNotImplementedNotCapable() local
810 Parcel p = Parcel.obtain(); in testParcelUnparcelDelegateRequest() local
822 Parcel p = Parcel.obtain(); in testParcelUnparcelFeatureTagState() local
843 Parcel p = Parcel.obtain(); in testParcelUnparcelRegistrationState() local
883 Parcel p = Parcel.obtain(); in testParcelUnparcelConfiguration() local
[all …]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DEditorInfoTest.java70 Bundle b = new Bundle(); in testEditorInfo() local
81 Parcel p = Parcel.obtain(); in testEditorInfo() local
117 Parcel p = Parcel.obtain(); in testNullHintLocals() local
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c153 char *p; member
162 u8 *p; member
180 int parser_end(parser_t *p) { in parser_end()
184 void *parser_get(parser_t *p, u32 sz) { in parser_get()
195 u32 parse_u32(parser_t *p) { in parse_u32()
201 buf_t *b = malloc(sizeof(buf_t)); in new_buf_sz() local
217 void *buf_alloc(buf_t *b, u32 s) { in buf_alloc()
227 void buf_u32(buf_t *b, u32 v) { in buf_u32()
228 char *p = buf_alloc(b, sizeof(u32)); in buf_u32() local
232 void buf_u64(buf_t *b, u64 v) { in buf_u64()
[all …]

12