3581 Commits

Author SHA1 Message Date
Karl Rosaen
03e53b4a66 am 61ab270c: Add missing \'break\'s in switch statement, fixing bug 1876430
Merge commit '61ab270c17094ef1373f54d8fb9ade6d287c3a60'

* commit '61ab270c17094ef1373f54d8fb9ade6d287c3a60':
  Add missing 'break's in switch statement, fixing bug 1876430
2009-06-23 13:08:34 -07:00
Android (Google) Code Review
6922f19d30 am 843f5eb3: Merge change 5054 into donut
Merge commit '843f5eb36a67367ae76800f74e184f00af50ef54'

* commit '843f5eb36a67367ae76800f74e184f00af50ef54':
  Rollback the number of loop in the memory stress test
2009-06-23 13:08:18 -07:00
Android (Google) Code Review
458134509d am 864ef233: Merge change 4878 into donut
Merge commit '864ef2337554cd0ca4166873bc8145d21ccf2286'

* commit '864ef2337554cd0ca4166873bc8145d21ccf2286':
  Add smalltest annotation to HardwareServicePermissionTest.
2009-06-23 13:08:15 -07:00
Bjorn Bringert
e85fbcb3cd am b0ae27f4: Store correct state in SearchDialog.onSaveInstanceState()
Merge commit 'b0ae27f4e10a9e5fe56b9ca549718051fe342bba'

* commit 'b0ae27f4e10a9e5fe56b9ca549718051fe342bba':
  Store correct state in SearchDialog.onSaveInstanceState()
2009-06-23 13:08:01 -07:00
Christopher Tate
11b1577902 Add file mode to the file-backup saved state blobs
This change puts the file's access mode into the saved-state blob used by the
file backup helpers.  The tests have been updated for the new blob content
format.

What this change *doesn't* do is actually backup/restore the file mode.  This
change is a prerequisite for that, but mode preservation in backup/restore will
require adding metadata to the backup data stream itself, so will be approached
a bit more carefully.

(Also fixed one outright bug in the test program: ReadEntityData() had been
changed to return a ssize_t union of either a byte-count or a negative number
indicating error, but the test program was still assuming that nonzero == error,
and was spuriously failing.)
2009-06-23 13:07:47 -07:00
Dianne Hackborn
2e41842898 Possibly fix an issue where we thought an app was always using GPS.
There may be some race conditions in the gps provider where it can cause a uid
to be double booked for gps usage and never released.  Address this by tweaking
some locking (so mLocation and the uid array are protected by a lock both when
reading and writing).  Also add some code to log a warning if someone tries to
note a particular uid multiple times, since the code will break in that case.

Finally, fix a problem in the battery stats where we weren't allowing a new Uid
structure to be created in many cases for calls coming in.
2009-06-23 12:51:06 -07:00
David Krause
b6d90ca129 Fill in CDMA gaps and clean up ToneGenerator code 2009-06-23 12:32:12 -07:00
Android (Google) Code Review
494bb21480 Merge change 5097
* changes:
  Cleanup logging and fix a startup race condition that manifested on Firestone.
2009-06-23 12:23:19 -07:00
Jason Sams
f29ca50d80 Cleanup logging and fix a startup race condition that manifested on Firestone. 2009-06-23 12:22:47 -07:00
Karl Rosaen
61ab270c17 Add missing 'break's in switch statement, fixing bug 1876430 2009-06-23 11:10:25 -07:00
Android (Google) Code Review
843f5eb36a Merge change 5054 into donut
* changes:
  Rollback the number of loop in the memory stress test
2009-06-23 10:09:03 -07:00
Android (Google) Code Review
fc542816ba Merge change 4939
* changes:
  mods so that we can search mms messages
2009-06-23 10:04:38 -07:00
Android (Google) Code Review
864ef23375 Merge change 4878 into donut
* changes:
  Add smalltest annotation to HardwareServicePermissionTest.
2009-06-23 09:52:21 -07:00
Android (Google) Code Review
89c352cf44 Merge change 5045
* changes:
  remove deprecated use of porterduff
2009-06-23 06:48:32 -07:00
Bjorn Bringert
b0ae27f4e1 Store correct state in SearchDialog.onSaveInstanceState()
Adds this to the instance state bundle:
- mStoredComponentName
- mStoredAppSearchData
- mPreviousComponents

All the UI selection fields that were previously saved were removed.
It's not necessarily useful to restore the
selection, and it's hard to get right. The old code was buggy
(see http://b/issue?id=1911660) and did not restore the
list selection because that's quite hard.

Fixes http://b/issue?id=1926174
2009-06-23 13:47:31 +01:00
Android (Google) Code Review
1b28d26ae9 am 4fb69770: Merge change 5024 into donut
Merge commit '4fb69770e70352c987cc79414db7a03b52296ca7'

* commit '4fb69770e70352c987cc79414db7a03b52296ca7':
  Remove opengl tests from tests build
2009-06-22 22:04:57 -07:00
Android (Google) Code Review
4c27977034 am 722baf5e: Merge change 5014 into donut
Merge commit '722baf5ec47b57020ac39ec3e2b6cd1a02c3c4db'

* commit '722baf5ec47b57020ac39ec3e2b6cd1a02c3c4db':
  Fix issue #1933587.  Perform dexopt of instrumentation .apks.
2009-06-22 22:04:53 -07:00
Android (Google) Code Review
ffa5a5a3db am 5277103d: Merge change 5035 into donut
Merge commit '5277103db9033226814edc8fcba6f4ba4e846678'

* commit '5277103db9033226814edc8fcba6f4ba4e846678':
  add glTexParameteri() and fix glTexParameteriv()
2009-06-22 22:04:12 -07:00
Yu Shan Emily Lau
327420252c Rollback the number of loop in the memory stress test 2009-06-22 21:19:53 -07:00
Mike Reed
47c0d4eaa9 remove deprecated use of porterduff 2009-06-22 22:53:52 -04:00
Android (Google) Code Review
949070dd74 am 11348cff: Merge change 4885 into donut
Merge commit '11348cffef46585027ba3035357370177a554826'

* commit '11348cffef46585027ba3035357370177a554826':
  Merge the output file into one.
2009-06-22 19:47:35 -07:00
Android (Google) Code Review
3edc89fc57 am 54f156c7: Merge change 5006 into donut
Merge commit '54f156c7c47bd5b5f2c9675f56bddaaa43ad162e'

* commit '54f156c7c47bd5b5f2c9675f56bddaaa43ad162e':
  Pass the originating app's versionCode along with a restore set
2009-06-22 19:47:24 -07:00
Android (Google) Code Review
cbf2f599ec am 58ee0371: Merge change 4990 into donut
Merge commit '58ee037191b5d9c2b149870868f9646bd428af2a'

* commit '58ee037191b5d9c2b149870868f9646bd428af2a':
  Fix a few more blatantly wrong date formats.
2009-06-22 19:47:21 -07:00
Android (Google) Code Review
4fb69770e7 Merge change 5024 into donut
* changes:
  Remove opengl tests from tests build
2009-06-22 18:30:40 -07:00
Android (Google) Code Review
722baf5ec4 Merge change 5014 into donut
* changes:
  Fix issue #1933587.  Perform dexopt of instrumentation .apks.
2009-06-22 18:30:05 -07:00
Android (Google) Code Review
cefdd03d93 Merge change 5039
* changes:
  Fix 3 bugs in fountain test.  Correctly generate the last mip level of a non-square mip chain.  Default the background to not blended and disable dither/depth.
2009-06-22 18:20:00 -07:00
Android (Google) Code Review
b2e051a966 Merge change 5015
* changes:
  Cleanup includes so Log.h can use the tag.  rsUtils.h is the file that should be included everywhere and contain rs global defines.
2009-06-22 18:19:46 -07:00
Android (Google) Code Review
746762cba3 Merge change 4984
* changes:
  All light source objects.
2009-06-22 18:19:22 -07:00
Android (Google) Code Review
5277103db9 Merge change 5035 into donut
* changes:
  add glTexParameteri() and fix glTexParameteriv()
2009-06-22 18:18:39 -07:00
Jason Sams
f8001669ba Fix 3 bugs in fountain test. Correctly generate the last mip level of a non-square mip chain. Default the background to not blended and disable dither/depth. 2009-06-22 18:13:36 -07:00
Mathias Agopian
aaf4b6b331 add glTexParameteri() and fix glTexParameteriv() 2009-06-22 18:09:09 -07:00
Sriram Raman
1562f872a3 Remove opengl tests from tests build 2009-06-22 17:22:12 -07:00
Jason Sams
4b962e57a9 Cleanup includes so Log.h can use the tag. rsUtils.h is the file that should be included everywhere and contain rs global defines. 2009-06-22 17:15:15 -07:00
Android (Google) Code Review
11348cffef Merge change 4885 into donut
* changes:
  Merge the output file into one.
2009-06-22 17:14:59 -07:00
Dianne Hackborn
d7f6daa5d1 Fix issue #1933587. Perform dexopt of instrumentation .apks. 2009-06-22 17:06:35 -07:00
Android (Google) Code Review
54f156c7c4 Merge change 5006 into donut
* changes:
  Pass the originating app's versionCode along with a restore set
2009-06-22 16:47:06 -07:00
Android (Google) Code Review
58ee037191 Merge change 4990 into donut
* changes:
  Fix a few more blatantly wrong date formats.
2009-06-22 16:45:20 -07:00
Christopher Tate
5cbbf5652a Pass the originating app's versionCode along with a restore set
This change amends the doRestore() / onRestore() interface to backup agents to
provide the integer android:versionCode of the app that stored the backup set.
This should help agents figure out how to handle whatever historical data set
they're handed at restore time.
2009-06-22 16:44:51 -07:00
Android (Google) Code Review
526abb93fb am e8a1f6af: Merge change 4961 into donut
Merge commit 'e8a1f6af96d09d8105621932073d6f79e24a5dc9'

* commit 'e8a1f6af96d09d8105621932073d6f79e24a5dc9':
  Set organizations to be null for generateKeyPair to use the default.
2009-06-22 16:24:31 -07:00
Android (Google) Code Review
e8a1f6af96 Merge change 4961 into donut
* changes:
  Set organizations to be null for generateKeyPair to use the default.
2009-06-22 16:22:33 -07:00
Eric Fischer
f089c32994 Fix a few more blatantly wrong date formats.
Make punctuation in German and Italian numeric formats self-consistent.
Add missing long standalone Italian month names.
Fix doubled month words in Japanese, Chinese, and Korean.
2009-06-22 15:54:09 -07:00
Jason Sams
bba134c8a1 All light source objects. 2009-06-22 15:49:21 -07:00
Android (Google) Code Review
61f24e58d6 am 2830b922: Merge change 4977 into donut
Merge commit '2830b9226bc737da970f8d20601ccde19008415c'

* commit '2830b9226bc737da970f8d20601ccde19008415c':
  Update the gservices gtalk setting for the terms and services url.
2009-06-22 15:47:26 -07:00
Android (Google) Code Review
2830b9226b Merge change 4977 into donut
* changes:
  Update the gservices gtalk setting for the terms and services url.
2009-06-22 15:45:31 -07:00
Satish Sampath
f50020b34c am 662df0b9: Launch user-entered URLs directly without a web search.
Merge commit '662df0b9630fd685a7cf86bbfec15ac6b6c286c6'

* commit '662df0b9630fd685a7cf86bbfec15ac6b6c286c6':
  Launch user-entered URLs directly without a web search.
2009-06-22 15:44:06 -07:00
Satish Sampath
662df0b963 Launch user-entered URLs directly without a web search.
This is to fix bug http://b/issue?id=1931983

Instead of changing the keyboard button from search to carriage return,
I have changed it from search to 'Go' which I find more useful since
it indicates that the user can now go to that URL.
2009-06-22 23:40:10 +01:00
Christopher Tate
5196d12a12 am 3a31a93b: Add some global metadata to the restore set
Merge commit '3a31a93b8a195ae2d0180e6dfbf292da2e581f50'

* commit '3a31a93b8a195ae2d0180e6dfbf292da2e581f50':
  Add some global metadata to the restore set
2009-06-22 15:19:51 -07:00
Tom Taylor
2c0a01a6e7 Update the gservices gtalk setting for the terms and services url. 2009-06-22 15:17:59 -07:00
Christopher Tate
3a31a93b8a Add some global metadata to the restore set
In addition to the signatures of each participating application, we now also
store the versionCode of each backed-up package, plus the OS version running on
the device that contributed the backup set.  We also refuse to process a backup
from a later OS revision to an earlier one, or from a later app version to an
earlier.

LocalTransport has been modified as well to be more resilient to changes in the
system's use of metadata pseudopackages.
2009-06-22 15:14:04 -07:00
Mark Wagner
f4f8a7fe46 mods so that we can search mms messages 2009-06-22 14:55:17 -07:00