summaryrefslogtreecommitdiffstats
path: root/services/tests
Commit message (Collapse)AuthorAgeFilesLines
* am 7da38863: am 3685db7f: am e8605af5: Merge "Avoid leaking file descriptors ↵Dan Egnor2010-07-211-0/+208
|\ | | | | | | | | | | | | | | | | when returning drop box events." into froyo Merge commit '7da38863d4382746090bf50413b1774ab04f6bc1' * commit '7da38863d4382746090bf50413b1774ab04f6bc1': Avoid leaking file descriptors when returning drop box events.
| * Avoid leaking file descriptors when returning drop box events.Dan Egnor2010-07-211-0/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We can't use Parcel.writeValue() to write the ParcelFileDescriptor, otherwise it leaks when returning the value to the caller (the flag gets lost). Change the way DropBoxManager.Entry gets serialized so that it uses a bit of its own flags value to track whether the data is a byte[] or a ParcelFileDescriptor. Modify the dropbox unit test to add extensive checking of Entry serialization and deserialization under various circumstances, and to include a regression test to ensure that FD leaking doesn't happen. Bug: 2847738 Change-Id: I4ccd17dd03ffab234340cd359e6f3510fdf81193
* | 2744878 com.android.server.AccessibilityManagerServiceTest:testInterrupt is ↵Svetoslav Ganov2010-06-072-23/+87
| | | | | | | | | | | | failing Change-Id: I73d056c7dcf8edddae2ef9cb28ec7d2b3203bb9b
* | 2604226 Add test cases for the internal accessibility infrastructure.Svetoslav Ganov2010-04-265-0/+1193
|/ | | | Change-Id: Iaeb2c11b6c2167632086b50d9c79e6459cc072b8
* Limit DropBox storage to 1000 files (by default).Dan Egnor2010-03-241-0/+50
| | | | | | | Also does trimming asynchronously (not directly in the broadcast receiver). Bug: 2541253 Change-Id: I7daf8bc618e2dce68a98571f5f7fbce4df1d6a76
* Unittests for EntropyService. Make EntropyService more testable.Nick Kralevich2010-03-191-0/+41
| | | | | | | | I've been meaning to write these tests for a long time... Use "runtest frameworks-services" to run these tests. Change-Id: I3a3cb7eda547f4a790f38be884b4a583426c7326
* Modifying Services Tests XML file so it builds with the right permissions.Neal Nguyen2010-02-022-8/+5
|
* Phase 2 of test cleanup: moving test files from AndroidTests closer to their ↵Neal Nguyen2010-01-293-0/+569
sources. Most of these are file moves; a couple notable exceptions are the changes due to the move, and fixing up test code: - database/DatabaseCursorTest.java - database/DatabaseStatementTest.java - net/UriTest.java