summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* am 4ae1e382: Merge "Tracking merge of dalvik-dev to gingerbread" into ↵Brian Carlstrom2010-08-054-137/+11
|\ | | | | | | | | | | | | | | | | gingerbread Merge commit '4ae1e382f4b6c5bb9e757f35f82ad48dc02c32af' into gingerbread-plus-aosp * commit '4ae1e382f4b6c5bb9e757f35f82ad48dc02c32af': Tracking merge of dalvik-dev to gingerbread
| * 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
* | am 9150cff6: Merge "Replaced /sdcard with ↵Jean-Baptiste Queru2010-07-2910-37/+57
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Environment.getExternalStorageDirectory()" Merge commit '9150cff64abc79927ade28061ac99a1ebf812905' into gingerbread-plus-aosp * commit '9150cff64abc79927ade28061ac99a1ebf812905': Replaced /sdcard with Environment.getExternalStorageDirectory()
| * | Replaced /sdcard with Environment.getExternalStorageDirectory()Christian Mehlmauer2010-07-1910-37/+57
| | | | | | | | | | | | Change-Id: I9a7413f81090b69c82ca6b1e585f5e379b19e60c
* | | am bae6fe24: Merge "Support streaming of compressed assets > 1 megabyte" ↵Christopher Tate2010-07-286-0/+218
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | into gingerbread Merge commit 'bae6fe242ff9a97840ff0c5d9d87c0575d261682' into gingerbread-plus-aosp * commit 'bae6fe242ff9a97840ff0c5d9d87c0575d261682': Support streaming of compressed assets > 1 megabyte
| * | 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
* | | merge from open-source masterThe Android Open Source Project2010-07-162-0/+94
|\ \ \ | | |/ | |/| | | | Change-Id: I6bdeeff30be1fdb0901aec9bcdd67176c29eaf7b
| * | Merge "Added method getPreferredHttpHost"Romain Guy2010-07-152-0/+94
| |\ \
| | * | Added method getPreferredHttpHostAndreas Sandblad2010-07-142-0/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added method for returning preferred proxy which takes both localhost and Wi-Fi into account. This is a convenient method to clients which only wants to set a correct proxy and don't want to build in dependency to if Wi-Fi is active or not. Currently no Wi-Fi proxy is supported by the system, but once added, this method could return a suitable proxy for Wi-Fi. Change-Id: I8c9c2879351fd25a20ea82a2cb000f226248c357
* | | | merge from open-source masterThe Android Open Source Project2010-07-161-0/+62
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | Change-Id: Ic91d205e7fd6a71320d9a4498643d384397dfb00
| * | Make HTTP Header class handle multiple cache-control fields.Henrik Baard2010-07-141-0/+62
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The HTTP specification states the following about the fields: Multiple message-header fields with the same field-name MAY be present in a message if and only if the entire field-value for that header field is defined as a comma-separated list [i.e., #(values)]. It MUST be possible to combine the multiple header fields into one "field-name: field-value" pair, without changing the semantics of the message, by appending each subsequent field-value to the first, each separated by a comma. The order in which header fields with the same field-name are received is therefore significant to the interpretation of the combined field value, and thus a proxy MUST NOT change the order of these field values when a message is forwarded. Change-Id: I1a6fe5cc8f541f8e80d559641d270d09eac9d85c
* | 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