Perfprofd: Use ConfigReader for shellCommand startProfiling
Use the ConfigReader for parsing arguments to startProfiling, so
that new arguments can be transparently picked up. This diverges
it from the AIDL interface, but is more functional and maintainable.
Also adjust some bounds.
Bug:
73175642
Test: mmma system/extras/perfprofd
Test: perfprofd_test
Test: manual: adb shell cmd perfprofd startProfiling main_loop_iterations=2 compress=1 stack_profile=0 sampling_period=10000 sample_duration=10 collection_interval=1
Test: manual: adb shell cmd perfprofd startProfiling main_loop_iterations=2 compress=1 stack_profile=0 sampling_period=10000 sample_duration=10 collection_interval=1 bla
Change-Id: I7c437b43634aab70ea9463161fff6de303e427c8