Home
last modified time | relevance | path

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

12345678910>>...27

/cts/tests/tests/text/src/android/text/cts/
DAutoTextTest.java62 CharSequence src; in testGet() local
68 src = "can"; in testGet()
69 actual = AutoText.get(src, 0, src.length(), view); in testGet()
74 src = "acn"; in testGet()
75 actual = AutoText.get(src, 0, src.length(), view); in testGet()
83 src = "acn"; in testGet()
84 actual = AutoText.get(src, 0, src.length() + 1, view); in testGet()
91 src = "acn"; in testGet()
92 actual = AutoText.get(src, 0, src.length() - 1, view); in testGet()
97 src = "acnh"; in testGet()
[all …]
DAndroidCharacterTest.java42 char[] src = new char[128]; in testGetDirectionalities() local
43 for (int i = 0; i < src.length; i++) { in testGetDirectionalities()
44 src[i] = (char) i; in testGetDirectionalities()
48 AndroidCharacter.getDirectionalities(src, dest, count); in testGetDirectionalities()
90 char[] src = { in testGetEastAsianWidths() local
97 AndroidCharacter.getEastAsianWidths(src, start, count, dest); in testGetEastAsianWidths()
103 AndroidCharacter.getEastAsianWidths(src, 24, 8, dest); in testGetEastAsianWidths()
109 AndroidCharacter.getEastAsianWidths(src, -1024, 1, dest); in testGetEastAsianWidths()
115 AndroidCharacter.getEastAsianWidths(src, 0, -1, dest); in testGetEastAsianWidths()
134 char[] src = new char[64]; in testMirror() local
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java237 ImageDecoder.Source src = null; in testUris() local
240 src = ImageDecoder.createSource(mContentResolver, uri); in testUris()
242 assertNotNull("failed to create Source for " + fullName, src); in testUris()
244 Drawable d = ImageDecoder.decodeDrawable(src, (decoder, info, s) -> { in testUris()
268 ImageDecoder.Source src = f.apply(record.resId); in testInfo() local
269 assertNotNull(src); in testInfo()
271 ImageDecoder.decodeDrawable(src, (decoder, info, s) -> { in testInfo()
288 ImageDecoder.Source src = f.apply(record.resId); in testDecodeDrawable() local
289 assertNotNull(src); in testDecodeDrawable()
292 Drawable drawable = ImageDecoder.decodeDrawable(src); in testDecodeDrawable()
[all …]
DMatrixTest.java355 float[] src = new float[9]; in testSetPolyToPoly() local
356 src[0] = 100f; in testSetPolyToPoly()
360 assertTrue(mMatrix.setPolyToPoly(src, 0, dst, 0, 1)); in testSetPolyToPoly()
363 mMatrix.setPolyToPoly(src, 0, dst, 0, 5); in testSetPolyToPoly()
386 float[] src = new float[9]; in testMapPoints2() local
387 src[0] = 200f; in testMapPoints2()
388 mMatrix.mapPoints(dst, src); in testMapPoints2()
401 float[] src = new float[9]; in testMapPointsWithIndices() local
402 src[0] = 200f; in testMapPointsWithIndices()
403 mMatrix.mapPoints(dst, 0, src, 0, 9 >> 1); in testMapPointsWithIndices()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationTest.java300 float src[], dst[]; in helperFloatCopy() local
301 src = new float[nElems]; in helperFloatCopy()
304 src[i] = (float)i; in helperFloatCopy()
309 case 0: A.copyFrom(src); break; in helperFloatCopy()
310 case 1: A.copyFromUnchecked(src); break; in helperFloatCopy()
311 case 2: A.copy1DRangeFrom(offset, count, src); break; in helperFloatCopy()
312 case 3: A.copy1DRangeFromUnchecked(offset, count, src); break; in helperFloatCopy()
317 assertEquals(dst[offset + i], src[i]); in helperFloatCopy()
326 byte src[], dst[]; in helperByteCopy()
327 src = new byte[nElems]; in helperByteCopy()
[all …]
DImageProcessingTest.java117 Allocation src = creatAllocation(w, h); in testBlend() local
127 src.copyFromUnchecked(srcData); in testBlend()
132 mBlend.forEachSrc(src, dst); in testBlend()
135 mBlend.forEachDst(src, dst); in testBlend()
138 mBlend.forEachSrcOver(src, dst); in testBlend()
141 mBlend.forEachDstOver(src, dst); in testBlend()
144 mBlend.forEachSrcIn(src, dst); in testBlend()
147 mBlend.forEachDstIn(src, dst); in testBlend()
150 mBlend.forEachSrcOut(src, dst); in testBlend()
153 mBlend.forEachDstOut(src, dst); in testBlend()
[all …]
/cts/tests/tests/telecom/
DAndroid.bp18 "src/android/telecom/cts/carmodetestapp/CtsCarModeInCallService.java",
19 "src/android/telecom/cts/carmodetestapp/CtsCarModeInCallServiceControl.java",
21 path: "src/",
47 "src/**/*.java",
59 "src/android/telecom/cts/SelfManagedConnection.java",
60 "src/android/telecom/cts/CtsSelfManagedConnectionService.java",
61 "src/android/telecom/cts/TestUtils.java",
84 "src/android/telecom/cts/MockInCallService.java",
85 "src/android/telecom/cts/MockVideoCallCallback.java",
86 "src/android/telecom/cts/MockVideoProvider.java",
[all …]
/cts/hostsidetests/stagedinstall/
DAndroid.bp19 srcs: ["src/**/*.java"],
43 srcs: ["app/src/**/*.java"],
80 srcs: ["testdata/apk/src/**/*java"],
87 src: "testdata/apex/com.android.apex.cts.shim.v2_signed_bob.apex",
94 src: "testdata/apex/com.android.apex.cts.shim.v2_signed_bob_rot.apex",
101 src: "testdata/apex/com.android.apex.cts.shim.v2_signed_bob_rot_rollback.apex",
108 src: "testdata/apex/com.android.apex.cts.shim.v3_signed_bob.apex",
115 src: "testdata/apex/com.android.apex.cts.shim.v3_signed_bob_rot.apex",
122 src: "testdata/apex/com.android.apex.cts.shim.v1.apex",
129 src: "testdata/apex/com.android.apex.cts.shim.v2.apex",
[all …]
/cts/tools/vm-tests-tf/
DAndroid.bp18 srcs: [ "src/dot/**/*.java" ],
28 "build/src/util/build/BuildCTSHostSources.java",
29 "build/src/util/build/BuildCTSMainsSources.java",
30 "build/src/util/build/BuildUtilBase.java",
31 "build/src/util/build/FileUtil.java",
32 "build/src/util/build/JUnitTestCollector.java",
65 srcs: ["src/dot/**/*.dfh"],
76 cmd: "mkdir $(genDir)/src"
77 + " && $(location vmtests-buildutil) util.build.BuildCTSMainsSources $(genDir)/src "
78 + " && $(location soong_zip) -jar -o $(out) -C $(genDir)/src -D $(genDir)/src",
/cts/libs/install/
DAndroid.bp20 srcs: ["testapp/src/**/*.java"],
28 srcs: ["testapp/src/**/*.java"],
36 srcs: ["testapp/src/**/*.java"],
44 srcs: ["testapp/src/**/*.java"],
52 srcs: ["testapp/src/**/*.java"],
60 srcs: ["testapp/src/**/*.java"],
68 srcs: ["testapp/src/**/*.java"],
76 srcs: ["testapp/src/**/*.java"],
85 srcs: ["testapp/src/**/*.java"],
92 srcs: ["src/**/*.java"],
/cts/tests/camera/
DAndroid.mk26 $(call all-java-files-under, utils/src) \
27 $(call all-renderscript-files-under, utils/src)
53 src/android/hardware/camera2/cts/testcases/Camera2AndroidTestCase.java \
54 src/android/hardware/camera2/cts/PerformanceTest.java \
55 src/android/hardware/cts/CameraTestCase.java \
56 src/android/hardware/cts/LegacyCameraPerformanceTest.java
89 $(call all-java-files-under, src) \
90 $(call all-renderscript-files-under, src)
/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/telephony/current/
DAndroid.bp18 "src/android/telephony/ims/cts/TestImsService.java",
19 "src/android/telephony/ims/cts/TestRcsFeature.java",
20 "src/android/telephony/ims/cts/TestMmTelFeature.java",
21 "src/android/telephony/ims/cts/TestImsSmsImpl.java",
22 "src/android/telephony/ims/cts/TestImsConfig.java",
23 "src/android/telephony/ims/cts/ImsUtils.java",
25 path: "src/",
47 "src/**/*.java",
/cts/tests/tests/os/
DAndroid.bp34 "src/**/*.java",
35 "src/android/os/cts/IParcelFileDescriptorPeer.aidl",
36 "src/android/os/cts/IEmptyService.aidl",
37 "src/android/os/cts/ISeccompIsolatedService.aidl",
38 "src/android/os/cts/ISecondary.aidl",
39 "src/android/os/cts/ISharedMemoryService.aidl",
40 "src/android/os/cts/IParcelExceptionService.aidl",
/cts/tests/tests/shortcutmanager/
DAndroid.bp25 srcs: ["src/**/*.java"],
40 srcs: ["packages/src/**/*.java"],
61 srcs: ["packages/src/**/*.java"],
82 srcs: ["packages/src/**/*.java"],
102 srcs: ["packages/src/**/*.java"],
122 srcs: ["packages/src/**/*.java"],
144 srcs: ["packages/src/**/*.java"],
166 srcs: ["packages/src/**/*.java"],
187 srcs: ["packages/src/**/*.java"],
213 srcs: ["throttling/src/**/*.java"],
[all …]
/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp324 NativeImage *src = getNativeImage(env, source); in Java_android_media_cts_CodecUtils_copyFlexYUVImage() local
325 if (tgt != NULL && src != NULL) { in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
334 src->width, src->height, in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
335 src->crop.left, src->crop.top, src->crop.right, src->crop.bottom, in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
336 src->plane[0].cropWidth, src->plane[0].cropHeight, in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
337 src->plane[0].rowInc, src->plane[0].colInc, in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
338 src->plane[1].rowInc, src->plane[1].colInc, in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
339 src->plane[2].rowInc, src->plane[2].colInc); in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
345 const uint8_t *srcRow = (src->plane[ix].buffer + src->plane[ix].cropOffs in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
346 + src->plane[ix].rowInc * (y % src->plane[ix].cropHeight)); in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
[all …]
/cts/hostsidetests/appsecurity/test-apps/
DAndroid.bp29 "UsePermissionApp23/src/com/android/cts/usepermission/UsePermissionTest23.java",
60 "UsePermissionApp26/src/**/*.java",
91 "UsePermissionApp28/src/**/*.java",
124 "UsePermissionApp29/src/**/*.java",
150 "UsePermissionApp22/src/**/*.java",
180 "UsePermissionApp26/src/**/*.java",
181 "UsePermissionApp29/src/**/*.java",
182 "UsePermissionApp23/src/com/android/cts/usepermission/BasePermissionActivity.java",
183 "UsePermissionApp23/src/com/android/cts/usepermission/BasePermissionsTest.java",
/cts/tests/app/app/
DAndroid.bp33 "src/**/*.java",
34 "src/android/app/stubs/ISecondary.aidl",
63 "src/**/*.java",
64 "src/android/app/stubs/ISecondary.aidl",
96 "src/**/*.java",
97 "src/android/app/stubs/ISecondary.aidl",
129 "src/**/*.java",
130 "src/android/app/stubs/ISecondary.aidl",
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/
DAndroid.bp25 "src/**/*.java",
26 "src/**/I*.aidl",
29 local_include_dirs: ["src"],
54 "src/**/*.java",
55 "src/**/I*.aidl",
58 local_include_dirs: ["src"],
/cts/hostsidetests/appbinding/app/
DAndroid.bp44 srcs: ["src/**/*.java"],
59 srcs: ["src/**/*.java"],
74 srcs: ["src/**/*.java"],
89 srcs: ["src/**/*.java"],
103 srcs: ["src/**/*.java"],
118 srcs: ["src/**/*.java"],
132 srcs: ["src/**/*.java"],
/cts/hostsidetests/appsecurity/test-apps/UseEmbeddedDexApp/
DAndroid.bp21 srcs: ["src/**/*.java"],
35 srcs: ["src/**/*.java"],
49 srcs: ["src/**/*.java"],
67 srcs: ["feature_split/src/**/*.java"],
81 srcs: ["feature_split/src/**/*.java"],
95 // srcs: ["feature_split/src/**/*.java"],
/cts/tests/tests/net/src/android/net/cts/
DPacketUtils.java79 public IpHeader(int proto, InetAddress src, InetAddress dst, Payload payload) { in IpHeader() argument
81 this.srcAddr = src; in IpHeader()
94 public Ip4Header(int proto, Inet4Address src, Inet4Address dst, Payload payload) { in Ip4Header() argument
95 super(proto, src, dst, payload); in Ip4Header()
163 public Ip6Header(int nextHeader, Inet6Address src, Inet6Address dst, Payload payload) { in Ip6Header() argument
164 super(nextHeader, src, dst, payload); in Ip6Header()
448 int protocol, InetAddress src, InetAddress dst, Payload payload) { in getIpHeader() argument
449 if ((src instanceof Inet6Address) != (dst instanceof Inet6Address)) { in getIpHeader()
453 if (src instanceof Inet6Address) { in getIpHeader()
454 return new Ip6Header(protocol, (Inet6Address) src, (Inet6Address) dst, payload); in getIpHeader()
[all …]
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9539/
Dpoc.cpp81 SharedBuffer src; in thread_func() local
82 src.offset = 0; in thread_func()
83 src.size = 0x1000; in thread_func()
84 src.heapBase = hidl_memory("ashmem", hidl_handle(handle), heap->getSize()); in thread_func()
88 dst.nonsecureMemory = src; in thread_func()
102 ScramblingControl::EVENKEY, subsamples, src, 0, dst, 0, in thread_func()
/cts/tests/tests/appwidget/
DAndroid.bp18 "packages/src/**/*.java",
19 "common/src/**/*.java",
27 "src/**/*.java",
28 "common/src/**/*.java",
/cts/tests/JobSchedulerSharedUid/
DAndroid.bp25 "src/**/*.java",
26 "JobSharedUidTestApp/src/**/*.java",
27 "jobperm/src/**/*.java",
28 "shareduid/src/**/*.java",

12345678910>>...27