Searched refs:mMessengerDelegate (Results 1 – 2 of 2) sorted by relevance
46 private MessageNotificationDelegate mMessengerDelegate; field in MessengerDelegateTest65 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 …]
56 private MessageNotificationDelegate mMessengerDelegate; field in MessengerService80 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()