977 Commits

Author SHA1 Message Date
Android (Google) Code Review
f4c6ae8339 am 6342d393: Merge change 1575 into donut
Merge commit '6342d3936ad8c9e6cf5bba1fc88c4e9338391bb4'

* commit '6342d3936ad8c9e6cf5bba1fc88c4e9338391bb4':
  Change _TOKENIZE tests to test the new token_index column
2009-05-18 08:36:46 -07:00
Android (Google) Code Review
6342d3936a Merge change 1575 into donut
* changes:
  Change _TOKENIZE tests to test the new token_index column
2009-05-17 12:44:38 -07:00
Yang Li
419780b98e am 935fd37d: Revert "Squashed commit of the following:"
Merge commit '935fd37d27804539b141fa074c060d2c15524424'

* commit '935fd37d27804539b141fa074c060d2c15524424':
  Revert "Squashed commit of the following:"
2009-05-15 17:24:34 -07:00
Yang Li
935fd37d27 Revert "Squashed commit of the following:"
This reverts commit f8173411cc612017ecfa115d71fb823b0714d982.
2009-05-15 16:51:46 -07:00
Android (Google) Code Review
28a6f667c2 am e85bb9eb: Merge change 1823 into donut
Merge commit 'e85bb9ebcce85b8c7a0e0ccb5116cd25bf684727'

* commit 'e85bb9ebcce85b8c7a0e0ccb5116cd25bf684727':
  Add the backup data file writer C++ class.
2009-05-15 16:25:41 -07:00
Android (Google) Code Review
e85bb9ebcc Merge change 1823 into donut
* changes:
  Add the backup data file writer C++ class.
2009-05-15 15:36:32 -07:00
Joe Onorato
2e1da32203 Add the backup data file writer C++ class. 2009-05-15 18:20:19 -04:00
Yang Li
7209337100 am f8173411: Squashed commit of the following:
Merge commit 'f8173411cc612017ecfa115d71fb823b0714d982'

* commit 'f8173411cc612017ecfa115d71fb823b0714d982':
  Squashed commit of the following:
2009-05-15 15:00:43 -07:00
Yang Li
f8173411cc Squashed commit of the following:
commit db1a75ffc2d5a811a8d983289dd4d0d9f2eeba5c
Author: Yang Li <liyang@google.com>
Date:   Fri May 1 17:49:29 2009 -0700

    Fixed a few more styles issues and made some methods package private

commit f9735c3f1bbe6183337df226aa730b4be1225d55
Author: Yang Li <liyang@google.com>
Date:   Fri May 1 16:38:16 2009 -0700

    - Refactored the code for Android coding styles and performance
    - Renamed GesturePad to GestureOverlay
    - Added GestureAdapter for default touch-through interactions of GestureOverlay
    - Added a new exmaple, ContactListGestureOverlay, to show how to gesture over an arbitary view

commit 31050183c6d85091612f53155126c2488b920e32
Author: Yang Li <liyang@google.com>
Date:   Wed Apr 29 18:41:54 2009 -0700

    Refactored the Gesture Library (An initial check-in).
2009-05-15 13:55:56 -07:00
Fred Quintana
ce31b2361d enhance ContentProvider with the ability to perform batch operations 2009-05-15 13:55:32 -07:00
Joe Onorato
55051ebdd1 am 4535e405: Implement the C++ class to write the backed up file data.
Merge commit '4535e40544aeb957d44fad75fbe5676effe03689'

* commit '4535e40544aeb957d44fad75fbe5676effe03689':
  Implement the C++ class to write the backed up file data.
2009-05-15 07:55:51 -07:00
Joe Onorato
4535e40544 Implement the C++ class to write the backed up file data. 2009-05-15 10:37:10 -04:00
Bjorn Bringert
819e3f2148 Change _TOKENIZE tests to test the new token_index column
The SQLite _TOKENIZE function has been changed to use a third
column, token_index. This commit adds tests for the
_TOKENIZE token_index column, and for the source column,
which was previously untested.
2009-05-15 12:03:32 +01:00
svetoslavganov
76879bc234 resolved conflicts w/ 75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec merge.... 2009-05-15 00:44:45 -07:00
svetoslavganov
75986cf9bc Accessibility feature - framework changes (replacing 698, 699, 700, 701 and merging with the latest Donut) 2009-05-14 23:47:05 -07:00
Android (Google) Code Review
a64b860749 am aa642c0c: Merge changes 1591,1596 into donut
Merge commit 'aa642c0cc20293137376d44f8221876c121e5be9'

