Searched refs:HearingAidStackEvent (Results 1 – 6 of 6) sorted by relevance
181 HearingAidStackEvent event = (HearingAidStackEvent) message.obj; in processMessage()189 case HearingAidStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED: in processMessage()206 case HearingAidStackEvent.CONNECTION_STATE_DISCONNECTED: in processConnectionEvent()209 case HearingAidStackEvent.CONNECTION_STATE_CONNECTING: in processConnectionEvent()219 case HearingAidStackEvent.CONNECTION_STATE_CONNECTED: in processConnectionEvent()230 case HearingAidStackEvent.CONNECTION_STATE_DISCONNECTING: in processConnectionEvent()275 HearingAidStackEvent disconnectEvent = in processMessage()276 new HearingAidStackEvent( in processMessage()277 HearingAidStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in processMessage()279 disconnectEvent.valueInt1 = HearingAidStackEvent.CONNECTION_STATE_DISCONNECTED; in processMessage()[all …]
138 private void sendMessageToService(HearingAidStackEvent event) { in sendMessageToService()152 HearingAidStackEvent event = in onConnectionStateChanged()153 new HearingAidStackEvent(HearingAidStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in onConnectionStateChanged()164 HearingAidStackEvent event = new HearingAidStackEvent( in onDeviceAvailable()165 HearingAidStackEvent.EVENT_TYPE_DEVICE_AVAILABLE); in onDeviceAvailable()
25 public class HearingAidStackEvent { class43 HearingAidStackEvent(int type) { in HearingAidStackEvent() method in HearingAidStackEvent
614 void messageFromNative(HearingAidStackEvent stackEvent) { in messageFromNative()618 if (stackEvent.type == HearingAidStackEvent.EVENT_TYPE_DEVICE_AVAILABLE) { in messageFromNative()635 if (stackEvent.type == HearingAidStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED) { in messageFromNative()637 case HearingAidStackEvent.CONNECTION_STATE_CONNECTED: in messageFromNative()638 case HearingAidStackEvent.CONNECTION_STATE_CONNECTING: in messageFromNative()
421 HearingAidStackEvent connCompletedEvent; in testConnectAnotherPair_disconnectCurrentPair()423 connCompletedEvent = new HearingAidStackEvent( in testConnectAnotherPair_disconnectCurrentPair()424 HearingAidStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testConnectAnotherPair_disconnectCurrentPair()426 connCompletedEvent.valueInt1 = HearingAidStackEvent.CONNECTION_STATE_CONNECTED; in testConnectAnotherPair_disconnectCurrentPair()428 connCompletedEvent = new HearingAidStackEvent( in testConnectAnotherPair_disconnectCurrentPair()429 HearingAidStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testConnectAnotherPair_disconnectCurrentPair()431 connCompletedEvent.valueInt1 = HearingAidStackEvent.CONNECTION_STATE_CONNECTED; in testConnectAnotherPair_disconnectCurrentPair()492 HearingAidStackEvent connCompletedEvent; in testAudioManagerConnectDisconnect()494 connCompletedEvent = new HearingAidStackEvent( in testAudioManagerConnectDisconnect()495 HearingAidStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testAudioManagerConnectDisconnect()[all …]
124 HearingAidStackEvent connStCh = in testIncomingPriorityReject()125 new HearingAidStackEvent(HearingAidStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testIncomingPriorityReject()127 connStCh.valueInt1 = HearingAidStackEvent.CONNECTION_STATE_CONNECTED; in testIncomingPriorityReject()146 HearingAidStackEvent connStCh = in testIncomingPriorityAccept()147 new HearingAidStackEvent(HearingAidStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testIncomingPriorityAccept()149 connStCh.valueInt1 = HearingAidStackEvent.CONNECTION_STATE_CONNECTING; in testIncomingPriorityAccept()164 HearingAidStackEvent connCompletedEvent = in testIncomingPriorityAccept()165 new HearingAidStackEvent(HearingAidStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testIncomingPriorityAccept()167 connCompletedEvent.valueInt1 = HearingAidStackEvent.CONNECTION_STATE_CONNECTED; in testIncomingPriorityAccept()234 HearingAidStackEvent connStCh = in testIncomingTimeout()[all …]