1487 Commits

Author SHA1 Message Date
Guang Zhu
cd97bd889e am 892771ab: Rename WRITE_SDCARD to WRITE_EXTERNAL_STORAGE in browser test app
Merge commit '892771ab81f79a6b0cf9735701760c5a12d6ab85'

* commit '892771ab81f79a6b0cf9735701760c5a12d6ab85':
  Rename WRITE_SDCARD to WRITE_EXTERNAL_STORAGE in browser test app
2009-06-01 14:01:11 -07:00
Guang Zhu
892771ab81 Rename WRITE_SDCARD to WRITE_EXTERNAL_STORAGE in browser test app 2009-06-01 13:51:21 -07:00
Guang Zhu
eda4c46fcb am 40d87ee4: Removing @Override to fix the build
Merge commit '40d87ee4867baa25fd7a824f324ea7040bf5bc23'

* commit '40d87ee4867baa25fd7a824f324ea7040bf5bc23':
  Removing @Override to fix the build
2009-06-01 12:38:38 -07:00
Guang Zhu
40d87ee486 Removing @Override to fix the build 2009-06-01 12:22:51 -07:00
Android (Google) Code Review
8c07afd3d8 am 50566b35: Merge change 2816 into donut
Merge commit '50566b3554f440d6b84a696875147d8d21682b10'

* commit '50566b3554f440d6b84a696875147d8d21682b10':
  Update reliability test code. Use a separate activity with simpler calback mechanism.
2009-06-01 11:39:01 -07:00
Guang Zhu
65455a1a46 Update reliability test code. Use a separate activity with simpler calback mechanism. 2009-06-01 11:36:03 -07:00
Android (Google) Code Review
7c49790cde am 162c9d0e: Merge change 2805 into donut
Merge commit '162c9d0e90eaa71adc8c7d1456d1a9a95e638c47'

* commit '162c9d0e90eaa71adc8c7d1456d1a9a95e638c47':
  base: Rename WRITE_SDCARD -> WRITE_EXTERNAL_STORAGE
2009-06-01 10:01:08 -07:00
San Mehat
5a3a77dabd base: Rename WRITE_SDCARD -> WRITE_EXTERNAL_STORAGE
Signed-off-by: San Mehat <san@google.com>
2009-06-01 09:25:28 -07:00
Christopher Tate
ad6042aa23 am 181fafaf: Retool the backup process to use a new \'BackupAgent\' class
Merge commit '181fafaf48208978b8ba2022683ffa78aaeddde1'

* commit '181fafaf48208978b8ba2022683ffa78aaeddde1':
  Retool the backup process to use a new 'BackupAgent' class
2009-05-31 19:44:35 -07:00
Christopher Tate
181fafaf48 Retool the backup process to use a new 'BackupAgent' class
Backups will be handled by launching the application in a special
mode under which no activities or services will be started, only
the BackupAgent subclass named in the app's android:backupAgent
manifest property.  This takes the place of the BackupService class
used earlier during development.

In the cases of *full* backup or restore, an application that does
not supply its own BackupAgent will be launched in a restricted
manner; in particular, it will be using the default Application
class rather than any manifest-declared one.  This ensures that the
app is not running any code that may try to manipulate its data
while the backup system reads/writes its data set.
2009-05-31 13:10:03 -07:00
Android (Google) Code Review
969a74ae5e am 6190fe6e: Merge change 2758 into donut
Merge commit '6190fe6e7d7c8a917472637f5ab2fb21fc8a6eea'

* commit '6190fe6e7d7c8a917472637f5ab2fb21fc8a6eea':
  Fix concat SMS for GSM.
2009-05-29 17:15:10 -07:00
jsh
ef354fdd63 Fix concat SMS for GSM.
Bug 1883998: We only support sending 8-bit references for now.
Bug 1885080: Also fix the GsmAlphabetTest, which started failing when SmsHeader
was re-worked.
2009-05-29 17:11:28 -07:00
Android (Google) Code Review
8a718a4596 am a5f50b8f: Merge change 2746 into donut
Merge commit 'a5f50b8f49cc9b34b1de462e11498d92c692b978'

