Home
last modified time | relevance | path

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

12345678

/cts/tests/tests/mediacujtest/smalltest/
DREADME.md13 The original clip is taken from http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/Fo…
15 The clip is downloaded from above link and resampled according to the test requirements using ffmpe…
21 The original clip is taken from http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/Fo…
23 The clip is downloaded from above link and resampled according to the test requirements using ffmpe…
29 The original clip is taken from http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/Fo…
31 The clip is downloaded from above link and resampled according to the test requirements using ffmpe…
36 The original clip is taken from http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/Fo…
38 The clip is downloaded from above link and resampled according to the test requirements using ffmpe…
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCrossProfileAppsTest.java147 @UserPair(from = INITIAL_USER, to = INITIAL_USER),
148 @UserPair(from = INITIAL_USER, to = ADDITIONAL_USER),
149 @UserPair(from = WORK_PROFILE, to = ADDITIONAL_USER),
150 @UserPair(from = ADDITIONAL_USER, to = WORK_PROFILE)
162 @UserPair(from = WORK_PROFILE, to = INITIAL_USER),
163 @UserPair(from = INITIAL_USER, to = WORK_PROFILE)
174 @UserPair(from = WORK_PROFILE, to = INITIAL_USER),
175 @UserPair(from = INITIAL_USER, to = WORK_PROFILE)
202 @UserPair(from = INITIAL_USER, to = INITIAL_USER),
203 @UserPair(from = INITIAL_USER, to = ADDITIONAL_USER),
[all …]
DCrossProfileIntentFiltersTest.java85 @UserPair(from = UserType.INITIAL_USER, to = UserType.WORK_PROFILE),
86 @UserPair(from = UserType.WORK_PROFILE, to = UserType.INITIAL_USER)})
99 @UserPair(from = UserType.INITIAL_USER, to = UserType.WORK_PROFILE),
100 @UserPair(from = UserType.WORK_PROFILE, to = UserType.INITIAL_USER)})
127 @UserPair(from = UserType.INITIAL_USER, to = UserType.WORK_PROFILE),
128 @UserPair(from = UserType.WORK_PROFILE, to = UserType.INITIAL_USER)})
154 @UserPair(from = UserType.INITIAL_USER, to = UserType.WORK_PROFILE),
155 @UserPair(from = UserType.WORK_PROFILE, to = UserType.INITIAL_USER)})
187 @UserPair(from = UserType.INITIAL_USER, to = UserType.WORK_PROFILE),
188 @UserPair(from = UserType.WORK_PROFILE, to = UserType.INITIAL_USER)})
[all …]
/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/libs/webkit-shared/
DREADME.md26 test suite inherit from `android.webkit.cts.SharedWebViewTest`. This is used to indicate
37 first migrate the test suite from `ActivityInstrumentationTestCase2` to use
55 // This allows SDK methods to invoke APIs from outside the SDK.
69 …have your tests, and a JUnit test suite that JUnit will have to invoke your tests from an activity.
76 …you will only need to follow the last step of the "Invoke from a JUnit test suite" section from th…
102 First convert any direct references to any variable that should come from the shared test
117 **Tip:** You can likely just update your setup method to pull from the test environment for
129 Next you will invoke this shared test from your SDK JUnit test suite. An example of a JUnit
147 There are some things you won't be able to initiate from within the SDK runtime
158 to abstract these APIs away from test authors.
/cts/hostsidetests/dexmetadata/host/
DREADME.md8 1. Build the APK from source.
33 1. Create a binary profile from the text profile.
37 --create-profile-from=res/CtsDexMetadataSplitApp.prof.txt \
52 2. Delete the existing DM file and create the DM file from the binary profile.
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java131 public static StrokeDescription swipe(PointF from, PointF to) { in swipe() argument
132 return swipe(from, to, ViewConfiguration.getTapTimeout()); in swipe()
135 public static StrokeDescription swipe(PointF from, PointF to, long duration) { in swipe() argument
136 return new StrokeDescription(path(from, to), 0, duration); in swipe()
143 public static GestureDescription interruptedSwipe(PointF from, PointF to, long duration) { in interruptedSwipe() argument
146 PointF midpoint = new PointF((from.x + to.x) / 2.0f, (from.y + to.y) / 2.0f); in interruptedSwipe()
147 StrokeDescription swipe1 = new StrokeDescription(path(from, midpoint), 0, duration / 2); in interruptedSwipe()
155 public static StrokeDescription drag(StrokeDescription from, PointF to) { in drag() argument
156 return from.continueStroke( in drag()
157 path(lastPointOf(from), to), in drag()
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DUiDeviceUtils.java80 public static void dragPointer(Point from, Point to, int steps) { in dragPointer() argument
81 if (DEBUG) Log.d(TAG, "dragPointer: from=" + from + " to=" + to + " steps=" + steps); in dragPointer()
82 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/tests/tests/mediaediting/src/android/media/mediaediting/cts/
DTranscodeQualityTest.java119 String from = arg[0].toString(); in prepareParamList() local
122 int lastIndex = from.lastIndexOf('/'); in prepareParamList()
124 from = from.substring(lastIndex + 1); in prepareParamList()
131 String testID = String.format("transcode_%s_To_%s_%dx%d_%dfps_%s_ssim", from, to, in prepareParamList()
DTransformVideoAspectRatio.java137 String from = arg[0].toString(); in prepareParamList() local
139 int lastIndex = from.lastIndexOf('/'); in prepareParamList()
141 from = from.substring(lastIndex + 1); in prepareParamList()
144 String testId = String.format("transform_%s_%dx%d_To_aspectRatio_%f", from, (int) arg[1], in prepareParamList()
/cts/hostsidetests/incrementalinstall/app/dynamicasset/assets/
Ddynamicasset.txt1 "Text from dynamic asset"
/cts/tests/ServiceKillTest/app/src/com/android/cts/servicekilltestapp/
DServiceKillTestService.java412 public final long from; field in ServiceKillTestService.Range
415 public Range(long from, long to) { in Range() argument
416 if (to < from || to < 0 || from < 0) { in Range()
417 throw new IllegalArgumentException("FROM: " + from + " before TO: " + to); in Range()
419 this.from = from; in Range()
424 return timestamp >= from && timestamp <= to; in inRange()
428 return to - from + 1; in getDuration()
433 return String.format("[%d-%d]", from, to); in toString()
/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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/types/
DOptionalBoolean.kt24 fun from(bool: Boolean?) = when(bool) { in from() method
/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.
/cts/tests/tests/content/src/android/content/res/cts/config/activity/
DCreateConfigInflaterContextActivity.kt28 LayoutInflater.from(createConfigurationContext(makeOverrideConfig()))!!
/cts/tests/tests/mediaediting/
DREADME.md13 ## List of tests and helper classes imported from [androidx.media3.transformer](https://github.com/…
46 … MediaPreparer to download zip file mentioned in DynamicConfig.xml and use input clips from sdcard.
47 Added util function to parse width, height and roationDegree from muxed output.
/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/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/
DUserPair.java31 UserType from(); in from() method
/cts/tests/tests/graphics/assets/fonts/security/
Dft45987.ttf.README.txt3 from http://savannah.nongnu.org/bugs/?func=detailitem&item_id=45987 and

12345678