/packages/services/Car/libs/car-test-lib/src/android/car/test/ |
D | AbstractExpectableTestCase.java | 77 ComparableT actual) { in expectThat() 81 protected final BigDecimalSubject expectThat(BigDecimal actual) { in expectThat() 85 protected final Subject expectThat(Object actual) { in expectThat() 90 protected final ClassSubject expectThat(Class<?> actual) { in expectThat() 94 protected final ThrowableSubject expectThat(Throwable actual) { in expectThat() 98 protected final LongSubject expectThat(Long actual) { in expectThat() 102 protected final DoubleSubject expectThat(Double actual) { in expectThat() 106 protected final FloatSubject expectThat(Float actual) { in expectThat() 110 protected final IntegerSubject expectThat(Integer actual) { in expectThat() 114 protected final BooleanSubject expectThat(Boolean actual) { in expectThat() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/ |
D | TemperatureDeltaFormatterTest.kt | 70 val actual = getFormattedTemperatureDelta_singleValue(tempDelta, false) in <lambda>() constant 82 val actual = getFormattedTemperatureDelta_singleValue(tempDelta, false) in <lambda>() constant 94 val actual = getFormattedTemperatureDelta_singleValue(tempDelta, false) in <lambda>() constant 112 val actual = getFormattedTemperatureDelta_averageValue(tempDelta, false) in <lambda>() constant 130 val actual = getFormattedTemperatureDelta_averageValue(tempDelta, false) in <lambda>() constant 148 val actual = getFormattedTemperatureDelta_averageValue(tempDelta, false) in <lambda>() constant 167 val actual = getFormattedTemperatureDelta_singleValue(tempDelta, true) in <lambda>() constant 185 val actual = getFormattedTemperatureDelta_singleValue(tempDelta, true) in <lambda>() constant 203 val actual = getFormattedTemperatureDelta_singleValue(tempDelta, true) in <lambda>() constant 221 val actual = getFormattedTemperatureDelta_averageValue(tempDelta, true) in <lambda>() constant [all …]
|
/packages/services/Car/tools/telemetry/lua-interpreter/tests/ |
D | lua_engine_test.cc | 54 std::string actual = ConvertVectorToString(output); in TEST_F() local 61 std::string actual = ConvertVectorToString(output); in TEST_F() local 71 std::string actual = ConvertVectorToString(output); in TEST_F() local 99 std::string actual = ConvertVectorToString(output); in TEST_F() local 111 std::string actual = ConvertVectorToString(output); in TEST_F() local 124 std::string actual = ConvertVectorToString(output); in TEST_F() local 133 std::string actual = ConvertVectorToString(output); in TEST_F() local 142 std::string actual = ConvertVectorToString(output); in TEST_F() local 152 std::string actual = ConvertVectorToString(output); in TEST_F() local 160 std::string actual = ConvertVectorToString(output); in TEST_F() local [all …]
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | UidProcStatsCollectorTestUtils.h | 29 const auto& actual = std::get<0>(arg); variable 35 const auto& actual = arg; variable 54 const auto& actual = std::get<0>(arg); variable 61 const auto& actual = arg; variable
|
D | IoOveruseConfigsTest.cpp | 118 const auto actual = std::get<0>(arg); variable 296 std::vector<ResourceOveruseConfiguration> actual; in TEST_F() local 322 std::vector<ResourceOveruseConfiguration> actual; in TEST_F() local 368 std::vector<ResourceOveruseConfiguration> actual; in TEST_F() local 394 std::vector<ResourceOveruseConfiguration> actual; in TEST_F() local 419 std::vector<ResourceOveruseConfiguration> actual; in TEST_F() local 440 std::vector<ResourceOveruseConfiguration> actual; in TEST_F() local 540 std::vector<ResourceOveruseConfiguration> actual; in TEST_F() local 567 std::vector<ResourceOveruseConfiguration> actual; in TEST_F() local 592 std::vector<ResourceOveruseConfiguration> actual; in TEST_F() local [all …]
|
D | OveruseConfigurationXmlHelperTest.cpp | 95 auto actual = OveruseConfigurationXmlHelper::parseXmlFile( in TEST() local 133 auto actual = OveruseConfigurationXmlHelper::parseXmlFile( in TEST() local 153 auto actual = OveruseConfigurationXmlHelper::parseXmlFile( in TEST() local 195 auto actual = OveruseConfigurationXmlHelper::parseXmlFile(temporaryFile.path); in TEST() local 241 auto actual = OveruseConfigurationXmlHelper::parseXmlFile(temporaryFile.path); in TEST() local 269 auto actual = OveruseConfigurationXmlHelper::parseXmlFile(temporaryFile.path); in TEST() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | ContentProtectionPreferenceUtilsTest.java | 179 UserHandle actual = ContentProtectionPreferenceUtils.getManagedProfile(mMockContext); in getManagedProfile_noProfiles() local 191 UserHandle actual = ContentProtectionPreferenceUtils.getManagedProfile(mMockContext); in getManagedProfile_notManaged() local 205 UserHandle actual = ContentProtectionPreferenceUtils.getManagedProfile(mMockContext); in getManagedProfile_managed() local 214 int actual = in getContentProtectionPolicy_flagDisabled_managedProfileNull() local 225 int actual = in getContentProtectionPolicy_flagDisabled_managedProfileNotNull() local 240 int actual = in getContentProtectionPolicy_flagEnabled_managedProfileNull() local 259 int actual = in getContentProtectionPolicy_flagEnabled_managedProfileNotNull() local
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/proto/ |
D | ProtoParserTest.java | 40 ErrorCodeSampleInterval actual = in parseBase64EncodedStringToProto_success() local 52 ErrorCodeSampleInterval actual = in parseBase64EncodedStringToProto_noWrapNoPadding_success() local 62 ErrorCodeSampleInterval actual = in parseBase64EncodedStringToProto_incorrectEncodedString() local 71 ErrorCodeSampleInterval actual = in parseBase64EncodedStringToProto_emptyEncodedString() local 80 ErrorCodeSampleInterval actual = in parseBase64EncodedStringToProto_nullEncodedString() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | AbstractZenModeAutomaticRulePreferenceControllerTest.java | 69 ComponentName actual = AbstractZenModeAutomaticRulePreferenceController in testGetSettingsActivity_configActivity() local 85 ComponentName actual = AbstractZenModeAutomaticRulePreferenceController in testGetSettingsActivity_configActivity_wrongPackage() local 100 ComponentName actual = AbstractZenModeAutomaticRulePreferenceController in testGetSettingsActivity_configActivity_unspecifiedOwner() local 123 ComponentName actual = AbstractZenModeAutomaticRulePreferenceController in testGetSettingsActivity_cps() local 146 ComponentName actual = AbstractZenModeAutomaticRulePreferenceController in testGetSettingsActivity_cps_wrongPackage() local 168 ComponentName actual = AbstractZenModeAutomaticRulePreferenceController in testGetSettingsActivity_cps_unspecifiedPackage() local
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
D | SearchUtilTest.java | 30 final String actual = "this is a long test string.\nWith potentially many lines.\n" + in testFindMatchingLine() local 54 final String actual = "this is a long test string.\nWith potentially many lines.\n" + in testContains() local 65 final String actual = "this is a long test string.\nWith potentially many lines.\n" + in testContainsNotFound() local 82 final String actual = "....hello.kitty"; in testFindNextTokenStart() local
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/iso7816/ |
D | TlvParserTest.java | 44 TlvDatum actual = TlvParser.parseTlvs(responseApdu).get(new Tag((byte) 0x6F)).get(0); in testParseComplicatedTlv() local 70 List<TlvDatum> actual = Arrays.asList( in testParseSelectResponse() local 92 List<TlvDatum> actual = result.get(new Tag((byte) 0x5f, (byte) 0x5f)); in noDataTag_success() local 99 private static void assertTlvDatumListEquals(List<TlvDatum> expected, List<TlvDatum> actual) { in assertTlvDatumListEquals() 106 private static void assertTlvDatumEquals(TlvDatum expected, TlvDatum actual) { in assertTlvDatumEquals()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | HelpersTest.java | 91 final String actual = Helpers.generateSaveFile(getContext(), in testGenerateSaveFile() local 94 assertEquals(expected.getAbsolutePath(), actual); in testGenerateSaveFile() local 112 final String actual = Helpers.generateSaveFile(getContext(), in testGenerateSaveFileNoExtension() local 115 assertEquals(expected.getAbsolutePath(), actual); in testGenerateSaveFileNoExtension() local 123 final String actual = Helpers.generateSaveFile(getContext(), "url", hint, in testGenerateSaveFileHint() local 125 assertEquals(expected.getAbsolutePath(), actual); in testGenerateSaveFileHint() local 134 final String actual = Helpers.generateSaveFile(getContext(), "url", hint, in testGenerateSaveFileHintWithInvalidChars() local 136 assertEquals(expected.getAbsolutePath(), actual); in testGenerateSaveFileHintWithInvalidChars() local 146 final String actual = Helpers.generateSaveFile(getContext(), "url", hint, in testGenerateSaveFileHintWithInvalidCharsOnly() local 153 final String actual = Helpers.generateSaveFile(getContext(), in testGenerateSaveFileDisposition() local [all …]
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/ |
D | MobileIconGroupExtTest.kt | 29 val actual = CONNECTED_5G.maybeToHtml() in maybeToHtml_withoutHtmlTag() constant 36 val actual = CONNECTED_5GE.maybeToHtml() in maybeToHtml_withHtmlTag() constant
|
/packages/modules/OnDevicePersonalization/tests/chronicletests/src/com/android/libraries/pcc/chronicle/test/ |
D | ChronicleApiPolicyAnnotationTest.kt | 32 val actual = annotation("ttl") in testAnnotationEmptyBlock() constant 40 val actual = annotation("ttl") { in testAnnotationNonEmptyBlock() constant
|
D | ChronicleApiPolicyFieldBuilderTest.kt | 57 val actual = PolicyFieldBuilder(null, listOf("foo")) in <lambda>() constant 79 setOf(stringApi, enumApi).forEach { actual -> in <lambda>() method 96 val actual = PolicyFieldBuilder(NESTED_PERSON_GENERATED_DTD, listOf("person")) in <lambda>() constant 110 val actual = PolicyFieldBuilder(NESTED_PERSON_GENERATED_DTD, listOf("person")) in <lambda>() constant
|
/packages/apps/TV/tests/unit/src/com/android/tv/util/images/ |
D | ScaledBitmapInfoTest.java | 36 ScaledBitmapInfo actual = BitmapUtils.createScaledBitmapInfo("B80x100", B80x100, 50, 50); in testSize_B100x100to50x50() local 42 ScaledBitmapInfo actual = BitmapUtils.createScaledBitmapInfo("B80x100", B80x100, 50, 50); in testNeedsToReload_B100x100to50x50() local 53 ScaledBitmapInfo actual = in testBug20488453() local 70 ScaledBitmapInfo actual) { in assertScaledBitmapSize()
|
/packages/modules/AppSearch/testing/safeparceltests/src/android/app/appsearch/safeparcel/ |
D | SafeParcelableSparseArrayTest.java | 45 private static void assertTestBundleEquals(Bundle expected, Bundle actual) { in assertTestBundleEquals() 162 private static void assertEquals(SparseIntArray expected, SparseIntArray actual) { in assertEquals() 170 private static void assertEquals(SparseLongArray expected, SparseLongArray actual) { in assertEquals() 178 private static void assertEquals(SparseBooleanArray expected, SparseBooleanArray actual) { in assertEquals() 186 private static <T> void assertSizeEquals(SparseArray<T> expected, SparseArray<T> actual) { in assertSizeEquals() 195 private static <T> void assertEquals(SparseArray<T> expected, SparseArray<T> actual) { in assertEquals() 204 SparseArray<byte[]> expected, SparseArray<byte[]> actual) { in assertByteArrayEquals() 213 SparseArray<Bundle> expected, SparseArray<Bundle> actual) { in assertTestBundleEquals()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/debug/ |
D | ConsentedDebugConfigurationGeneratorFactoryTest.java | 74 Optional<ConsentedDebugConfiguration> actual = in test_setConsentedDebugConfiguration_success() local 94 Optional<ConsentedDebugConfiguration> actual = in testSetConsentedDebugConfiguration_doesNotPopulateWhenNoEntryInDatabase() local 113 Optional<ConsentedDebugConfiguration> actual = in testSetConsentedDebugConfiguration_doesNotPopulateWhenListIsNull() local 126 Optional<ConsentedDebugConfiguration> actual = in testSetConsentedDebugConfiguration_doesNotPopulateWhenDisabled() local
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/ |
D | ConnectedAppsViewModelTest.kt | 86 val actual = testObserver.getLastValue() in <lambda>() constant 102 val actual = testObserver.getLastValue() in <lambda>() constant 123 val actual = testObserver.getLastValue() in <lambda>() constant 139 val actual = testObserver.getLastValue() in <lambda>() constant
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | SparseArrayStreamTest.java | 43 IntStream actual = SparseArrayStream.keyStream(array); in testKeyStream() local 59 Stream<String> actual = SparseArrayStream.valueStream(array); in testValueStream() local 76 Stream<Pair<Integer, String>> actual = SparseArrayStream.pairStream(array); in testPairStream() local 96 private static <T> void assertContainsExactlyInOrder(Stream<T> actual, List<T> expected) { in assertContainsExactlyInOrder()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/api/ |
D | LoadEntriesHelperUseCaseTest.kt | 162 val actual = loadEntriesHelper.readRecords(input) in <lambda>() constant 177 val actual = loadEntriesHelper.readRecords(input) in <lambda>() constant 197 val actual = loadEntriesHelper.readRecords(input) in <lambda>() constant 219 val actual = loadEntriesHelper.readRecords(input) in <lambda>() constant 234 val actual = loadEntriesHelper.readRecords(input) in <lambda>() constant 248 val actual = loadEntriesHelper.readRecords(input) in <lambda>() constant 263 val actual = listOf(BODYWATERMASS_WEEK) in <lambda>() constant 282 val actual = listOf(BODYTEMPERATURE_MONTH) in <lambda>() constant 300 val actual = loadEntriesHelper.readLastRecord(input) in <lambda>() constant 320 val actual = loadEntriesHelper.readLastRecord(input) in <lambda>() constant [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTestUtil.java | 43 HistogramBucketInt32[] actual) { in assertHistogramBucketsEqual() 74 public static void assertKeyCountsEqual(Int32Count[] expected, Int32Count[] actual) { in assertKeyCountsEqual() 103 LinkProbeFailureReasonCount[] expected, LinkProbeFailureReasonCount[] actual) { in assertLinkProbeFailureReasonCountsEqual() 153 DeviceMobilityStatePnoScanStats[] expected, DeviceMobilityStatePnoScanStats[] actual) { in assertDeviceMobilityStatePnoScanStatsEqual() 208 public static void assertLinkProbeStaEventsEqual(StaEvent[] expected, StaEvent[] actual) { in assertLinkProbeStaEventsEqual() 250 ExperimentProbeCounts[] expected, ExperimentProbeCounts[] actual) { in assertExperimentProbeCountsEqual()
|
D | ScanTestUtil.java | 358 String prefix, ScanResult expected, ScanResult actual) { in assertScanResultEquals() 370 ScanResult[] actual) { in assertScanResultsEquals() 382 ScanResult[] actual) { in assertScanResultsEqualsAnyOrder() 402 public static void assertScanResultEquals(ScanResult expected, ScanResult actual) { in assertScanResultEquals() 409 public static void assertScanResultsEquals(ScanResult[] expected, ScanResult[] actual) { in assertScanResultsEquals() 416 public static void assertScanResultsEqualsAnyOrder(ScanResult[] expected, ScanResult[] actual) { in assertScanResultsEqualsAnyOrder() 420 private static void assertScanDataEquals(String prefix, ScanData expected, ScanData actual) { in assertScanDataEquals() 430 public static void assertScanDataEquals(ScanData expected, ScanData actual) { in assertScanDataEquals() 434 … public static void assertScanDatasEquals(String prefix, ScanData[] expected, ScanData[] actual) { in assertScanDatasEquals() 443 public static void assertScanDatasEquals(ScanData[] expected, ScanData[] actual) { in assertScanDatasEquals() [all …]
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/ |
D | CustomAudienceSubject.java | 51 CustomAudienceSubject(FailureMetadata metadata, @Nullable JSONObject actual) { in CustomAudienceSubject() 67 int actual = getBackgroundFetchData().getInt(NUM_TIMEOUT_FAILURES); in hasTimeoutFailures() local 83 int actual = getBackgroundFetchData().getInt(NUM_VALIDATION_FAILURES); in hasValidationFailures() local
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/worker/ |
D | IsDeviceInApprovedCountryWorkerTest.java | 98 Result actual = Futures.getUnchecked(mWorker.startWork()); in doWork_responseIsSuccessful_isInApprovedCountry_correctResultAndLog() local 113 Result actual = Futures.getUnchecked(mWorker.startWork()); in doWork_responseIsSuccessful_isNotInApprovedCountry_correctResultAndLog() local 127 Result actual = Futures.getUnchecked(mWorker.startWork()); in doWork_responseIsNotSuccessful_failureResultAndLog() local
|