Existing Instrumentation¶
We expect our PhoneLab platform to include an increasing amount of instrumentation added both by PhoneLab developers and by external research teams. If our build already contains instrumentation recording what you’re interested in, you can proceed directly to requesting data.
Logging Branches¶
Instrumentations are stagged in their respective branches by category, such as network, location, or power. Here is a list of current logging branches:
logging/android-5.1.1_r3/1/network
logging/android-5.1.1_r3/2/power
logging/android-5.1.1_r3/3/location
logging/android-5.1.1_r3/4/packagemanager
Add Your Instrumentation¶
To add instrumentations to these branch, for example,
logging/android-5.1.1_r3/1/network
, please follow these steps:
First, if you have not cloned the repository yet:
$ cd <WORKING_DIRECTORY>
$ repo init -u ssh://<USERNAME>@platform.phone-lab.org:8080/platform/manifest -b logging/android-5.1.1_r3/1/network
$ repo sync
The <USERNAME>
is your user name on our Gerrit server.
Next, figure out the repository which you want to add instrumentation, say
frameworks/base
, create a working branch:
$ cd frameworks/base
$ git checkout -b my_instrumentation
Then you add the instrumentation, commit and upload your changes for review:
$ git commit -a -S
$ git push aosp refs/for/logging/android-5.1.1_r3/1/network
Note
Note the remote branch name when you push: it is a special Gerrit pseudo branch for changes to be reviewed.
Here is a list of existing instrumentations on our platform.
Summary¶
PhoneLab’s instrumented Android platform currently contains:
- 11 tags, 20 actions,
- ... in 9 categories,
- ... added by 2 institutions.
Catetory: Activity¶
Tag: Activity-LifeCycle-QoE
¶
Catetory: Location¶
Tag: Location-Misc-PhoneLab
¶
Catetory: Network¶
Tag: Network-Telephony-PhoneLab
¶
- Action:
android.intent.action.ANY_DATA_STATE
Project: frameworks/baseDescription: Cellular data connectivity changed. - Action:
android.intent.action.DATA_CONNECTION_FAILED
Project: frameworks/baseDescription: Cellular data connection failed. - Action:
android.intent.action.PHONE_STATE
Project: frameworks/baseDescription: Phone calling state changed (incoming call). - Action:
android.intent.action.SERVICE_STATE
Project: frameworks/baseDescription: Cellular service state changed. - Action:
android.intent.action.SIG_STR
Project: frameworks/baseDescription: Cellular signal strength changed. - Action:
android.telephony.CALL_FORWARDING_CHANGED
Project: frameworks/baseDescription: Call forwarding status changed. - Action:
android.telephony.CELL_LOCATION_CHANGED
Project: frameworks/baseDescription: Cell tower location changed. - Action:
android.telephony.DATA_ACTIVITY_CHANGED
Project: frameworks/baseDescription: Cellular data activity. - Action:
android.telephony.MESSAGE_WAITING_CHANGED
Project: frameworks/baseDescription: Message waiting status changed.
Catetory: PackageManager¶
Tag: PackageManager-Misc-PhoneLab
¶
- Action:
android.intent.action.PACKAGE_{ADDED, CHANGED, REMOVED}
Project: frameworks/baseDescription: Package installed/uninstalled/updated.
Catetory: Power¶
Tag: Power-Battery-PhoneLab
¶
- Action:
android.intent.action.BATTERY_CHANGED
Project: frameworks/baseDescription: Battery status changed.
Tag: Power-Screen-PhoneLab
¶
Catetory: Spinner¶
Tag: Spinner-State-QoE
¶
- Action:
ProgressBarEvent
Project: frameworks/baseDescription: Start and end of indeterminate progressbars
Catetory: Usage¶
Tag: KeyEvent-UserAction-QoE
¶
Catetory: View¶
Tag: View-UserAction-QoE
¶
Catetory: WebView¶
Tag: WebView-Update-QoE
¶
Tag: WebView-UserActino-QoE
¶
Last updated 2016-12-02