Home
last modified time | relevance | path

Searched defs:expected (Results 1 – 25 of 415) sorted by relevance

12345678910>>...17

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageFormatTest.java32 String expected = "<native encoding=\"JPEG\" pixel=\"1280*1024\" />"; in testParseNative_requiredOnly() local
45 String expected = "<native encoding=\"JPEG\" pixel=\"1280*1024\" size=\"1048576\" />"; in testParseNative_withSize() local
58 String expected = "<variant encoding=\"JPEG\" pixel=\"1280*1024\" />"; in testParseVariant_requiredOnly() local
71 String expected = "<variant encoding=\"JPEG\" pixel=\"1280*1024\" maxsize=\"1048576\" />"; in testParseVariant_withMaxSize() local
84 String expected = "<variant encoding=\"JPEG\" pixel=\"1280*1024\"" in testParseVariant_withTransformation() local
108 String expected = "<variant encoding=\"JPEG\" pixel=\"1280*1024\"" in testParseVariant_allFields() local
147 String expected = "<native encoding=\"JPEG\" pixel=\"1280*1024\" />"; in testCreateNative_requiredOnly() local
161 String expected = "<native encoding=\"JPEG\" pixel=\"1280*1024\" size=\"1048576\" />"; in testCreateNative_withSize() local
175 String expected = "<variant encoding=\"JPEG\" pixel=\"32*32\" />"; in testCreateVariant_requiredOnly() local
191 String expected = "<variant encoding=\"JPEG\" pixel=\"32*32\" " in testCreateVariant_withTransformations() local
[all …]
DBipImageDescriptorTest.java36 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\r\n" in testBuildImageDescriptor_encodingConstants() local
51 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\r\n" in testBuildImageDescriptor_encodingObject() local
67 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\r\n" in testBuildImageDescriptor_proprietaryEncoding() local
82 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\r\n" in testBuildImageDescriptor_transformationConstantStretch() local
98 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\r\n" in testBuildImageDescriptor_transformationConstantCrop() local
114 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\r\n" in testBuildImageDescriptor_transformationConstantFill() local
130 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\r\n" in testBuildImageDescriptor_transformationConstantCropThenFill() local
147 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\r\n" in testBuildImageDescriptor_noSize() local
161 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\r\n" in testBuildImageDescriptor_useMaxSize() local
176 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\r\n" in testBuildImageDescriptor_allButSize() local
/packages/modules/NetworkStack/tests/unit/src/android/net/util/
DConnectivityPacketSummaryTest.java62 final String expected = in testParseICMPv6DADProbe() local
84 final String expected = in testParseICMPv6RS() local
117 final String expected = in testParseICMPv6RA() local
140 final String expected = in testParseICMPv6NS() local
165 final String expected = in testInvalidICMPv6NDLength() local
186 final String expected = in testParseICMPv6NA() local
206 final String expected = in testParseARPRequest() local
227 final String expected = in testParseARPReply() local
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/
DStorageUtilsTest.java55 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, null); in maybeInitializeVolume_mounted_shouldReturnVolumeInfo() local
66 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, null); in maybeInitializeVolume_notMounted_shouldNotReturnVolumeInfo() local
77 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, null); in maybeInitializeVolume_differentType_shouldNotReturnVolumeInfo() local
88 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, bundle); in maybeInitializeVolume_defaultId_notMounted_returnsNull() local
100 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, bundle); in maybeInitializeVolume_getDefaultIdFromBundle_mounted_shouldReturnVolumeInfo() local
114 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, bundle); in maybeInitializeVolume_getIdFromBundle_shouldReturnVolumeInfo() local
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DSuggestionCursorUtil.java44 SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestion()
49 SuggestionCursor expected, int positionExpected, in assertSameSuggestion()
58 public static void assertSameSuggestions(SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestions()
63 String message, SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestions()
74 public static void assertSameSuggestionsNoOrder(SuggestionCursor expected, in assertSameSuggestionsNoOrder()
80 SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestionsNoOrder()
89 public static void assertContainsSuggestion(Suggestion expected, SuggestionCursor observed) { in assertContainsSuggestion()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DSparseArrayStreamTest.java41 ImmutableList<Integer> expected = ImmutableList.of(5, 20, 1000); in testKeyStream() local
45 assertContainsExactlyInOrder(actual.boxed(), expected); in testKeyStream() local
57 ImmutableList<String> expected = ImmutableList.of("five", "twenty", "thousand"); in testValueStream() local
73 ImmutableList<Pair<Integer, String>> expected = ImmutableList.of( in testPairStream() local
96 private static <T> void assertContainsExactlyInOrder(Stream<T> actual, List<T> expected) { in assertContainsExactlyInOrder()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningModeWrapperProviderTest.java67 String expected = mContext.getString(R.string.work_profile_provisioning_summary); in testGetProvisioningModeWrapper_workProfile() local
77 String expected = mContext.getString(R.string.cope_provisioning_summary, TEST_DEVICE_NAME); in testGetProvisioningModeWrapper_workProfileOnOrgOwnedDevice() local
93 String expected = mContext.getString(R.string.fully_managed_device_provisioning_summary, in testGetProvisioningModeWrapper_fullyManagedDevice_withoutSensorPermission() local
111 String expected = mContext.getString( in testGetProvisioningModeWrapper_fullyManagedDevice_withSensorPermission() local
122 private void assertWrapperAsExpected(ProvisioningModeWrapper wrapper, String expected) { in assertWrapperAsExpected()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DUtilsTest.java36 String expected = "000001, 000002, 0000800000"; in testRoamingConsortiumsToStringLong() local
49 String expected = "000001, 000002, 0000800000"; in testRoamingConsortiumsToStringCollection() local
77 String expected = "ab cd ef"; in testToHexString() local
87 String expected = "abcdef"; in testToHex() local
143 String expected = "12:34:56.789"; in testToHMS() local
156 String expected = "1996/05/14 12:34:56Z"; in testToUTCString() local
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DDatabaseUtilsTest.java269 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_Buckets() local
280 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_BucketsByPath() local
291 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_113651872() local
302 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_113652519() local
313 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_113652519_longer() local
324 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_115340326() local
335 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_116845885() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DANQPParserTest.java279 VenueNameElement expected = new VenueNameElement(nameList); in parseVenueNameElement() local
299 IPAddressTypeAvailabilityElement expected = new IPAddressTypeAvailabilityElement( in parseIPAddressTypeAvailabilityElement() local
317 DomainNameElement expected = new DomainNameElement(Arrays.asList(testNames)); in parseDomainNameElement() local
334 RoamingConsortiumElement expected = new RoamingConsortiumElement(Arrays.asList(ois)); in parseRoamingConsortium() local
351 NAIRealmElement expected = new NAIRealmElement(Arrays.asList(realmDataList)); in parseNAIRealmElement() local
371 ThreeGPPNetworkElement expected = new ThreeGPPNetworkElement(networkList); in parseThreeGPPNetworkElement() local
407 HSFriendlyNameElement expected = new HSFriendlyNameElement(nameList); in parseVendorSpecificElementWithHSFriendlyName() local
432 HSFriendlyNameElement expected = new HSFriendlyNameElement(nameList); in parseHSFrendlyNameElement() local
456 HSWanMetricsElement expected = new HSWanMetricsElement(status, symmetric, capped, in parseHSWANMetricsElement() local
480 HSConnectionCapabilityElement expected = new HSConnectionCapabilityElement(statusList); in parseHSConnectionCapabilityElement() local
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DPowerComponentHandlerUnitTest.java79 CarPowerPolicy expected = new CarPowerPolicy("", new int[]{}, in testGetAccumulatedPolicy_firstTime() local
91 CarPowerPolicy expected = new CarPowerPolicy("test_policy1", new int[]{WIFI, BLUETOOTH, in testApplyPowerPolicy_oneTime() local
108 CarPowerPolicy expected = new CarPowerPolicy("test_policy4", in testApplyPowerPolicy_multipleTimes() local
132 CarPowerPolicy expected = new CarPowerPolicy("test_policy2", in testApplyPowerPolicy_withCustomComponents() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DIoOveruseConfigurationSubject.java77 public void containsExactlyElementsIn(Iterable<IoOveruseConfiguration> expected) { in containsExactlyElementsIn()
85 IoOveruseConfiguration expected) { in isEquals()
106 private static boolean isPerStateBytesEquals(PerStateBytes actual, PerStateBytes expected) { in isPerStateBytesEquals()
113 List<IoOveruseAlertThreshold> expected) { in isAlertThresholdEquals()
DResourceOveruseStatsSubject.java46 public static void assertEquals(ResourceOveruseStats actual, ResourceOveruseStats expected) { in assertEquals()
66 public void containsExactlyElementsIn(Iterable<ResourceOveruseStats> expected) { in containsExactlyElementsIn()
73 public static boolean isEquals(ResourceOveruseStats actual, ResourceOveruseStats expected) { in isEquals()
DInternalIoOveruseConfigurationSubject.java60 public void containsExactlyElementsIn(Iterable<IoOveruseConfiguration> expected) { in containsExactlyElementsIn()
69 IoOveruseConfiguration expected) { in isEquals()
128 List<PerStateIoOveruseThreshold> expected) { in isPerStateThresholdEquals()
135 List<IoOveruseAlertThreshold> expected) { in isAlertThresholdEquals()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTestUtil.java42 public static void assertHistogramBucketsEqual(HistogramBucketInt32[] expected, 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()
DScanTestUtil.java356 String prefix, ScanResult expected, ScanResult actual) { in assertScanResultEquals()
367 private static void assertScanResultsEquals(String prefix, ScanResult[] expected, in assertScanResultsEquals()
379 private static void assertScanResultsEqualsAnyOrder(String prefix, ScanResult[] expected, in assertScanResultsEqualsAnyOrder()
400 public static void assertScanResultEquals(ScanResult expected, ScanResult actual) { in assertScanResultEquals()
407 public static void assertScanResultsEquals(ScanResult[] expected, ScanResult[] actual) { in assertScanResultsEquals()
414 public static void assertScanResultsEqualsAnyOrder(ScanResult[] expected, ScanResult[] actual) { in assertScanResultsEqualsAnyOrder()
418 private static void assertScanDataEquals(String prefix, ScanData expected, ScanData actual) { in assertScanDataEquals()
428 public static void assertScanDataEquals(ScanData expected, ScanData actual) { in assertScanDataEquals()
432 … public static void assertScanDatasEquals(String prefix, ScanData[] expected, ScanData[] actual) { in assertScanDatasEquals()
441 public static void assertScanDatasEquals(ScanData[] expected, ScanData[] actual) { in assertScanDatasEquals()
[all …]
/packages/services/Car/cpp/watchdog/server/tests/
DOveruseConfigurationXmlHelperTest.cpp85 ResourceOveruseConfiguration expected = in TEST() local
118 ResourceOveruseConfiguration expected = in TEST() local
148 ResourceOveruseConfiguration expected = in TEST() local
180 ResourceOveruseConfiguration expected = in TEST() local
221 ResourceOveruseConfiguration expected = in TEST() local
259 ResourceOveruseConfiguration expected = in TEST() local
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/iso7816/
DTlvParserTest.java46 TlvDatum expected = new TlvDatum(new Tag((byte) 0x6F), in testParseComplicatedTlv() local
74 List<TlvDatum> expected = Arrays.asList(subTlvDatum1, subTlvDatum2, subTlvDatum3); in testParseSelectResponse() 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/apps/Contacts/tests/src/com/android/contacts/editor/
DEditorUiUtilsTest.java87 final String expected = getContext() in testGetProfileAccountInfo_NonLocalAccount() local
101 final String expected = getContext().getString(R.string.local_profile_title); in testGetProfileAccountInfo_DeviceLocalAccount() local
112 final String expected = getContext().getString(R.string.account_type_format, DISPLAY_LABEL); in testGetAccountInfo_AccountType_NonGoogle() local
123 final String expected = getContext().getString(R.string.google_account_type_format, in testGetAccountInfo_AccountType_Google() local
136 final String expected = getContext().getString(R.string.account_phone); in testGetAccountInfo_AccountType_DeviceAccount() local
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/worker/
DIsDeviceInApprovedCountryWorkerTest.java88 Result expected = Result.success( in doWork_responseIsSuccessful_isInApprovedCountry_correctResult() local
100 Result expected = Result.success( in doWork_responseIsSuccessful_isNotInApprovedCountry_correctResult() local
112 Result expected = Result.failure(); in doWork_responseIsNotSuccessful_failureResult() local
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/recentaccess/
DRecentAccessViewModelTest.kt117 val expected = in <lambda>() constant
196 val expected = in <lambda>() constant
272 val expected = in <lambda>() constant
320 val expected = in <lambda>() constant
375 val expected = in <lambda>() constant
423 val expected = in <lambda>() constant
510 val expected = in <lambda>() constant
/packages/modules/adb/
Dadb_io_test.cpp46 const char expected[] = "Foobar"; in POSIX_TEST() local
60 const char expected[] = "Foobar"; in POSIX_TEST() local
85 std::string expected(input); in POSIX_TEST() local
91 const char expected[] = "Foobar"; in POSIX_TEST() local
114 std::string expected(buf); in POSIX_TEST() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/
DDevDetailMoTest.java92 String expected = String.format("<MgmtTree>" in serializeDevDetailMoForHomeNetworkCarrier() local
161 String expected = String.format("<MgmtTree>" in serializeDevDetailMoForOtherCarrier() local
229 String expected = String.format("<MgmtTree>" in serializeDevDetailMoWithoutSim() local
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/util/
DDataTypeConversionUtilTest.java126 int expected = 178; in oneByteArbitraryByteArrayToI32() local
135 int expected = 282; in twoBytesArbitraryByteArrayToI32() local
144 int expected = 65818; in threeBytesArbitraryByteArrayToI32() local
153 int expected = 16843034; in fourBytesArbitraryByteArrayToI32() local
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DProvisionedKeyTest.java86 final ProvisionedKey expected = randomKey(); in testEquality() local
101 ProvisionedKey expected = randomKey(); in testEqualityWithNullFields() local
118 ProvisionedKey expected = randomKey(); in testEqualityWithDifferingTimestampAccuracy() local

12345678910>>...17