Implemented creating default predefined config on older versions of android.
The cpufreq_period field is not supported for
versions of Android older than 13 (T). Thus,
on older devices, we now omit this field.
Now, android_sdk_version is passed into
create_config in command_executor.py
and build_default_config in config_builder.py.
Finally, added a unit test to
tests/config_builder_unit_test.py, and made
minor updates to some unit tests.
Test: atest config_builder_unit_test
Bug: 365665696
Change-Id: I490d467ea34888b15f6567bace3981168cc3c385
3 files changed