/cts/tests/tests/widget/src/android/widget/cts/ |
D | GridLayoutTest.java | 49 abstract int getValue(View v); in getValue() argument 60 int getValue(View v) { 61 return v.getLeft(); 66 int getValue(View v) { 67 return (v.getLeft() + v.getRight()) / 2; 72 int getValue(View v) { 73 return v.getRight(); 78 int getValue(View v) { 79 return v.getWidth(); 87 int getValue(View v) { [all …]
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | CodecTest.java | 74 Log.v(TAG, e.toString()); in printCpuInfo() 81 Log.v(TAG, "getDuration - " + filePath); in getDuration() 87 Log.v(TAG, e.toString()); in getDuration() 90 Log.v(TAG, "Duration " + duration); in getDuration() 92 Log.v(TAG, "release"); in getDuration() 97 Log.v(TAG, "GetCurrentPosition - " + filePath); in getCurrentPosition() 104 Log.v(TAG, "start playback"); in getCurrentPosition() 113 Log.v(TAG, e.toString()); in getCurrentPosition() 118 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); in getCurrentPosition() 127 Log.v(TAG, "seekTo " + filePath); in seekTo() [all …]
|
D | MediaRecorderStressTest.java | 98 Log.v(TAG, "starting looper"); in setUp() 103 Log.v(TAG, "quit looper"); in setUp() 178 Log.v(TAG, "Start preview"); in testStressCamera() 228 Log.v(TAG, "Start preview"); in testStressRecorder() 236 Log.v(TAG, "counter = " + i); in testStressRecorder() 238 Log.v(TAG, filename); in testStressRecorder() 245 Log.v(TAG, "setEncoder"); in testStressRecorder() 248 Log.v(TAG, "setPreview"); in testStressRecorder() 250 Log.v(TAG, "prepare"); in testStressRecorder() 252 Log.v(TAG, "before release"); in testStressRecorder() [all …]
|
/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
D | Vector2D.cpp | 27 Vector2D v(mX, mY); in copy() local 28 return v; in copy() 31 void Vector2D::add(const Vector2D& v) { in add() argument 32 mX += v.mX; in add() 33 mY += v.mY; in add() 36 void Vector2D::sub(const Vector2D& v) { in sub() argument 37 mX -= v.mX; in sub() 38 mY -= v.mY; in sub() 46 float Vector2D::distance(const Vector2D& v) { in distance() argument 47 float dx = mX - v.mX; in distance() [all …]
|
D | Vector2D.h | 23 void add(const Vector2D& v); 24 void sub(const Vector2D& v); 29 float distance(const Vector2D& v);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | GlobalSync.java | 29 protected void setupGlobalSync(RenderScript mRS, ScriptC_global_sync gs, int v) { in setupGlobalSync() argument 41 In[0] = v; in setupGlobalSync() 52 int v = 7; in testKIGlobalSync() local 53 setupGlobalSync(mRS, gs, v); in testKIGlobalSync() 55 gs.invoke_test_read_global(v); in testKIGlobalSync() 73 int v = 9; in testKIStaticGlobalSync() local 74 setupGlobalSync(mRS, gs, v); in testKIStaticGlobalSync() 76 gs.invoke_test_read_static_global(v); in testKIStaticGlobalSync() 94 int v = 7; in testIKGlobalSync() local 95 setupGlobalSync(mRS, gs, v); in testIKGlobalSync() [all …]
|
D | IntrinsicBase.java | 84 for (int v = 0; v < vs; v++) { in makeSource() 85 f[(y * w + x) * vs + v] = r.nextFloat(); in makeSource() 96 for (int v = 0; v < vs; v++) { in makeSource() 97 f[(y * w + x) * vs + v] = (byte)r.nextInt(256); in makeSource()
|
/cts/tests/tests/jni/src/android/jni/cts/ |
D | StaticNonce.java | 56 public static native boolean takeBoolean(boolean v); in takeBoolean() argument 57 public static native boolean takeByte(byte v); in takeByte() argument 58 public static native boolean takeShort(short v); in takeShort() argument 59 public static native boolean takeChar(char v); in takeChar() argument 60 public static native boolean takeInt(int v); in takeInt() argument 61 public static native boolean takeLong(long v); in takeLong() argument 62 public static native boolean takeFloat(float v); in takeFloat() argument 63 public static native boolean takeDouble(double v); in takeDouble() argument 64 public static native boolean takeNull(Object v); in takeNull() argument 65 public static native boolean takeString(String v); in takeString() argument [all …]
|
D | InstanceNonce.java | 55 public native boolean takeBoolean(boolean v); in takeBoolean() argument 56 public native boolean takeByte(byte v); in takeByte() argument 57 public native boolean takeShort(short v); in takeShort() argument 58 public native boolean takeChar(char v); in takeChar() argument 59 public native boolean takeInt(int v); in takeInt() argument 60 public native boolean takeLong(long v); in takeLong() argument 61 public native boolean takeFloat(float v); in takeFloat() argument 62 public native boolean takeDouble(double v); in takeDouble() argument 63 public native boolean takeNull(Object v); in takeNull() argument 64 public native boolean takeString(String v); in takeString() argument [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/ |
D | AutoLockTest.java | 120 Log.v(TAG, String.format("Received USB broadcast with action %s ", action)); 129 Log.v(TAG, "Open accessory 3"); 146 Log.v(TAG, "Usb device detached"); 178 Log.v(TAG, "Setup ready"); in openAccessory() 216 Log.v(TAG, "Creating a new AutoLockTest instance"); in getSingletonTest() 246 Log.v(TAG, "Start to test ADK connection"); in setActivity() 258 Log.v(TAG, "Open acceossory 1"); in setActivity() 268 Log.v(TAG, "Open accessory 2"); in setActivity() 315 Log.v(TAG, "AutoLockTest thread started!"); in run() 319 Log.v(TAG, "Setup not ready, waiting"); in run() [all …]
|
D | ColorCheckerTest.java | 73 Log.v(TAG, "Auto focus possible"); in updateCamera() 84 Log.v(TAG, "Creating a new ColorCheckerTest instance"); in getSingletonTest() 98 Log.v(TAG, "ColorCheckerTest thread started!"); in run() 111 Log.v(TAG, "Start waiting for Image"); in run() 114 Log.v(TAG, "Callback wait fails!"); in run() 122 Log.v(TAG, "Start waiting for Image"); in run() 125 Log.v(TAG, "Callback wait fails!"); in run() 135 Log.v(TAG, "Callback has returned!"); in run() 142 Log.v(TAG, "Autofocus success!"); 146 Log.v(TAG, "Autofocus failed. Please adjust!"); [all …]
|
D | ExposureCompensationTest.java | 61 Log.v(TAG, String.format("Exposure level is from %d to %d", in updateCamera() 75 Log.v(TAG, "Creating a new ExposureCompensationTest instance"); in getSingletonTest() 90 Log.v(TAG, "ExposureCompensationTest thread started!"); in run() 107 Log.v(TAG, String.format("Current exposure level is %d", i)); in run() 115 Log.v(TAG, "Waiting"); in run() 117 Log.v(TAG, "END Waiting"); in run() 124 Log.v(TAG, String.format("Camera exposure level is %d", mCameraExposure)); in run() 131 Log.v(TAG, "Start waiting for Image"); in run() 134 Log.v(TAG, "Callback wait fails!"); in run() 142 Log.v(TAG, "Callback has returned!"); in run() [all …]
|
D | WhiteBalanceTest.java | 109 Log.v(TAG, "Creating a new WhiteBalanceTest instance"); in getSingletonTest() 137 Log.v(TAG, "Waiting for white balance to adjust"); in takePicture() 139 Log.v(TAG, "END Waiting"); in takePicture() 147 Log.v(TAG, "Start waiting for Image"); in takePicture() 150 Log.v(TAG, "Callback wait fails!"); in takePicture() 160 Log.v(TAG, "WhiteBalanceTest thread started!"); in run() 173 Log.v(TAG, "Current white balance is " + mWhiteBalance); in run() 182 Log.v(TAG, "Finished taking picture, ready to process"); in run() 220 Log.v(TAG, String.format("CCT Ref is %d, %d, and CCT is %d", in prepareDebugText() 317 Log.v(TAG, "Shutter pressed down!"); [all …]
|
D | CameraAnalyzerActivity.java | 139 Log.v(TAG, "Set resolution to 640*480"); in onResume() 178 Log.v(TAG, "Waiting for test to finish"); in doInBackground() 181 Log.v(TAG, "test wait fails!"); in doInBackground() 194 Log.v(TAG, "Releasing the cameratests camera"); in openCamera() 248 Log.v(TAG, "Do in Background started!"); in doInBackground() 262 Log.v(TAG, "Do in Background thread returns!"); in doInBackground() 268 Log.v(TAG, "Prepare to get debug output!"); in onProgressUpdate() 307 public void onClick(View v) { 308 Log.v(TAG, "Running new color checker finding tests!"); 321 public void onClick(View v) { [all …]
|
/cts/tests/tests/jni/libjnitest/ |
D | android_jni_cts_InstanceNonce.c | 146 jboolean v) { in InstanceNonce_takeBoolean() argument 147 return v == false; in InstanceNonce_takeBoolean() 151 static jboolean InstanceNonce_takeByte(JNIEnv *env, jobject this, jbyte v) { in InstanceNonce_takeByte() argument 152 return v == -99; in InstanceNonce_takeByte() 156 static jboolean InstanceNonce_takeShort(JNIEnv *env, jobject this, jshort v) { in InstanceNonce_takeShort() argument 157 return v == 19991; in InstanceNonce_takeShort() 161 static jboolean InstanceNonce_takeChar(JNIEnv *env, jobject this, jchar v) { in InstanceNonce_takeChar() argument 162 return v == 999; in InstanceNonce_takeChar() 166 static jboolean InstanceNonce_takeInt(JNIEnv *env, jobject this, jint v) { in InstanceNonce_takeInt() argument 167 return v == -999888777; in InstanceNonce_takeInt() [all …]
|
D | android_jni_cts_StaticNonce.c | 162 jboolean v) { in StaticNonce_takeBoolean() argument 163 return v == true; in StaticNonce_takeBoolean() 167 static jboolean StaticNonce_takeByte(JNIEnv *env, jclass clazz, jbyte v) { in StaticNonce_takeByte() argument 168 return v == -99; in StaticNonce_takeByte() 172 static jboolean StaticNonce_takeShort(JNIEnv *env, jclass clazz, jshort v) { in StaticNonce_takeShort() argument 173 return v == 19991; in StaticNonce_takeShort() 177 static jboolean StaticNonce_takeChar(JNIEnv *env, jclass clazz, jchar v) { in StaticNonce_takeChar() argument 178 return v == 999; in StaticNonce_takeChar() 182 static jboolean StaticNonce_takeInt(JNIEnv *env, jclass clazz, jint v) { in StaticNonce_takeInt() argument 183 return v == -999888777; in StaticNonce_takeInt() [all …]
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | navier-stokes.js | 222 function advect(b, d, d0, u, v, dt) argument 232 var y = j - Hdt0 * v[pos]; 257 function project(u, v, p, div) argument 268 … div[++currentRow] = h * (u[++nextValue] - u[++prevValue] + v[++nextRow] - v[++previousRow]); 288 v[currentPos] -= hScale * (p[++nextRow] - p[++prevRow]); 292 set_bnd(2, v); 295 function dens_step(x, x0, u, v, dt) argument 299 advect(0, x, x0, u, v, dt ); 302 function vel_step(u, v, u0, v0, dt) argument 305 addFields(v, v0, dt ); [all …]
|
D | deltablue.js | 215 function UnaryConstraint(v, strength) { argument 217 this.myOutput = v; 296 function StayConstraint(v, str) { argument 297 StayConstraint.superConstructor.call(this, v, str); 314 function EditConstraint(v, str) { argument 315 EditConstraint.superConstructor.call(this, v, str); 723 var v = todo.removeFirst(); 724 for (var i = 0; i < v.constraints.size(); i++) { 725 var c = v.constraints.at(i); 729 var determining = v.determinedBy; [all …]
|
/cts/tests/src/android/renderscript/cts/ |
D | utils.rs | 8 uchar4 v = (uchar)i; 9 float4 f = rsUnpackColor8888(v); 11 _RS_ASSERT(v.x == res.x); 12 _RS_ASSERT(v.y == res.y); 13 _RS_ASSERT(v.z == res.z); 14 _RS_ASSERT(v.w == res.w);
|
/cts/tests/src/android/app/cts/ |
D | ExpandableListTestActivity.java | 79 final ExpandableListView v = getExpandableListView(); in testCallback() local 82 final View gv = a.getGroupView(0, true, convertView, v); in testCallback() 83 v.setOnCreateContextMenuListener(this); in testCallback() 84 v.createContextMenu(new ContextMenuBuilder(this)); in testCallback() 86 v.expandGroup(i); in testCallback() 87 v.performClick(); in testCallback() 88 v.performLongClick(); in testCallback() 90 v.performItemClick(gv, i, k); in testCallback() 92 v.collapseGroup(i); in testCallback() 118 final ExpandableListView v = getExpandableListView(); in testSelecte() local [all …]
|
/cts/tests/src/android/widget/cts/ |
D | SeekBarStubActivity.java | 38 View v = findViewById(R.id.seekBar); in onCreate() local 39 v.setEnabled(true); in onCreate() 40 v.setFocusable(true); in onCreate() 41 v.setFocusableInTouchMode(true); in onCreate() 42 v.requestFocus(); in onCreate()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | PrimitiveTest.java | 71 final TypedValue v = new TypedValue(); in tryBoolean() local 72 mContext.getResources().getValue(resid, v, true); in tryBoolean() 73 assertEquals(TypedValue.TYPE_INT_BOOLEAN, v.type); in tryBoolean() 74 assertEquals("Expecting boolean value " + expected + " got " + v in tryBoolean() 76 expected, v.data != 0); in tryBoolean() 77 assertEquals("Expecting boolean value " + expected + " got " + v in tryBoolean() 89 final TypedValue v = new TypedValue(); in tryString() local 90 mContext.getResources().getValue(resid, v, true); in tryString() 91 assertEquals(TypedValue.TYPE_STRING, v.type); in tryString() 92 assertEquals("Expecting string value " + expected + " got " + v in tryString() [all …]
|
/cts/tools/dasm/src/dasm/tokens/ |
D | variant_token.java | 26 public variant_token(int term_num, Number v) { in variant_token() argument 28 variant_val = v; in variant_token() 31 public variant_token(int term_num, String v) { in variant_token() argument 33 variant_val = v; in variant_token()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_UsingViewsTest.java | 166 TextView v = new TextView(mActivity); in testSetProperties() local 167 v.setSingleLine(); // otherwise the multiline state interferes with theses tests in testSetProperties() 168 v.setEnabled(false); in testSetProperties() 169 v.setText("Test setDuplicateParentStateEnabled"); in testSetProperties() 171 v.setDuplicateParentStateEnabled(false); in testSetProperties() 172 assertFalse(v.isDuplicateParentStateEnabled()); in testSetProperties() 175 parent.addView(v); in testSetProperties() 177 assertFalse(parent.getDrawableState().length == v.getDrawableState().length); in testSetProperties() 178 parent.removeView(v); in testSetProperties() 180 v.setDuplicateParentStateEnabled(true); in testSetProperties() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/d/ |
D | T_monitor_enter_2.java | 24 public void run(int v) throws InterruptedException { in run() argument 27 flg = v; in run() 30 if(flg != v) { in run()
|