Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 58) sorted by relevance

123

/platform_testing/libraries/health/runners/longevity/platform/samples/assets/
Dsample_indexed_profile.textpb3 index: 1
6 index: 2
9 index: 3
12 index: 4
15 index: 5
/platform_testing/libraries/runner/src/main/java/platform/test/runner/parameterized/
DParameterizedRunnerDelegate.java112 int index = (int) parameter.annotationType().getMethod("value").invoke(parameter); in injectParametersIntoFields() local
113 parameterFieldsFound.add(index); in injectParametersIntoFields()
115 field.set(testClassInstance, parameters[index]); in injectParametersIntoFields()
123 parameters[index], in injectParametersIntoFields()
124 parameters[index].getClass().getSimpleName(), in injectParametersIntoFields()
145 int index = each.getField().getAnnotation(Parameter.class).value(); in validateFields() local
146 if (index < 0 || index > annotatedFieldsByParameter.size() - 1) { in validateFields()
154 index, in validateFields()
158 usedIndices[index]++; in validateFields()
161 for (int index = 0; index < usedIndices.length; index++) { in validateFields()
[all …]
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/matchers/
DHumanEyeMatcher.kt42 IntArray(width * height) { index -> in <lambda>() method
43 if (filter[index]) { in <lambda>()
45 colorDiffSqWithTransparency(expected[index], given[index]) in <lambda>()
47 colorDiffSq(expected[index], given[index]) in <lambda>()
55 fun isIndexSameForLargeArea(index: Int) = isSameForLargeArea(colorDiffSqArray[index]) in <lambda>()
60 expected.indices.forEach { index -> in <lambda>() method
61 if (!isIndexSameForLargeArea(index)) { in <lambda>()
62 diffArray.value[index] = Color.MAGENTA in <lambda>()
91 colorDiffSqArray.indices.forEach { index -> in <lambda>() method
93 if (isIndexSameForLargeArea(index)) return@forEach in <lambda>()
[all …]
DPixelPerfectMatcher.kt44 expected.indices.forEach { index -> in <lambda>() method
46 !filter[index] -> ignored++ in <lambda>()
47 expected[index] == given[index] -> same++ in <lambda>()
48 else -> diffArray.value[index] = Color.MAGENTA.also { different++ } in <lambda>()
DAlmostPerfectMatcher.kt54 expected.indices.forEach { index -> in <lambda>() method
56 !filter[index] -> ignored++ in <lambda>()
57 areSame(expected[index], given[index]) -> same++ in <lambda>()
58 else -> diffArray.value[index] = Color.MAGENTA.also { different++ } in <lambda>()
/platform_testing/libraries/health/runners/longevity/platform/tests/assets/
DtestExtraArgs_unregisteredAfterTest.textpb3 index: 1
10 index: 2
17 index: 3
24 index: 4
31 index: 5
38 index: 6
DtestIndexedScheduling_respectsSchedule.textpb3 index: 2 # Note this is scenario #2, not #1.
6 index: 1 # Note this is scenario #1, not #2.
9 index: 3
DtestExtraArgs_registeredBeforeTest.textpb3 index: 1
10 index: 2
17 index: 3
/platform_testing/tests/automotive/mobly_tests/utilities/
Dmain_utils.py76 index = sys.argv.index('--')
77 absl_argv = sys.argv[:index]
78 sys.argv = sys.argv[:1] + sys.argv[index + 1:]
/platform_testing/tests/example/mobly_multidevice/
Dmultidevice_test.py38 index = sys.argv.index('--') variable
39 sys.argv = sys.argv[:1] + sys.argv[index + 1:]
/platform_testing/tests/example/mobly/
Dhello_world_test.py40 index = sys.argv.index('--') variable
41 sys.argv = sys.argv[:1] + sys.argv[index + 1:]
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/
DIGoogleMessengerHelper.java72 public void attachMediaFromDevice(int index); in attachMediaFromDevice() argument
81 default public void selectRecipient(int index){ in selectRecipient() argument
DIGmailHelper.java64 public void openEmailByIndex(int index); in openEmailByIndex() argument
212 public void downloadAttachment(int index); in downloadAttachment() argument
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DStat.java96 int index = 0; in getStatWithOutlierRejection() local
99 validData[index] = data[i]; in getStatWithOutlierRejection()
100 index++; in getStatWithOutlierRejection()
104 return getStat(Arrays.copyOf(validData, index)); in getStatWithOutlierRejection()
194 int index = (int) Math.round(values.length * 0.95 + .5) - 1; in get95PercentileValue() local
195 return values[index]; in get95PercentileValue()
DBusinessLogic.java103 for (int index = 0; index < rulesLists.size(); index++) { in applyLogicsFor()
104 BusinessLogicRulesList rulesList = rulesLists.get(index); in applyLogicsFor()
105 String description = cleanDescription(rulesList.getDescription(), index); in applyLogicsFor()
161 private String cleanDescription(String description, int index) { in cleanDescription() argument
163 ? Integer.toString(index) in cleanDescription()
DBusinessLogicExecutor.java139 int index = (method.indexOf('#') == -1) ? method.lastIndexOf('.') : method.indexOf('#'); in invokeMethod() local
140 if (index == -1) { in invokeMethod()
145 String className = method.substring(0, index); in invokeMethod()
156 ResolvedMethod rm = getResolvedMethod(cls, method.substring(index + 1), args); in invokeMethod()
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingsDateTimeHelperImpl.java138 private void setCalendar(int index, String s) { in setCalendar() argument
144 .index(index); in setCalendar()
146 if (index == 2) { in setCalendar()
162 scrollToObjectInPicker(index, s, scrollForwards); in setCalendar()
263 private void setTime(int index, String s, String currentTime) { in setTime() argument
269 .index(index); in setTime()
272 if (index == 1) { in setTime()
286 } else if (index == 2) { in setTime()
313 scrollToObjectInPicker(index, s, scrollForwards); in setTime()
316 private void scrollToObjectInPicker(int index, String s, boolean scrollForwards) { in scrollToObjectInPicker() argument
[all …]
/platform_testing/libraries/flag-helpers/junit/src_util/android/platform/test/flag/util/
DFlag.java71 int index = fullFlagName.lastIndexOf(PACKAGE_NAME_SIMPLE_NAME_SEPARATOR); in createFlag() local
72 packageName = fullFlagName.substring(0, index); in createFlag()
73 simpleFlagName = fullFlagName.substring(index + 1); in createFlag()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/
DArgs.kt90 val (key, index) = keyAndIndex in addToChildrenMap() constant
97 while (index >= children!![key]!!.size) { in addToChildrenMap()
100 children!![key]!![index].add(keyTokens, currentToken + 1, value) in addToChildrenMap()
142 val index = token.substring(indexOpeningBracket + 1, token.length - 1).toInt() in tryParseKeyAndIndex() constant
143 return Pair(key, index) in tryParseKeyAndIndex()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/
DComponentNameMatcher.kt191 for (index in (0..pkgCharArr.lastIndex).reversed()) { in unflattenFromStringWithJunk() constant
192 val currentChar = pkgCharArr[index] in unflattenFromStringWithJunk()
194 pkgSep = index in unflattenFromStringWithJunk()
205 for (index in (0..clsCharArr.lastIndex)) { in unflattenFromStringWithJunk() constant
206 val currentChar = clsCharArr[index] in unflattenFromStringWithJunk()
208 clsSep = index in unflattenFromStringWithJunk()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBaselineProfileCollector.java87 int index = 1; in onTestRunEnd() local
90 String.format("baseline-profile%d", index), in onTestRunEnd()
92 index++; in onTestRunEnd()
/platform_testing/libraries/app-helpers/interfaces/common/src/android/platform/helpers/
DIPhoneHelper.java58 public void callContactbyIndex(int index); in callContactbyIndex() argument
DIContactsHelper.java62 public default void chooseContactByIndex(int index) { in chooseContactByIndex() argument
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/
DCompoundAssertion.kt79 assertions.forEachIndexed { index, assertion -> in <lambda>() method
80 if (assertion != other.assertions[index]) { in <lambda>()
/platform_testing/libraries/motion/src/platform/test/motion/view/
DDataPointTypes.kt74 FloatArray(length()) { index -> in <lambda>() method
75 getDouble(cornerRadiiPropertyNames[index]).toFloat() in <lambda>()

123