Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/cts/tests/tests/text/src/android/text/cts/
DAutoTextTest.java29 CharSequence src; in testGet() local
43 src = "can"; in testGet()
44 actual = AutoText.get(src, 0, src.length(), view); in testGet()
49 src = "acn"; in testGet()
50 actual = AutoText.get(src, 0, src.length(), view); in testGet()
58 src = "acn"; in testGet()
59 actual = AutoText.get(src, 0, src.length() + 1, view); in testGet()
66 src = "acn"; in testGet()
67 actual = AutoText.get(src, 0, src.length() - 1, view); in testGet()
72 src = "acnh"; in testGet()
[all …]
DAndroidCharacterTest.java29 char[] src = new char[128]; in testGetDirectionalities() local
30 for (int i = 0; i < src.length; i++) { in testGetDirectionalities()
31 src[i] = (char) i; in testGetDirectionalities()
35 AndroidCharacter.getDirectionalities(src, dest, count); in testGetDirectionalities()
75 char[] src = { in testGetEastAsianWidths() local
82 AndroidCharacter.getEastAsianWidths(src, start, count, dest); in testGetEastAsianWidths()
88 AndroidCharacter.getEastAsianWidths(src, 24, 8, dest); in testGetEastAsianWidths()
94 AndroidCharacter.getEastAsianWidths(src, -1024, 1, dest); in testGetEastAsianWidths()
100 AndroidCharacter.getEastAsianWidths(src, 0, -1, dest); in testGetEastAsianWidths()
117 char[] src = new char[64]; in testMirror() local
[all …]
/cts/tests/tests/hardware/
DAndroid.mk30 LOCAL_SRC_FILES := $(call all-java-files-under, src/android/hardware/cts/helpers)
32 src/android/hardware/cts/SensorTestCase.java \
33 src/android/hardware/cts/SingleSensorTests.java \
34 src/android/hardware/cts/SensorIntegrationTests.java \
35 src/android/hardware/cts/SensorBatchingTests.java \
36 src/android/hardware/cts/SensorTest.java \
37 src/android/hardware/cts/SensorManagerStaticTest.java
52 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
/cts/tools/signature-tools/test/signature/converter/
DConvertVisibilityTest.java40 CompilationUnit src = new CompilationUnit("a.A", in testVisibilityMethods1() local
49 IApi api = convert(Visibility.PUBLIC, src); in testVisibilityMethods1()
58 CompilationUnit src = new CompilationUnit("a.A", in testVisibilityMethods2() local
67 IApi api = convert(Visibility.PROTECTED, src); in testVisibilityMethods2()
76 CompilationUnit src = new CompilationUnit("a.A", in testVisibilityMethods3() local
85 IApi api = convert(Visibility.PACKAGE, src); in testVisibilityMethods3()
94 CompilationUnit src = new CompilationUnit("a.A", in testVisibilityMethods4() local
103 IApi api = convert(Visibility.PRIVATE, src); in testVisibilityMethods4()
112 CompilationUnit src = new CompilationUnit("a.X1", in testVisibility1() local
120 IApi api = convert(Visibility.PUBLIC, src); in testVisibility1()
[all …]
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dcode-load.js1498 var src = "var googsalt=" + salt + ";" + BASE_JS +
1500 src = cacheBust(src, "goog");
1501 var result = indirectEval(src);
1521 var src = "var windowmock = {'document':new MockElement(),\
1527 src = cacheBust(src, "jQuery");
1528 var result = indirectEval(src);
/cts/suite/cts/deviceTests/dram/jni/
DMemoryNativeJni.cpp32 char* src = new char[bufferSize]; in Java_com_android_cts_dram_MemoryNative_runMemcpy() local
34 if ((src == NULL) || (dst == NULL)) { in Java_com_android_cts_dram_MemoryNative_runMemcpy()
35 delete[] src; in Java_com_android_cts_dram_MemoryNative_runMemcpy()
40 memset(src, 0, bufferSize); in Java_com_android_cts_dram_MemoryNative_runMemcpy()
44 memcpy(dst, src, bufferSize); in Java_com_android_cts_dram_MemoryNative_runMemcpy()
45 src[bufferSize - 1] = i & 0xff; in Java_com_android_cts_dram_MemoryNative_runMemcpy()
48 delete[] src; in Java_com_android_cts_dram_MemoryNative_runMemcpy()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationTest.java291 float src[], dst[]; in helperFloatCopy() local
292 src = new float[nElems]; in helperFloatCopy()
295 src[i] = (float)i; in helperFloatCopy()
300 case 0: A.copyFrom(src); break; in helperFloatCopy()
301 case 1: A.copyFromUnchecked(src); break; in helperFloatCopy()
302 case 2: A.copy1DRangeFrom(offset, count, src); break; in helperFloatCopy()
303 case 3: A.copy1DRangeFromUnchecked(offset, count, src); break; in helperFloatCopy()
308 assertEquals(dst[offset + i], src[i]); in helperFloatCopy()
315 byte src[], dst[]; in helperByteCopy()
316 src = new byte[nElems]; in helperByteCopy()
[all …]
/cts/tests/tests/os/
DAndroid.mk31 LOCAL_SRC_FILES := $(call all-java-files-under, src) \
32 src/android/os/cts/IParcelFileDescriptorPeer.aidl \
33 src/android/os/cts/IEmptyService.aidl \
34 src/android/os/cts/ISeccompIsolatedService.aidl \
35 src/android/os/cts/ISecondary.aidl
/cts/tools/dex-tools/test/dex/reader/util/
DJavaSource.java30 private String src; field in JavaSource
37 this.src = sourceCode; in JavaSource()
46 return src; in getCharContent()
54 return new ByteArrayInputStream(src.getBytes()); in openInputStream()
/cts/tests/tests/graphics/src/android/graphics/cts/
DMatrixTest.java319 float[] src = new float[9]; in testSetPolyToPoly() local
320 src[0] = 100f; in testSetPolyToPoly()
324 assertTrue(mMatrix.setPolyToPoly(src, 0, dst, 0, 1)); in testSetPolyToPoly()
328 mMatrix.setPolyToPoly(src, 0, dst, 0, 5); in testSetPolyToPoly()
349 float[] src = new float[9]; in testMapPoints2() local
350 src[0] = 200f; in testMapPoints2()
351 mMatrix.mapPoints(dst, src); in testMapPoints2()
363 float[] src = new float[9]; in testMapPoints3() local
364 src[0] = 200f; in testMapPoints3()
365 mMatrix.mapPoints(dst, 0, src, 0, 9 >> 1); in testMapPoints3()
[all …]
/cts/tests/tests/accounts/common/
DAndroid.mk26 $(call all-java-files-under, src) \
27 $(call all-Iaidl-files-under, src)
29 LOCAL_AIDL_INCLUDES += $(LOCAL_PATH)/src
/cts/tests/tests/drm/
DREADME2 "src/android/drm/cts/configs/" according to the specification
5 file under "src/android/drm/cts/configs/" and update
6 "src/android/drm/cts/ConfigFactory.java".
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_allocation.cpp163 T* src = new T[arrLen]; in helperCopy1D() local
167 src[i] = (T)rand(); in helperCopy1D()
172 alloc->copy1DFrom(src); in helperCopy1D()
174 alloc->copy1DRangeFrom(offset, count, src); in helperCopy1D()
179 if (dst[iOffset + i] != src[i]) { in helperCopy1D()
185 delete[] src; in helperCopy1D()
197 float *src, *dst; in helperFloatAllocationCopy1D() local
198 src = new float[cellCount]; in helperFloatAllocationCopy1D()
201 src[i] = (float)rand(); in helperFloatAllocationCopy1D()
206 srcA->copy1DFrom(src); in helperFloatAllocationCopy1D()
[all …]
/cts/tests/tests/media/
DAndroid.mk20 src/android/media/cts/CodecImage.java \
21 src/android/media/cts/CodecUtils.java
46 LOCAL_SRC_FILES := $(call all-java-files-under, src)
/cts/common/util/
DAndroid.mk23 LOCAL_SRC_FILES := $(call all-java-files-under, src)
39 LOCAL_SRC_FILES := $(call all-java-files-under, src)
55 LOCAL_SRC_FILES := $(call all-java-files-under, tests/src)
/cts/apps/CtsVerifier/libs/
Dopencv-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/suite/cts/deviceTests/opengl/jni/graphics/
DMatrix.h22 Matrix(const Matrix& src);
24 bool equals(const Matrix& src);
28 void loadWith(const Matrix& src);
/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp274 NativeImage *src = getNativeImage(env, source); in Java_android_media_cts_CodecUtils_copyFlexYUVImage() local
275 if (tgt != NULL && src != NULL) { in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
284 src->width, src->height, in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
285 src->crop.left, src->crop.top, src->crop.right, src->crop.bottom, in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
286 src->plane[0].cropWidth, src->plane[0].cropHeight, in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
287 src->plane[0].rowInc, src->plane[0].colInc, in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
288 src->plane[1].rowInc, src->plane[1].colInc, in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
289 src->plane[2].rowInc, src->plane[2].colInc); in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
295 const uint8_t *srcRow = (src->plane[ix].buffer + src->plane[ix].cropOffs in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
296 + src->plane[ix].rowInc * (y % src->plane[ix].cropHeight)); in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
[all …]
/cts/tests/tests/uirendering/
DAndroid.mk26 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
/cts/tests/tests/netsecpolicy/usescleartexttraffic-false/
DAndroid.mk27 LOCAL_SRC_FILES := $(call all-java-files-under, src ../src)
/cts/hostsidetests/appsecurity/test-apps/ReadExternalStorageApp/
DAndroid.mk23 LOCAL_SRC_FILES := $(call all-java-files-under, src) \
24 ../ExternalStorageApp/src/com/android/cts/externalstorageapp/CommonExternalStorageTest.java
/cts/tests/tests/netsecpolicy/usescleartexttraffic-unspecified/
DAndroid.mk27 LOCAL_SRC_FILES := $(call all-java-files-under, src ../src)
/cts/hostsidetests/appsecurity/test-apps/MultiUserStorageApp/
DAndroid.mk23 LOCAL_SRC_FILES := $(call all-java-files-under, src) \
24 ../ExternalStorageApp/src/com/android/cts/externalstorageapp/CommonExternalStorageTest.java
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/
DAndroid.mk23 LOCAL_SRC_FILES := $(call all-java-files-under, src) \
24 ../ExternalStorageApp/src/com/android/cts/externalstorageapp/CommonExternalStorageTest.java
/cts/tests/tests/netsecpolicy/usescleartexttraffic-true/
DAndroid.mk27 LOCAL_SRC_FILES := $(call all-java-files-under, src ../src)

12345678910>>...12