/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | ProfileServiceTest.java | 81 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 …]
|
D | AdapterServiceTest.java | 92 private @Mock ProfileService mMockGattService; 93 private @Mock ProfileService mMockService; 94 private @Mock ProfileService mMockService2;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpStateMachine.java | 62 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 …]
|
D | A2dpService.java | 49 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/ |
D | HeadsetService.java | 54 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 …]
|
D | HeadsetStateMachine.java | 46 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/ |
D | TestUtils.java | 32 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/ |
D | HeadsetClientStateMachine.java | 66 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/ |
D | A2dpSinkService.java | 31 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()
|
D | A2dpSinkStateMachine.java | 33 import com.android.bluetooth.btservice.ProfileService; 134 ProfileService.println(sb, "mDevice: " + mDevice.getAddress() + "(" in dump()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachine.java | 41 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()
|
D | AvrcpControllerService.java | 36 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/ |
D | HearingAidStateMachine.java | 59 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()
|
D | HearingAidService.java | 43 import com.android.bluetooth.btservice.ProfileService; 60 public class HearingAidService extends ProfileService {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | ProfileService.java | 43 public abstract class ProfileService extends Service { class 141 protected ProfileService() { in ProfileService() method in ProfileService
|
D | AdapterService.java | 162 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/ |
D | PbapClientStateMachine.java | 63 import com.android.bluetooth.btservice.ProfileService; 436 ProfileService.println(sb, "mCurrentDevice: " + mCurrentDevice.getAddress() + "(" in dump()
|
D | PbapClientService.java | 39 import com.android.bluetooth.btservice.ProfileService; 55 public class PbapClientService extends ProfileService {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | AvrcpTargetService.java | 46 import com.android.bluetooth.btservice.ProfileService; 57 public class AvrcpTargetService extends ProfileService {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MapClientService.java | 40 import com.android.bluetooth.btservice.ProfileService; 52 public class MapClientService extends ProfileService {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/le_audio/ |
D | LeAudioService.java | 42 import com.android.bluetooth.btservice.ProfileService; 58 public class LeAudioService extends ProfileService {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 66 import com.android.bluetooth.btservice.ProfileService; 77 public class BluetoothPbapService extends ProfileService implements IObexConnectionHandler {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
D | PanService.java | 52 import com.android.bluetooth.btservice.ProfileService; 67 public class PanService extends ProfileService {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidDeviceService.java | 47 import com.android.bluetooth.btservice.ProfileService; 59 public class HidDeviceService extends ProfileService {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | Utils.java | 67 import com.android.bluetooth.btservice.ProfileService; 659 public static boolean checkServiceAvailable(ProfileService service, String tag) { in checkServiceAvailable()
|