summaryrefslogtreecommitdiffstats
path: root/tests/permission
Commit message (Collapse)AuthorAgeFilesLines
* resolved conflicts for merge of b06ea706 to masterDianne Hackborn2009-07-141-2/+2
|\
| * Add reporting of activity movement for search manager.Dianne Hackborn2009-07-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This adds a new API with the activity manager to find out about movement between activities. For my sanity, the old IActivityWatcher is now renamed to IActivityController, and the new activity movement interface is named IActivityWatcher. This changes the search manager itself to use the new API to manage its state. Note that there are still problems when going back to the search dialog after it was hidden -- the suggestions window no longer appears until you explicitly dismiss and re-show it.
* | Improve the Vibrator service by keeping track of multiple vibration requests.Patrick Scott2009-07-061-2/+2
|/ | | | | | | | | | | | | | | | There are 2 types of vibrations: simple and repeated. Simple vibrations run for a given length of time while repeated patterns run until canceled or the calling process dies. If a vibration is currently running and another request is issued, the newer request always takes precedence unless the current vibration is a simple one and the time left is longer than the new request. If a repeating vibration is running and a new request overrides that vibration, the current vibration is pushed onto a stack. Once the new vibration completes, the previous vibration resumes. IBinder tokens are used to identify Vibration requests which means that multiple calls to Vibrator.vibrate with the same Vibrator object will override previous vibrations on that object.
* Add smalltest annotation to HardwareServicePermissionTest.Brett Chabot2009-06-191-0/+2
|
* Add permission tests for IHardwareService.Brett Chabot2009-06-191-0/+134
|
* Add SmsManager permission test.Brett Chabot2009-06-171-0/+85
|
* Merge change 4234 into donutAndroid (Google) Code Review2009-06-153-0/+641
|\ | | | | | | | | * changes: Implement permission test for activity, window, service manager.
| * Implement permission test for activity, window, service manager.Dianne Hackborn2009-06-153-0/+641
| | | | | | | | | | | | This also includes some changes to the window manager permission checks. Almost all of these are to make it most testable (through an exception on a permission failure), though there is one permission check that needed to be added: updateOrientationFromAppTokens().
* | Merge change 4224 into donutAndroid (Google) Code Review2009-06-152-13/+54
|\ \ | | | | | | | | | | | | * changes: Add test for GServices write permission, and remove dummy placeholder framework permission test.
| * | Add test for GServices write permission, and remove dummy placeholder ↵Brett Chabot2009-06-152-13/+54
| | | | | | | | | | | | framework permission test.
* | | More tests to check permissions in PackageManager api's are enforcedSuchi Amalapurapu2009-06-151-8/+100
|/ /
* | Add tests to check permissions in PackageManager api'sSuchi Amalapurapu2009-06-151-0/+49
|/
* Add permission test structure for private framework permissions.Brett Chabot2009-06-153-0/+60