Searched refs:cmasBos (Results 1 – 1 of 1) sorted by relevance
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CdmaSmsMessageTest.java | 235 BitwiseOutputStream cmasBos = new BitwiseOutputStream(10); in createCmasSmsMessage() local 236 cmasBos.write(8, 0); // CMAE protocol version 0 in createCmasSmsMessage() 239 cmasBos.write(8, 0); // Type 0 elements (alert text) in createCmasSmsMessage() 240 encodeBody(encoding, body, true, cmasBos); in createCmasSmsMessage() 244 cmasBos.write(8, 1); // Type 1 elements in createCmasSmsMessage() 245 cmasBos.write(8, 4); // length: 4 bytes in createCmasSmsMessage() 246 cmasBos.write(8, (cmasCategory & 0xff)); in createCmasSmsMessage() 247 cmasBos.write(8, (responseType & 0xff)); in createCmasSmsMessage() 248 cmasBos.write(4, (severity & 0x0f)); in createCmasSmsMessage() 249 cmasBos.write(4, (urgency & 0x0f)); in createCmasSmsMessage() [all …]
|