Home
last modified time | relevance | path

Searched refs:reference (Results 1 – 19 of 19) sorted by relevance

/cts/tests/tests/app/src/android/app/cts/
DRemoteActionTest.java43 RemoteAction reference = new RemoteAction(icon, title, description, action); in testParcel() local
44 reference.setEnabled(false); in testParcel()
45 reference.setShouldShowIcon(false); in testParcel()
48 reference.writeToParcel(parcel, reference.describeContents()); in testParcel()
67 RemoteAction reference = new RemoteAction(icon, title, description, action); in testClone() local
68 reference.setEnabled(false); in testClone()
69 reference.setShouldShowIcon(false); in testClone()
71 RemoteAction result = reference.clone(); in testClone()
/cts/hostsidetests/theme/
DREADME19 modified. They consist of API-specific sets of reference images representing
22 reference images.
25 modifications to the reference images will invalidate the test results.
30 I. Generating reference images (CTS maintainers only)
33 generate a new set of reference images from an emulator, do the following:
52 5. Use the reference image script to generate the reference images. The script
54 install the resulting reference images in assets/<platform>/<dpi>.zip,
59 You can also generate reference images using a real device. To generate a new set
60 of reference images from a real device, do the following:
66 2. Use the reference image script to generate the reference images:
[all …]
/cts/hostsidetests/theme/src/android/theme/cts/
DComparisonTask.java100 private static boolean compare(BufferedImage reference, BufferedImage generated, in compare() argument
104 if (w != reference.getWidth() || h != reference.getHeight()) { in compare()
113 final int p1 = reference.getRGB(i, j); in compare()
/cts/apps/CameraITS/tests/scene4/
Dtest_multi_camera_alignment.py120 reference = {}
161 reference[i] = True
163 reference[i] = False
189 ref_index = (e for e in reference if e).next()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapFactoryTest.java809 Bitmap reference = BitmapFactory.decodeResource(mRes, id, opts); in decodeConfigs() local
810 assertNotNull(reference); in decodeConfigs()
811 assertEquals(width, reference.getWidth()); in decodeConfigs()
812 assertEquals(height, reference.getHeight()); in decodeConfigs()
813 assertEquals(Config.ARGB_8888, reference.getConfig()); in decodeConfigs()
822 compareBitmaps(reference, argb4444, 0, true, true); in decodeConfigs()
835 compareBitmaps(reference, rgb565.copy(Config.ARGB_8888, false), 30, true, true); in decodeConfigs()
841 assertEquals(width, reference.getWidth()); in decodeConfigs()
842 assertEquals(height, reference.getHeight()); in decodeConfigs()
848 compareBitmaps(reference, grayToARGB(alpha8), 0, true, true); in decodeConfigs()
[all …]
DImageDecoderTest.java399 Bitmap reference = BitmapFactory.decodeResource(mRes, in testSetAllocatorDecodeBitmap() local
401 assertNotNull(reference); in testSetAllocatorDecodeBitmap()
402 BitmapUtils.compareBitmaps(bm, reference); in testSetAllocatorDecodeBitmap()
1812 Bitmap reference = null;
1833 reference = null;
1846 if (reference == null) {
1847 reference = bm;
1849 BitmapUtils.compareBitmaps(bm, reference);
/cts/tests/openglperf2/src/android/opengl2/cts/reference/
DGLReferenceActivity.java14 package android.opengl2.cts.reference;
DGLReferenceBenchmark.java14 package android.opengl2.cts.reference;
DGLGameActivity.java14 package android.opengl2.cts.reference;
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dintrinsic_colormatrix.rs20 void reference(rs_matrix4x4 m, float4 add, rs_allocation in, rs_allocation out,
/cts/tests/tests/location/protos/
Dephemeris.proto76 // Mean anomaly at reference time.
/cts/hostsidetests/api/src/com/android/cts/api/
DDexAnalyzer.java43 import org.jf.dexlib2.dexbacked.reference.DexBackedFieldReference;
44 import org.jf.dexlib2.dexbacked.reference.DexBackedMethodReference;
45 import org.jf.dexlib2.dexbacked.reference.DexBackedTypeReference;
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestBase.java126 public static <T> T checkNotNull(T reference) { in checkNotNull() argument
127 assertNotNull(reference); in checkNotNull()
128 return reference; in checkNotNull()
131 public static <T> T checkNotNull(String msg, T reference) { in checkNotNull() argument
132 assertNotNull(msg, reference); in checkNotNull()
133 return reference; in checkNotNull()
DMediaCodecTest.java2001 private int compareStreams(InputStream test, InputStream reference) { in compareStreams() argument
2004 BufferedInputStream buffered_reference = new BufferedInputStream(reference); in compareStreams()
/cts/tools/cts-api-coverage/proto/
Dcts_report.proto53 // A build fingerprint of the reference device. See go/apfe-reference-build
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencyUnprocessedActivity.java551 double[] reference = new double[points]; in computeResults() local
556 mFreqAverageUsbNoise.getData(reference, false); in computeResults()
570 referenceDb[i] = 20 * Math.log10(reference[i]); in computeResults()
/cts/tests/tests/text/src/android/text/util/cts/
DLinkifyTest.java998 EqStringMatcher(CharSequence reference) { in EqStringMatcher() argument
999 mReference = reference.toString(); in EqStringMatcher()
/cts/tests/libcore/javautilcollections/libs/
Dguava-testlib-20.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...