/frameworks/base/core/tests/coretests/src/android/service/controls/actions/ |
D | ControlActionTest.java | 42 ControlAction fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_boolean() local 44 assertEquals(ControlAction.TYPE_BOOLEAN, fromParcel.getActionType()); in testUnparcelingCorrectClass_boolean() 45 assertTrue(fromParcel instanceof BooleanAction); in testUnparcelingCorrectClass_boolean() 52 ControlAction fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_float() local 54 assertEquals(ControlAction.TYPE_FLOAT, fromParcel.getActionType()); in testUnparcelingCorrectClass_float() 55 assertTrue(fromParcel instanceof FloatAction); in testUnparcelingCorrectClass_float() 62 ControlAction fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_mode() local 64 assertEquals(ControlAction.TYPE_MODE, fromParcel.getActionType()); in testUnparcelingCorrectClass_mode() 65 assertTrue(fromParcel instanceof ModeAction); in testUnparcelingCorrectClass_mode() 72 ControlAction fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_command() local [all …]
|
/frameworks/base/core/tests/coretests/src/android/service/controls/templates/ |
D | ControlTemplateTest.java | 60 ControlTemplate fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_none() local 62 assertEquals(ControlTemplate.NO_TEMPLATE, fromParcel); in testUnparcelingCorrectClass_none() 69 ControlTemplate fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_toggle() local 71 assertEquals(ControlTemplate.TYPE_TOGGLE, fromParcel.getTemplateType()); in testUnparcelingCorrectClass_toggle() 72 assertTrue(fromParcel instanceof ToggleTemplate); in testUnparcelingCorrectClass_toggle() 79 ControlTemplate fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_range() local 81 assertEquals(ControlTemplate.TYPE_RANGE, fromParcel.getTemplateType()); in testUnparcelingCorrectClass_range() 82 assertTrue(fromParcel instanceof RangeTemplate); in testUnparcelingCorrectClass_range() 110 ControlTemplate fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_thumbnail() local 112 assertEquals(ControlTemplate.TYPE_THUMBNAIL, fromParcel.getTemplateType()); in testUnparcelingCorrectClass_thumbnail() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationChannelTest.java | 75 NotificationChannel fromParcel = NotificationChannel.CREATOR.createFromParcel(parcel); in testLongStringFields() local 76 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, fromParcel.getId().length()); in testLongStringFields() 77 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, fromParcel.getName().length()); in testLongStringFields() 79 fromParcel.getDescription().length()); in testLongStringFields() 81 fromParcel.getParentChannelId().length()); in testLongStringFields() 83 fromParcel.getGroup().length()); in testLongStringFields() 85 fromParcel.getConversationId().length()); in testLongStringFields() 100 NotificationChannel fromParcel = NotificationChannel.CREATOR.createFromParcel(parcel); in testLongAlertFields() local 102 fromParcel.getVibrationPattern().length); in testLongAlertFields() 104 fromParcel.getSound().toString().length()); in testLongAlertFields()
|
D | NotificationChannelGroupTest.java | 68 NotificationChannelGroup fromParcel = in testLongStringFields() local 70 assertEquals(NotificationChannelGroup.MAX_TEXT_LENGTH, fromParcel.getId().length()); in testLongStringFields() 71 assertEquals(NotificationChannelGroup.MAX_TEXT_LENGTH, fromParcel.getName().length()); in testLongStringFields() 73 fromParcel.getDescription().length()); in testLongStringFields() 84 NotificationChannelGroup fromParcel = in testNullableFields() local 86 assertEquals(group.getId(), fromParcel.getId()); in testNullableFields() 87 assertTrue(TextUtils.isEmpty(fromParcel.getName())); in testNullableFields()
|
D | AutomaticZenRuleTest.java | 140 AutomaticZenRule fromParcel = new AutomaticZenRule(parcel); in testLongInputsFromParcel() local 141 assertEquals(AutomaticZenRule.MAX_STRING_LENGTH, fromParcel.getName().length()); in testLongInputsFromParcel() 143 fromParcel.getConditionId().toString().length()); in testLongInputsFromParcel() 145 fromParcel.getConfigurationActivity().getPackageName().length()); in testLongInputsFromParcel() 147 fromParcel.getConfigurationActivity().getClassName().length()); in testLongInputsFromParcel() 149 fromParcel.getOwner().getPackageName().length()); in testLongInputsFromParcel() 151 fromParcel.getOwner().getClassName().length()); in testLongInputsFromParcel()
|
/frameworks/base/keystore/tests/src/android/security/ |
D | ParcelableKeyGenParameterSpecTest.java | 135 ParcelableKeyGenParameterSpec fromParcel = in testParcelingWithAllValues() local 137 validateSpecValues(fromParcel.getSpec(), KeyProperties.NAMESPACE_WIFI, ALIAS); in testParcelingWithAllValues() 147 KeyGenParameterSpec fromParcel = ParcelableKeyGenParameterSpec.CREATOR in testParcelingWithNullValues() local 150 assertThat(fromParcel.getKeystoreAlias(), is(ALIAS)); in testParcelingWithNullValues() 151 assertThat(fromParcel.getPurposes(), is(KEY_PURPOSES)); in testParcelingWithNullValues() 152 assertThat(fromParcel.getCertificateNotBefore(), is(new Date(0L))); in testParcelingWithNullValues() 153 assertThat(fromParcel.getCertificateNotAfter(), is(new Date(2461449600000L))); in testParcelingWithNullValues() 167 KeyGenParameterSpec fromParcel = in testParcelingRSAAlgoParameter() local 170 (RSAKeyGenParameterSpec) fromParcel.getAlgorithmParameterSpec(); in testParcelingRSAAlgoParameter() 185 KeyGenParameterSpec fromParcel = in testParcelingECAlgoParameter() local [all …]
|
/frameworks/base/core/tests/coretests/src/android/service/notification/ |
D | ConditionTest.java | 95 Condition fromParcel = new Condition(parcel); in testLongFields_viaParcel() local 96 assertEquals(Condition.MAX_STRING_LENGTH, fromParcel.id.toString().length()); in testLongFields_viaParcel() 97 assertEquals(Condition.MAX_STRING_LENGTH, fromParcel.summary.length()); in testLongFields_viaParcel() 98 assertEquals(Condition.MAX_STRING_LENGTH, fromParcel.line1.length()); in testLongFields_viaParcel() 99 assertEquals(Condition.MAX_STRING_LENGTH, fromParcel.line2.length()); in testLongFields_viaParcel()
|
/frameworks/base/tests/Internal/src/android/app/ |
D | WallpaperInfoTest.java | 64 WallpaperInfo fromParcel = WallpaperInfo.CREATOR.createFromParcel(parcel); in testSupportsAmbientMode() local 66 fromParcel.supportsAmbientMode()); in testSupportsAmbientMode() 90 WallpaperInfo fromParcel = WallpaperInfo.CREATOR.createFromParcel(parcel); in testGetSettingsSliceUri() local 92 0, expectedUri.compareTo(fromParcel.getSettingsSliceUri())); in testGetSettingsSliceUri()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | TimestampedScoredNetworkTest.java | 63 TimestampedScoredNetwork fromParcel = TimestampedScoredNetwork.CREATOR.createFromParcel(parcel); in testParcel() local 65 assertThat(fromParcel.getScore()).isEqualTo(impl.getScore()); in testParcel() 66 assertThat(fromParcel.getUpdatedTimestampMillis()).isEqualTo(impl.getUpdatedTimestampMillis()); in testParcel()
|
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/ |
D | KeyDerivationParamsTest.java | 70 KeyDerivationParams fromParcel = in writeToThenReadFromParcel() local 73 return fromParcel; in writeToThenReadFromParcel()
|
D | RecoveryCertPathTest.java | 71 RecoveryCertPath fromParcel = RecoveryCertPath.CREATOR.createFromParcel(parcel); in writeToThenReadFromParcel() local 73 return fromParcel; in writeToThenReadFromParcel()
|
D | KeyChainProtectionParamsTest.java | 97 KeyChainProtectionParams fromParcel = in writeToThenReadFromParcel() local 100 return fromParcel; in writeToThenReadFromParcel()
|
D | KeyChainSnapshotTest.java | 211 KeyChainSnapshot fromParcel = KeyChainSnapshot.CREATOR.createFromParcel(parcel); in writeToThenReadFromParcel() local 213 return fromParcel; in writeToThenReadFromParcel()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/data/ |
D | EuiccRulesAuthTableTest.java | 228 EuiccRulesAuthTable fromParcel = EuiccRulesAuthTable.CREATOR.createFromParcel(parcel); in testWriteToParcel() local 230 assertEquals(rat, fromParcel); in testWriteToParcel() 238 fromParcel = EuiccRulesAuthTable.CREATOR.createFromParcel(parcel); in testWriteToParcel() 240 assertEquals(rat, fromParcel); in testWriteToParcel() 255 fromParcel = EuiccRulesAuthTable.CREATOR.createFromParcel(parcel); in testWriteToParcel() 257 assertEquals(rat, fromParcel); in testWriteToParcel()
|
/frameworks/base/core/tests/coretests/src/android/service/euicc/ |
D | EuiccProfileInfoTest.java | 64 EuiccProfileInfo fromParcel = EuiccProfileInfo.CREATOR.createFromParcel(parcel); in testWriteToParcel() local 66 assertEquals(p, fromParcel); in testWriteToParcel() 89 EuiccProfileInfo fromParcel = EuiccProfileInfo.CREATOR.createFromParcel(parcel); in testWriteToParcelNullCarrierId() local 91 assertEquals(p, fromParcel); in testWriteToParcelNullCarrierId()
|
/frameworks/base/apct-tests/perftests/packagemanager/src/android/os/ |
D | PackageParsingPerfTest.kt | 239 return fromParcel(parcel).also { in <lambda>() 265 protected abstract fun fromParcel(parcel: Parcel): PackageType in <lambda>() method 272 override fun fromParcel(parcel: Parcel) = PackageParser.Package(parcel) in <lambda>() method 279 override fun fromParcel(parcel: Parcel) = in <lambda>() method
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | BarringInfoTest.java | 83 BarringInfo fromParcel = BarringInfo.CREATOR.createFromParcel(parcel); in testParcel() local 85 assertEquals(fromParcel, info); in testParcel()
|
D | PhysicalChannelConfigTest.java | 192 PhysicalChannelConfig fromParcel = PhysicalChannelConfig.CREATOR.createFromParcel(parcel); in testParcel() local 194 assertThat(fromParcel).isEqualTo(mPhysicalChannelConfig); in testParcel()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTrigger.java | 278 return ModuleProperties.fromParcel(in); 286 private static ModuleProperties fromParcel(Parcel in) { in fromParcel() method in SoundTrigger.ModuleProperties 878 return GenericSoundModel.fromParcel(in); 902 private static GenericSoundModel fromParcel(Parcel in) { in fromParcel() method in SoundTrigger.GenericSoundModel 1258 return RecognitionEvent.fromParcel(in); 1267 protected static RecognitionEvent fromParcel(Parcel in) { in fromParcel() method in SoundTrigger.RecognitionEvent 1456 return RecognitionConfig.fromParcel(in); 1464 private static RecognitionConfig fromParcel(Parcel in) { in fromParcel() method in SoundTrigger.RecognitionConfig 1523 return ConfidenceLevel.fromParcel(in); 1531 private static ConfidenceLevel fromParcel(Parcel in) { in fromParcel() method in SoundTrigger.ConfidenceLevel [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenPolicyTest.java | 563 ZenPolicy fromParcel = ZenPolicy.CREATOR.createFromParcel(parcel); in testTooLongLists_fromParcel() local 566 assertAllPriorityCategoriesUnsetExcept(fromParcel, -1); in testTooLongLists_fromParcel() 567 assertAllVisualEffectsUnsetExcept(fromParcel, -1); in testTooLongLists_fromParcel() 575 ArrayList<Integer> pcList = (ArrayList<Integer>) priorityCategories.get(fromParcel); in testTooLongLists_fromParcel() 581 ArrayList<Integer> veList = (ArrayList<Integer>) visualEffects.get(fromParcel); in testTooLongLists_fromParcel()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | DataProfileTest.java | 214 DataProfile fromParcel = DataProfile.CREATOR.createFromParcel(parcel); in testParcel() local 216 assertThat(fromParcel).isEqualTo(dp); in testParcel()
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | SipDelegateConfiguration.java | 192 public static IpSecConfiguration fromParcel(Parcel source) { in fromParcel() method in SipDelegateConfiguration.IpSecConfiguration 589 mIpSecConfiguration = IpSecConfiguration.fromParcel(source); in SipDelegateConfiguration()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | ApnSettingTest.java | 537 ApnSetting fromParcel = ApnSetting.CREATOR.createFromParcel(parcel); in testParcel() local 539 assertEquals(apn, fromParcel); in testParcel()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 22038 Landroid/hardware/soundtrigger/SoundTrigger$ConfidenceLevel;->fromParcel(Landroid/os/Parcel;)Landro… 22042 Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;->fromParcel(Landroid/os/Parcel;)Land… 22044 Landroid/hardware/soundtrigger/SoundTrigger$Keyphrase;->fromParcel(Landroid/os/Parcel;)Landroid/har… 22048 Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseRecognitionExtra;->fromParcel(Landroid/os/Parc… 22050 Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseSoundModel;->fromParcel(Landroid/os/Parcel;)La… 22053 Landroid/hardware/soundtrigger/SoundTrigger$ModuleProperties;->fromParcel(Landroid/os/Parcel;)Landr… 22066 Landroid/hardware/soundtrigger/SoundTrigger$RecognitionConfig;->fromParcel(Landroid/os/Parcel;)Land… 22072 Landroid/hardware/soundtrigger/SoundTrigger$RecognitionEvent;->fromParcel(Landroid/os/Parcel;)Landr… 22082 Landroid/hardware/soundtrigger/SoundTrigger$SoundModelEvent;->fromParcel(Landroid/os/Parcel;)Landro…
|