Home
last modified time | relevance | path

Searched refs:TYPE_CHANNEL (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/
DActiveOperationalDatasetTest.java56 private static final int TYPE_CHANNEL = 0; field in ActiveOperationalDatasetTest
208 byte[] invalidTlv = replaceTlv(VALID_DATASET_TLVS, TYPE_CHANNEL, "000100"); in fromThreadTlvs_invalidChannelTlv_channelMissing_throwsIllegalArgument()
217 byte[] datasetTlv = replaceTlv(VALID_DATASET_TLVS, TYPE_CHANNEL, "0003010020"); in fromThreadTlvs_undefinedChannelPage_success()
227 byte[] invalidTlv1 = replaceTlv(VALID_DATASET_TLVS, TYPE_CHANNEL, "000300000A"); in fromThreadTlvs_invalid2P4GhzChannel_throwsIllegalArgument()
228 byte[] invalidTlv2 = replaceTlv(VALID_DATASET_TLVS, TYPE_CHANNEL, "000300001B"); in fromThreadTlvs_invalid2P4GhzChannel_throwsIllegalArgument()
240 byte[] validTlv = replaceTlv(VALID_DATASET_TLVS, TYPE_CHANNEL, "0003000010"); in fromThreadTlvs_valid2P4GhzChannelTlv_success()
249 byte[] invalidTlv = removeTlv(VALID_DATASET_TLVS, TYPE_CHANNEL); in fromThreadTlvs_noChannelTlv_throwsIllegalArgument()
/packages/modules/Connectivity/thread/framework/java/android/net/thread/
DActiveOperationalDataset.java106 @VisibleForTesting public static final int TYPE_CHANNEL = 0; field in ActiveOperationalDataset
275 case TYPE_CHANNEL: in initWithTlv()
427 dataset.write(TYPE_CHANNEL); in toThreadTlvs()
/packages/apps/TV/src/com/android/tv/data/
DPreviewProgramContent.java75 .setType(TvContractCompat.PreviewPrograms.TYPE_CHANNEL) in createFromProgram()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DPreviewDataManagerTest.java167 .isEqualTo(TvContractCompat.PreviewPrograms.TYPE_CHANNEL); in createPreviewProgram_fromProgram()