/cts/tests/tests/app/src/android/app/cts/ |
D | RemoteActionTest.java | 45 RemoteAction reference = new RemoteAction(icon, title, description, action); in testParcel() local 46 reference.setEnabled(false); in testParcel() 47 reference.setShouldShowIcon(false); in testParcel() 50 reference.writeToParcel(parcel, reference.describeContents()); in testParcel() 70 RemoteAction reference = new RemoteAction(icon, title, description, action); in testClone() local 71 reference.setEnabled(false); in testClone() 72 reference.setShouldShowIcon(false); in testClone() 74 RemoteAction result = reference.clone(); in testClone()
|
/cts/hostsidetests/theme/ |
D | README | 19 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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | DeviceConfigStateManager.java | 79 final AtomicReference<String> reference = new AtomicReference<>(); in get() local 81 -> reference.set(DeviceConfig.getProperty(mNamespace, mKey)), in get() 83 debug("get", "returning %s", reference.get()); in get() 85 return reference.get(); in get()
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
D | ComparisonTask.java | 90 private static boolean checkNeighbors(int x, int y, BufferedImage reference, in checkNeighbors() argument 98 final int p1 = reference.getRGB(i, j); in checkNeighbors() 129 private static boolean compare(BufferedImage reference, BufferedImage generated, in compare() argument 133 if (w != reference.getWidth() || h != reference.getHeight()) { in compare() 141 final int p1 = reference.getRGB(i, j); in compare() 152 if (!checkNeighbors(i, j, reference, generated, threshold)) { in compare()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | LauncherAppsForHiddenProfilesTest.java | 253 private void triggerCallbacks(UserReference reference) { in triggerCallbacks() argument 254 UserHandle profileUser = reference.userHandle(); in triggerCallbacks() 256 instance.activities().any().component().disable(reference); in triggerCallbacks() 349 UserReference reference = createProfile(); in createProfileAndSetupTestState() local 350 reference.start(); in createProfileAndSetupTestState() 351 mTestApp.install(reference); in createProfileAndSetupTestState() 354 startInstallationSession(reference); in createProfileAndSetupTestState() 358 setAppAsDistracting(reference, mTestApp.packageName()); in createProfileAndSetupTestState() 360 return reference; in createProfileAndSetupTestState() 375 private void startInstallationSession(UserReference reference) { in startInstallationSession() argument [all …]
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | PaintTests.kt | 51 private fun createShadowBitmap(drawCall: (Paint, Canvas) -> Unit, reference: Boolean): Bitmap { in <lambda>() 60 if (reference) { in <lambda>() 76 val reference = createShadowBitmap(drawCall, true) in <lambda>() constant 78 val verifier = GoldenImageVerifier(reference, ExactComparer()) in <lambda>()
|
/cts/hostsidetests/dexmetadata/host/ |
D | README.md | 40 --reference-profile-file=/tmp/primary.prof \ 47 Note: `--reference-profile-file` is the output. You can specify a different
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | DexParser.java | 28 import com.android.tools.smali.dexlib2.dexbacked.reference.DexBackedFieldReference; 29 import com.android.tools.smali.dexlib2.dexbacked.reference.DexBackedMethodReference; 30 import com.android.tools.smali.dexlib2.dexbacked.reference.DexBackedTypeReference; 33 import com.android.tools.smali.dexlib2.iface.reference.FieldReference; 34 import com.android.tools.smali.dexlib2.iface.reference.MethodReference;
|
/cts/tests/openglperf2/src/android/opengl2/cts/reference/ |
D | GLReferenceActivity.java | 14 package android.opengl2.cts.reference;
|
D | GLReferenceBenchmark.java | 14 package android.opengl2.cts.reference;
|
D | GLGameActivity.java | 14 package android.opengl2.cts.reference;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapFactoryTest.java | 946 Bitmap reference = BitmapFactory.decodeResource(mRes, id, opts); in decodeConfigs() local 947 assertNotNull(reference); in decodeConfigs() 948 assertEquals(width, reference.getWidth()); in decodeConfigs() 949 assertEquals(height, reference.getHeight()); in decodeConfigs() 950 assertEquals(Config.ARGB_8888, reference.getConfig()); in decodeConfigs() 959 assertTrue(BitmapUtils.compareBitmaps(reference, argb4444)); in decodeConfigs() 972 BitmapUtils.assertBitmapsMse(reference, rgb565.copy(Config.ARGB_8888, false), 30, true, in decodeConfigs() 979 assertEquals(width, reference.getWidth()); in decodeConfigs() 980 assertEquals(height, reference.getHeight()); in decodeConfigs() 986 assertTrue(BitmapUtils.compareBitmaps(reference, grayToARGB(alpha8))); in decodeConfigs() [all …]
|
D | ImageDecoderTest.java | 560 Bitmap reference = BitmapFactory.decodeResource(res, in testSetAllocatorDecodeBitmap() local 562 assertNotNull(reference); in testSetAllocatorDecodeBitmap() 563 assertTrue(BitmapUtils.compareBitmaps(bm, reference)); in testSetAllocatorDecodeBitmap() 2099 Bitmap reference = null; 2120 reference.recycle(); 2121 reference = null; 2135 if (reference == null) { 2136 reference = bm; 2139 BitmapUtils.assertBitmapsMse(bm, reference, mse, true, false);
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | StreamUtils.java | 312 public static int compareStreams(InputStream test, InputStream reference) { in compareStreams() argument 315 BufferedInputStream buffered_reference = new BufferedInputStream(reference); in compareStreams()
|
/cts/tests/location/location_gnss/protos/ |
D | ephemeris.proto | 76 // Mean anomaly at reference time.
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | intrinsic_blur.rscript | 51 // Which is the reference C implementation
|
D | intrinsic_colormatrix.rscript | 20 void reference(rs_matrix4x4 m, float4 add, rs_allocation in, rs_allocation out,
|
/cts/tests/tests/media/extractor/src/android/media/extractor/cts/ |
D | MediaExtractorTest.java | 453 Map<Integer, AudioPresentation> reference, in audioPresentationSetMatchesReference() argument 455 if (reference.size() != actual.size()) { in audioPresentationSetMatchesReference() 457 reference.size() + ", actual: " + actual.size()); in audioPresentationSetMatchesReference() 461 AudioPresentation refAp = reference.get(ap.getPresentationId()); in audioPresentationSetMatchesReference()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecodeAccuracyTestBase.java | 126 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()
|
/cts/hostsidetests/compilation/ |
D | Android.bp | 83 "--reference-profile-file=$(out)",
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioFrequencyVoiceRecognitionActivity.java | 561 double[] reference = new double[points]; 566 mFreqAverageUsbNoise.getData(reference, false); 580 referenceDb[i] = 20 * Math.log10(reference[i]);
|
D | AudioFrequencyUnprocessedActivity.java | 540 double[] reference = new double[points]; in computeResults() local 545 mFreqAverageUsbNoise.getData(reference, false); in computeResults() 559 referenceDb[i] = 20 * Math.log10(reference[i]); in computeResults()
|
/cts/tools/cts-api-coverage/proto/ |
D | cts_report.proto | 53 // A build fingerprint of the reference device. See go/apfe-reference-build
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraManagerTest.java | 1042 Integer reference = props.get(CameraCharacteristics.LENS_POSE_REFERENCE); in checkAutomotiveLensPoseCharacteristics() local 1045 reference); in checkAutomotiveLensPoseCharacteristics() 1047 reference == CameraCharacteristics.LENS_POSE_REFERENCE_AUTOMOTIVE); in checkAutomotiveLensPoseCharacteristics()
|
/cts/tests/tests/text/src/android/text/util/cts/ |
D | LinkifyTest.java | 1060 EqStringMatcher(CharSequence reference) { in EqStringMatcher() argument 1061 mReference = reference.toString(); in EqStringMatcher()
|