/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipImageFormatTest.java | 33 String expected = "<native encoding=\"JPEG\" pixel=\"1280*1024\" />"; in testParseNative_requiredOnly() local 46 String expected = "<native encoding=\"JPEG\" pixel=\"1280*1024\" size=\"1048576\" />"; in testParseNative_withSize() local 59 String expected = "<variant encoding=\"JPEG\" pixel=\"1280*1024\" />"; in testParseVariant_requiredOnly() local 72 String expected = "<variant encoding=\"JPEG\" pixel=\"1280*1024\" maxsize=\"1048576\" />"; in testParseVariant_withMaxSize() local 85 String expected = in testParseVariant_withTransformation() local 109 String expected = in testParseVariant_allFields() local 148 String expected = "<native encoding=\"JPEG\" pixel=\"1280*1024\" />"; in testCreateNative_requiredOnly() local 165 String expected = "<native encoding=\"JPEG\" pixel=\"1280*1024\" size=\"1048576\" />"; in testCreateNative_withSize() local 182 String expected = "<variant encoding=\"JPEG\" pixel=\"32*32\" />"; in testCreateVariant_requiredOnly() local 207 String expected = in testCreateVariant_withTransformations() local [all …]
|
D | BipImageDescriptorTest.java | 37 String expected = in testBuildImageDescriptor_encodingConstants() local 54 String expected = in testBuildImageDescriptor_encodingObject() local 72 String expected = in testBuildImageDescriptor_proprietaryEncoding() local 90 String expected = in testBuildImageDescriptor_transformationConstantStretch() local 108 String expected = in testBuildImageDescriptor_transformationConstantCrop() local 126 String expected = in testBuildImageDescriptor_transformationConstantFill() local 144 String expected = in testBuildImageDescriptor_transformationConstantCropThenFill() local 163 String expected = in testBuildImageDescriptor_noSize() local 179 String expected = in testBuildImageDescriptor_useMaxSize() local 196 String expected = in testBuildImageDescriptor_allButSize() 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/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/ |
D | LoadExerciseRoutePermissionUseCaseTest.kt | 98 val expected = in <lambda>() constant 114 val expected = in <lambda>() constant 128 val expected = in <lambda>() constant 146 val expected = in <lambda>() constant 162 val expected = in <lambda>() constant 178 val expected = in <lambda>() constant 196 val expected = in <lambda>() constant 214 val expected = in <lambda>() constant 240 val expected = in <lambda>() constant
|
/packages/apps/Car/Settings/tests/multivalent/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/apps/Settings/tests/robotests/src/com/android/settings/accessibility/shortcuts/ |
D | GestureShortcutOptionControllerTest.java | 99 String expected = StringUtil.getIcuPluralsString( in getSummary_touchExplorationDisabled_notInSuw_verifySummary() local 115 String expected = StringUtil.getIcuPluralsString( in getSummary_touchExplorationDisabled_notInSuw_gestureFlag_verifySummary() local 127 String expected = StringUtil.getIcuPluralsString( in getSummary_touchExplorationDisabled_inSuw_verifySummary() local 140 String expected = StringUtil.getIcuPluralsString( in getSummary_touchExplorationEnabled_notInSuw_verifySummary() local 156 String expected = StringUtil.getIcuPluralsString( in getSummary_touchExplorationEnabled_notInSuw_gestureFlag_verifySummary() local 168 String expected = StringUtil.getIcuPluralsString( in getSummary_touchExplorationEnabled_inSuw_verifySummary() local 180 String expected = StringUtil.getIcuPluralsString( in getSummary_standaloneGestureFlagOn_verifyNoCustomizeA11yButtonTest() 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/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/data/customaudience/ |
D | CustomAudienceConvertersTest.java | 81 List<DBAdData> expected = in testSerializeAndDeserialize_filtersDisabled() local 98 List<DBAdData> expected = in testSerializeAndDeserialize_toJsonFiltersDisabled() local 115 List<DBAdData> expected = in testSerializeAndDeserialize_fromJsonFiltersDisabled() local 134 DBAdData expected = in testSerializeAndDeserialize_toJsonRenderIdDisabled() local 155 DBAdData expected = in testSerializeAndDeserialize_fromJsonRenderIdDisabled() local 171 DBAdData expected = in testSerializeAndDeserialize_toJsonRenderIdEnabled() local 187 DBAdData expected = in testSerializeAndDeserialize_fromJsonRenderIdEnabled() local 203 DBAdData expected = in testSerializeAndDeserialize_fromJsonOnlyFCapEnabled() local 220 DBAdData expected = in testSerializeAndDeserialize_toJsonOnlyFCapEnabled() local 237 DBAdData expected = in testSerializeAndDeserialize_fromJsonOnlyAppInstallEnabled() local [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | SparseArrayStreamTest.java | 41 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/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/ |
D | Utils.java | 26 static void assertEnergyWithTolerance(Energy energy, double expected) { in assertEnergyWithTolerance() 31 static void assertLengthWithTolerance(Length length, double expected) { in assertLengthWithTolerance() 36 static void assertMassWithTolerance(Mass mass, double expected) { in assertMassWithTolerance() 41 static void assertDoubleWithTolerance(Double value, double expected) { in assertDoubleWithTolerance()
|
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/recents/ui/mapper/ |
D | TaskUiStateMapperTest.kt | 79 val expected = in <lambda>() constant 127 val expected = in <lambda>() constant 146 val expected = in <lambda>() constant 178 val expected = in <lambda>() constant 209 val expected = TaskThumbnailUiState.BackgroundOnly(TASK_BACKGROUND_COLOR) in <lambda>() constant 223 val expected = TaskThumbnailUiState.BackgroundOnly(TASK_BACKGROUND_COLOR) in <lambda>() constant
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/ |
D | CleanupUtilsTest.java | 71 List<String> expected = List.of(CommonFixture.TEST_PACKAGE_NAME_2); in testCleanupNotUninstalled() local 92 List<String> expected = List.of(CommonFixture.TEST_PACKAGE_NAME_1); in testCleanupNotAllowed() local 113 List<String> expected = Collections.emptyList(); in testCleanupMultipleAllowLists() local 137 List<String> expected = Collections.emptyList(); in testCleanupMultipleAllowListsWildCard() local 160 List<String> expected = List.of(CommonFixture.TEST_PACKAGE_NAME_2); in testCleanupMultipleAllowListsRedundant() local
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningModeWrapperProviderTest.java | 67 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 94 String expected = mContext.getString(R.string.fully_managed_device_provisioning_summary, in testGetProvisioningModeWrapper_fullyManagedDevice_withoutSensorPermission() local 113 String expected = mContext.getString( in testGetProvisioningModeWrapper_fullyManagedDevice_withSensorPermission() local 124 private void assertWrapperAsExpected(ProvisioningModeWrapper wrapper, String expected) { in assertWrapperAsExpected()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | DatabaseUtilsTest.java | 269 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/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/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 …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | UtilsTest.java | 50 String expected = "000001, 000002, 0000800000"; in testRoamingConsortiumsToStringLong() local 63 String expected = "000001, 000002, 0000800000"; in testRoamingConsortiumsToStringCollection() local 91 String expected = "ab cd ef"; in testToHexString() local 101 String expected = "abcdef"; in testToHex() local 157 String expected = "12:34:56.789"; in testToHMS() local 170 String expected = "1996/05/14 12:34:56Z"; in testToUTCString() local
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/signals/updateprocessors/put/ |
D | PutV0Test.java | 78 List<DBProtectedSignal.Builder> expected = in testPutSingle() local 93 List<DBProtectedSignal.Builder> expected = in testPutMultipleKeys() local 114 List<DBProtectedSignal.Builder> expected = in testOverwriteExisting() local 137 List<DBProtectedSignal.Builder> expected = in testOverwriteMultipleExisting() local
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/recentaccess/ |
D | RecentAccessViewModelTest.kt | 167 val expected = in <lambda>() constant 262 val expected = in <lambda>() constant 352 val expected = in <lambda>() constant 409 val expected = in <lambda>() constant 470 val expected = in <lambda>() constant 527 val expected = in <lambda>() constant 587 val expected = in <lambda>() constant 688 val expected = in <lambda>() constant 747 val expected = in <lambda>() constant 783 val expected = in <lambda>() constant [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/signals/updateprocessors/append/ |
D | AppendV0Test.java | 89 List<DBProtectedSignal.Builder> expected = in testAppendSingle() local 111 List<DBProtectedSignal.Builder> expected = in testAppendMultipleValues() local 143 List<DBProtectedSignal.Builder> expected = in testAppendMultipleKeys() local 173 List<DBProtectedSignal.Builder> expected = in testOverwriteExisting() local 204 List<DBProtectedSignal.Builder> expected = in testOverwriteMultipleExisting() local 231 List<DBProtectedSignal.Builder> expected = in testAddToExisting() local
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/settings/ui/viewmodel/ |
D | ColorContrastSectionViewModelTest.kt | 67 val expected = in <lambda>() constant 83 val expected = in <lambda>() constant 99 val expected = in <lambda>() constant
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | IoOveruseConfigurationSubject.java | 79 public void containsExactlyElementsIn(Iterable<IoOveruseConfiguration> expected) { in containsExactlyElementsIn() 87 IoOveruseConfiguration expected) { in isEquals() 108 private static boolean isPerStateBytesEquals(PerStateBytes actual, PerStateBytes expected) { in isPerStateBytesEquals() 115 List<IoOveruseAlertThreshold> expected) { in isAlertThresholdEquals()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | PowerComponentHandlerUnitTest.java | 87 CarPowerPolicy expected = new CarPowerPolicy("", new int[]{VOICE_INTERACTION}, in testGetAccumulatedPolicy_firstTime() local 99 CarPowerPolicy expected = new CarPowerPolicy("test_policy1", new int[]{WIFI, BLUETOOTH, in testApplyPowerPolicy_oneTime() local 116 CarPowerPolicy expected = new CarPowerPolicy("test_policy4", in testApplyPowerPolicy_multipleTimes() local 140 CarPowerPolicy expected = new CarPowerPolicy("test_policy2", in testApplyPowerPolicy_withCustomComponents() local
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/data/adselection/ |
D | DBAdSelectionDebugReportTest.java | 37 DBAdSelectionDebugReport expected = in testAdSelectionDebugReport_create_success() local 51 DBAdSelectionDebugReport expected = in testAdSelectionDebugReport_create_adSelectionDebugReportIdNull() local 65 DBAdSelectionDebugReport expected = in testAdSelectionDebugReport_create_DebugReportUriEmpty() local
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/iso7816/ |
D | TlvParserTest.java | 46 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()
|