Home
last modified time | relevance | path

Searched refs:ProfileService (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DProfileServiceTest.java81 ArgumentCaptor<ProfileService> argument = ArgumentCaptor.forClass(ProfileService.class); in setAllProfilesState()
85 List<ProfileService> argumentProfiles = argument.getAllValues(); in setAllProfilesState()
88 for (ProfileService arg : argumentProfiles) { in setAllProfilesState()
167 ArgumentCaptor<ProfileService> starts = ArgumentCaptor.forClass(ProfileService.class); in testEnableDisableInterleaved()
168 ArgumentCaptor<ProfileService> stops = ArgumentCaptor.forClass(ProfileService.class); in testEnableDisableInterleaved()
177 List<ProfileService> startedArguments = starts.getAllValues(); in testEnableDisableInterleaved()
178 List<ProfileService> stoppedArguments = stops.getAllValues(); in testEnableDisableInterleaved()
180 for (ProfileService service : startedArguments) { in testEnableDisableInterleaved()
197 ArgumentCaptor<ProfileService> start = in testRepeatedEnableDisableSingly()
198 ArgumentCaptor.forClass(ProfileService.class); in testRepeatedEnableDisableSingly()
[all …]
DAdapterServiceTest.java92 private @Mock ProfileService mMockGattService;
93 private @Mock ProfileService mMockService;
94 private @Mock ProfileService mMockService2;
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java62 import com.android.bluetooth.btservice.ProfileService;
774 ProfileService.println(sb, in dump()
776 ProfileService.println(sb, in dump()
778 ProfileService.println(sb, " mConnectionState: " + profileStateToString(mConnectionState) in dump()
780 ProfileService.println(sb, " mIsPlaying: " + mIsPlaying); in dump()
781 ProfileService.println(sb, in dump()
786 ProfileService.println(sb, " mCodecConfig: " + mCodecStatus.getCodecConfig()); in dump()
787 ProfileService.println(sb, " mCodecsSelectableCapabilities:"); in dump()
789 ProfileService.println(sb, " " + config); in dump()
793 ProfileService.println(sb, " StateMachine: " + this.toString()); in dump()
[all …]
DA2dpService.java49 import com.android.bluetooth.btservice.ProfileService;
66 public class A2dpService extends ProfileService {
1494 ProfileService.println(sb, "mActiveDevice: " + mActiveDevice); in dump()
1495 ProfileService.println(sb, "mMaxConnectedAudioDevices: " + mMaxConnectedAudioDevices); in dump()
1497 ProfileService.println(sb, "codecConfigPriorities:"); in dump()
1499 ProfileService.println(sb, " " + codecConfig.getCodecName() + ": " in dump()
1502 ProfileService.println(sb, "mA2dpOffloadEnabled: " + mA2dpOffloadEnabled); in dump()
1504 ProfileService.println(sb, "codecConfigOffloading:"); in dump()
1506 ProfileService.println(sb, " " + codecConfig); in dump()
1510 ProfileService.println(sb, "mA2dpCodecConfig: null"); in dump()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java54 import com.android.bluetooth.btservice.ProfileService;
92 public class HeadsetService extends ProfileService {
1916 ProfileService.println(sb, "mMaxHeadsetConnections: " + mMaxHeadsetConnections); in dump()
1917 ProfileService.println(sb, "DefaultMaxHeadsetConnections: " in dump()
1919 ProfileService.println(sb, "mActiveDevice: " + mActiveDevice); in dump()
1920 ProfileService.println(sb, "isInbandRingingEnabled: " + isInbandRingingEnabled()); in dump()
1921 ProfileService.println(sb, in dump()
1923 ProfileService.println(sb, in dump()
1925 ProfileService.println(sb, "mAudioRouteAllowed: " + mAudioRouteAllowed); in dump()
1926 ProfileService.println(sb, "mVoiceRecognitionStarted: " + mVoiceRecognitionStarted); in dump()
[all …]
DHeadsetStateMachine.java46 import com.android.bluetooth.btservice.ProfileService;
230 ProfileService.println(sb, " mCurrentDevice: " + mDevice); in dump()
231 ProfileService.println(sb, " mCurrentState: " + mCurrentState); in dump()
232 ProfileService.println(sb, " mPrevState: " + mPrevState); in dump()
233 ProfileService.println(sb, " mConnectionState: " + getConnectionState()); in dump()
234 ProfileService.println(sb, " mAudioState: " + getAudioState()); in dump()
235 ProfileService.println(sb, " mNeedDialingOutReply: " + mNeedDialingOutReply); in dump()
236 ProfileService.println(sb, " mSpeakerVolume: " + mSpeakerVolume); in dump()
237 ProfileService.println(sb, " mMicVolume: " + mMicVolume); in dump()
238 ProfileService.println(sb, in dump()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java32 import com.android.bluetooth.btservice.ProfileService;
136 public static <T extends ProfileService> void startService(ServiceTestRule serviceTestRule, in startService()
148 ArgumentCaptor<ProfileService> profile = ArgumentCaptor.forClass(profileServiceClass); in startService()
167 public static <T extends ProfileService> void stopService(ServiceTestRule serviceTestRule, in stopService()
179 ArgumentCaptor<ProfileService> profile = ArgumentCaptor.forClass(profileServiceClass); in stopService()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java66 import com.android.bluetooth.btservice.ProfileService;
205 ProfileService.println(sb, in dump()
207 ProfileService.println(sb, " mCurrentDevice: " + mCurrentDevice.getAddress() + "(" in dump()
209 ProfileService.println(sb, " mAudioState: " + mAudioState); in dump()
210 ProfileService.println(sb, " mAudioWbs: " + mAudioWbs); in dump()
211 ProfileService.println(sb, " mIndicatorNetworkState: " + mIndicatorNetworkState); in dump()
212 ProfileService.println(sb, " mIndicatorNetworkType: " + mIndicatorNetworkType); in dump()
213 ProfileService.println(sb, " mIndicatorNetworkSignal: " + mIndicatorNetworkSignal); in dump()
214 ProfileService.println(sb, " mIndicatorBatteryLevel: " + mIndicatorBatteryLevel); in dump()
215 ProfileService.println(sb, " mOperatorName: " + mOperatorName); in dump()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java31 import com.android.bluetooth.btservice.ProfileService;
46 public class A2dpSinkService extends ProfileService {
475 ProfileService.println(sb, "Active Device = " + getActiveDevice()); in dump()
476 ProfileService.println(sb, "Max Connected Devices = " + mMaxConnectedAudioDevices); in dump()
477 ProfileService.println(sb, "Devices Tracked = " + mDeviceStateMap.size()); in dump()
479 ProfileService.println(sb, in dump()
DA2dpSinkStateMachine.java33 import com.android.bluetooth.btservice.ProfileService;
134 ProfileService.println(sb, "mDevice: " + mDevice.getAddress() + "(" in dump()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java41 import com.android.bluetooth.btservice.ProfileService;
253 ProfileService.println(sb, "mDevice: " + mDevice.getAddress() + "(" in dump()
255 ProfileService.println(sb, "isActive: " + isActive()); in dump()
256 ProfileService.println(sb, "Control: " + mRemoteControlConnected); in dump()
257 ProfileService.println(sb, "Browsing: " + mBrowsingConnected); in dump()
258 ProfileService.println(sb, "Cover Art: " in dump()
261 ProfileService.println(sb, "Addressed Player ID: " + mAddressedPlayerId); in dump()
262 ProfileService.println(sb, "Available Players (" + mAvailablePlayerList.size() + "): "); in dump()
266 ProfileService.println(sb, "\t" + (isAddressed ? "(Addressed) " : "") + player); in dump()
273 ProfileService.println(sb, "Queue (" + (queue == null ? 0 : queue.size()) + "): " + queue); in dump()
DAvrcpControllerService.java36 import com.android.bluetooth.btservice.ProfileService;
50 public class AvrcpControllerService extends ProfileService {
896 ProfileService.println(sb, "Devices Tracked = " + mDeviceStateMap.size()); in dump()
897 ProfileService.println(sb, "Active Device = " + mActiveDevice); in dump()
900 ProfileService.println(sb, in dump()
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachine.java59 import com.android.bluetooth.btservice.ProfileService;
565 ProfileService.println(sb, "mDevice: " + mDevice); in dump()
566 ProfileService.println(sb, " StateMachine: " + this); in dump()
573 ProfileService.println(sb, " StateMachineLog:"); in dump()
577 ProfileService.println(sb, " " + line); in dump()
DHearingAidService.java43 import com.android.bluetooth.btservice.ProfileService;
60 public class HearingAidService extends ProfileService {
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DProfileService.java43 public abstract class ProfileService extends Service { class
141 protected ProfileService() { in ProfileService() method in ProfileService
DAdapterService.java162 private final ArrayList<ProfileService> mRegisteredProfiles = new ArrayList<>();
163 private final ArrayList<ProfileService> mRunningProfiles = new ArrayList<>();
303 public void addProfile(ProfileService profile) { in addProfile()
312 public void removeProfile(ProfileService profile) { in removeProfile()
322 public void onProfileServiceStateChanged(ProfileService profile, int state) { in onProfileServiceStateChanged()
354 processProfileServiceStateChanged((ProfileService) msg.obj, msg.arg1); in handleMessage()
358 registerProfileService((ProfileService) msg.obj); in handleMessage()
362 unregisterProfileService((ProfileService) msg.obj); in handleMessage()
367 private void registerProfileService(ProfileService profile) { in registerProfileService()
375 private void unregisterProfileService(ProfileService profile) { in unregisterProfileService()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java63 import com.android.bluetooth.btservice.ProfileService;
436 ProfileService.println(sb, "mCurrentDevice: " + mCurrentDevice.getAddress() + "(" in dump()
DPbapClientService.java39 import com.android.bluetooth.btservice.ProfileService;
55 public class PbapClientService extends ProfileService {
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpTargetService.java46 import com.android.bluetooth.btservice.ProfileService;
57 public class AvrcpTargetService extends ProfileService {
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMapClientService.java40 import com.android.bluetooth.btservice.ProfileService;
52 public class MapClientService extends ProfileService {
/packages/apps/Bluetooth/src/com/android/bluetooth/le_audio/
DLeAudioService.java42 import com.android.bluetooth.btservice.ProfileService;
58 public class LeAudioService extends ProfileService {
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java66 import com.android.bluetooth.btservice.ProfileService;
77 public class BluetoothPbapService extends ProfileService implements IObexConnectionHandler {
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java52 import com.android.bluetooth.btservice.ProfileService;
67 public class PanService extends ProfileService {
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidDeviceService.java47 import com.android.bluetooth.btservice.ProfileService;
59 public class HidDeviceService extends ProfileService {
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java67 import com.android.bluetooth.btservice.ProfileService;
659 public static boolean checkServiceAvailable(ProfileService service, String tag) { in checkServiceAvailable()

12