| /packages/apps/Car/libs/car-messenger-common/tests/unit/src/com.android.car.messenger.common/ |
| D | UtilsTest.java | 50 String expected = "+1-100-200-1234، +1-650-900-1111، +1-650-900-1234"; in testNameWithMultipleNumbers() local 61 String expected = "+1-100-200-1234، +1-650-900-1111، +44-20-7183-8750"; in testNameWithInternationalNumbers() local 84 String expected = "Christopher : !Sam، Emily، Logan.، +1-650-900-1234"; in testTitleConstructorLtr() local 94 String expected = "\u200E\u202Bجﺗﺧ\u202C\u200E : !Sam، Logan.، جﺗﺧ\u200E"; in testTitleConstructorLtr_with_rtlName() local 105 String expected = "+1-650-900-1234 : !Sam، Logan.، جﺗﺧ\u200E"; in testTitleConstructorLtr_with_phoneNumber() local 132 String expected = "\u200F\u202A\u200F\u202A+1-100-200-1234\u202C\u200F\u200F\u202A، " in testNameWithInternationalNumbers_rtl() local 143 String expected = in testNameConstructorRtl() local 156 String expected = in testNameConstructorRtl_longerTitle() local 173 String expected = "\u200F\u202Aجﺗﺧ : \u200F\u202A!Sam، Logan.، جﺗﺧ\u202C\u200F\u202C" in testTitleConstructorRtl_with_rtlName() local 186 String expected = "\u200F\u202A\u200F\u202A+1-650-900-1234\u202C\u200F : " in testTitleConstructorRtl_with_phoneNumber() local [all …]
|
| /packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
| D | BipImageFormatTest.java | 32 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 …]
|
| D | BipImageDescriptorTest.java | 36 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_encodingConstants() local 51 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_encodingObject() local 67 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_proprietaryEncoding() local 82 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_transformationConstantStretch() local 98 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_transformationConstantCrop() local 114 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_transformationConstantFill() local 130 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_transformationConstantCropThenFill() local 147 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_noSize() local 161 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_useMaxSize() local 176 String expected = sXmlDocDecl + "<image-descriptor version=\"1.0\">\n" in testBuildImageDescriptor_allButSize() local
|
| /packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/ |
| D | StorageUtilsTest.java | 55 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/modules/NetworkStack/tests/unit/src/android/net/util/ |
| D | ConnectivityPacketSummaryTest.java | 62 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/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
| D | SuggestionCursorUtil.java | 44 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/ |
| D | SparseArrayStreamTest.java | 39 ImmutableList<Integer> expected = ImmutableList.of(5, 20, 1000); in testKeyStream() local 43 assertContainsExactlyInOrder(actual.boxed(), expected); in testKeyStream() local 55 ImmutableList<String> expected = ImmutableList.of("five", "twenty", "thousand"); in testValueStream() local 71 ImmutableList<Pair<Integer, String>> expected = ImmutableList.of( in testPairStream() local 94 private static <T> void assertContainsExactlyInOrder(Stream<T> actual, List<T> expected) { in assertContainsExactlyInOrder()
|
| D | UtilsTest.java | 87 long expected = 1234567890L; in testBytesToLong() local 108 UUID expected = new UUID(72623859790382856L, 718316418130246909L); in testBytesToUUID() local 135 Byte[] expected = new Byte[] {1, 2, 3, 4, 5, 6}; in testConcatByteArrays() local
|
| /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/ |
| D | ProvisioningModeWrapperProviderTest.java | 65 String expected = mContext.getString(R.string.work_profile_provisioning_summary); in testGetProvisioningModeWrapper_workProfile() local 75 String expected = mContext.getString(R.string.cope_provisioning_summary); in testGetProvisioningModeWrapper_workProfileOnOrgOwnedDevice() local 91 String expected = mContext.getString(R.string.fully_managed_device_provisioning_summary); in testGetProvisioningModeWrapper_fullyManagedDevice_withoutSensorPermission() local 107 String expected = mContext.getString( in testGetProvisioningModeWrapper_fullyManagedDevice_withSensorPermission() local 116 private void assertWrapperAsExpected(ProvisioningModeWrapper wrapper, String expected) { in assertWrapperAsExpected()
|
| /packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
| D | UtilsTest.java | 36 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/ |
| D | DatabaseUtilsTest.java | 259 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_Buckets() local 270 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_BucketsByPath() local 281 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_113651872() local 292 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_113652519() local 303 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_113652519_longer() local 314 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_115340326() local 325 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_116845885() local
|
| D | MemoryTest.java | 39 final int expected = 42; in testBigEndian() local 47 final int expected = 42; in testLittleEndian() local
|
| /packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
| D | IoOveruseConfigurationSubject.java | 77 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()
|
| D | InternalIoOveruseConfigurationSubject.java | 61 public void containsExactlyElementsIn(Iterable<IoOveruseConfiguration> expected) { in containsExactlyElementsIn() 70 IoOveruseConfiguration expected) { in isEquals() 129 List<PerStateIoOveruseThreshold> expected) { in isPerStateThresholdEquals() 136 List<IoOveruseAlertThreshold> expected) { in isAlertThresholdEquals() 142 private static boolean isPerStateBytesEquals(PerStateBytes acutal, PerStateBytes expected) { in isPerStateBytesEquals()
|
| /packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
| D | ANQPParserTest.java | 279 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 …]
|
| D | RawByteElementTest.java | 47 RawByteElement expected = new RawByteElement(TEST_ELEMENT_ID, data); in parseEmptyBuffer() local 61 RawByteElement expected = new RawByteElement(TEST_ELEMENT_ID, data); in parseNonEmptyBuffer() local
|
| /packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
| D | PowerComponentHandlerUnitTest.java | 79 CarPowerPolicy expected = new CarPowerPolicy("", new int[]{}, in testGetAccumulatedPolicy_firstTime() local 91 CarPowerPolicy expected = new CarPowerPolicy("test_policy1", new int[]{WIFI}, in testApplyPowerPolicy_oneTime() local 108 CarPowerPolicy expected = new CarPowerPolicy("test_policy4", in testApplyPowerPolicy_multipleTimes() local
|
| /packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/ |
| D | DevDetailMoTest.java | 92 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/apps/Contacts/tests/src/com/android/contacts/editor/ |
| D | EditorUiUtilsTest.java | 87 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/services/Car/cpp/watchdog/server/tests/ |
| D | OveruseConfigurationXmlHelperTest.cpp | 85 ResourceOveruseConfiguration expected = in TEST() local 118 ResourceOveruseConfiguration expected = in TEST() local 148 ResourceOveruseConfiguration expected = in TEST() local 180 ResourceOveruseConfiguration expected = in TEST() local 223 ResourceOveruseConfiguration expected = in TEST() local 263 ResourceOveruseConfiguration expected = in TEST() local
|
| /packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
| D | WifiMetricsTestUtil.java | 42 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()
|
| /packages/apps/Camera2/tests/src/com/android/camera/unittest/ |
| D | CameraUnitTest.java | 31 int[] expected; in testPrepareMatrix() local 58 private void assertEquals(int expected[], float[] actual) { in assertEquals()
|
| /packages/modules/adb/ |
| D | adb_io_test.cpp | 46 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/providers/ContactsProvider/tests/src/com/android/providers/contacts/database/ |
| D | MoreDatabaseUtilTest.java | 37 String expected = "create index testtable_testfield_index on testtable(testfield)"; in testBuildIndex() local 48 String expected = "drop index if exists testtable_testfield_index"; in testDropIndex() local
|
| /packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/ |
| D | VendorSpecificAuthTest.java | 66 VendorSpecificAuth expected = new VendorSpecificAuth(new byte[0]); in parseBufferWithZeroLength() local 78 VendorSpecificAuth expected = new VendorSpecificAuth(TEST_DATA); in parseBuffer() local
|