Home
last modified time | relevance | path

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

/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertDialog.java142 protected ArrayList<SmsCbMessage> mMessageList; field in CellBroadcastAlertDialog
372 mMessageList = savedInstanceState.getParcelableArrayList( in onCreate()
377 mMessageList = intent.getParcelableArrayListExtra( in onCreate()
386 if (mMessageList == null || mMessageList.size() == 0) { in onCreate()
390 Log.d(TAG, "onCreate loaded message list of size " + mMessageList.size()); in onCreate()
476 CellBroadcastAlertService.addToNotificationBar(getLatestMessage(), mMessageList, in onStop() local
515 int index = mMessageList.size() - 1; in getLatestMessage()
517 return mMessageList.get(index); in getLatestMessage()
526 int index = mMessageList.size() - 1; in removeLatestMessage()
528 return mMessageList.remove(index); in removeLatestMessage()
[all …]
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertDialogTest.java87 private ArrayList<SmsCbMessage> mMessageList; field in CellBroadcastAlertDialogTest
91 mMessageList = new ArrayList<>(1); in createActivityIntent()
92 mMessageList.add(CellBroadcastAlertServiceTest.createMessageForCmasMessageClass(12412, in createActivityIntent()
99 mMessageList); in createActivityIntent()
197 mMessageList.add(CellBroadcastAlertServiceTest.createMessageForCmasMessageClass(12413, in testOnNewIntent()
201 new ArrayList<>(mMessageList)); in testOnNewIntent()
294 mMessageList = new ArrayList<>(1); in testOnKeyDownWithEmptyMessageList()
299 mMessageList); in testOnKeyDownWithEmptyMessageList()