Home
last modified time | relevance | path

Searched refs:getValue (Results 1 – 25 of 75) sorted by relevance

123

/platform_testing/libraries/flag-helpers/junit/test/src/android/platform/test/flag/junit/
DCustomFeatureFlags.java37 return getValue(Flags.FLAG_FLAG_NAME3, FeatureFlags::flagName3); in flagName3()
42 return getValue(Flags.FLAG_FLAG_NAME4, FeatureFlags::flagName4); in flagName4()
47 return getValue(Flags.FLAG_RO_ENABLED, FeatureFlags::roEnabled); in roEnabled()
52 return getValue(Flags.FLAG_RO_DISABLED, FeatureFlags::roDisabled); in roDisabled()
55 protected boolean getValue(String flagName, Predicate<FeatureFlags> getter) { in getValue() method in CustomFeatureFlags
DFakeFeatureFlagsImpl.java42 protected boolean getValue(String flagName, Predicate<FeatureFlags> getter) { in getValue() method in FakeFeatureFlagsImpl
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/validators/
DValidateMapEntries.java55 if (entry.getValue().isJsonNull() in deserialize()
56 || (entry.getValue().isJsonPrimitive() in deserialize()
57 && (!entry.getValue().getAsJsonPrimitive().isString() in deserialize()
58 || entry.getValue().getAsString().trim().isEmpty()))) { in deserialize()
66 String value = entry.getValue().getAsString().trim(); in deserialize()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DTestStatus.java35 public String getValue() { in getValue() method in TestStatus
49 if (value.compareToIgnoreCase(status.getValue()) == 0) { in getStatus()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/ide/common/resources/deprecated/
DValueResourceParser.java79 String value = mCurrentValue.getValue(); in endElement()
94 mArrayResourceValue.addElement(mCurrentValue.getValue()); in endElement()
120 new Object(), (t) -> qName, (t, name) -> attributes.getValue(name)); in startElement()
124 String name = attributes.getValue(ATTR_NAME); in startElement()
128 String parent = attributes.getValue(ATTR_PARENT); in startElement()
161 String name = attributes.getValue(ATTR_NAME); in startElement()
181 String value = attributes.getValue(ATTR_VALUE); in startElement()
200 String name = attributes.getValue(ATTR_NAME); in startElement()
201 String value = attributes.getValue(ATTR_VALUE); in startElement()
219 String value = mCurrentValue.getValue(); in characters()
DSingleResourceFile.java75 qualifier.getValue()); in SingleResourceFile()
110 public ResourceValue getValue(ResourceType type, String name) { in getValue() method in SingleResourceFile
DResourceFile.java71 public abstract ResourceValue getValue(ResourceType type, String name); in getValue() method in ResourceFile
DResourceItem.java78 return match.getValue(type, mName); in getResourceValue()
DIdGeneratingResourceFile.java105 public ResourceValue getValue(ResourceType type, String name) { in getValue() method in IdGeneratingResourceFile
188 qualifier.getValue()); in getFileValue()
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/
DIAutoSettingHelper.java40 public int getValue() { in getValue() method in IAutoSettingHelper.DayNightMode
151 int getValue(String setting); in getValue() method
DIAutoSUWHelper.java65 public String getValue() { in getValue() method in IAutoSUWHelper.EnableDisable
/platform_testing/libraries/sts-common-util/host-side/res/ghidra-scripts/
DFunctionOffsetPostScript.java31 String spaceSeparatedFunctionNames = propertiesFileParams.getValue("functionNames"); in run()
61 Integer.parseInt(propertiesFileParams.getValue("port"))); in run()
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DBatteryUsageStatsHelperTest.java127 reportedConsumption = entry.getValue(); in testTotalConsumptionIsSumOfPerPackageConsumption()
129 summedConsumption += entry.getValue(); in testTotalConsumptionIsSumOfPerPackageConsumption()
153 reportedDuration = entry.getValue(); in testTotalDurationIsSumOfPerPackageDurations()
155 summedDuration += entry.getValue(); in testTotalDurationIsSumOfPerPackageDurations()
DCpuUsageHelperTest.java107 if (cpuUsageEntry.getValue() > 0) { in testCpuUsageMetricsKey()
110 sumCpuUsage += cpuUsageEntry.getValue(); in testCpuUsageMetricsKey()
114 if (cpuUsageEntry.getValue() > 0) { in testCpuUsageMetricsKey()
117 reportedTotalCpuUsage = cpuUsageEntry.getValue(); in testCpuUsageMetricsKey()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DDataCollector.java83 if (entry.getValue() > 0) { in start()
85 entry.getValue() + " milliseconds"); in start()
127 if (entry.getValue() > 0 && t >= entry.getValue()) { in loop()
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DDynamicConfigTest.java94 assertEquals("Wrong Config", config.getValue("test-config-1"), "test config 1"); in testCorrectConfig()
95 assertEquals("Wrong Config", config.getValue("test-config-2"), "testconfig2"); in testCorrectConfig()
/platform_testing/tests/automotive/health/boottime/src/android/boottime/postprocessor/
DBaseBootTimeTestLogPostProcessor.java87 entry.getValue().stream() in buildTfMetrics()
108 entry.getKey(), entry.getValue().getPath()); in filterFiles()
109 files.add(new File(entry.getValue().getPath())); in filterFiles()
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/collectors/
DDeviceCollectorsTest.java191 assertTrue(testResult.getValue().getMetrics().containsKey("test_start")); in testBaseListenerRuns_withIncludeFilters()
192 assertTrue(testResult.getValue().getMetrics().containsKey("test_end")); in testBaseListenerRuns_withIncludeFilters()
194 assertFalse(testResult.getValue().getMetrics().containsKey("test_start")); in testBaseListenerRuns_withIncludeFilters()
195 assertFalse(testResult.getValue().getMetrics().containsKey("test_fail")); in testBaseListenerRuns_withIncludeFilters()
196 assertFalse(testResult.getValue().getMetrics().containsKey("test_end")); in testBaseListenerRuns_withIncludeFilters()
258 assertTrue(testResult.getValue().getMetrics().isEmpty()); in testLogOnly()
/platform_testing/host_runners/utils/tests/src/com/android/runner/utils/
DInstrumentationResultProtoParserTest.java284 assertEquals("626", captureTestMetrics.getValue().get("metric_key1")); in testOneTestSuccessWithMetrics()
285 assertEquals("1", captureTestMetrics.getValue().get("metric_key2")); in testOneTestSuccessWithMetrics()
336 assertEquals("626", captureListener1Metrics.getValue().get("metric_key1")); in testOneTestSuccessWithMultipleListeners()
337 assertEquals("1", captureListener1Metrics.getValue().get("metric_key2")); in testOneTestSuccessWithMultipleListeners()
340 assertEquals("626", captureListener2Metrics.getValue().get("metric_key1")); in testOneTestSuccessWithMultipleListeners()
341 assertEquals("1", captureListener2Metrics.getValue().get("metric_key2")); in testOneTestSuccessWithMultipleListeners()
370 assertEquals("39584", captureRunMetrics.getValue().get("run_metric_key")); in testOneRunSuccessWithMetrics()
400 assertEquals("626", captureTestMetrics.getValue().get("metric_key1")); in testOneTestAndRunSuccessWithMetrics()
401 assertEquals("1", captureTestMetrics.getValue().get("metric_key2")); in testOneTestAndRunSuccessWithMetrics()
404 assertEquals("39584", captureRunMetrics.getValue().get("run_metric_key")); in testOneTestAndRunSuccessWithMetrics()
[all …]
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DLongevityClassRunnerTest.java368 Assert.assertEquals(methodsCaptor.getValue().size(), 1); in testAfterClass_runAsAfterForPassingTest()
370 ((FrameworkMethod) methodsCaptor.getValue().get(0)) in testAfterClass_runAsAfterForPassingTest()
394 Assert.assertEquals(methodsCaptor.getValue().size(), 1); in testAfterClass_runAsAfterClassForFailingTest()
396 ((FrameworkMethod) methodsCaptor.getValue().get(0)) in testAfterClass_runAsAfterClassForFailingTest()
442 captor.getValue() in testReportIteration_noIterationSet()
462 captor.getValue() in testReportIteration_withIteration_withDefaultSeparator()
484 captor.getValue().getClassName().matches(String.join(sep, "^.*", "7$"))); in testReportIteration_withIteration_withCustomSeparator()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DUserUtils.java254 mTestUserId, entry.getKey(), entry.getValue())); in withUser()
261 entry.getKey(), entry.getValue(), cmdOutput.toString())); in withUser()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/exceptions/
DMappedMultiException.java49 return String.format("%s:\n%s", entry.getKey(), stackTraceToString(entry.getValue())); in entryToString()
/platform_testing/libraries/sts-common-util/util/src/com/android/sts/common/util/
DUnameVersion.java88 DateTimeFormatter[] formatters = entry.getValue(); in parseBuildTimestamp()
/platform_testing/libraries/health/composers/host/tests/src/android/host/test/composer/
DIterateTestBase.java66 .allMatch(entry -> (entry.getValue() == EXPECTED_ITERATIONS)); in testIterationsRespected()
130 .allMatch(entry -> (entry.getValue() == EXPECTED_ITERATIONS)); in testOverrideOptionName()
/platform_testing/libraries/motion/compose/tests/src/platform/test/motion/compose/values/
DMotionTestValueTest.kt20 import androidx.compose.runtime.getValue

123