Loading android/app/tests/unit/src/com/android/bluetooth/vc/VolumeControlNativeInterfaceTest.java +6 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ import androidx.test.runner.AndroidJUnit4; import com.android.bluetooth.TestUtils; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; Loading @@ -52,6 +53,11 @@ public class VolumeControlNativeInterfaceTest { mNativeInterface = VolumeControlNativeInterface.getInstance(); } @After public void tearDown() { VolumeControlService.setVolumeControlService(null); } @Test public void onConnectionStateChanged() { int state = VolumeControlStackEvent.CONNECTION_STATE_CONNECTED; Loading Loading
android/app/tests/unit/src/com/android/bluetooth/vc/VolumeControlNativeInterfaceTest.java +6 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ import androidx.test.runner.AndroidJUnit4; import com.android.bluetooth.TestUtils; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; Loading @@ -52,6 +53,11 @@ public class VolumeControlNativeInterfaceTest { mNativeInterface = VolumeControlNativeInterface.getInstance(); } @After public void tearDown() { VolumeControlService.setVolumeControlService(null); } @Test public void onConnectionStateChanged() { int state = VolumeControlStackEvent.CONNECTION_STATE_CONNECTED; Loading