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.java195 BitStreamReader bitReader = new BitStreamReader(pdu, whamOffset); in createGeoFencingTriggerMessage() local
196 int type = bitReader.read(4); in createGeoFencingTriggerMessage()
197 int length = bitReader.read(7); in createGeoFencingTriggerMessage()
199 bitReader.skip(); in createGeoFencingTriggerMessage()
206 int messageIdentifier = bitReader.read(16); in createGeoFencingTriggerMessage()
207 int serialNumber = bitReader.read(16); in createGeoFencingTriggerMessage()
246 BitStreamReader bitReader = new BitStreamReader(pdu, offset); in parseWarningAreaCoordinates() local
253 int type = bitReader.read(4); in parseWarningAreaCoordinates()
254 int length = bitReader.read(10); in parseWarningAreaCoordinates()
257 bitReader.skip(); in parseWarningAreaCoordinates()
[all …]
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DGsmSmsCbMessage.java189 BitStreamReader bitReader = new BitStreamReader(pdu, offset); in parseWarningAreaCoordinates() local
196 int type = bitReader.read(4); in parseWarningAreaCoordinates()
197 int length = bitReader.read(10); in parseWarningAreaCoordinates()
200 bitReader.skip(); in parseWarningAreaCoordinates()
204 maximumWaitTimeSec = bitReader.read(8); in parseWarningAreaCoordinates()
212 latLngs.add(getLatLng(bitReader)); in parseWarningAreaCoordinates()
215 bitReader.skip(); in parseWarningAreaCoordinates()
219 LatLng center = getLatLng(bitReader); in parseWarningAreaCoordinates()
223 double radius = (bitReader.read(20) * 1.0 / (1 << 6)) * 1000.0; in parseWarningAreaCoordinates()
239 private static LatLng getLatLng(BitStreamReader bitReader) { in getLatLng() argument
[all …]