Loading android/app/src/com/android/bluetooth/a2dp/A2dpService.java +3 −3 Original line number Diff line number Diff line Loading @@ -148,7 +148,7 @@ public class A2dpService extends ProfileService { } @Override protected void start() { public void start() { Log.i(TAG, "start()"); if (sA2dpService != null) { throw new IllegalStateException("start() called twice"); Loading Loading @@ -205,7 +205,7 @@ public class A2dpService extends ProfileService { } @Override protected void stop() { public void stop() { Log.i(TAG, "stop()"); if (sA2dpService == null) { Log.w(TAG, "stop() called before start()"); Loading Loading @@ -259,7 +259,7 @@ public class A2dpService extends ProfileService { } @Override protected void cleanup() { public void cleanup() { Log.i(TAG, "cleanup()"); } Loading android/app/src/com/android/bluetooth/a2dpsink/A2dpSinkService.java +2 −2 Original line number Diff line number Diff line Loading @@ -92,7 +92,7 @@ public class A2dpSinkService extends ProfileService { } @Override protected void start() { public void start() { mAdapterService = requireNonNull( AdapterService.getAdapterService(), Loading @@ -113,7 +113,7 @@ public class A2dpSinkService extends ProfileService { } @Override protected void stop() { public void stop() { setA2dpSinkService(null); mNativeInterface.cleanup(); for (A2dpSinkStateMachine stateMachine : mDeviceStateMap.values()) { Loading android/app/src/com/android/bluetooth/avrcp/AvrcpTargetService.java +2 −2 Original line number Diff line number Diff line Loading @@ -188,7 +188,7 @@ public class AvrcpTargetService extends ProfileService { } @Override protected void start() { public void start() { if (sInstance != null) { throw new IllegalStateException("start() called twice"); } Loading Loading @@ -244,7 +244,7 @@ public class AvrcpTargetService extends ProfileService { } @Override protected void stop() { public void stop() { Log.i(TAG, "Stopping the AVRCP Target Service"); if (sInstance == null) { Loading android/app/src/com/android/bluetooth/avrcpcontroller/AvrcpControllerService.java +2 −2 Original line number Diff line number Diff line Loading @@ -150,7 +150,7 @@ public class AvrcpControllerService extends ProfileService { } @Override protected synchronized void start() { public synchronized void start() { mNativeInterface.init(this); setComponentAvailable(ON_ERROR_SETTINGS_ACTIVITY, true); mAdapterService = AdapterService.getAdapterService(); Loading @@ -169,7 +169,7 @@ public class AvrcpControllerService extends ProfileService { } @Override protected synchronized void stop() { public synchronized void stop() { setActiveDevice(null); Intent stopIntent = new Intent(this, BluetoothMediaBrowserService.class); stopService(stopIntent); Loading android/app/src/com/android/bluetooth/bas/BatteryService.java +3 −3 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ public class BatteryService extends ProfileService { } @Override protected void start() { public void start() { if (DBG) { Log.d(TAG, "start()"); } Loading @@ -102,7 +102,7 @@ public class BatteryService extends ProfileService { } @Override protected void stop() { public void stop() { if (DBG) { Log.d(TAG, "stop()"); } Loading Loading @@ -143,7 +143,7 @@ public class BatteryService extends ProfileService { } @Override protected void cleanup() { public void cleanup() { if (DBG) { Log.d(TAG, "cleanup()"); } Loading Loading
android/app/src/com/android/bluetooth/a2dp/A2dpService.java +3 −3 Original line number Diff line number Diff line Loading @@ -148,7 +148,7 @@ public class A2dpService extends ProfileService { } @Override protected void start() { public void start() { Log.i(TAG, "start()"); if (sA2dpService != null) { throw new IllegalStateException("start() called twice"); Loading Loading @@ -205,7 +205,7 @@ public class A2dpService extends ProfileService { } @Override protected void stop() { public void stop() { Log.i(TAG, "stop()"); if (sA2dpService == null) { Log.w(TAG, "stop() called before start()"); Loading Loading @@ -259,7 +259,7 @@ public class A2dpService extends ProfileService { } @Override protected void cleanup() { public void cleanup() { Log.i(TAG, "cleanup()"); } Loading
android/app/src/com/android/bluetooth/a2dpsink/A2dpSinkService.java +2 −2 Original line number Diff line number Diff line Loading @@ -92,7 +92,7 @@ public class A2dpSinkService extends ProfileService { } @Override protected void start() { public void start() { mAdapterService = requireNonNull( AdapterService.getAdapterService(), Loading @@ -113,7 +113,7 @@ public class A2dpSinkService extends ProfileService { } @Override protected void stop() { public void stop() { setA2dpSinkService(null); mNativeInterface.cleanup(); for (A2dpSinkStateMachine stateMachine : mDeviceStateMap.values()) { Loading
android/app/src/com/android/bluetooth/avrcp/AvrcpTargetService.java +2 −2 Original line number Diff line number Diff line Loading @@ -188,7 +188,7 @@ public class AvrcpTargetService extends ProfileService { } @Override protected void start() { public void start() { if (sInstance != null) { throw new IllegalStateException("start() called twice"); } Loading Loading @@ -244,7 +244,7 @@ public class AvrcpTargetService extends ProfileService { } @Override protected void stop() { public void stop() { Log.i(TAG, "Stopping the AVRCP Target Service"); if (sInstance == null) { Loading
android/app/src/com/android/bluetooth/avrcpcontroller/AvrcpControllerService.java +2 −2 Original line number Diff line number Diff line Loading @@ -150,7 +150,7 @@ public class AvrcpControllerService extends ProfileService { } @Override protected synchronized void start() { public synchronized void start() { mNativeInterface.init(this); setComponentAvailable(ON_ERROR_SETTINGS_ACTIVITY, true); mAdapterService = AdapterService.getAdapterService(); Loading @@ -169,7 +169,7 @@ public class AvrcpControllerService extends ProfileService { } @Override protected synchronized void stop() { public synchronized void stop() { setActiveDevice(null); Intent stopIntent = new Intent(this, BluetoothMediaBrowserService.class); stopService(stopIntent); Loading
android/app/src/com/android/bluetooth/bas/BatteryService.java +3 −3 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ public class BatteryService extends ProfileService { } @Override protected void start() { public void start() { if (DBG) { Log.d(TAG, "start()"); } Loading @@ -102,7 +102,7 @@ public class BatteryService extends ProfileService { } @Override protected void stop() { public void stop() { if (DBG) { Log.d(TAG, "stop()"); } Loading Loading @@ -143,7 +143,7 @@ public class BatteryService extends ProfileService { } @Override protected void cleanup() { public void cleanup() { if (DBG) { Log.d(TAG, "cleanup()"); } Loading