Loading android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/AvrcpControllerStateMachineTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -473,6 +473,7 @@ public class AvrcpControllerStateMachineTest { /** Get the root of the device */ @Test public void testGetDeviceRootNode_flagRandomDeviceIdDisabled_rootNodeMatchesUuidFormat() { mSetFlagsRule.disableFlags(Flags.FLAG_RANDOMIZE_DEVICE_LEVEL_MEDIA_IDS); setUpConnectedState(true, true); final String rootName = "__ROOT__" + mTestDevice.getAddress().toString(); // Get the root of the device Loading android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/BrowseTreeTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -114,6 +114,7 @@ public class BrowseTreeTest { @Test public void findBrowseNodeByIDForDevice() { mSetFlagsRule.disableFlags(Flags.FLAG_RANDOMIZE_DEVICE_LEVEL_MEDIA_IDS); BrowseTree browseTree = new BrowseTree(mTestDevice); final String deviceId = BrowseTree.ROOT + mTestDevice.getAddress().toString(); assertThat(browseTree.findBrowseNodeByID(deviceId)).isEqualTo(browseTree.mRootNode); Loading Loading
android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/AvrcpControllerStateMachineTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -473,6 +473,7 @@ public class AvrcpControllerStateMachineTest { /** Get the root of the device */ @Test public void testGetDeviceRootNode_flagRandomDeviceIdDisabled_rootNodeMatchesUuidFormat() { mSetFlagsRule.disableFlags(Flags.FLAG_RANDOMIZE_DEVICE_LEVEL_MEDIA_IDS); setUpConnectedState(true, true); final String rootName = "__ROOT__" + mTestDevice.getAddress().toString(); // Get the root of the device Loading
android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/BrowseTreeTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -114,6 +114,7 @@ public class BrowseTreeTest { @Test public void findBrowseNodeByIDForDevice() { mSetFlagsRule.disableFlags(Flags.FLAG_RANDOMIZE_DEVICE_LEVEL_MEDIA_IDS); BrowseTree browseTree = new BrowseTree(mTestDevice); final String deviceId = BrowseTree.ROOT + mTestDevice.getAddress().toString(); assertThat(browseTree.findBrowseNodeByID(deviceId)).isEqualTo(browseTree.mRootNode); Loading