* commit 'a5f50b8f49cc9b34b1de462e11498d92c692b978':
  Modify the base gestures API to use streams instead of files. Adds new wrappers to easily load/save gestures from files, resources, etc. Do the same for the letters recognizer.
2009-05-29 14:47:16 -07:00
Romain Guy
0a63716ed0 Modify the base gestures API to use streams instead of files. Adds new wrappers to easily load/save gestures from files, resources, etc. Do the same for the letters recognizer. 2009-05-29 14:43:54 -07:00
Bjorn Bringert
0ad6dc0ebc am 761e0918: Unmap memory in MemoryFile.close().
Merge commit '761e0918d30b6a3f292625b44b86dffd1538bc78'

* commit '761e0918d30b6a3f292625b44b86dffd1538bc78':
  Unmap memory in MemoryFile.close().
2009-05-29 06:48:43 -07:00
Bjorn Bringert
761e0918d3 Unmap memory in MemoryFile.close().
As reported in http://b/issue?id=1398215 MemoryFile did not
munmap(2) the ashmem region after closing it. This
causes the process to leak virtual address space.

This change fixes the problem by calling munmap(2) in
close(). The unmapping is done by a helper method deactivate().
The change also replaces the use of an int for the
file descriptor with a FileDescriptor object to
make sure that we keep track of when the file descriptor
has been closed. I chose to implement it this way because I
will need decativate() and a FileDescriptor object in an
upcoming change that allows sending MemoryFile file
descriptors between processes.

The change also adds a number of tests for the behavior
of close(). The testCloseRead() and testCloseWrite() fail
with the old MemoryFile implementation, and testCloseLeak()
causes a segfault. They all pass now.
2009-05-29 13:28:14 +01:00
Android (Google) Code Review
c5261874b7 Merge change 2503
* changes:
  Stop the NANP number formatter from putting dashes in shortcodes.
2009-05-27 10:55:57 -07:00
Ficus Kirkpatrick
5214376d2b Stop the NANP number formatter from putting dashes in shortcodes.
This changes the result of PhoneNumberUtils.formatNumber("46645") from
"466-45" to "46645".
2009-05-26 18:28:38 -07:00
Android (Google) Code Review
2c0858a481 am 511a0134: Merge change 2302 into donut
Merge commit '511a0134e1bfe90a23960eea72eca565e52aa816'

* commit '511a0134e1bfe90a23960eea72eca565e52aa816':
  added SmsMessage ConcatRef parsing validation
2009-05-26 10:11:29 -07:00
Android (Google) Code Review
511a0134e1 Merge change 2302 into donut
* changes:
  added SmsMessage ConcatRef parsing validation
2009-05-25 23:23:18 -07:00
Android (Google) Code Review
d35041d869 am 82392e84: Merge change 2402 into donut
Merge commit '82392e84b9bcf618d1c41730ec14fb8dab841990'

* commit '82392e84b9bcf618d1c41730ec14fb8dab841990':
  Cleanup Gestures API and make it easier to use in 3rd party apps. Also fix the events processing in the gestures overlay mechanism. Give better control of the various properties of the overlay through XML attributes.
2009-05-24 23:49:58 -07:00
Romain Guy
82f3495b14 Cleanup Gestures API and make it easier to use in 3rd party apps. Also fix the events processing in the gestures overlay mechanism. Give better control of the various properties of the overlay through XML attributes. 2009-05-24 23:45:03 -07:00
Fred Quintana
8943737692 add ipc support to batching 2009-05-22 14:17:48 -07:00
Romain Guy
d942f243e5 am 380cd96e: Fix the build
Merge commit '380cd96e5d7018cbf43295c9f2f2a33897affd63'

* commit '380cd96e5d7018cbf43295c9f2f2a33897affd63':
  Fix the build
