Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 122) sorted by relevance

12345

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DDisplayUtil.java63 public static boolean isModeSwitchSeamless(Display.Mode from, Display.Mode to) { in isModeSwitchSeamless() argument
64 if (from.getModeId() == to.getModeId()) { in isModeSwitchSeamless()
68 if (from.getPhysicalHeight() != to.getPhysicalHeight() in isModeSwitchSeamless()
69 || from.getPhysicalWidth() != to.getPhysicalWidth()) { in isModeSwitchSeamless()
73 for (float alternativeRefreshRate : from.getAlternativeRefreshRates()) { in isModeSwitchSeamless()
/cts/hostsidetests/rollback/app/src/com/android/cts/rollback/host/app/
DHostTestHelper.java122 Rollback.from(TestApp.A2).to(TestApp.A1)); in testApkOnlyStagedRollback_Phase2_RollBack()
130 Rollback.from(TestApp.A2).to(TestApp.A1)); in testApkOnlyStagedRollback_Phase2_RollBack()
151 Rollback.from(TestApp.A2).to(TestApp.A1)); in testApkOnlyStagedRollback_Phase3_Confirm()
185 Rollback.from(TestApp.A2).to(TestApp.A1)); in testApkOnlyMultipleStagedRollback_Phase2_RollBack()
193 Rollback.from(TestApp.A2).to(TestApp.A1)); in testApkOnlyMultipleStagedRollback_Phase2_RollBack()
204 Rollback.from(TestApp.B2).to(TestApp.B1)); in testApkOnlyMultipleStagedRollback_Phase2_RollBack()
212 Rollback.from(TestApp.B2).to(TestApp.B1)); in testApkOnlyMultipleStagedRollback_Phase2_RollBack()
230 Rollback.from(TestApp.A2).to(TestApp.A1)); in testApkOnlyMultipleStagedRollback_Phase3_Confirm()
240 Rollback.from(TestApp.B2).to(TestApp.B1)); in testApkOnlyMultipleStagedRollback_Phase3_Confirm()
273 Rollback.from(TestApp.A2).to(TestApp.A1)); in testApkOnlyMultipleStagedPartialRollback_Phase2_RollBack()
[all …]
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DRollback.java37 private Rollback(TestApp from) { in Rollback() argument
38 mFrom = from.getVersionedPackage(); in Rollback()
49 public static Rollback from(TestApp app) { in from() method in Rollback
57 public static Rollback from(String packageName, long versionCode) { in from() method in Rollback
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteWalTest.java66 private void copyFile(String from, String to) throws Exception { in copyFile() argument
69 try (InputStream in = new FileInputStream(from)) { in copyFile()
80 private void backupFile(String from) throws Exception { in backupFile() argument
81 copyFile(from, from + BACKUP_SUFFIX); in backupFile()
84 private void restoreFile(String from) throws Exception { in restoreFile() argument
85 copyFile(from + BACKUP_SUFFIX, from); in restoreFile()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DUiDeviceUtils.java59 public static void dragPointer(Point from, Point to, int steps) { in dragPointer() argument
60 if (DEBUG) Log.d(TAG, "dragPointer: from=" + from + " to=" + to + " steps=" + steps); in dragPointer()
61 getDevice().drag(from.x, from.y, to.x, to.y, steps); in dragPointer()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2099/
Dpoc.cpp34 static void *(*real_memcpy)(void *to, const void *from, size_t numBytes) = nullptr;
44 void *memcpy(void *to, const void *from, size_t numBytes) { in memcpy() argument
51 return real_memcpy(to, from, numBytes); in memcpy()
/cts/hostsidetests/incrementalinstall/app/dynamicasset/assets/
Ddynamicasset.txt1 "Text from dynamic asset"
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java101 public static StrokeDescription swipe(PointF from, PointF to) { in swipe() argument
102 return swipe(from, to, ViewConfiguration.getTapTimeout()); in swipe()
105 public static StrokeDescription swipe(PointF from, PointF to, long duration) { in swipe() argument
106 return new StrokeDescription(path(from, to), 0, duration); in swipe()
109 public static StrokeDescription drag(StrokeDescription from, PointF to) { in drag() argument
110 return from.continueStroke( in drag()
111 path(lastPointOf(from), to), in drag()
112 endTimeOf(from), ViewConfiguration.getTapTimeout(), true); in drag()
/cts/libs/vogar-expect/
DREADME1 Selected classes taken from http://code.google.com/p/vogar/
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DREADME1 This code is forked from (AndroidStudio Project) <branch>vendor/box/team/audio/AudioLibApp/audiolib
/cts/tests/tests/time/shell_utils/
DAndroid.bp21 // A library for interacting with time-related shell "cmd" commands from host
39 // A library for interacting with time-related shell "cmd" commands from
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayered_filter_f32_helper.rsh29 // Initializes the minimum distance from this pixel to the active pixels on
61 // Filters target layer when processing layers in pass one from the back-most to
70 // Extracts kernel matrix from kernel stack using kernel_info.
90 // bleeding from layers in front of this layer. Doing visibility test in a
114 // Filters target layer when processing layers in pass one from the back-most to
122 // Extracts kernel matrix from kernel stack using kernel_info.
150 // Filters the target layer when processing layers in pass two from the
158 // Extracts kernel matrix from kernel stack using kernel_info.
Dlayered_filter_d1new_helper.rsh48 // Initializes the minimum distance from this pixel to the active pixels on
89 // Initializes the minimum distance from this pixel to the active pixels on
121 // Filters target layer when processing layers in pass one from the back-most to
123 // Use global allocation for filter from back most layer to focus layer
130 // Extracts kernel matrix from kernel stack using kernel_info.
150 // bleeding from layers in front of this layer. Doing visibility test in a
185 // Extracts kernel matrix from kernel stack using kernel_info.
211 // Use global allocation to filter layer from the
218 // Extracts kernel matrix from kernel stack using kernel_info.
/cts/tests/tests/graphics/assets/fonts/security/
Dft45987.ttf.README.txt3 from http://savannah.nongnu.org/bugs/?func=detailitem&item_id=45987 and
/cts/tests/tests/view/src/android/view/cts/
DViewAttributeTest.java73 LayoutInflater inflater = LayoutInflater.from(context); in testGetExplicitStyle()
91 LayoutInflater inflater = LayoutInflater.from(mActivityRule.getActivity()); in testGetAttributeResolutionStack()
108 LayoutInflater inflater = LayoutInflater.from(mActivityRule.getActivity()); in testGetAttributeSourceResourceMap()
/cts/tests/signature/api-check/
Dhiddenapi-filter.csv1 # These APIs were reverted from the blocklist to the non-SDK API list (b/168812851)
37 # This API was moved from blocklist to unsupported list (b/159022482)
/cts/tests/openglperf2/assets/fragment/
Dwater24 // Get normal from bump map.
28 // Get a lighting direction vector from the light to the vertex.
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEventStream.java75 public void skip(@IntRange(from = 0) int length) { in skip()
195 @IntRange(from = 0) int i) { in areEnterExitPairedMessages() argument
208 private static String getWhiteSpaces(@IntRange(from = 0) final int length) { in getWhiteSpaces()
/cts/tests/tests/dynamic_linker/
DREADME.md7 gtests from bionic/tests/, which includes the vast majority of dynamic linker
/cts/tests/tests/icu/resources/android/icu/cts/expectations/
Dicu-known-failures.txt11 …description: "Checks differences in DecimalFormat classes from ICU4J and JDK but on Android java.t…
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale27 been the version made by Rick Richardson by another translation from
44 optimizing compilers should be prevented from removing significant
59 benchmark into something different from what has become known as
68 distributed as widely as possible. (Version 2.1 differs from version
73 format) from the author.
104 compilers should be prevented from moving code out of the measurement
105 loop, or from removing code altogether. Statements that are executed
149 Int_Glob makes the value of Int_Glob possibly dependent from the
154 prevent the division from just cancelling out the multiplication as
161 o In Proc_4, the second assignment has been changed from
[all …]
/cts/tools/cts-tradefed/
DREADME22 Android SDK available from http://developer.android.com
44 Or else if you are working from the Android source tree and have run make cts,
75 Perform these steps to build and run cts-tradefed from the development
/cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/
DRecognitionServiceMicIndicatorTest.java159 private static String getComponentPackageNameFromString(String from) { in getComponentPackageNameFromString() argument
160 ComponentName componentName = from != null ? ComponentName.unflattenFromString(from) : null; in getComponentPackageNameFromString()
/cts/hostsidetests/compilation/assets/
DREADME.txt1 This APK and profile file are generated from CompilationTargetActivity.java and must be
/cts/tests/camera/src/android/hardware/camera2/cts/
Dmeans_yuvx_444_2d_to_1d.rscript26 uint32_t src_x; // x-offset from mInput
27 uint32_t src_y; // y-offset from mInput

12345