summaryrefslogtreecommitdiffstats
path: root/test-runner
Commit message (Collapse)AuthorAgeFilesLines
* am ecad93e5: Merge change 2685 into donutAndroid (Google) Code Review2009-05-291-6/+20
|\ | | | | | | | | | | | | Merge commit 'ecad93e5f3c7345febcfa078b1d2aa00a2e1fd66' * commit 'ecad93e5f3c7345febcfa078b1d2aa00a2e1fd66': Change code coverage to write to app data folder rather than sdcard.
| * Change code coverage to write to app data folder rather than sdcard.Brett Chabot2009-05-281-6/+20
| | | | | | | | The InstrumentationTestRunner would previously write code coverage data to the sdcard. With the recent SDCARD_WRITE permission addition, generating code coverage would fail if test app did not declare the SDCARD_WRITE permission. This CL changes InstrumentationTestRunner so by default, the coverage data is saved to the app's private data folder. At the test run conclusion it outputs the path to this file so runtest or another test harness find the path to the coverage file.
* | add ipc support to batchingFred Quintana2009-05-221-3/+10
| |
* | am 8c690ea9: Merge change 2182 into donutAndroid (Google) Code Review2009-05-211-0/+3
|\ \ | |/ | | | | | | | | | | Merge commit '8c690ea9976d644db3c96eddbbbd2d50eac56913' * commit '8c690ea9976d644db3c96eddbbbd2d50eac56913': location: Replace ILocationCollector interface with new ILocationProvider method
| * location: Replace ILocationCollector interface with new ILocationProvider methodMike Lockwood2009-05-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | This change replaces ILocationCollector with a more general mechanism that passes locations received from a provider to all other providers. The network location provider now uses this to implement the location collector. In the future, this could be used to inject network locations to the GPS as aiding data. This change also removes the now obsolete permission INSTALL_LOCATION_COLLECTOR. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am eae850ce: Allow intent resolution to be constrained by package name.Mihai Preda2009-05-151-3/+7
|\ \ | |/ | | | | | | | | | | Merge commit 'eae850cefe7e149f396c9e8ca1f34ec02b20a3f0' * commit 'eae850cefe7e149f396c9e8ca1f34ec02b20a3f0': Allow intent resolution to be constrained by package name.
| * Allow intent resolution to be constrained by package name.Mihai Preda2009-05-151-3/+7
| |
* | content provider entitiesFred Quintana2009-05-131-1/+15
| |
* | am ade3eca: Implement issue #1783881 (manifest option for adb-install-onDianne Hackborn2009-05-121-5/+3
|\ \ | |/ | | | | | | | | | | Merge commit 'ade3ecad94d1f4431576f53bae26c35efbf7a2c9' * commit 'ade3ecad94d1f4431576f53bae26c35efbf7a2c9': Implement issue #1783881 (manifest option for adb-install-only apps)
| * Implement issue #1783881 (manifest option for adb-install-only apps)Dianne Hackborn2009-05-121-5/+3
| | | | | | | | | | | | | | | | | | | | | | You can now use android:testOnly="true" to not allow your .apk to be installed as a normal app. The only way to do so is with the pm command and giving the -t option, which sets a new INSTALL_ALLOW_TEST flag when installing. I also used this to clean up the install API... actually, mostly to hide it, since it is not accessible to apps so shouldn't be in the SDK. We will be doing some more work on it, so this will prevent adding yet another backwards-compatibility-for-no-reason version.
| * PackageManager keeps track of who installed what.Jacek Surazski2009-05-121-1/+9
| | | | | | | | Stores the package name of the installer app in packages.xml
* | PackageManager keeps track of who installed what.Jacek Surazski2009-05-121-1/+6
| | | | | | | | Stores the package name of the installer app in packages.xml
* | am f792fc5: Merge change 1150 into donutAndroid (Google) Code Review2009-05-071-6/+0
|\ \ | |/ | | | | | | | | | | Merge commit 'f792fc59c18aa470eb44cc596d5774115e2d9d02' * commit 'f792fc59c18aa470eb44cc596d5774115e2d9d02': location: Location Manager wakelock cleanup
| * location: Location Manager wakelock cleanupMike Lockwood2009-05-071-6/+0
| | | | | | | | | | | | | | | | | | | | | | Location Providers are now responsible for their own wakelocks and scheduling. Also fixed a deadlock in LocationManagerService in the code for releasing wakelocks after client notifications have been received. The fix is to use the Receiver object and mWakeLock for synchronization instead of the global mLock lock. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | merged 231cc608d06ffc31c24bf8aa8c8275bdd2636581Dianne Hackborn2009-05-061-35/+8
|\ \ | |/
| * Rewrite SyncStorageEngine to use flat files and in-memory data structures.Dianne Hackborn2009-05-051-33/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous implementation used a database for storing all of its state, which could cause a significant amount of IO activity as its tables were updated through the stages of a sync. This new implementation replaces that in-memory data structures, with hand-written code for writing them to persistent storage. There are now 4 files associated with this class, holding various pieces of its state that should be consistent. These are everything from a main XML file of account information that must always be retained, to a binary file of per-day statistics that can be thrown away at any time. Writes of these files as scheduled at various times based on their importance of the frequency at which they change. Because the database no longer exists, there needs to be a new explicit interface for interacting with the sync manager database. This is provided by new APIs on IContentService, with a hidden method on ContentResolver to retrieve the IContentService so that various system entities can use it. Other changes in other projects are required to update to the new API. The goal here is to have as little an impact on the code and functionality outside of SyncStorageEngine, though due to the necessary change in API it is still somewhat extensive.
* | am 275555c: location: Add support for location providers outside of the Mike Lockwood2009-05-011-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit '275555c8eb3fb5df6e7320873b88b77cdde85a9e' * commit '275555c8eb3fb5df6e7320873b88b77cdde85a9e': location: Add support for location providers outside of the system process.
| * location: Add support for location providers outside of the system process.Mike Lockwood2009-05-011-1/+1
| | | | | | | | | | | | | | Also added new permissions android.permission.INSTALL_LOCATION_PROVIDER and android.permission.INSTALL_LOCATION_COLLECTOR to the public API. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am 15e3d0f: location: Use ILocationProvider Binder interface for all locMike Lockwood2009-05-011-22/+44
|\ \ | |/ | | | | | | | | | | Merge commit '15e3d0f082d551f8819fbe4b0d502cc108627876' * commit '15e3d0f082d551f8819fbe4b0d502cc108627876': location: Use ILocationProvider Binder interface for all location providers.
| * location: Use ILocationProvider Binder interface for all location providers.Mike Lockwood2009-05-011-22/+44
| | | | | | | | | | | | | | | | | | | | This change eliminates the LocationProviderImpl class which had been used for location providers running in the system process. Now the LocationProvider base class is only used to implement the LocationManager.createProvider() method for retrieving provider information. Added a new IGpsStatusProvider interface for providers that serve GPS status. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | decouple SyncAdapter from ContentProviderFred Quintana2009-04-301-5/+0
| |
* | am 19aa8e0: am b867019: AI 147725: Some fixes for the CTS test runner. OJorg Pleumann2009-04-291-14/+52
|\ \ | |/ | | | | | | | | | | Merge commit '19aa8e01b8fe4ebd6d518bd48ea9b53ec95a49a7' * commit '19aa8e01b8fe4ebd6d518bd48ea9b53ec95a49a7': AI 147725: Some fixes for the CTS test runner. One is a
| * am b867019: AI 147725: Some fixes for the CTS test runner. One is aJorg Pleumann2009-04-281-14/+52
| |\ | | | | | | | | | | | | | | | | | | Merge commit 'b867019173d20cd4fd7ee79a3ce924096e95a241' into donut * commit 'b867019173d20cd4fd7ee79a3ce924096e95a241': AI 147725: Some fixes for the CTS test runner. One is a
| | * AI 147725: Some fixes for the CTS test runner. One is aJorg Pleumann2009-04-241-14/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | workaround for the binder problems which occur when too many tests are executed in too little time. The other is a fix for the memory cleanup that was added a while ago, but should have affected non-static fields, not static ones. BUG=1796494 Automated import of CL 147725
| | * AI 147162: Emphasize in the javadoc that the "pkg" parameters toAndy Stadler2009-04-213-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | InstrumentationTestCase and its descendants should be the package manager package name (not the java package name, and not the test package) of the package holding the Activity under test. Added similar notations to the ApiDemos call sites. JAVADOC ONLY - should be safe change for cupcake sdk. BUG=1783981 Automated import of CL 147162
| | * AI 146711: Enhancing the test runner. Now it filters BrokenTests and only ↵Urs Grob2009-04-172-3/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | executes tests annotated with SideEffect if the host is running in single test mode. Also adding some cleanup mechanism and some logcat logging about memory consumption BUG=1789657 Automated import of CL 146711
| | * AI 145383: API review: clean up a bunch of @hides that have been pending API ↵Dianne Hackborn2009-04-091-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | review. Either expose them, or official hide them with an explanation for why. BUG=1779439 Automated import of CL 145383
| | * AI 144093: Fix NPE in ActivityUnitTestCase.Brett Chabot2009-04-011-1/+1
| | | | | | | | | | | | | | | | | | BUG=1751731 Automated import of CL 144093
| | * AI 143869: Change InstrumentationTestRunner so all tests in the application ↵Brett Chabot2009-03-312-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | are run when no other arguments are supplied, instead of running only tests in the app's package. BUG=1749513 Automated import of CL 143869
* | | am 13735a2: Merge branch \'readonly-p4-donut\' into donutMitsuru Oshima2009-04-291-0/+8
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '13735a255dedd2c2e3b0cff66f0be2e17671f553' * commit '13735a255dedd2c2e3b0cff66f0be2e17671f553': AI 147976: Compatibility mode support. Part 2.
| * | Merge branch 'readonly-p4-donut' into donutMitsuru Oshima2009-04-281-0/+8
| |\ \
| | * | AI 147976: Compatibility mode support. Part 2.Mitsuru Oshima2009-04-281-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduced ApplicationScale (may not be good name. CompatibilityScale? CanvasScale? Pls let me know if you have better idea) * Changes to RootView / SurfaceView - Makes the app believe it's running in the supported density/resolution. - Makes the window manager believe it's running at the right density/resolution. * Added methods to Rect/Event for scaling up/down. Known issues: * certain kind of images (such as nine patch for buttons) seesm to be loaded not by app, thus does not take the scale into account, which, in turn, is causing layout issue. * ZoomButton in MapView is rendered in wrong place * Transparent region on Surface is not correct * Specifying different densities in one process is not working. BUG=1770627 Automated import of CL 147976
* | | | am 79762a3: location: Move DummyLocationProvider.java and LocationProvidMike Lockwood2009-04-291-1/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '79762a3ee34eb8be5549bcb183af844b6f19c266' * commit '79762a3ee34eb8be5549bcb183af844b6f19c266': location: Move DummyLocationProvider.java and LocationProviderImpl.java to the internal package.
| * | | location: Move DummyLocationProvider.java and LocationProviderImpl.java to ↵Mike Lockwood2009-04-281-1/+2
| |/ / | | | | | | | | | | | | | | | the internal package. Signed-off-by: Mike Lockwood <lockwood@android.com>
| * | AI 147167: am: CL 147162 Emphasize in the javadoc that the "pkg" parameters toAndy Stadler2009-04-213-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | InstrumentationTestCase and its descendants should be the package manager package name (not the java package name, and not the test package) of the package holding the Activity under test. Added similar notations to the ApiDemos call sites. JAVADOC ONLY - should be safe change for cupcake sdk. Original author: stadler Merged from: //branches/cupcake/... Automated import of CL 147167
| * | AI 146743: am: CL 146711 Enhancing the test runner. Now it filters ↵Urs Grob2009-04-172-3/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BrokenTests and only executes tests annotated with SideEffect if the host is running in single test mode. Also adding some cleanup mechanism and some logcat logging about memory consumption Original author: ursg Merged from: //branches/cupcake/... Automated import of CL 146743
| * | AI 145778: Manual merge changes 145382-145384 from cupcake.Andy Stadler2009-04-101-5/+10
| | | | | | | | | | | | Automated import of CL 145778
| * | AI 144452: More Location Manager cleanup:Mike Lockwood2009-04-031-14/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove 1 Hz "heartbeat" polling of location providers from LocationManagerService. Now location providers report their location to LocationManagerService via LocationManager.setLocation() rather than waiting to be polled. This reduces GPS fix latency by up to one second. Remove LocationProvderImpl.getLocation(). Since we are no longer polling, this method is no longer necessary. BUG=1729031 Automated import of CL 144452
| * | AI 144098: am: CL 144093 Fix NPE in ActivityUnitTestCase.Brett Chabot2009-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | Original author: brettchabot Merged from: //branches/cupcake/... Automated import of CL 144098
| * | AI 143870: am: CL 143869 Change InstrumentationTestRunner so all tests in ↵Brett Chabot2009-03-312-8/+12
| |/ | | | | | | | | | | | | | | | | the application are run when no other arguments are supplied, instead of running only tests in the app's package. Original author: brettchabot Merged from: //branches/cupcake/... Automated import of CL 143870
* | change the IsolatedContext to have a test version of the AccountManager that ↵Fred Quintana2009-04-271-1/+20
| | | | | | | | has no IBinder to the AccountManagerService.
* | change the sync framework and users to understand AccountFred Quintana2009-04-231-5/+9
| |
* | AI 147169: am: CL 147167 am: CL 147162 Emphasize in the javadoc that the ↵Andy Stadler2009-04-213-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "pkg" parameters to InstrumentationTestCase and its descendants should be the package manager package name (not the java package name, and not the test package) of the package holding the Activity under test. Added similar notations to the ApiDemos call sites. JAVADOC ONLY - should be safe change for cupcake sdk. Original author: stadler Merged from: //branches/cupcake/... Original author: android-build Automated import of CL 147169
* | AI 146828: am: CL 146743 am: CL 146711 Enhancing the test runner. Now it ↵Urs Grob2009-04-182-3/+142
| | | | | | | | | | | | | | | | | | | | | | | | filters BrokenTests and only executes tests annotated with SideEffect if the host is running in single test mode. Also adding some cleanup mechanism and some logcat logging about memory consumption Original author: ursg Merged from: //branches/cupcake/... Original author: android-build Automated import of CL 146828
* | AI 145994: Integrate #145778 from Donut.Dianne Hackborn2009-04-131-5/+10
| | | | | | | | Automated import of CL 145994
* | AI 144453: am: CL 144452 More Location Manager cleanup:Mike Lockwood2009-04-031-14/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | Remove 1 Hz "heartbeat" polling of location providers from LocationManagerService. Now location providers report their location to LocationManagerService via LocationManager.setLocation() rather than waiting to be polled. This reduces GPS fix latency by up to one second. Remove LocationProvderImpl.getLocation(). Since we are no longer polling, this method is no longer necessary. BUG=1729031 Original author: lockwood Automated import of CL 144453
* | AI 144107: am: CL 144098 am: CL 144093 Fix NPE in ActivityUnitTestCase.Brett Chabot2009-04-021-1/+1
| | | | | | | | | | | | | | | | | | Original author: brettchabot Merged from: //branches/cupcake/... Original author: android-build Merged from: //branches/donutburger/... Automated import of CL 144107
* | AI 143872: am: CL 143870 am: CL 143869 Change InstrumentationTestRunner so ↵Brett Chabot2009-03-312-8/+12
|/ | | | | | | | | | | all tests in the application are run when no other arguments are supplied, instead of running only tests in the app's package. Original author: brettchabot Merged from: //branches/cupcake/... Original author: android-build Merged from: //branches/donutburger/... Automated import of CL 143872
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0388-0/+10935
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0388-10921/+0
|