Home
last modified time | relevance | path

Searched refs:offsets (Results 1 – 9 of 9) sorted by relevance

/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DOffsetVerification.java115 float[] offsets = Arrays.copyOfRange(event.values, 3, 6); in addSensorEventInternal() local
117 for (float offset : offsets) { in addSensorEventInternal()
/cts/tests/tests/view/src/android/view/cts/
DViewUnbufferedTest.java155 final ReceivedEvent receivedEvent, final int[] offsets) { in compareEvent() argument
157 assertEquals((int) sentEvent.getX(), receivedEvent.mX + offsets[0]); in compareEvent() local
158 assertEquals((int) sentEvent.getY(), receivedEvent.mY + offsets[1]); in compareEvent() local
164 final BlockingQueue<ReceivedEvent> receivedEvents, final int[] offsets) { in compareEvents() argument
170 compareEvent(sentEvent, receivedEvent, offsets); in compareEvents()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8428/
Dpoc.c62 __u64 offsets; /* Ptr to u32 type array, holding offsets member
165 g_op_list.offsets = (__u64)calloc(1, MAX_HANDLE_NUM * 4); in prepare_data()
/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtils.java109 Pair<Integer, Integer> offsets = ancestorOffsets.get(i); in getCombinedBackgroundBitmap() local
111 canvas.translate(offsets.first, offsets.second); in getCombinedBackgroundBitmap()
113 canvas.translate(-offsets.first, -offsets.second); in getCombinedBackgroundBitmap()
/cts/tests/camera/src/android/hardware/camera2/cts/
DSimpleObjectsTest.java128 int[] offsets = { 5, 5, 5, 5 }; in blackLevelPatternConstructionTest() local
129 BlackLevelPattern blackLevelPattern = new BlackLevelPattern(offsets); in blackLevelPatternConstructionTest()
/cts/tests/tests/widget/src/android/widget/cts/
DEditTextTest.java523 private static SparseArray<Point> getScreenCoords(TextView textView, int ... offsets) { in getScreenCoords() argument
524 SparseArray<Point> result = new SparseArray<>(offsets.length); in getScreenCoords()
525 for (int i = 0; i < offsets.length; i++) { in getScreenCoords()
526 result.append(i, getScreenCoords(textView, offsets[i])); in getScreenCoords()
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c326 trd->data.ptr.offsets = troff ? (u64)troff->p : 0; in do_send_txn()
372 binder_size_t *offsets; member
462 t->offsets = (binder_size_t*)tr->data.ptr.offsets; in recv_txn()
1389 tr->data.ptr.offsets = 0; in alloc_txns()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java458 final List<Integer> offsets = new ArrayList<>();
489 offsets.add(Math.abs(pos + SLEEP_TIME - mp.getCurrentPosition()));
492 if (offsets.stream().anyMatch(offset -> offset > recommendedTolerance)) {
494 + offsets + " are above the recommended tolerance of "
498 + offsets + " are under the recommended tolerance of "
/cts/tools/release-parser/proto/
Drelease.proto239 // Class and BSS offsets set in PrepareLayout.