Add dumpsys support to RulesManagerService
Override the dump method so RuleManagerService can dump its state into logs. Crude argument support has been added for dumping specific fields in an easy to process way (for test scripts to use). Tested with: make -j30 FrameworksServicesTests adb install -r -g \ "out/target/product/angler/data/app/FrameworksServicesTests/FrameworksServicesTests.apk" adb shell am instrument -e package com.android.server.timezone -w \ com.android.frameworks.servicestests \ "com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner" Test: See above. Test: Manual; adb shell dumpsys timezone [-format_state piscotz] Bug: 31008728 Change-Id: I0ad83aa245232ed0b983ceacd8accfb876824d6f
Loading
Please register or sign in to comment