Home
last modified time | relevance | path

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

/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunDiscover.java383 Pair<Byte, byte[]> tagAndValue = HdHomeRunUtils.readTaggedValue(buffer); in receive() local
384 if (tagAndValue == null) { in receive()
387 switch (tagAndValue.first) { in receive()
389 if (tagAndValue.second.length != 4) { in receive()
392 result.mDeviceType = ByteBuffer.wrap(tagAndValue.second).getInt(); in receive()
396 if (tagAndValue.second.length != 4) { in receive()
399 result.mDeviceId = ByteBuffer.wrap(tagAndValue.second).getInt(); in receive()
403 if (tagAndValue.second.length != 1) { in receive()
406 result.mTunerCount = tagAndValue.second[0]; in receive()
410 result.mBaseUrl = new String(tagAndValue.second); in receive()
DHdHomeRunControlSocket.java80 Pair<Byte, byte[]> tagAndValue = HdHomeRunUtils.readTaggedValue(buffer); in get() local
81 if (tagAndValue == null) { in get()
84 switch (tagAndValue.first) { in get()
89 tagAndValue.second, 0, tagAndValue.second.length - 1)); in get()