Searched refs:mBtDeviceAddressToConnectionTimestamp (Results 1 – 2 of 2) sorted by relevance
71 assertThat(mMessengerDelegate.mBtDeviceAddressToConnectionTimestamp).containsKey( in testDeviceConnections()73 assertThat(mMessengerDelegate.mBtDeviceAddressToConnectionTimestamp).hasSize(1); in testDeviceConnections()76 assertThat(mMessengerDelegate.mBtDeviceAddressToConnectionTimestamp).containsKey( in testDeviceConnections()78 assertThat(mMessengerDelegate.mBtDeviceAddressToConnectionTimestamp).hasSize(2); in testDeviceConnections()81 assertThat(mMessengerDelegate.mBtDeviceAddressToConnectionTimestamp).hasSize(2); in testDeviceConnections()90 mMessengerDelegate.mBtDeviceAddressToConnectionTimestamp.get(BLUETOOTH_ADDRESS_TWO); in testDeviceConnection_hasCorrectTimestamp()100 assertThat(mMessengerDelegate.mBtDeviceAddressToConnectionTimestamp).containsKey( in testOnDeviceDisconnected_notConnectedDevice()102 assertThat(mMessengerDelegate.mBtDeviceAddressToConnectionTimestamp).hasSize(1); in testOnDeviceDisconnected_notConnectedDevice()111 assertThat(mMessengerDelegate.mBtDeviceAddressToConnectionTimestamp).containsKey( in testOnDeviceDisconnected_connectedDevice()113 assertThat(mMessengerDelegate.mBtDeviceAddressToConnectionTimestamp).hasSize(1); in testOnDeviceDisconnected_connectedDevice()[all …]
85 final Map<String, Long> mBtDeviceAddressToConnectionTimestamp = new HashMap<>(); field in MessageNotificationDelegate136 mBtDeviceAddressToConnectionTimestamp.put(device.getAddress(), System.currentTimeMillis()); in onDeviceConnected()154 mBtDeviceAddressToConnectionTimestamp.remove(device.getAddress()); in onDeviceDisconnected()213 final boolean deviceConnected = mBtDeviceAddressToConnectionTimestamp.containsKey( in sendMessage()252 mBtDeviceAddressToConnectionTimestamp.clear(); in resetInternalData()267 >= mBtDeviceAddressToConnectionTimestamp.get(convoKey.getDeviceId())) { in initializeNewMessage()