System triggered API test coverage and trigger type bugfix

- Add test coverage for APIs which are currently missing it.
- Fix missing trigger type value from send result, resulting in it not being sent to the app in the ProfilingResult.

Bug: 384812970
Bug: 384813328
Bug: 385015325
Bug: 385015161

Test: run tests

Flag: android.os.profiling.system_triggered_profiling_new

Change-Id: I18e46e801f12466884bcce225f099f9b1291c7c6
5 files changed