* commit 'aa642c0cc20293137376d44f8221876c121e5be9':
  Get the backup calling through to the file backup helper.
  Fix typos.
  Add a new feature to android.os.Debug to add the ability to inject only specific fields when calling setFieldsOn().
  Fixes #1836075. Adds consistency checks for the View hierarchy. To enable them, you need a debug build and ViewDebug.sConsistencyCheckEnabled set to true in debug.prop. This change also lets you easily enable drawing and layout profiling in ViewRoot by setting ViewRoot.sProfileDrawing, ViewRoot.sProfileLayout and ViewRoot.sShowFps in debug.prop with a debug build.
  Add Intent.ACTION_APP_ERROR
2009-05-14 14:53:27 -07:00
Joe Onorato
290bb011c5 Get the backup calling through to the file backup helper.
This includes some cleanup to make the parameters match
between BackupService.onBackup and FileBackupHelper.performBackup.
2009-05-14 09:39:32 -04:00
Joe Onorato
09b87a7d18 am 8ad0281: With this, the BackupService onBackup method is called.
Merge commit '8ad028117d4b99883bbc52b29f097b2fb1d9b0c2'

* commit '8ad028117d4b99883bbc52b29f097b2fb1d9b0c2':
  With this, the BackupService onBackup method is called.
2009-05-12 22:49:11 -07:00
Joe Onorato
8ad028117d With this, the BackupService onBackup method is called.
It took a bunch of refactoring inside BackupManagerService,
which is unfortunately all temporary anyway, but it unblocks
a bunch of stuff.
2009-05-13 01:41:44 -04:00
Guang Zhu
4010ac35b1 added reliability test usding DumpRenderTree 2009-05-11 20:09:37 -07:00
Android (Google) Code Review
7a98dae9fe Merge change 1012
* changes:
  added reliability test usding DumpRenderTree
2009-05-11 20:07:37 -07:00
Jorg Pleumann
86dbf0d798 am b4735b6: am 25f9637: AI 148665: Disabling a test that does not work a
Merge commit 'b4735b6c04c6bca3219115395748a1b5ef02ff6c'

* commit 'b4735b6c04c6bca3219115395748a1b5ef02ff6c':
  AI 148665: Disabling a test that does not work as
2009-05-11 00:44:29 -07:00
Jorg Pleumann
b4735b6c04 am 25f9637: AI 148665: Disabling a test that does not work as
Merge commit '25f963753ea762c12c74c0dcb861b023ac92177a' into donut

* commit '25f963753ea762c12c74c0dcb861b023ac92177a':
  AI 148665: Disabling a test that does not work as
2009-05-11 00:39:55 -07:00
Jorg Pleumann
25f963753e AI 148665: Disabling a test that does not work as
expected on a device with a SIM.
  BUG=1657996

Automated import of CL 148665
2009-05-11 00:36:52 -07:00
Joe Onorato
c825d3ebd6 fix the sim build. disables the tests for now. 2009-05-08 09:33:19 -07:00
The Android Open Source Project
1a36071092 manual merge of 7ec32cc
Merge commit '7ec32cc'
2009-05-08 07:21:43 -07:00
Joe Onorato
b1a7ffef3a More backup tests 2009-05-07 15:32:48 -07:00
Android (Google) Code Review
f9189f17d1 am 08d00b9: Merge change 1159 into donut
Merge commit '08d00b9ad794d9f627f1c2c4b282c3950806f4bd'

* commit '08d00b9ad794d9f627f1c2c4b282c3950806f4bd':
  CoreTests: Fix LocationManagerProximityTest.
2009-05-07 10:35:09 -07:00
Mike Lockwood
7f7840b41e CoreTests: Fix LocationManagerProximityTest.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-07 13:29:59 -04:00
The Android Open Source Project
cfe5cdd3a1 manual merge d90a331 to avoid conflicts
Merge commit 'd90a331'
2009-05-06 18:16:52 -07:00
Romain Guy
d90a33111b Add new setTag(int, Object) API to allow applications to specify several tags. 2009-05-06 16:49:56 -07:00
Android (Google) Code Review
34f97460bd am f2331a6: Merge change 1063 into donut
Merge commit 'f2331a63c0e7f6ffeedf16185c92a0aeffa5512c'

* commit 'f2331a63c0e7f6ffeedf16185c92a0aeffa5512c':
  Refactor SearchableInfo.
2009-05-06 15:49:01 -07:00
Android (Google) Code Review
1be24353ef Merge change 1058
* changes:
  Put three tests in ignore test list.
2009-05-06 10:56:45 -07:00
Joe Onorato
7fca565135 fix the sim build. disables the tests for now. 2009-05-06 12:55:46 -04:00
Bjorn Bringert
a92041306e Refactor SearchableInfo.
- Removes the mSearchable field which was only
  for communication between the constructor and
  getActivityMetaData().
- Removes the badge and query rewriting fields,
  since their values can be efficiently computed
  on the fly.
- Makes all the other public fields private and adds getters
  for them.
- Makes all fields final, except mActionKeys.
- Removes the DBG_INHIBIT_SUGGESTIONS_CONSTANT.
  I don't see why we would every want that, and it
  complicated making the fields final.
- Makes all fields in ActionKeyInfo final.
- Makes all fields in ActionKeyInfo private and adds getters.
- Removes the use of ActioKeyInfo.mKeyCode for failure
  signalling. Uses IllegalArgumentException instead.
- Replaces the ad hoc linked list for looking up
  action keys by a HashMap. This is needed to
  make the fields in ActionkeyInfo final, and also avoids O(N)
  lookup in the (unlikely) case that an activity
  has lots of action keys.
- Don't throw exceptions when reading searchable
  meta-data, since that could crash SearchManagerService.
- Adds debug logging.
2009-05-06 13:54:42 +01:00
Tammo Spalink
84c9097d5b am d2b124f: new cdma sms unit tests (from QC on-site test)
Merge commit 'd2b124f97c52c566b68aff9fa58306f461686af0'

* commit 'd2b124f97c52c566b68aff9fa58306f461686af0':
  new cdma sms unit tests (from QC on-site test)
2009-05-06 01:31:33 -07:00
Android (Google) Code Review
0f2200ec68 am be3ac2d: Merge change 1040 into donut
Merge commit 'be3ac2d5ba8ef93c3cbf4d05edaf3434a14df2c9'

* commit 'be3ac2d5ba8ef93c3cbf4d05edaf3434a14df2c9':
  Add a test app for the backup
2009-05-06 01:31:32 -07:00
Android (Google) Code Review
b61381bc94 am 4488b11: Merge change 1039 into donut
Merge commit '4488b11c51ad8f5b8330279a9405e5a0f8586aa4'

* commit '4488b11c51ad8f5b8330279a9405e5a0f8586aa4':
  Add some C++ code to do raw files for backup
2009-05-06 01:31:32 -07:00
Dianne Hackborn
7a13559501 merged 231cc608d06ffc31c24bf8aa8c8275bdd2636581 2009-05-06 00:28:37 -07:00
Tammo Spalink
d2b124f97c new cdma sms unit tests (from QC on-site test) 2009-05-06 15:05:45 +08:00
Feng Qian
89ac33b621 Put three tests in ignore test list.
Two are very slow regexp tests, one always causes OOM.
2009-05-05 22:53:42 -07:00
Android (Google) Code Review
be3ac2d5ba Merge change 1040 into donut
* changes:
  Add a test app for the backup
2009-05-05 18:58:05 -07:00
Android (Google) Code Review
4488b11c51 Merge change 1039 into donut
* changes:
  Add some C++ code to do raw files for backup
2009-05-05 18:58:01 -07:00
Joe Onorato
f9225f89aa Add a test app for the backup 2009-05-05 18:34:31 -07:00
Dianne Hackborn
231cc608d0 Rewrite SyncStorageEngine to use flat files and in-memory data structures.
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.
2009-05-05 15:40:53 -07:00
Guang Zhu
1871fe0faa added reliability test usding DumpRenderTree 2009-05-05 14:13:52 -07:00
Joe Onorato
3ad977b41c Add some C++ code to do raw files for backup 2009-05-05 13:45:25 -07:00
Guang Zhu
b933f669e2 Back-merge all changes done in master to DumpRenderTree to donut. 2009-05-05 01:02:14 -07:00
Android (Google) Code Review
26504548bf am ef65477: Merge change 844 into donut
Merge commit 'ef65477523a6170bab7897809d1a8f9a3f5165f6'

* commit 'ef65477523a6170bab7897809d1a8f9a3f5165f6':
  clean up cdma sms creation and parsing
2009-05-01 23:25:27 -07:00
Tammo Spalink
8478b59f17 clean up cdma sms creation and parsing
related to issue http://b/issue?id=1782245

- fixes 7bit ASCII encode and decode (previous completely broken)

- also consolidates encoding of user data, and changed to match
  the conventions of the new data coding -- previously likely
  broken for several cases
2009-05-01 14:11:44 -07:00