Searched refs:fromTlvValue (Results 1 – 5 of 5) sorted by relevance
40 () -> OperationalDatasetTimestamp.fromTlvValue(new byte[7])); in fromTlvValue_invalidTimestamp_throwsIllegalArguments()46 OperationalDatasetTimestamp.fromTlvValue(base16().decode("FFEEDDCCBBAA9989")); in fromTlvValue_goodValue_success()59 OperationalDatasetTimestamp.fromTlvValue(timestamp1.toTlvValue()); in toTlvValue_conversionIsLossLess()75 OperationalDatasetTimestamp.fromTlvValue(timestamp1.toTlvValue()); in toTlvValue_timestampFromInstant_conversionIsLossLess()
117 () -> SecurityPolicy.fromTlvValue(new byte[] {0x01})); in securityPolicy_fromTooShortTlvValue_throwsIllegalArgument()120 () -> SecurityPolicy.fromTlvValue(new byte[] {0x01, 0x02})); in securityPolicy_fromTooShortTlvValue_throwsIllegalArgument()127 SecurityPolicy policy2 = SecurityPolicy.fromTlvValue(policy1.toTlvValue()); in securityPolicy_toTlvValue_conversionIsLossLess()
96 public static OperationalDatasetTimestamp fromTlvValue(@NonNull byte[] encodedTimestamp) { in fromTlvValue() method in OperationalDatasetTimestamp
307 builder.setSecurityPolicy(SecurityPolicy.fromTlvValue(value)); in initWithTlv()310 builder.setActiveTimestamp(OperationalDatasetTimestamp.fromTlvValue(value)); in initWithTlv()1043 public static SecurityPolicy fromTlvValue(byte[] encodedSecurityPolicy) { in fromTlvValue() method in ActiveOperationalDataset.SecurityPolicy
119 pendingTimestamp = OperationalDatasetTimestamp.fromTlvValue(value); in fromThreadTlvs()