Home
last modified time | relevance | path

Searched refs:vs (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/net/src/android/net/cts/
DUrlQuerySanitizerTest.java130 ValueSanitizer vs = new IllegalCharacterValueSanitizer(ALL_OK); in testUrlQuerySanitizer() local
131 uqs.registerParameter(NAME, vs); in testUrlQuerySanitizer()
137 uqs.registerParameters(register, vs); in testUrlQuerySanitizer()
143 uqs.setUnregisteredParameterValueSanitizer(vs); in testUrlQuerySanitizer()
144 assertEquals(vs, uqs.getUnregisteredParameterValueSanitizer()); in testUrlQuerySanitizer()
146 vs = UrlQuerySanitizer.getAllIllegal(); in testUrlQuerySanitizer()
147 assertEquals("Joe_User", vs.sanitize("Joe<User")); in testUrlQuerySanitizer()
148 vs = UrlQuerySanitizer.getAllButNulAndAngleBracketsLegal(); in testUrlQuerySanitizer()
149 assertEquals("Joe User", vs.sanitize("Joe<>\0User")); in testUrlQuerySanitizer()
150 vs = UrlQuerySanitizer.getAllButNulLegal(); in testUrlQuerySanitizer()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DIntrinsicBase.java91 int vs = e.getVectorSize(); in makeSource() local
92 if (vs == 3) vs = 4; in makeSource()
94 float f[] = new float[w * h * vs]; in makeSource()
97 for (int v = 0; v < vs; v++) { in makeSource()
98 f[(y * w + x) * vs + v] = r.nextFloat(); in makeSource()
106 byte f[] = new byte[w * h * vs]; in makeSource()
109 for (int v = 0; v < vs; v++) { in makeSource()
110 f[(y * w + x) * vs + v] = (byte)r.nextInt(256); in makeSource()
Dverify.rs212 uint32_t vs = rsElementGetVectorSize(e); \
215 switch(vs) { \
230 switch(vs) { \
245 switch(vs) { \
264 uint32_t vs = rsElementGetVectorSize(e);
268 switch(vs) {
283 switch(vs) {
406 uint32_t vs = rsElementGetVectorSize(e);
410 switch(vs) {
419 switch(vs) {
DGetSetTest.java87 int vs = e.getVectorSize(); in testSetup() local
88 if (vs == 3) { in testSetup()
89 vs = 4; in testSetup()
91 createWalk(vs); in testSetup()
93 Type t1 = Type.createX(mRS, e, gWidth * gHeight * gDepth / vs); in testSetup()
101 Type t2 = Type.createXY(mRS, e, gWidth / vs, gHeight * gDepth); in testSetup()
109 Type t3 = Type.createXYZ(mRS, e, gWidth / vs, gHeight, gDepth); in testSetup()
/cts/tests/tests/rscpp/src/android/cts/rscpp/
Dverify.rs223 uint32_t vs = rsElementGetVectorSize(e); \
226 switch(vs) { \
241 switch(vs) { \
262 uint32_t vs = rsElementGetVectorSize(e);
266 switch(vs) {
281 switch(vs) {
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorManagerStaticTest.java213 float [][] vs = new float[][] {v3, v4, v5}; in testGetQuaternionFromVector() local
228 v = vs[i%3]; in testGetQuaternionFromVector()
359 float [][] vs = new float[][]{v3, v4, v5}; in testGetRotationMatrixFromVector() local
378 v = vs[i%3]; in testGetRotationMatrixFromVector()
/cts/tests/tests/media/res/raw/
Dtestmp3_3.raw1 …OgDX+EHN+yKoWUW9bsUkMip82sWokGfO5AJjsiBY8Yl1PlQ66YxFRuxP5X5utTKrN+c7Np6r9n+vs//O9S2XDM3l9H/3awC004…