2009-05-22 11:25:56 -07:00
The Android Open Source Project
d14508b4d6 merge f41c640d8424fbd90cb1751173ede1c9f5e848b4 w/minor conflict 2009-05-22 11:24:36 -07:00
Romain Guy
380cd96e5d Fix the build 2009-05-22 07:32:41 -07:00
Romain Guy
d6a463a9f2 Add a new API to ListView: setGestures(int). This allows developers to enable gestures to jump inside the list or filter it. This change also introduces a new XML attribute to control this API. It also adds the ability to theme the GestureOverlayView from the gestures library. Finally, this adds a new VERSION header to the binary format used to store the letters for the recognizer. 2009-05-22 01:59:59 -07:00
Tammo Spalink
550885d158 added SmsMessage ConcatRef parsing validation
addresses bugs:
http://b/issue?id=1870607
http://b/issue?id=1688238

and prior perforce commit:
http://s9/?change_num=136189
2009-05-22 13:38:35 +08:00
Android (Google) Code Review
e6c9378bae am cfcc0df2: Merge change 2285 into donut
Merge commit 'cfcc0df2658d0ce7dc753511bb44ab8ae7a636f7'

* commit 'cfcc0df2658d0ce7dc753511bb44ab8ae7a636f7':
  Move the Gestures API to the framework in android.gesture.
2009-05-21 18:18:21 -07:00
Romain Guy
db567c390b Move the Gestures API to the framework in android.gesture. 2009-05-21 18:12:56 -07:00
Yang Li
6d71ac3adb am ac6a4b8e: Renamed setGestureType in GestureLibrary
Merge commit 'ac6a4b8eab8311a02e1988c1dbd1c85f867b6bc4'

* commit 'ac6a4b8eab8311a02e1988c1dbd1c85f867b6bc4':
  Renamed setGestureType in GestureLibrary
2009-05-21 16:18:46 -07:00
Yang Li
ac6a4b8eab Renamed setGestureType in GestureLibrary 2009-05-21 16:08:35 -07:00
Romain Guy
14191c7dfd am b6d99b7d: Modify how GestureLibrary stores its data. The XML format is now replaced by a more efficient binary format which should speed up saving/loading. The format is very similar to the one used by the letters recognizer. The format is documented in GestureLibrary.java.
Merge commit 'b6d99b7d17fd1bb1326a70744bd01be5d1586487'

* commit 'b6d99b7d17fd1bb1326a70744bd01be5d1586487':
  Modify how GestureLibrary stores its data. The XML format is now replaced by a more efficient binary format which should speed up saving/loading. The format is very similar to the one used by the letters recognizer. The format is documented in GestureLibrary.java.
2009-05-21 15:30:01 -07:00
Romain Guy
b6d99b7d17 Modify how GestureLibrary stores its data. The XML format is now replaced by a more efficient binary format which should speed up saving/loading. The format is very similar to the one used by the letters recognizer. The format is documented in GestureLibrary.java. 2009-05-21 15:26:46 -07:00
Android (Google) Code Review
c8a57c4b58 am aeed1816: Merge change 2219 into donut
Merge commit 'aeed1816b7bbf8948c1daed48db6fe7567f338af'

* commit 'aeed1816b7bbf8948c1daed48db6fe7567f338af':
  Updated LetterRecognizer & related gesture recognition code
2009-05-21 15:06:24 -07:00
Android (Google) Code Review
aeed1816b7 Merge change 2219 into donut
* changes:
  Updated LetterRecognizer & related gesture recognition code - added personalization for letter recognizer
2009-05-21 15:03:57 -07:00
Yang Li
e6ea003ab6 Updated LetterRecognizer & related gesture recognition code
- added personalization for letter recognizer
2009-05-21 14:47:59 -07:00
Guang Zhu
73f60763cb Fixed SD card access permission issue in manifest
On branch b1869634_sdcard_perm
 Changes to be committed:
   (use "git reset HEAD <file>..." to unstage)

	modified:   tests/DumpRenderTree/AndroidManifest.xml
