replicant-vendor_cmsdk/tests
Matt Garnes 51c39ba2d7 Add API to SettingsManager to set zen mode.
- Add a new permission cyanogenmod.permission.MODIFY_SOUND_SETTINGS.
- Only allowed when the caller holds
  cyanogenmod.permission.MODIFY_SOUND_SETTINGS.
- Allows the user to set zen mode to the off, priority interruptions
  only, or no interruptions modes.
- For each mode change, the end condition will be set to null so that
  the mode remains active indefinitely.

Change-Id: Id465509a8cc8d98953bf8cbe06cacff02b9f75a0
2015-08-06 16:18:50 -07:00
..
res Add AlarmClock support for CM DeskClock manipulation. 2015-08-06 14:52:57 -07:00
src/org/cyanogenmod/tests Add API to SettingsManager to set zen mode. 2015-08-06 16:18:50 -07:00
Android.mk cmsdk: Add CMStatusBarManager and CustomTile.Builder tests. 2015-07-14 15:13:30 -07:00
AndroidManifest.xml Add API to SettingsManager to set zen mode. 2015-08-06 16:18:50 -07:00
README.md cmsdk: Add CMStatusBarManager and CustomTile.Builder tests. 2015-07-14 15:13:30 -07:00

CM Platform SDK Tests

The tests package contains both functional manual tests as well as unit tests which can be ran utilizing the InstrumentationTestRunner from android.

To run the tests (on a live device):

adb shell am instrument -w org.cyanogenmod.tests/android.test.InstrumentationTestRunner