Home
last modified time | relevance | path

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

/platform_testing/libraries/sts-common-util/host-side/res/ghidra-scripts/
DFunctionOffsetPostScript.java38 BigInteger offset = null; in run() local
46 offset = in run()
56 output.add(offset); in run()
/platform_testing/libraries/motion/compose/tests/src/platform/test/motion/compose/
DDataPointTypesTest.kt33 import platform.test.motion.compose.DataPointTypes.offset
69 assertThat(offset).convertsJsonObject(Offset(x = 1f, y = 2.5f), """{"x":1, "y": 2.5}""") in offset_jsonConversion()
71 assertThat(offset.fromJson("unspecified")).isEqualTo(Offset.Unspecified.asDataPoint()) in offset_jsonConversion()
74 assertThat(offset.fromJson("infinite")).isEqualTo(Offset.Infinite.asDataPoint()) in offset_jsonConversion()
DComposeFeatureCapturesTest.kt20 import androidx.compose.foundation.layout.offset
75 Box(Modifier.offset(x = 10.dp, y = 20.dp)) { in positionInRoot_capturesDataPoint()
76 Box(Modifier.offset(x = 1.dp, y = 2.dp).testTag("box")) in positionInRoot_capturesDataPoint()
DComposeToolkitTest.kt30 import androidx.compose.foundation.layout.offset in <lambda>()
62 import platform.test.motion.compose.DataPointTypes.offset in <lambda>()
84 val offset by in <lambda>() constant
88 Modifier.offset(x = offset) in <lambda>()
286 feature(pointerOffsetKey, offset) in <lambda>()
309 feature(pointerOffsetKey, offset) in <lambda>()
341 feature(pointerOffsetKey, offset) in <lambda>()
/platform_testing/libraries/motion/src/platform/test/motion/view/
DAnimationSampling.kt66 val offset = if (sampleAtStart) 0 else 1 in evenlySampled() constant
75 List(sampleCount) { (1f / divider) * (it + offset) }, in evenlySampled()
/platform_testing/libraries/device-collectors/src/main/java/android/device/stressmodes/
DIOContentionStressTestMode.java108 int offset = 100; in doCopyFile() local
115 bufferInfo.offset = offset; in doCopyFile()
116 bufferInfo.size = extractor.readSampleData(dstBuf, offset); in doCopyFile()
/platform_testing/libraries/audio-test-harness/client-lib/src/main/java/com/android/media/audiotestharness/client/grpc/
DGrpcAudioCaptureStream.java235 public int read(short[] samples, int offset, int len) throws IOException { in read() argument
236 if (offset < 0 || offset > samples.length) { in read()
240 if (len < 0 || len + offset > samples.length) { in read()
275 .get(samples, offset, samplesRead); in read()
/platform_testing/libraries/audio-test-harness/client-lib/src/main/java/com/android/media/audiotestharness/client/core/
DAudioCaptureStream.java44 public abstract int read(short[] samples, int offset, int len) throws IOException; in read() argument
/platform_testing/libraries/motion/compose/src/platform/test/motion/compose/
DDataPointTypes.kt36 fun Offset.asDataPoint() = DataPointTypes.offset.makeDataPoint(this) in Dp()
106 val offset: DataPointType<Offset> = in Dp() constant
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/
DScreenRecorderTest.kt135 override fun read(buffer: ByteArray, offset: Int, readLength: Int): Int { in read()
142 buffer[(offset + i).toInt()] = bytes[(position + i).toInt()] in read()
204 offset: Int, in onSampleCompleted()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/
DAppWindowHasDesktopModeInitialBoundsAtTheEnd.kt41 outBounds.offset( in doEvaluate()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/matchers/
DMSSIMMatcher.kt88 offset: Int, in calculateSSIM()
104 val start: Int = indexFromXAndY(currentWindowX, currentWindowY, stride, offset) in calculateSSIM()
222 private fun indexFromXAndY(x: Int, y: Int, stride: Int, offset: Int): Int { in indexFromXAndY()
223 return x + y * stride + offset in indexFromXAndY()
/platform_testing/libraries/motion/src/platform/test/motion/filmstrip/
DVideoRenderer.kt133 encodedDataBuffer.position(bufferInfo.offset) in <lambda>()
134 encodedDataBuffer.limit(bufferInfo.offset + bufferInfo.size) in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/extractors/
DUtils.kt98 val offset = in interpolateFinishTimestampFromTransition() constant
100 transition.finishTime.elapsedNanos + offset in interpolateFinishTimestampFromTransition()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DReadElf.java236 long offset, in SecHeader() argument
246 this.sh_offset = offset; in SecHeader()
1194 private String readString(long offset) throws IOException { in readString() argument
1196 mFile.seek(offset); in readString()
1197 mFile.readFully(mBuffer, 0, (int) Math.min(mBuffer.length, mFile.length() - offset)); in readString()
1293 int offset = (int) (strOffset & 0xFFFFFFFF); in readDynStr() local
1294 if (mDynStrOffset == 0 || offset < 0 || offset >= mDynStrSize) { in readDynStr()
1298 mDynStrOffset, mDynStrSize, offset)); in readDynStr()
1299 return String.format("%d", offset); in readDynStr()
1301 return readString(mDynStrOffset + offset); in readDynStr()
/platform_testing/libraries/compatibility-common-util/tests/assets/
Darm32_libdl.txt73 Dynamic section at offset 0x1ef0 contains 18 entries:
94 Relocation section '.rel.plt' at offset 0xb84 contains 19 entries:
116 Unwind section '.ARM.exidx' at offset 0xfd0 contains 6 entries:
Darm64_libdl.txt102 Dynamic section at offset 0xfdf0 contains 17 entries:
122 Relocation section '.rela.plt' at offset 0xc08 contains 18 entries:
Dx86app_process64.txt122 Dynamic section at offset 0x4b40 contains 38 entries:
163 Relocation section '.rela.dyn' at offset 0x1130 contains 18 entries:
184 Relocation section '.rela.plt' at offset 0x12e0 contains 60 entries:
Dx86app_process32.txt84 Dynamic section at offset 0x4d98 contains 38 entries:
125 Relocation section '.rel.dyn' at offset 0xea8 contains 17 entries:
145 Relocation section '.rel.plt' at offset 0xf30 contains 63 entries: