summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove experimental immersive mode support. DO NOT MERGEDaniel Sandler2010-08-271-13/+2
| | | | | | Bug: 2949215 Change-Id: I7d998ef571ef7e149bb96261430e92150b80b77d
* add mouse up/down/click support in DumpRenderTreeGuang Zhu2010-08-251-42/+16
| | | | | | | use touchStart/End when mouseDown/Up is called in current EventSender implmentation. Change-Id: Iff3e7f45b6a7170d9be1c7ec9b12a74a74737732
* Remove "StringTest.java".Brian Carlstrom2010-08-242-952/+0
| | | | | | | | | | | | | | This only tests stuff that's already better tested in dalvik/libcore, plus private ICU API (RuleBasedNumberFormat) we'd like to remove, and that this is the only caller of. Conflicts: tests/CoreTests/android/core/StringTest.java git cherry-pick -e 935022a99dac5454fc478e221b6392f3ba467009 Change-Id: I0bd172f2703bbcd6381920d40244165234fef4a1
* Fix periodically disappearing status icons.Daniel Sandler2010-08-191-0/+14
| | | | | | | | | | | | Occasionally the animation listener wasn't being told that the ticker animation had completed; this callback was essential to keeping the status bar's internal state correct (namely, setting mTicking=false). The safest thing to do is simply set mTicking to false immediately upon tickerDone() or tickerHalting(). Bug: 2915280 Change-Id: I997911b12fa2985fa83b42154fb3485220886219
* Fix problems with determining when to kill apps for wake usage.Dianne Hackborn2010-08-152-1/+18
| | | | | | Also improve debug printing of various times. Change-Id: Ifcc288fd1bcbf44c069875ba97925b9e7ffe9a48
* Various battery info things:Dianne Hackborn2010-08-133-12/+67
| | | | | | | | | | | | | | | | - Now track wake locks in battery history. - Now track sensors in battery history. - Some filtering of sensory data. - Fixes to some data that wasn't cleared when resetting battery stats. - Print amount discharged since last charge. And the big part -- keep track of wake locks held per process, and kill processes that hold wake locks too much while they are in the background. This includes information in the battery stats about the process being killed, which will be available to the developer if the app is reported. Change-Id: I97202e94d00aafe0526ba2db74a03212e7539c54
* Tracking merge of dalvik-dev to gingerbreadBrian Carlstrom2010-08-044-137/+11
| | | | | | | | | | | git cherry-pick --no-commit f77cf7f0 git cherry-pick --no-commit c8f503b5285e30c1a881d0ba860ba9021f57d113 git cherry-pick --no-commit 570bb561 git cherry-pick --no-commit e2417541 git cherry-pick --no-commit e4d81f25bd4dc1a5c909b56ab56a56406290da30 git cherry-pick --no-commit 5e8a587d Change-Id: I101a385d43f3e0f4ce5352217f92ef67a3908c88
* Support streaming of compressed assets > 1 megabyteChristopher Tate2010-07-286-0/+218
| | | | | | | | | | | | Compressed assets larger than one megabyte are now decompressed on demand rather than being decompressed in their entirety and held in memory. Reading the data in order is relatively efficient, as is seeking forward in the stream. Seeking backwards is supported, but requires reprocessing the compressed data from the beginning, so is very inefficient. In addition, the size limit on compressed assets has been eliminated. Change-Id: I6e68247957e6c53e7e8ba70d12764695f1723bad
* Fix icon size in intruder alerts.Daniel Sandler2010-07-073-4/+5
| | | | | | (Updated test app to confirm the fix.) Change-Id: Ife56cf07f282786162e2ebc5aaddbb24dac6cafd
* Support for tapping on an immersive-mode priority notification.Daniel Sandler2010-06-291-0/+2
| | | | | | | | | When the user taps on an intruder alert (the priority notification in immersive mode), the .contentIntent in the Notification object will be sent, just as we handle tapping on a normal Notification in the windowshade. Change-Id: Ib6991837b0b2122fe138cddacf347fdbc426b99d
* Updated StatusBar test app for new notifications API.Daniel Sandler2010-06-245-0/+148
| | | | | | | | | New actions: - Toggle activity's immersive mode - Post a priority notification with fullScreenIntent that launches an alert-like activity Change-Id: Ie38372209985577b6db856924c19914c000e1cec
* Fix the notification vibration setting and add a test app that lets you ↵Joe Onorato2010-06-247-0/+219
| | | | | | | | | recover from the busted state. Bug: 2767349 Change-Id: Id0c41734e82a1256a49175a2dc6b40f0abaf4f8b
* Need to give the AppWidgetHostView the new info about the provider, in case ↵Joe Onorato2010-06-232-0/+27
| | | | | | | | | the initialLayout changed. Bug: 2772728 Change-Id: I9e230fbe42d01cfc953cdafb86dd0d616d96a3ea
* Move out all framework-tests classes.Brett Chabot2010-06-148-867/+0
| | | | | | | | | | | | | | Previously tests/framework-tests contained a quarantined set of test classes that needed access to package-private framework api. Running these tests normally would cause the dalvik verifier to throw errors. runtest now has support for turning off the dalvik verifier for frameworks tests, so move this tests into their recommended location, close to the source being tested. Also move policy source into a 'src' folder to accommodate the tests move. Change-Id: I62f839da185a55bc553b653bf583fd99da438512
* Add a test item the turns on a bunch of extra icons.Joe Onorato2010-06-091-0/+17
| | | | Change-Id: Ia5884ef46a5b0fa2d608c7924b3eb12293a1da8b
* Handle errors inflating notifications (and their icons).Joe Onorato2010-06-091-15/+35
| | | | | | | | | | | | | On an inflation error, the StatusBarService cleans up, removes / doesn't add the views, and calls into the StatusBarManagerService, which tells the NotificationManagerService to remove the notification. That then calls all the way back into the StatusBarService, but I think being extra careful is okay. Throughout the status bar, it's all keyed off of the IBinder key, so if the app comes in with a good notification while we're cleaning up, we won't lose the new notification or anything like that. Change-Id: Iea78a637495a8b67810c214b951d5ddb93becacb
* Add some disabled logging and another test case for reapplying the ↵Joe Onorato2010-06-091-1/+12
| | | | | | notification views. Change-Id: I839d7771ab42a5d508ce7d15385f6ac6a4e3be83
* In fact, switching an item between ongoing and notifications works.Joe Onorato2010-06-021-1/+1
| | | | | | The test just wasn't testing that. Change-Id: If1af2a7258d2a3764f845d9862a0a0ff62b1d7ed
* Handle bad icon resources.Joe Onorato2010-06-021-0/+10
| | | | Change-Id: I87c5fe68ad8016596068ba7889f3b6d36da3386b
* updateNotifications works.Joe Onorato2010-06-021-3/+1
| | | | Change-Id: I924763a2d42ca1967719f3eb72c57d1cbb912dd7
* Add expand and collapse.Joe Onorato2010-06-021-15/+2
| | | | Change-Id: I58ad95c59b2c46d3f25349e137d5624aefc6c6cd
* am 1bd7597b: merge from open-source masterThe Android Open Source Project2010-06-021-2/+3
|\ | | | | | | | | | | | | Merge commit '1bd7597b8cdaf39d1183077c463cb30596eb31b0' into kraken * commit '1bd7597b8cdaf39d1183077c463cb30596eb31b0': Replaced raw string arguments for Context.getSystemService() with final Context variables
| * merge from open-source masterThe Android Open Source Project2010-06-021-2/+3
| |\ | | | | | | | | | Change-Id: I8333e295ba6b6ed8e7658ecf3fbf1ebea3537aeb
| | * Replaced raw string arguments for Context.getSystemService() with final ↵Christian Mehlmauer2010-05-311-2/+3
| | | | | | | | | | | | | | | | | | Context variables Change-Id: If5139a1526101292e5da557bfad3f4db80fb64a8
* | | am 8382068e: merge from open-source masterThe Android Open Source Project2010-05-171-2/+20
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '8382068ef2d385183f090373f3b0c6026bd56a99' into kraken * commit '8382068ef2d385183f090373f3b0c6026bd56a99': Updated RGB LED test cases
| * | merge from open-source masterThe Android Open Source Project2010-05-171-2/+20
| |\ \ | | |/ | | | | | | Change-Id: I139c349b80b2cecfbdc30bd697cba099740293d9
| | * Merge "Updated RGB LED test cases"Jean-Baptiste Queru2010-05-171-2/+20
| | |\
| | | * Updated RGB LED test casesMattias Östergren2010-03-051-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | The test cases for turning on the RGB LED with persistent light was corrected. The color for blinking was updated to blue. And finally an option for turning off the lights was added.
| | * | Merge "New test in FrameworkTest for the VelocityTracker class"Jean-Baptiste Queru2010-05-131-0/+285
| | |\ \
| | | * | New test in FrameworkTest for the VelocityTracker classMarc Capdevielle2010-05-121-0/+285
| | | | |
| | * | | Preserve '+' in phone numbers imported from SIM.Samuel Holmberg2010-05-111-0/+10
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Contacts with phonenumbers beginning with '+' lose the '+' in the phonebook when imported from SIM. This was only noticable on ADN-records with unknown NPI-values which isn't very usual. Change-Id: I181249759ae3d4181dd3cf627c7a588394b80419
| | * | Move LocationTracker test app from vendor/google to frameworks/base/testsMike Lockwood2010-02-2417-0/+1809
| | | | | | | | | | | | | | | | | | | | Change-Id: I49f1bfe2081f2c48fcb22b74aa2377857c2bae6d Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | am c8e84e12: am b4c9a8f6: Merge "Fix imf tests." into froyoBrett Chabot2010-05-121-13/+17
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'c8e84e12beb876f904d0090fe021beae73722786' into kraken * commit 'c8e84e12beb876f904d0090fe021beae73722786': Fix imf tests.
| * | | Fix imf tests.Brett Chabot2010-05-111-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix hard keyboard detection logic - use FLAG_ACTIVITY_MULTIPLE_TASK to force test activities to start with IME Bugs 2677320, 2677355 Change-Id: I1b943ee17fddcae5087faefa9fa5603dd3f18ec1
* | | | New xlarge screen size.Dianne Hackborn2010-04-285-1/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not complete, only for experimentation at this point. This includes a reworking of how screen size configurations are matched, so that if you are on a larger screen we can select configurations for smaller screens if there aren't any exactly matching the current screen. The screen size at which we switch to xlarge has been arbitrarily chosen; the compatibility behavior has not yet been defined. Change-Id: I1a33b3818eeb51a68fb72397568c39ab040a07f5
* | | | am 133d0b70: am 185f1a96: Merge "IME test fixes." into froyoBrett Chabot2010-04-082-7/+14
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '133d0b70ff569dad9d996be49fdea10c2bdd4b97' into kraken * commit '133d0b70ff569dad9d996be49fdea10c2bdd4b97': IME test fixes.
| * | | IME test fixes.Brett Chabot2010-04-082-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tweak OneEditTextActivitySelectedTests:testSoftKeyboardAutoPop so it always expects IME to be shown for devices with no hard keyboard. Bug 2267311 2318969 Change-Id: Ica31e8f1153cf3e7dbc838d263ea0ae805161610
* | | | Finish moving the policies out of frameworks/policies/base and into ↵Joe Onorato2010-04-061-1/+1
|/ / / | | | | | | | | | | | | | | | frameworks/base. Change-Id: Id3a0c06202b0f6f2206acf490c8655d340ee0556
* | | Merge "More framework tests cleanup." into froyoBrett Chabot2010-04-01118-6321/+31
|\ \ \
| * | | More framework tests cleanup.Brett Chabot2010-04-01118-6321/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move all tests for android.* classes from tests/AndroidTests and tests/CoreTests into framework/base/<core|graphics>/tests. Consolidate all tests for java.* classes to tests/CoreTests. Eventually hopefully these will be moved to dalvik/ somewhere. Remove tests/AndroidTests entirely. Change-Id: I86584d086ab7bd045bb38a10b699907805298a95
* | | | Remove FrameworkTest package.Brett Chabot2010-04-0110-556/+0
|/ / / | | | | | | | | | | | | | | | | | | The only remaining test here was RingtonePickerActivityTes, which has been suppressed since pre-donut. Change-Id: I74c08c9c9447b67252430db3b462373af879bd1d
* | | Cherry pick from master.Steve Block2010-04-012-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes DumpRenderTree to re-use HTTP authentication credentials This is required for layout test http/tests/appcache/auth.html Bug: 2098423 Change-Id: Ic9531e3c23a2fa9ebfab70cde3172550f572a404
* | | API CHANGE: rename BackupHelperAgent => BackupAgentHelper per API CouncilChristopher Tate2010-03-291-2/+2
| | | | | | | | | | | | | | | | | | Part of bug #2545514 Change-Id: Ic775e3b942c485252149c1b6c15c88517fa4e3e5
* | | Move PackageManagerTests and AsecTests.Brett Chabot2010-03-269-2858/+0
| | | | | | | | | | | | | | | | | | | | | | | | Remove PackageManagerTests test's from continuous due to flakiness. merged from abandoned master. Change-Id: I0a542df9df572c37bd1aa987cdc9fb2f95001a7c
* | | Clean up stale containers if needed at install time.Suchi Amalapurapu2010-03-241-19/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed when restoring applications installed on sdcard via Market after a data wipe. The stale containers need to be cleaned up before reinstalling again. Add a test case for installing when a stale container exists. Change-Id: I20c30b3003e85fb31531dd3cf9cb59962fe8fe5f
* | | Merge " * Move connectivity manager test closer to source. * Add license ↵Xia Wang2010-03-236-764/+0
|\ \ \ | | | | | | | | | | | | header to java files * Remove google related information from the test"
| * | | * Move connectivity manager test closer to source.Xia Wang2010-03-236-764/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add license header to java files * Remove google related information from the test Change-Id: I2e57960f9ac963cdf3591385e21ed68832f74bd0
* | | | Merge "Fix rebuilding of these two apks."Patrick Scott2010-03-232-0/+2
|\ \ \ \ | |/ / / |/| | |
| * | | Fix rebuilding of these two apks.Patrick Scott2010-03-232-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Add a dummy string so that a R.stamp file will be written. Change-Id: I939f97d2d4214e2c2186c3802b606c8bfd0e3468
* | | | Merge "Asec: Add new 'StorageNotFound' response code handling for container ↵San Mehat2010-03-231-0/+11
|\ \ \ \ | | | | | | | | | | | | | | | paths"