Home
last modified time | relevance | path

Searched refs:HeadsetMediaButton (Results 1 – 6 of 6) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DHeadsetMediaButton.java34 public class HeadsetMediaButton extends CallsManagerListenerBase { class
79 HeadsetMediaButton.class.getSimpleName());
108 public HeadsetMediaButton( in HeadsetMediaButton() method in HeadsetMediaButton
DHeadsetMediaButtonFactory.java32 HeadsetMediaButton create( in create()
DCallsManager.java338 private final HeadsetMediaButton mHeadsetMediaButton;
3090 if (HeadsetMediaButton.SHORT_PRESS == type) {
3114 } else if (HeadsetMediaButton.LONG_PRESS == type) {
/packages/services/Telecomm/src/com/android/server/telecom/components/
DTelecomService.java44 import com.android.server.telecom.HeadsetMediaButton;
123 public HeadsetMediaButton create( in initializeTelecomSystem()
127 return new HeadsetMediaButton(context, callsManager, lock); in initializeTelecomSystem()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java74 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()
DTelecomSystemTest.java81 import com.android.server.telecom.HeadsetMediaButton;
137 public HeadsetMediaButton create(Context context, CallsManager callsManager, in create()
201 @Mock HeadsetMediaButton mHeadsetMediaButton;