Home
last modified time | relevance | path

Searched refs:extendedPanId (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/thread/framework/java/android/net/thread/
DActiveOperationalDataset.java187 byte[] extendedPanId, in ActiveOperationalDataset() argument
199 this.mExtendedPanId = extendedPanId.clone(); in ActiveOperationalDataset()
728 @NonNull @Size(LENGTH_EXTENDED_PAN_ID) byte[] extendedPanId) { in setExtendedPanId()
729 requireNonNull(extendedPanId, "extendedPanId cannot be null"); in setExtendedPanId()
731 extendedPanId.length == LENGTH_EXTENDED_PAN_ID, in setExtendedPanId()
733 extendedPanId.length, in setExtendedPanId()
735 this.mExtendedPanId = extendedPanId.clone(); in setExtendedPanId()
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/
DActiveOperationalDatasetTest.java499 byte[] extendedPanId = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}; in builder_setValidExtendedPanId_success()
502 new Builder(DEFAULT_DATASET).setExtendedPanId(extendedPanId).build(); in builder_setValidExtendedPanId_success()
504 assertThat(dataset.getExtendedPanId()).isEqualTo(extendedPanId); in builder_setValidExtendedPanId_success()
509 byte[] extendedPanId = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06}; in builder_setInvalidExtendedPanId_throwsIllegalArgument()
512 assertThrows(IllegalArgumentException.class, () -> builder.setExtendedPanId(extendedPanId)); in builder_setInvalidExtendedPanId_throwsIllegalArgument()