Home
last modified time | relevance | path

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

/packages/apps/Car/Messenger/tests/robotests/src/com/android/car/messenger/
DMessengerDelegateTest.java46 private MessageNotificationDelegate mMessengerDelegate; field in MessengerDelegateTest
65 mMessengerDelegate = new MessageNotificationDelegate(mContext); in setUp()
66 mMessengerDelegate.onDeviceConnected(mMockBluetoothDeviceOne); in setUp()
71 assertThat(mMessengerDelegate.mBtDeviceAddressToConnectionTimestamp).containsKey( in testDeviceConnections()
73 assertThat(mMessengerDelegate.mBtDeviceAddressToConnectionTimestamp).hasSize(1); in testDeviceConnections()
75 mMessengerDelegate.onDeviceConnected(mMockBluetoothDeviceTwo); in testDeviceConnections()
76 assertThat(mMessengerDelegate.mBtDeviceAddressToConnectionTimestamp).containsKey( in testDeviceConnections()
78 assertThat(mMessengerDelegate.mBtDeviceAddressToConnectionTimestamp).hasSize(2); in testDeviceConnections()
80 mMessengerDelegate.onDeviceConnected(mMockBluetoothDeviceOne); in testDeviceConnections()
81 assertThat(mMessengerDelegate.mBtDeviceAddressToConnectionTimestamp).hasSize(2); in testDeviceConnections()
[all …]
/packages/apps/Car/Messenger/src/com/android/car/messenger/
DMessengerService.java56 private MessageNotificationDelegate mMessengerDelegate; field in MessengerService
80 mMessengerDelegate = new MessageNotificationDelegate(this); in onCreate()
82 mBluetoothMonitor.registerListener(mMessengerDelegate); in onCreate()
139 mMessengerDelegate.onDestroy(); in onDestroy()
223 mMessengerDelegate.sendMessage(conversationKey, message.toString()); in voiceReply()
235 mMessengerDelegate.clearNotifications(key -> key.equals(conversationKey)); in clearNotificationState()
246 mMessengerDelegate.markAsRead(conversationKey); in markAsRead()