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/networklogging/android-5.1.1_r3/2/powerlogging/android-5.1.1_r3/3/locationlogging/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_STATEProject: frameworks/baseDescription: Cellular data connectivity changed. - Action:
android.intent.action.DATA_CONNECTION_FAILEDProject: frameworks/baseDescription: Cellular data connection failed. - Action:
android.intent.action.PHONE_STATEProject: frameworks/baseDescription: Phone calling state changed (incoming call). - Action:
android.intent.action.SERVICE_STATEProject: frameworks/baseDescription: Cellular service state changed. - Action:
android.intent.action.SIG_STRProject: frameworks/baseDescription: Cellular signal strength changed. - Action:
android.telephony.CALL_FORWARDING_CHANGEDProject: frameworks/baseDescription: Call forwarding status changed. - Action:
android.telephony.CELL_LOCATION_CHANGEDProject: frameworks/baseDescription: Cell tower location changed. - Action:
android.telephony.DATA_ACTIVITY_CHANGEDProject: frameworks/baseDescription: Cellular data activity. - Action:
android.telephony.MESSAGE_WAITING_CHANGEDProject: 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_CHANGEDProject: frameworks/baseDescription: Battery status changed.
Tag: Power-Screen-PhoneLab¶
Catetory: Spinner¶
Tag: Spinner-State-QoE¶
- Action:
ProgressBarEventProject: 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