/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | CoreMathVerifier.java | 1098 static public void computeAbs(TestAbs.ArgumentsCharUchar args) { in computeAbs() argument 1099 args.out = (byte)Math.abs(args.inV); in computeAbs() 1102 static public void computeAbs(TestAbs.ArgumentsShortUshort args) { in computeAbs() argument 1103 args.out = (short)Math.abs(args.inV); in computeAbs() 1106 static public void computeAbs(TestAbs.ArgumentsIntUint args) { in computeAbs() argument 1107 args.out = Math.abs(args.inV); in computeAbs() 1110 static public void computeAcos(TestAcos.ArgumentsHalfHalf args, Target t) { in computeAcos() argument 1112 args.out = acos(args.inVDouble, t); in computeAcos() 1115 static public void computeAcos(TestAcos.ArgumentsFloatFloat args, Target t) { in computeAcos() argument 1117 args.out = acos(args.inV, t); in computeAcos() [all …]
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | TtsSpanTest.java | 49 final PersistableBundle args = t.getArgs(); in testGetArgs() local 50 assertEquals(4, args.size()); in testGetArgs() 51 assertEquals("value.one", args.getString("argument.one")); in testGetArgs() 52 assertEquals("value.two", args.getString("argument.two")); in testGetArgs() 53 assertEquals(3, args.getLong("argument.three")); in testGetArgs() 54 assertEquals(4, args.getLong("argument.four")); in testGetArgs() 86 final PersistableBundle args = t.getArgs(); in testWriteAndReadParcel() local 87 assertEquals(4, args.size()); in testWriteAndReadParcel() 88 assertEquals("value.one", args.getString("argument.one")); in testWriteAndReadParcel() 89 assertEquals("value.two", args.getString("argument.two")); in testWriteAndReadParcel() [all …]
|
/cts/tests/tests/jni/libjnitest/ |
D | helper.c | 29 va_list args; in failure() local 32 va_start(args, format); in failure() 33 __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, format, args); in failure() 34 va_end(args); in failure() 36 va_start(args, format); in failure() 37 int count = vasprintf(&result, format, args); in failure() 38 va_end(args); in failure() 49 va_list args; in runJniTests() local 52 va_start(args, env); in runJniTests() 55 const char *name = va_arg(args, const char *); in runJniTests() [all …]
|
D | macroized_tests.c | 64 #define CALL(name, args...) env->name(args) argument 70 #define CALL(name, args...) (*env)->name(env , ## args) argument 187 va_list args; in help_CallBooleanMethod() local 188 va_start(args, ct); in help_CallBooleanMethod() 196 va_end(args); in help_CallBooleanMethod() 212 result = CALL(CallBooleanMethodV, o, method, args); in help_CallBooleanMethod() 227 method, args); in help_CallBooleanMethod() 241 args); in help_CallBooleanMethod() 245 va_end(args); in help_CallBooleanMethod() 250 va_end(args); in help_CallBooleanMethod() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestMad.java | 101 ArgumentsFloatFloatFloatFloat args = new ArgumentsFloatFloatFloatFloat(); in verifyResultsMadFloatFloatFloatFloat() local 102 args.inMultiplicand1 = arrayInMultiplicand1[i]; in verifyResultsMadFloatFloatFloatFloat() 103 args.inMultiplicand2 = arrayInMultiplicand2[i]; in verifyResultsMadFloatFloatFloatFloat() 104 args.inOffset = arrayInOffset[i]; in verifyResultsMadFloatFloatFloatFloat() 107 CoreMathVerifier.computeMad(args, target); in verifyResultsMadFloatFloatFloatFloat() 110 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsMadFloatFloatFloatFloat() 117 appendVariableToMessage(message, args.inMultiplicand1); in verifyResultsMadFloatFloatFloatFloat() 120 appendVariableToMessage(message, args.inMultiplicand2); in verifyResultsMadFloatFloatFloatFloat() 123 appendVariableToMessage(message, args.inOffset); in verifyResultsMadFloatFloatFloatFloat() 126 appendVariableToMessage(message, args.out); in verifyResultsMadFloatFloatFloatFloat() [all …]
|
D | TestFma.java | 101 ArgumentsFloatFloatFloatFloat args = new ArgumentsFloatFloatFloatFloat(); in verifyResultsFmaFloatFloatFloatFloat() local 102 args.inMultiplicand1 = arrayInMultiplicand1[i]; in verifyResultsFmaFloatFloatFloatFloat() 103 args.inMultiplicand2 = arrayInMultiplicand2[i]; in verifyResultsFmaFloatFloatFloatFloat() 104 args.inOffset = arrayInOffset[i]; in verifyResultsFmaFloatFloatFloatFloat() 107 CoreMathVerifier.computeFma(args, target); in verifyResultsFmaFloatFloatFloatFloat() 110 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsFmaFloatFloatFloatFloat() 117 appendVariableToMessage(message, args.inMultiplicand1); in verifyResultsFmaFloatFloatFloatFloat() 120 appendVariableToMessage(message, args.inMultiplicand2); in verifyResultsFmaFloatFloatFloatFloat() 123 appendVariableToMessage(message, args.inOffset); in verifyResultsFmaFloatFloatFloatFloat() 126 appendVariableToMessage(message, args.out); in verifyResultsFmaFloatFloatFloatFloat() [all …]
|
D | TestClamp.java | 102 ArgumentsFloatFloatFloatFloat args = new ArgumentsFloatFloatFloatFloat(); in verifyResultsClampFloatFloatFloatFloat() local 103 args.inValue = arrayInValue[i]; in verifyResultsClampFloatFloatFloatFloat() 104 args.inMinValue = arrayInMinValue[i]; in verifyResultsClampFloatFloatFloatFloat() 105 args.inMaxValue = arrayInMaxValue[i]; in verifyResultsClampFloatFloatFloatFloat() 108 CoreMathVerifier.computeClamp(args, target); in verifyResultsClampFloatFloatFloatFloat() 111 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsClampFloatFloatFloatFloat() 118 appendVariableToMessage(message, args.inValue); in verifyResultsClampFloatFloatFloatFloat() 121 appendVariableToMessage(message, args.inMinValue); in verifyResultsClampFloatFloatFloatFloat() 124 appendVariableToMessage(message, args.inMaxValue); in verifyResultsClampFloatFloatFloatFloat() 127 appendVariableToMessage(message, args.out); in verifyResultsClampFloatFloatFloatFloat() [all …]
|
D | TestMix.java | 101 ArgumentsFloatFloatFloatFloat args = new ArgumentsFloatFloatFloatFloat(); in verifyResultsMixFloatFloatFloatFloat() local 102 args.inStart = arrayInStart[i]; in verifyResultsMixFloatFloatFloatFloat() 103 args.inStop = arrayInStop[i]; in verifyResultsMixFloatFloatFloatFloat() 104 args.inFraction = arrayInFraction[i]; in verifyResultsMixFloatFloatFloatFloat() 107 CoreMathVerifier.computeMix(args, target); in verifyResultsMixFloatFloatFloatFloat() 110 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsMixFloatFloatFloatFloat() 117 appendVariableToMessage(message, args.inStart); in verifyResultsMixFloatFloatFloatFloat() 120 appendVariableToMessage(message, args.inStop); in verifyResultsMixFloatFloatFloatFloat() 123 appendVariableToMessage(message, args.inFraction); in verifyResultsMixFloatFloatFloatFloat() 126 appendVariableToMessage(message, args.out); in verifyResultsMixFloatFloatFloatFloat() [all …]
|
D | TestMin.java | 93 ArgumentsFloatFloatFloat args = new ArgumentsFloatFloatFloat(); in verifyResultsMinFloatFloatFloat() local 94 args.inA = arrayInA[i]; in verifyResultsMinFloatFloatFloat() 95 args.inB = arrayInB[i]; in verifyResultsMinFloatFloatFloat() 98 CoreMathVerifier.computeMin(args, target); in verifyResultsMinFloatFloatFloat() 101 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsMinFloatFloatFloat() 108 appendVariableToMessage(message, args.inA); in verifyResultsMinFloatFloatFloat() 111 appendVariableToMessage(message, args.inB); in verifyResultsMinFloatFloatFloat() 114 appendVariableToMessage(message, args.out); in verifyResultsMinFloatFloatFloat() 118 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsMinFloatFloatFloat() 176 ArgumentsFloatFloatFloat args = new ArgumentsFloatFloatFloat(); in verifyResultsMinFloat2Float2Float2() local [all …]
|
D | TestMax.java | 93 ArgumentsFloatFloatFloat args = new ArgumentsFloatFloatFloat(); in verifyResultsMaxFloatFloatFloat() local 94 args.inA = arrayInA[i]; in verifyResultsMaxFloatFloatFloat() 95 args.inB = arrayInB[i]; in verifyResultsMaxFloatFloatFloat() 98 CoreMathVerifier.computeMax(args, target); in verifyResultsMaxFloatFloatFloat() 101 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsMaxFloatFloatFloat() 108 appendVariableToMessage(message, args.inA); in verifyResultsMaxFloatFloatFloat() 111 appendVariableToMessage(message, args.inB); in verifyResultsMaxFloatFloatFloat() 114 appendVariableToMessage(message, args.out); in verifyResultsMaxFloatFloatFloat() 118 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsMaxFloatFloatFloat() 176 ArgumentsFloatFloatFloat args = new ArgumentsFloatFloatFloat(); in verifyResultsMaxFloat2Float2Float2() local [all …]
|
D | TestStep.java | 93 ArgumentsFloatFloatFloat args = new ArgumentsFloatFloatFloat(); in verifyResultsStepFloatFloatFloat() local 94 args.inEdge = arrayInEdge[i]; in verifyResultsStepFloatFloatFloat() 95 args.inV = arrayInV[i]; in verifyResultsStepFloatFloatFloat() 98 CoreMathVerifier.computeStep(args, target); in verifyResultsStepFloatFloatFloat() 101 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsStepFloatFloatFloat() 108 appendVariableToMessage(message, args.inEdge); in verifyResultsStepFloatFloatFloat() 111 appendVariableToMessage(message, args.inV); in verifyResultsStepFloatFloatFloat() 114 appendVariableToMessage(message, args.out); in verifyResultsStepFloatFloatFloat() 118 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsStepFloatFloatFloat() 176 ArgumentsFloatFloatFloat args = new ArgumentsFloatFloatFloat(); in verifyResultsStepFloat2Float2Float2() local [all …]
|
D | TestNativeExpm1.java | 85 ArgumentsFloatFloat args = new ArgumentsFloatFloat(); in verifyResultsNativeExpm1FloatFloat() local 86 args.inV = arrayInV[i]; in verifyResultsNativeExpm1FloatFloat() 89 CoreMathVerifier.computeNativeExpm1(args, target); in verifyResultsNativeExpm1FloatFloat() 92 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsNativeExpm1FloatFloat() 99 appendVariableToMessage(message, args.inV); in verifyResultsNativeExpm1FloatFloat() 102 appendVariableToMessage(message, args.out); in verifyResultsNativeExpm1FloatFloat() 106 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsNativeExpm1FloatFloat() 157 ArgumentsFloatFloat args = new ArgumentsFloatFloat(); in verifyResultsNativeExpm1Float2Float2() local 158 args.inV = arrayInV[i * 2 + j]; in verifyResultsNativeExpm1Float2Float2() 161 CoreMathVerifier.computeNativeExpm1(args, target); in verifyResultsNativeExpm1Float2Float2() [all …]
|
D | TestNativeTanpi.java | 85 ArgumentsFloatFloat args = new ArgumentsFloatFloat(); in verifyResultsNativeTanpiFloatFloat() local 86 args.inV = arrayInV[i]; in verifyResultsNativeTanpiFloatFloat() 89 CoreMathVerifier.computeNativeTanpi(args, target); in verifyResultsNativeTanpiFloatFloat() 92 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsNativeTanpiFloatFloat() 99 appendVariableToMessage(message, args.inV); in verifyResultsNativeTanpiFloatFloat() 102 appendVariableToMessage(message, args.out); in verifyResultsNativeTanpiFloatFloat() 106 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsNativeTanpiFloatFloat() 157 ArgumentsFloatFloat args = new ArgumentsFloatFloat(); in verifyResultsNativeTanpiFloat2Float2() local 158 args.inV = arrayInV[i * 2 + j]; in verifyResultsNativeTanpiFloat2Float2() 161 CoreMathVerifier.computeNativeTanpi(args, target); in verifyResultsNativeTanpiFloat2Float2() [all …]
|
D | TestNativeTan.java | 85 ArgumentsFloatFloat args = new ArgumentsFloatFloat(); in verifyResultsNativeTanFloatFloat() local 86 args.inV = arrayInV[i]; in verifyResultsNativeTanFloatFloat() 89 CoreMathVerifier.computeNativeTan(args, target); in verifyResultsNativeTanFloatFloat() 92 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsNativeTanFloatFloat() 99 appendVariableToMessage(message, args.inV); in verifyResultsNativeTanFloatFloat() 102 appendVariableToMessage(message, args.out); in verifyResultsNativeTanFloatFloat() 106 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsNativeTanFloatFloat() 157 ArgumentsFloatFloat args = new ArgumentsFloatFloat(); in verifyResultsNativeTanFloat2Float2() local 158 args.inV = arrayInV[i * 2 + j]; in verifyResultsNativeTanFloat2Float2() 161 CoreMathVerifier.computeNativeTan(args, target); in verifyResultsNativeTanFloat2Float2() [all …]
|
D | TestFmax.java | 93 ArgumentsFloatFloatFloat args = new ArgumentsFloatFloatFloat(); in verifyResultsFmaxFloatFloatFloat() local 94 args.inA = arrayInA[i]; in verifyResultsFmaxFloatFloatFloat() 95 args.inB = arrayInB[i]; in verifyResultsFmaxFloatFloatFloat() 98 CoreMathVerifier.computeFmax(args, target); in verifyResultsFmaxFloatFloatFloat() 101 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsFmaxFloatFloatFloat() 108 appendVariableToMessage(message, args.inA); in verifyResultsFmaxFloatFloatFloat() 111 appendVariableToMessage(message, args.inB); in verifyResultsFmaxFloatFloatFloat() 114 appendVariableToMessage(message, args.out); in verifyResultsFmaxFloatFloatFloat() 118 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsFmaxFloatFloatFloat() 176 ArgumentsFloatFloatFloat args = new ArgumentsFloatFloatFloat(); in verifyResultsFmaxFloat2Float2Float2() local [all …]
|
D | TestFmin.java | 93 ArgumentsFloatFloatFloat args = new ArgumentsFloatFloatFloat(); in verifyResultsFminFloatFloatFloat() local 94 args.inA = arrayInA[i]; in verifyResultsFminFloatFloatFloat() 95 args.inB = arrayInB[i]; in verifyResultsFminFloatFloatFloat() 98 CoreMathVerifier.computeFmin(args, target); in verifyResultsFminFloatFloatFloat() 101 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsFminFloatFloatFloat() 108 appendVariableToMessage(message, args.inA); in verifyResultsFminFloatFloatFloat() 111 appendVariableToMessage(message, args.inB); in verifyResultsFminFloatFloatFloat() 114 appendVariableToMessage(message, args.out); in verifyResultsFminFloatFloatFloat() 118 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsFminFloatFloatFloat() 176 ArgumentsFloatFloatFloat args = new ArgumentsFloatFloatFloat(); in verifyResultsFminFloat2Float2Float2() local [all …]
|
D | TestCross.java | 91 ArgumentsFloatNFloatNFloatN args = new ArgumentsFloatNFloatNFloatN(); in verifyResultsCrossFloat3Float3Float3() local 93 args.inLeftVector = new float[3]; in verifyResultsCrossFloat3Float3Float3() 94 args.inRightVector = new float[3]; in verifyResultsCrossFloat3Float3Float3() 95 args.out = new Target.Floaty[3]; in verifyResultsCrossFloat3Float3Float3() 98 args.inLeftVector[j] = arrayInLeftVector[i * 4 + j]; in verifyResultsCrossFloat3Float3Float3() 101 args.inRightVector[j] = arrayInRightVector[i * 4 + j]; in verifyResultsCrossFloat3Float3Float3() 104 CoreMathVerifier.computeCross(args, target); in verifyResultsCrossFloat3Float3Float3() 109 if (!args.out[j].couldBe(arrayOut[i * 4 + j])) { in verifyResultsCrossFloat3Float3Float3() 128 appendVariableToMessage(message, args.out[j]); in verifyResultsCrossFloat3Float3Float3() 132 if (!args.out[j].couldBe(arrayOut[i * 4 + j])) { in verifyResultsCrossFloat3Float3Float3() [all …]
|
D | TestNativeDistance.java | 91 ArgumentsFloatFloatFloat args = new ArgumentsFloatFloatFloat(); in verifyResultsNativeDistanceFloatFloatFloat() local 94 args.inLeftVector = arrayInLeftVector[i]; in verifyResultsNativeDistanceFloatFloatFloat() 95 args.inRightVector = arrayInRightVector[i]; in verifyResultsNativeDistanceFloatFloatFloat() 97 CoreMathVerifier.computeNativeDistance(args, target); in verifyResultsNativeDistanceFloatFloatFloat() 101 if (!args.out.couldBe(arrayOut[i])) { in verifyResultsNativeDistanceFloatFloatFloat() 114 appendVariableToMessage(message, args.out); in verifyResultsNativeDistanceFloatFloatFloat() 118 if (!args.out.couldBe(arrayOut[i])) { in verifyResultsNativeDistanceFloatFloatFloat() 177 ArgumentsFloatNFloatNFloat args = new ArgumentsFloatNFloatNFloat(); in verifyResultsNativeDistanceFloat2Float2Float() local 179 args.inLeftVector = new float[2]; in verifyResultsNativeDistanceFloat2Float2Float() 180 args.inRightVector = new float[2]; in verifyResultsNativeDistanceFloat2Float2Float() [all …]
|
D | TestDot.java | 91 ArgumentsFloatFloatFloat args = new ArgumentsFloatFloatFloat(); in verifyResultsDotFloatFloatFloat() local 94 args.inLeftVector = arrayInLeftVector[i]; in verifyResultsDotFloatFloatFloat() 95 args.inRightVector = arrayInRightVector[i]; in verifyResultsDotFloatFloatFloat() 97 CoreMathVerifier.computeDot(args, target); in verifyResultsDotFloatFloatFloat() 101 if (!args.out.couldBe(arrayOut[i])) { in verifyResultsDotFloatFloatFloat() 114 appendVariableToMessage(message, args.out); in verifyResultsDotFloatFloatFloat() 118 if (!args.out.couldBe(arrayOut[i])) { in verifyResultsDotFloatFloatFloat() 177 ArgumentsFloatNFloatNFloat args = new ArgumentsFloatNFloatNFloat(); in verifyResultsDotFloat2Float2Float() local 179 args.inLeftVector = new float[2]; in verifyResultsDotFloat2Float2Float() 180 args.inRightVector = new float[2]; in verifyResultsDotFloat2Float2Float() [all …]
|
D | TestDistance.java | 91 ArgumentsFloatFloatFloat args = new ArgumentsFloatFloatFloat(); in verifyResultsDistanceFloatFloatFloat() local 94 args.inLeftVector = arrayInLeftVector[i]; in verifyResultsDistanceFloatFloatFloat() 95 args.inRightVector = arrayInRightVector[i]; in verifyResultsDistanceFloatFloatFloat() 97 CoreMathVerifier.computeDistance(args, target); in verifyResultsDistanceFloatFloatFloat() 101 if (!args.out.couldBe(arrayOut[i])) { in verifyResultsDistanceFloatFloatFloat() 114 appendVariableToMessage(message, args.out); in verifyResultsDistanceFloatFloatFloat() 118 if (!args.out.couldBe(arrayOut[i])) { in verifyResultsDistanceFloatFloatFloat() 177 ArgumentsFloatNFloatNFloat args = new ArgumentsFloatNFloatNFloat(); in verifyResultsDistanceFloat2Float2Float() local 179 args.inLeftVector = new float[2]; in verifyResultsDistanceFloat2Float2Float() 180 args.inRightVector = new float[2]; in verifyResultsDistanceFloat2Float2Float() [all …]
|
D | TestConvert.java | 85 ArgumentsFloatFloat args = new ArgumentsFloatFloat(); in verifyResultsConvertFloat2Float2() local 86 args.inV = arrayInV[i * 2 + j]; in verifyResultsConvertFloat2Float2() 89 CoreMathVerifier.computeConvert(args, target); in verifyResultsConvertFloat2Float2() 92 if (!args.out.couldBe(arrayOut[i * 2 + j])) { in verifyResultsConvertFloat2Float2() 99 appendVariableToMessage(message, args.inV); in verifyResultsConvertFloat2Float2() 102 appendVariableToMessage(message, args.out); in verifyResultsConvertFloat2Float2() 106 if (!args.out.couldBe(arrayOut[i * 2 + j])) { in verifyResultsConvertFloat2Float2() 157 ArgumentsFloatFloat args = new ArgumentsFloatFloat(); in verifyResultsConvertFloat3Float3() local 158 args.inV = arrayInV[i * 4 + j]; in verifyResultsConvertFloat3Float3() 161 CoreMathVerifier.computeConvert(args, target); in verifyResultsConvertFloat3Float3() [all …]
|
D | TestNativeHypot.java | 93 ArgumentsFloatFloatFloat args = new ArgumentsFloatFloatFloat(); in verifyResultsNativeHypotFloatFloatFloat() local 94 args.inA = arrayInA[i]; in verifyResultsNativeHypotFloatFloatFloat() 95 args.inB = arrayInB[i]; in verifyResultsNativeHypotFloatFloatFloat() 98 CoreMathVerifier.computeNativeHypot(args, target); in verifyResultsNativeHypotFloatFloatFloat() 101 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsNativeHypotFloatFloatFloat() 108 appendVariableToMessage(message, args.inA); in verifyResultsNativeHypotFloatFloatFloat() 111 appendVariableToMessage(message, args.inB); in verifyResultsNativeHypotFloatFloatFloat() 114 appendVariableToMessage(message, args.out); in verifyResultsNativeHypotFloatFloatFloat() 118 if (!args.out.couldBe(arrayOut[i * 1 + j])) { in verifyResultsNativeHypotFloatFloatFloat() 176 ArgumentsFloatFloatFloat args = new ArgumentsFloatFloatFloat(); in verifyResultsNativeHypotFloat2Float2Float2() local [all …]
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | BusinessLogicDeviceExecutor.java | 52 public void logInfo(String format, Object... args) { in logInfo() argument 53 Log.i(LOG_TAG, String.format(format, args)); in logInfo() 60 public void logDebug(String format, Object... args) { in logDebug() argument 61 Log.d(LOG_TAG, String.format(format, args)); in logDebug() 68 protected String formatExecutionString(String method, String... args) { in formatExecutionString() argument 69 return String.format("%s(%s)", method, TextUtils.join(", ", args)); in formatExecutionString() 76 protected ResolvedMethod getResolvedMethod(Class cls, String methodName, String... args) in getResolvedMethod() argument 85 if (argsUsed == args.length && paramType.equals(String.class)) { in getResolvedMethod() 95 rm.addArg(args[argsUsed++]); in getResolvedMethod() 101 rm.addArg(Arrays.copyOfRange(args, argsUsed, args.length)); in getResolvedMethod() [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BusinessLogicDeviceExecutor.java | 52 public void logInfo(String format, Object... args) { in logInfo() argument 53 Log.i(LOG_TAG, String.format(format, args)); in logInfo() 60 public void logDebug(String format, Object... args) { in logDebug() argument 61 Log.d(LOG_TAG, String.format(format, args)); in logDebug() 68 protected String formatExecutionString(String method, String... args) { in formatExecutionString() argument 69 return String.format("%s(%s)", method, TextUtils.join(", ", args)); in formatExecutionString() 76 protected ResolvedMethod getResolvedMethod(Class cls, String methodName, String... args) in getResolvedMethod() argument 85 if (argsUsed == args.length && paramType.equals(String.class)) { in getResolvedMethod() 95 rm.addArg(args[argsUsed++]); in getResolvedMethod() 101 rm.addArg(Arrays.copyOfRange(args, argsUsed, args.length)); in getResolvedMethod() [all …]
|
/cts/libs/vogar-expect/src/vogar/commands/ |
D | Command.java | 47 private final List<String> args; field in Command 55 public Command(String... args) { in Command() argument 56 this(Arrays.asList(args)); in Command() 59 public Command(List<String> args) { in Command() argument 60 this.args = new ArrayList<String>(args); in Command() 69 this.args = new ArrayList<String>(builder.args); in Command() 92 .command(args) in start() 140 throw new CommandFailedException(args, outputLines); in gatherOutput() 151 throw new RuntimeException("Failed to execute process: " + args, e); in execute() 153 throw new RuntimeException("Interrupted while executing process: " + args, e); in execute() [all …]
|