2009-05-21 14:44:58 -07:00
Guang Zhu
dcdb15dafe Fixed SD card access permission issue in manifest 2009-05-21 14:27:00 -07:00
Romain Guy
d6154db472 am 7269d9ac: Tweak the Gestures Overlay demo. This shortens the fade duration to make it more usable and also adds a longer pause before the fade. This change also introduce a new compile-time setting to decide whether or not the overlay should steal the events from the underlying ListView. It is now off by default, per discussion with hackbod. It feel a little bit better but it may vary from user to user so studies will be necessary.
Merge commit '7269d9ac10d4c6ed5086b9f5677821e8d4382390'

* commit '7269d9ac10d4c6ed5086b9f5677821e8d4382390':
  Tweak the Gestures Overlay demo. This shortens the fade duration to make it more usable and also adds a longer pause before the fade. This change also introduce a new compile-time setting to decide whether or not the overlay should steal the events from the underlying ListView. It is now off by default, per discussion with hackbod. It feel a little bit better but it may vary from user to user so studies will be necessary.
2009-05-20 17:36:03 -07:00
Romain Guy
7269d9ac10 Tweak the Gestures Overlay demo. This shortens the fade duration to make it more usable and also adds a longer pause before the fade. This change also introduce a new compile-time setting to decide whether or not the overlay should steal the events from the underlying ListView. It is now off by default, per discussion with hackbod. It feel a little bit better but it may vary from user to user so studies will be necessary. 2009-05-20 16:58:44 -07:00
Android (Google) Code Review
1854d7fc79 am b204d4f1: Merge change 2136 into donut
Merge commit 'b204d4f12773ec67c7f0ded41cb111018f154476'

* commit 'b204d4f12773ec67c7f0ded41cb111018f154476':
  First pass at cleaning up the gestures code.
2009-05-20 16:14:18 -07:00
Romain Guy
c534727972 First pass at cleaning up the gestures code. 2009-05-20 15:10:45 -07:00
Android (Google) Code Review
bad962bf40 am e2914615: Merge change 2099 into donut
Merge commit 'e29146158b6048936671decc060d398a68333fc0'

* commit 'e29146158b6048936671decc060d398a68333fc0':
  Hook up the backup data writer, and add a utility to read the backup data files.
2009-05-20 11:58:08 -07:00
Jean-Baptiste Queru
843ef36f7b donut snapshot 2009-05-20 11:28:04 -07:00
Joe Onorato
d2110dbce0 Hook up the backup data writer, and add a utility to read the backup data files. 2009-05-20 11:24:20 -07:00
Android (Google) Code Review
f68498eaed am 5bc21aa0: Merge change 1127 into donut
Merge commit '5bc21aa0671d83e406b46e0431816dea8d9ca5cb'

* commit '5bc21aa0671d83e406b46e0431816dea8d9ca5cb':
  SmsHeader rewrite, in preparation for migration to public API.
2009-05-20 08:54:39 -07:00
Android (Google) Code Review
5bc21aa067 Merge change 1127 into donut
* changes:
  SmsHeader rewrite, in preparation for migration to public API.
2009-05-19 19:52:07 -07:00
Tammo Spalink
64c499113a SmsHeader rewrite, in preparation for migration to public API.
See http://b/issue?id=1751571

Changes the semantics of SmsHeader from containing only opaque data
to exposing occurs-once frequently-used fields together with a list
of opaque fields.  Also changes the coding to and from byte array to
be symmetrical, whereas previous encoding had an extra length field.

Cdma SmsMessage -- cleanup of code paths along with adjustments to
match the new header semantics, which should address at least some
of the issues with concatenated messages.  See http://b/issue?id=1809759
2009-05-20 09:27:10 +08:00
Android (Google) Code Review
93a19f77f5 am 12bb9471: Merge change 1936 into donut
Merge commit '12bb9471cb9ce2eb48d8e9817841f43e7220566f'

* commit '12bb9471cb9ce2eb48d8e9817841f43e7220566f':
  Recovered the code of the gesture library
2009-05-19 10:33:57 -07:00