Home
last modified time | relevance | path

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

/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCdmaSmsMessageTest.java337 BitwiseOutputStream cmasBos = new BitwiseOutputStream(10); in createCmasSmsMessage() local
338 cmasBos.write(8, 0); // CMAE protocol version 0 in createCmasSmsMessage()
341 cmasBos.write(8, 0); // Type 0 elements (alert text) in createCmasSmsMessage()
342 encodeBody(encoding, body, true, cmasBos); in createCmasSmsMessage()
346 cmasBos.write(8, 1); // Type 1 elements in createCmasSmsMessage()
347 cmasBos.write(8, 4); // length: 4 bytes in createCmasSmsMessage()
348 cmasBos.write(8, (cmasCategory & 0xff)); in createCmasSmsMessage()
349 cmasBos.write(8, (responseType & 0xff)); in createCmasSmsMessage()
350 cmasBos.write(4, (severity & 0x0f)); in createCmasSmsMessage()
351 cmasBos.write(4, (urgency & 0x0f)); in createCmasSmsMessage()
[all …]