Change default dalvik.vm.jdwp-provider to adbconnection
This changes the default jdwp implementation to be libjdwp with the
connection mediated by libadbconnection.
Test: ./test.py --host -j50
Test: ./art/tools/run-libjdwp-tests.sh --mode=device
Test: Build and run
Test: use ddms monitor.
Test: Use Android Studio.
Test: Build and debug debuggable app (bandhook-kotlin)
Test: Build and debug non-debuggable app on userdebug build
(bandhook-kotlin)
Test: Debug running system process on userdebug build
(com.android.packageinstaller)
Test: adb shell stop &&
adb shell setprop dalvik.vm.jdwp-provider adbconnection &&
adb shell start;
Test debugger with explicit adbconnection jdwp provider set
Test: adb shell stop &&
adb shell setprop dalvik.vm.jdwp-provider default &&
adb shell start;
Test debugger with explicit default jdwp provider set
Ensure debugger is using the 'adbconnection' provider
Test: adb shell stop &&
adb shell setprop dalvik.vm.jdwp-provider internal &&
adb shell start;
Test debugger with explicit internal jdwp provider set
Ensure debugger is using the old internal jdwp implementation.
Bug: 62821960
Change-Id: I6470a90e0ca264fb75028f6e7e23878c059b090e
2 files changed