Home
last modified time | relevance | path

Searched refs:fromThreadTlvs (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/
DActiveOperationalDatasetTest.java86 ActiveOperationalDataset.fromThreadTlvs(VALID_DATASET_TLVS);
118 ActiveOperationalDataset.fromThreadTlvs(VALID_DATASET_TLVS); in parcelable_parcelingIsLossLess()
134 () -> ActiveOperationalDataset.fromThreadTlvs(invalidTlv)); in fromThreadTlvs_tooLongTlv_throwsIllegalArgument()
144 () -> ActiveOperationalDataset.fromThreadTlvs(invalidTlv)); in fromThreadTlvs_invalidNetworkKeyTlv_throwsIllegalArgument()
153 () -> ActiveOperationalDataset.fromThreadTlvs(invalidTlv)); in fromThreadTlvs_noNetworkKeyTlv_throwsIllegalArgument()
163 () -> ActiveOperationalDataset.fromThreadTlvs(invalidTlv)); in fromThreadTlvs_invalidActiveTimestampTlv_throwsIllegalArgument()
172 () -> ActiveOperationalDataset.fromThreadTlvs(invalidTlv)); in fromThreadTlvs_noActiveTimestampTlv_throwsIllegalArgument()
181 () -> ActiveOperationalDataset.fromThreadTlvs(invalidTlv)); in fromThreadTlvs_invalidNetworkNameTlv_emptyName_throwsIllegalArgument()
194 () -> ActiveOperationalDataset.fromThreadTlvs(invalidTlv)); in fromThreadTlvs_invalidNetworkNameTlv_tooLongName_throwsIllegalArgument()
203 () -> ActiveOperationalDataset.fromThreadTlvs(invalidTlv)); in fromThreadTlvs_noNetworkNameTlv_throwsIllegalArgument()
[all …]
DPendingOperationalDatasetTest.java175 PendingOperationalDataset.fromThreadTlvs(OPENTHREAD_PENDING_DATASET_TLVS); in fromThreadTlvs_openthreadTlvs_success()
212 PendingOperationalDataset.fromThreadTlvs(pendingDatasetTlvs); in fromThreadTlvs_completePendingDatasetTlvs_success()
232 () -> PendingOperationalDataset.fromThreadTlvs(pendingDatasetTlvs)); in fromThreadTlvs_PendingTimestampTlvIsMissing_throwsIllegalArgument()
246 () -> PendingOperationalDataset.fromThreadTlvs(pendingDatasetTlvs)); in fromThreadTlvs_delayTimerTlvIsMissing_throwsIllegalArgument()
255 () -> PendingOperationalDataset.fromThreadTlvs(activeDatasetTlvs)); in fromThreadTlvs_activeDatasetTlvs_throwsIllegalArgument()
264 () -> PendingOperationalDataset.fromThreadTlvs(invalidTlvs)); in fromThreadTlvs_malformedTlvs_throwsIllegalArgument()
276 PendingOperationalDataset.fromThreadTlvs(dataset1.toThreadTlvs()); in toThreadTlvs_conversionIsLossLess()
/packages/modules/Connectivity/thread/tests/unit/src/android/net/thread/
DActiveOperationalDatasetTest.java75 ActiveOperationalDataset.fromThreadTlvs(datasetWithUnknownTlvs); in fromThreadTlvs_containsUnknownTlvs_unknownTlvsRetained()
77 ActiveOperationalDataset.fromThreadTlvs(dataset1.toThreadTlvs()); in fromThreadTlvs_containsUnknownTlvs_unknownTlvsRetained()
88 Builder builder = new Builder(ActiveOperationalDataset.fromThreadTlvs(VALID_DATASET_TLVS)); in builder_buildWithTooLongTlvs_throwsIllegalState()
99 ActiveOperationalDataset.fromThreadTlvs(VALID_DATASET_TLVS); in builder_setUnknownTlvs_success()
DThreadNetworkControllerTest.java80 ActiveOperationalDataset.fromThreadTlvs(DEFAULT_DATASET_TLVS);
/packages/modules/Connectivity/thread/framework/java/android/net/thread/
DPendingOperationalDataset.java60 return PendingOperationalDataset.fromThreadTlvs(in.createByteArray());
106 public static PendingOperationalDataset fromThreadTlvs(@NonNull byte[] tlvs) { in fromThreadTlvs() method in PendingOperationalDataset
112 ActiveOperationalDataset activeDataset = ActiveOperationalDataset.fromThreadTlvs(tlvs); in fromThreadTlvs()
DActiveOperationalDataset.java146 return ActiveOperationalDataset.fromThreadTlvs(in.createByteArray());
224 public static ActiveOperationalDataset fromThreadTlvs(@NonNull byte[] tlvs) { in fromThreadTlvs() method in ActiveOperationalDataset
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DThreadNetworkShellCommand.java157 dataset = ActiveOperationalDataset.fromThreadTlvs(datasetTlvs); in join()
177 dataset = ActiveOperationalDataset.fromThreadTlvs(datasetTlvs); in migrate()
DThreadNetworkControllerService.java1519 ActiveOperationalDataset.fromThreadTlvs(newState.activeDatasetTlvs);
1534 PendingOperationalDataset.fromThreadTlvs(newState.pendingDatasetTlvs);
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DThreadNetworkShellCommandTest.java232 ActiveOperationalDataset.fromThreadTlvs( in join_controllerServiceJoinIsCalled()
269 ActiveOperationalDataset.fromThreadTlvs( in migrate_controllerServiceMigrateIsCalled()
DThreadNetworkControllerServiceTest.java134 ActiveOperationalDataset.fromThreadTlvs(DEFAULT_ACTIVE_DATASET_TLVS);
/packages/modules/Connectivity/thread/demoapp/java/com/android/threadnetwork/demoapp/
DThreadNetworkSettingsFragment.java73 ActiveOperationalDataset.fromThreadTlvs(DEFAULT_ACTIVE_DATASET_TLVS);
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/
DThreadIntegrationTest.java95 ActiveOperationalDataset.fromThreadTlvs(DEFAULT_DATASET_TLVS);
DBorderRoutingTest.java107 ActiveOperationalDataset.fromThreadTlvs(DEFAULT_DATASET_TLVS);
DServiceDiscoveryTest.java91 ActiveOperationalDataset.fromThreadTlvs(DEFAULT_DATASET_TLVS);
/packages/modules/Connectivity/framework-t/api/
Dsystem-current.txt428 …method @NonNull public static android.net.thread.ActiveOperationalDataset fromThreadTlvs(@NonNull …
491 …method @NonNull public static android.net.thread.PendingOperationalDataset fromThreadTlvs(@NonNull…