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.java147 protected ArrayList<SmsCbMessage> mMessageList; field in CellBroadcastAlertDialog
542 mMessageList = savedInstanceState.getParcelableArrayList( in onCreate()
547 mMessageList = intent.getParcelableArrayListExtra( in onCreate()
556 if (mMessageList == null || mMessageList.size() == 0) { in onCreate()
560 Log.d(TAG, "onCreate loaded message list of size " + mMessageList.size()); in onCreate()
657 ArrayList<SmsCbMessage> messageList = getNewMessageListIfNeeded(mMessageList, in onUserLeaveHint()
701 int index = mMessageList.size() - 1; in getLatestMessage()
703 return mMessageList.get(index); in getLatestMessage()
712 int index = mMessageList.size() - 1; in removeLatestMessage()
714 return mMessageList.remove(index); in removeLatestMessage()
[all …]
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertDialogTest.java122 private ArrayList<SmsCbMessage> mMessageList; field in CellBroadcastAlertDialogTest
128 mMessageList = new ArrayList<>(1); in createActivityIntent()
129 mMessageList.add(CellBroadcastAlertServiceTest.createMessageForCmasMessageClass(12412, in createActivityIntent()
136 mMessageList); in createActivityIntent()
381 mMessageList.add(CellBroadcastAlertServiceTest.createMessageForCmasMessageClass(12413, in testOnNewIntent()
385 new ArrayList<>(mMessageList)); in testOnNewIntent()
479 mMessageList = new ArrayList<>(1); in testOnKeyDownWithEmptyMessageList()
484 mMessageList); in testOnKeyDownWithEmptyMessageList()
529 mMessageList.add(CellBroadcastAlertServiceTest.createMessageForCmasMessageClass(12413, in testPulsationRestartOnNewIntent()
534 new ArrayList<>(mMessageList)); in testPulsationRestartOnNewIntent()
[all …]