Home
last modified time | relevance | path

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

/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DGsmSmsCbMessage.java192 BitStreamReader bitReader = new BitStreamReader(pdu, whamOffset); in createGeoFencingTriggerMessage() local
193 int type = bitReader.read(4); in createGeoFencingTriggerMessage()
194 int length = bitReader.read(7); in createGeoFencingTriggerMessage()
196 bitReader.skip(); in createGeoFencingTriggerMessage()
203 int messageIdentifier = bitReader.read(16); in createGeoFencingTriggerMessage()
204 int serialNumber = bitReader.read(16); in createGeoFencingTriggerMessage()
241 BitStreamReader bitReader = new BitStreamReader(pdu, offset); in parseWarningAreaCoordinates() local
248 int type = bitReader.read(4); in parseWarningAreaCoordinates()
249 int length = bitReader.read(10); in parseWarningAreaCoordinates()
252 bitReader.skip(); in parseWarningAreaCoordinates()
[all …]
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DGsmSmsCbMessage.java197 BitStreamReader bitReader = new BitStreamReader(pdu, offset); in parseWarningAreaCoordinates() local
204 int type = bitReader.read(4); in parseWarningAreaCoordinates()
205 int length = bitReader.read(10); in parseWarningAreaCoordinates()
208 bitReader.skip(); in parseWarningAreaCoordinates()
212 maximumWaitTimeSec = bitReader.read(8); in parseWarningAreaCoordinates()
220 latLngs.add(getLatLng(bitReader)); in parseWarningAreaCoordinates()
223 bitReader.skip(); in parseWarningAreaCoordinates()
227 LatLng center = getLatLng(bitReader); in parseWarningAreaCoordinates()
231 double radius = (bitReader.read(20) * 1.0 / (1 << 6)) * 1000.0; in parseWarningAreaCoordinates()
247 private static LatLng getLatLng(BitStreamReader bitReader) { in getLatLng() argument
[all …]