Searched refs:HeadsetMediaButton (Results 1 – 6 of 6) sorted by relevance
34 public class HeadsetMediaButton extends CallsManagerListenerBase { class79 HeadsetMediaButton.class.getSimpleName());108 public HeadsetMediaButton( in HeadsetMediaButton() method in HeadsetMediaButton
32 HeadsetMediaButton create( in create()
338 private final HeadsetMediaButton mHeadsetMediaButton;3090 if (HeadsetMediaButton.SHORT_PRESS == type) {3114 } else if (HeadsetMediaButton.LONG_PRESS == type) {
44 import com.android.server.telecom.HeadsetMediaButton;123 public HeadsetMediaButton create( in initializeTelecomSystem()127 return new HeadsetMediaButton(context, callsManager, lock); in initializeTelecomSystem()
74 import com.android.server.telecom.HeadsetMediaButton;169 @Mock private HeadsetMediaButton mHeadsetMediaButton;940 mCallsManager.onMediaButton(HeadsetMediaButton.SHORT_PRESS); in testAcceptIncomingCallWhenHeadsetMediaButtonShortPress()958 mCallsManager.onMediaButton(HeadsetMediaButton.LONG_PRESS); in testRejectIncomingCallWhenHeadsetMediaButtonLongPress()972 mCallsManager.onMediaButton(HeadsetMediaButton.SHORT_PRESS); in testHangupOngoingCallWhenHeadsetMediaButtonShortPress()986 mCallsManager.onMediaButton(HeadsetMediaButton.LONG_PRESS); in testToggleMuteWhenHeadsetMediaButtonLongPressDuringOngoingCall()1008 mCallsManager.onMediaButton(HeadsetMediaButton.SHORT_PRESS); in testSwapCallsWhenHeadsetMediaButtonShortPressDuringTwoCalls()1030 mCallsManager.onMediaButton(HeadsetMediaButton.LONG_PRESS); in testHangupActiveCallWhenHeadsetMediaButtonLongPressDuringTwoCalls()
81 import com.android.server.telecom.HeadsetMediaButton;137 public HeadsetMediaButton create(Context context, CallsManager callsManager, in create()201 @Mock HeadsetMediaButton mHeadsetMediaButton;