jakev / dtfmods-core

Core content for Android device testing
Apache License 2.0
6 stars 2 forks source link

Support user-based exposure #7

Open jakev opened 9 years ago

jakev commented 9 years ago

Some devices, such as HTC add several permissions to the shell user ("android.uid.shell"), some of which may be signature|system protection level. It would be benefitial to:

  1. See all (new) permissions assigned to the shell user (this is basically asking for diff support with sysappdb, which used to be a thing)
  2. use sysappdb exposed as a given user. A few examples:

As the dummy application com.dtf.client: $ dtf sysappdb exposed --user-profile com.dtf.client --all

As the shell application: $ dtf sysappdb exposed --user-profile com.android.shell --all

As a sharedUserId (shell for example): $ dtf sysappdb exposed --shared-id 2000 --all

jakev commented 8 years ago

Will have to be pushed to future release. :(

jakev commented 8 years ago

Shared ID support is added here: https://github.com/jakev/dtfmods-core/commit/e440c43cc47d8210ee74dea24ce891cd31482767