Lines Matching refs:event

373                     StackEvent event = (StackEvent) message.obj;
375 log("event type: " + event.type);
377 switch (event.type) {
379 processConnectionEvent(event.valueInt, event.device);
382 Log.e(TAG, "Unexpected stack event: " + event.type);
403 Log.w(TAG, "Ignore HF DISCONNECTED event, device: " + device);
457 Log.w(TAG, "Ignore HF DISCONNECTING event, device: " + device);
509 StackEvent event = (StackEvent) message.obj;
511 log("event type: " + event.type);
513 switch (event.type) {
516 if (device1 != null && device1.equals(event.device)) {
520 processConnectionEvent(event.valueInt, event.device);
523 Log.e(TAG, "Unexpected event: " + event.type);
691 Log.e(TAG, "Another connecting event on the incoming device");
937 StackEvent event = (StackEvent) message.obj;
939 log("event type: " + event.type + "event device : "
940 + event.device);
942 switch (event.type) {
944 processConnectionEvent(event.valueInt, event.device);
947 processAudioEvent(event.valueInt, event.device);
950 processVrEvent(event.valueInt, event.device);
954 processAnswerCall(event.device);
958 processHangupCall(event.device);
961 processVolumeEvent(event.valueInt, event.valueInt2,
962 event.device);
965 processDialCall(event.valueString, event.device);
968 processSendDtmf(event.valueInt, event.device);
971 processNoiceReductionEvent(event.valueInt, event.device);
974 Log.d(TAG, "EVENT_TYPE_WBS codec is "+event.valueInt);
975 processWBSEvent(event.valueInt, event.device);
978 processAtChld(event.valueInt, event.device);
981 processSubscriberNumberRequest(event.device);
984 processAtCind(event.device);
987 processAtCops(event.device);
990 processAtClcc(event.device);
993 processUnknownAt(event.valueString, event.device);
996 processKeyPressed(event.device);
999 Log.e(TAG, "Unknown stack event: " + event.type);
1369 StackEvent event = (StackEvent) message.obj;
1371 log("event type: " + event.type);
1373 switch (event.type) {
1376 if (device1 != null && device1.equals(event.device)) {
1380 processConnectionEvent(event.valueInt, event.device);
1383 processAudioEvent(event.valueInt, event.device);
1386 processVrEvent(event.valueInt, event.device);
1389 processAnswerCall(event.device);
1392 processHangupCall(event.device);
1395 processVolumeEvent(event.valueInt, event.valueInt2,
1396 event.device);
1399 processDialCall(event.valueString, event.device);
1402 processSendDtmf(event.valueInt, event.device);
1405 processNoiceReductionEvent(event.valueInt, event.device);
1408 processAtChld(event.valueInt, event.device);
1411 processSubscriberNumberRequest(event.device);
1414 processAtCind(event.device);
1417 processAtCops(event.device);
1420 processAtClcc(event.device);
1423 processUnknownAt(event.valueString, event.device);
1426 processKeyPressed(event.device);
1429 Log.e(TAG, "Unknown stack event: " + event.type);
1709 StackEvent event = (StackEvent) message.obj;
1711 log("event type: " + event.type);
1713 switch (event.type) {
1716 if (device1 != null && device1.equals(event.device)) {
1720 processConnectionEvent(event.valueInt, event.device);
1723 processAudioEvent(event.valueInt, event.device);
1726 processVrEvent(event.valueInt,event.device);
1730 processAnswerCall(event.device);
1734 processHangupCall(event.device);
1737 processVolumeEvent(event.valueInt, event.valueInt2,
1738 event.device);
1741 processDialCall(event.valueString, event.device);
1744 processSendDtmf(event.valueInt, event.device);
1747 processNoiceReductionEvent(event.valueInt, event.device);
1750 processSubscriberNumberRequest(event.device);
1753 processAtCind(event.device);
1756 processAtChld(event.valueInt, event.device);
1759 processAtCops(event.device);
1762 processAtClcc(event.device);
1765 processUnknownAt(event.valueString,event.device);
1768 processKeyPressed(event.device);
1771 Log.e(TAG, "Unexpected event: " + event.type);
1942 Log.e(TAG, "Another connecting event on" +
2143 Bluetooth Audio state, before we receive the close event from the stack for the
2421 // Reset NREC on connect event. Headset will override later
2572 // terminated for CHUP callback event
3112 StackEvent event = new StackEvent(EVENT_TYPE_CONNECTION_STATE_CHANGED);
3113 event.valueInt = state;
3114 event.device = getDevice(address);
3115 sendMessage(STACK_EVENT, event);
3119 StackEvent event = new StackEvent(EVENT_TYPE_AUDIO_STATE_CHANGED);
3120 event.valueInt = state;
3121 event.device = getDevice(address);
3122 sendMessage(STACK_EVENT, event);
3126 StackEvent event = new StackEvent(EVENT_TYPE_VR_STATE_CHANGED);
3127 event.valueInt = state;
3128 event.device = getDevice(address);
3129 sendMessage(STACK_EVENT, event);
3133 StackEvent event = new StackEvent(EVENT_TYPE_ANSWER_CALL);
3134 event.device = getDevice(address);
3135 sendMessage(STACK_EVENT, event);
3139 StackEvent event = new StackEvent(EVENT_TYPE_HANGUP_CALL);
3140 event.device = getDevice(address);
3141 sendMessage(STACK_EVENT, event);
3145 StackEvent event = new StackEvent(EVENT_TYPE_VOLUME_CHANGED);
3146 event.valueInt = type;
3147 event.valueInt2 = volume;
3148 event.device = getDevice(address);
3149 sendMessage(STACK_EVENT, event);
3153 StackEvent event = new StackEvent(EVENT_TYPE_DIAL_CALL);
3154 event.valueString = number;
3155 event.device = getDevice(address);
3156 sendMessage(STACK_EVENT, event);
3160 StackEvent event = new StackEvent(EVENT_TYPE_SEND_DTMF);
3161 event.valueInt = dtmf;
3162 event.device = getDevice(address);
3163 sendMessage(STACK_EVENT, event);
3167 StackEvent event = new StackEvent(EVENT_TYPE_NOICE_REDUCTION);
3168 event.valueInt = enable ? 1 : 0;
3169 event.device = getDevice(address);
3170 sendMessage(STACK_EVENT, event);
3174 StackEvent event = new StackEvent(EVENT_TYPE_WBS);
3175 event.valueInt = codec;
3176 event.device = getDevice(address);
3177 sendMessage(STACK_EVENT, event);
3181 StackEvent event = new StackEvent(EVENT_TYPE_AT_CHLD);
3182 event.valueInt = chld;
3183 event.device = getDevice(address);
3184 sendMessage(STACK_EVENT, event);
3188 StackEvent event = new StackEvent(EVENT_TYPE_SUBSCRIBER_NUMBER_REQUEST);
3189 event.device = getDevice(address);
3190 sendMessage(STACK_EVENT, event);
3194 StackEvent event = new StackEvent(EVENT_TYPE_AT_CIND);
3195 event.device = getDevice(address);
3196 sendMessage(STACK_EVENT, event);
3200 StackEvent event = new StackEvent(EVENT_TYPE_AT_COPS);
3201 event.device = getDevice(address);
3202 sendMessage(STACK_EVENT, event);
3206 StackEvent event = new StackEvent(EVENT_TYPE_AT_CLCC);
3207 event.device = getDevice(address);
3208 sendMessage(STACK_EVENT, event);
3212 StackEvent event = new StackEvent(EVENT_TYPE_UNKNOWN_AT);
3213 event.valueString = atString;
3214 event.device = getDevice(address);
3215 sendMessage(STACK_EVENT, event);
3219 StackEvent event = new StackEvent(EVENT_TYPE_KEY_PRESSED);
3220 event.device = getDevice(address);
3221 sendMessage(STACK_EVENT, event);