Support passing a custom DataSource builder and ProtoLogConfigurationService for testing

This new constructor will help make it easier to test the
PerfettoProtoLogImpl by providing us more flexibility in swapping
out all the dependencies of the PerfettoProtoLogImpl.

Bug: 364255103
Test: atest InternalTests:com.android.internal.protolog.PerfettoProtoLogImplTest
Flag: TEST_ONLY
Change-Id: I78c2bf60a58712f31a82220bb3515edf4d8bf9c8
1 file changed