Commit Graph

29241 Commits

Author SHA1 Message Date
Jean-Baptiste Queru
f69f356eba am 14ac9546: Merge "build failed with g++ v. 4.4.5 err msg: frameworks/base/media/libstagefright/MediaExtractor.cpp:62: error: invalid conversion from ‘const char*’ to ‘char*’ strrchr provides two prototypes. the one used returns const char* instead of char*"
* commit '14ac9546367d4df37eead55f6762b944b49f33b2':
  build failed with g++ v. 4.4.5 err msg: frameworks/base/media/libstagefright/MediaExtractor.cpp:62: error: invalid conversion from ‘const char*’ to ‘char*’ strrchr provides two prototypes. the one used returns const char* instead of char*
2010-11-19 10:24:51 -08:00
Mathias Agopian
550b1e17c3 am 671a6ff4: Add support for virtual sensors.
* commit '671a6ff4be11b3e2d8eb017e0c7a78e6133fb2b8':
  Add support for virtual sensors.
2010-11-18 15:52:14 -08:00
Mathias Agopian
671a6ff4be Add support for virtual sensors.
Rework sensorservice to allow "virtual sensors", that is
sensors that report a synthetized value based on real sensors.

the main change to sensorservice is around managing which real
sensor need to be activated and which rate to use.

The logic for all this has been moved into SensorDevice, which
essentially wraps the sensor HAL but adds two features to it:
- it keeps track of which sensors need to be activated
- it keeps track of what rate needs to be used

For this purpose an "identity" is associated with each real sensor
activation, so we can track them.

On start-up we check for gravity, linear-acceleration and
rotation-vector sensors, if they're not present in the HAL, we
synthetize them in sensor-service.

Change-Id: I841db2c1b37ef127ed571efa21732ecc5adf1800
2010-11-18 15:29:05 -08:00
Justin Ho
5e5c2a199a am 80381ab4: Merge "DO NOT MERGE - Updated ringtones for Crespo, fixing looping problem" into gingerbread
* commit '80381ab4ed44bd69c3e3464a848ca15851365b03':
  DO NOT MERGE - Updated ringtones for Crespo, fixing looping problem
2010-11-18 15:06:51 -08:00
Justin Ho
80381ab4ed Merge "DO NOT MERGE - Updated ringtones for Crespo, fixing looping problem" into gingerbread 2010-11-18 15:03:39 -08:00
Justin Ho
9b14d1d52a DO NOT MERGE - Updated ringtones for Crespo, fixing looping problem
Change-Id: Id5947197bdb6599bb7a3a15ab1e1a9541a4d31b2
2010-11-18 15:02:18 -08:00
Jeff Brown
bed67e9925 am b27b8c0c: Fix a key repeating bug. (DO NOT MERGE)
* commit 'b27b8c0caf8ff23d10eea655085769f314050427':
  Fix a key repeating bug. (DO NOT MERGE)
2010-11-18 12:36:59 -08:00
Jeff Brown
a4846be127 am bfc1cc2d: Fix stuck keys when released out of order. (DO NOT MERGE)
* commit 'bfc1cc2d1ea85cc754e63b422eb8cef8ae6a3667':
  Fix stuck keys when released out of order. (DO NOT MERGE)
2010-11-18 12:36:50 -08:00
Jeff Brown
b27b8c0caf Fix a key repeating bug. (DO NOT MERGE)
This change fixes a bug in the dispatcher where the window manager
policy would incorrectly receive a key repeat count of 0 in the case
where the key repeat was generated by the hardware or driver.
Long-press on HOME was broken as a result.

Repeating keys could also get stuck down.

Bug: 3159581
Bug: 3208156
Change-Id: I1145487cfcc41a7850dba4cafc63c4a5951ace5b
2010-11-17 19:42:04 -08:00
Jeff Brown
bfc1cc2d1e Fix stuck keys when released out of order. (DO NOT MERGE)
Bug: 3208156
Change-Id: I14e4d54f4912de5e2fabcd8638120623aa2d16e0
2010-11-17 19:17:54 -08:00
Jean-Baptiste Queru
14ac954636 Merge "build failed with g++ v. 4.4.5 err msg: frameworks/base/media/libstagefright/MediaExtractor.cpp:62: error: invalid conversion from ‘const char*’ to ‘char*’ strrchr provides two prototypes. the one used returns const char* instead of char*" 2010-11-17 18:40:31 -08:00
Scott Main
705c179e3a am 0fe33a48: am 2cbe92ea: docs: add better visibility to app install location doc
* commit '0fe33a4835ae3721f6302f3f2112d79e43b2b4f6':
  docs: add better visibility to app install location doc
2010-11-17 18:37:50 -08:00
Scott Main
0fe33a4835 am 2cbe92ea: docs: add better visibility to app install location doc
* commit '2cbe92ea6d36adb721b0cb94f5dbecb9c9e71ad8':
  docs: add better visibility to app install location doc
2010-11-17 18:34:40 -08:00
Scott Main
2cbe92ea6d docs: add better visibility to app install location doc
Change-Id: Ib36a53c69a918eab4378d5ec7d25ec89be1b7070
2010-11-17 18:14:58 -08:00
Jean-Baptiste Queru
977d01f392 am 27c06bab: Merge "Release reference when putting RILRequest back into the pool."
* commit '27c06bab513a1893444d50bb5dedbad5c0100029':
  Release reference when putting RILRequest back into the pool.
2010-11-17 18:09:08 -08:00
Jean-Baptiste Queru
27c06bab51 Merge "Release reference when putting RILRequest back into the pool." 2010-11-17 17:58:14 -08:00
Jean-Baptiste Queru
74923d3ae4 am d34c1495: Merge "Prevent system crash when OOM in Binder thread."
* commit 'd34c1495020e5d72dd18959fb906375dc0874c04':
  Prevent system crash when OOM in Binder thread.
2010-11-17 17:56:05 -08:00
Jean-Baptiste Queru
218e00336a am 11dba787: Merge "Fix build (broken documentation link)"
* commit '11dba787e10ff5ddc27e834db42acefa33cd35be':
  Fix build (broken documentation link)
2010-11-17 17:56:00 -08:00
Jean-Baptiste Queru
d34c149502 Merge "Prevent system crash when OOM in Binder thread." 2010-11-17 17:49:19 -08:00
Jean-Baptiste Queru
11dba787e1 Merge "Fix build (broken documentation link)" 2010-11-17 17:41:22 -08:00
Jean-Baptiste Queru
2f0a3307fd Fix build (broken documentation link)
Change-Id: Ic36f81bbd9f112bd79f9177a407593e8c8f7f0ed
2010-11-17 17:39:16 -08:00
Jean-Baptiste Queru
5e0690745a am a15e4886: Merge "Framebuffer: Support variable number of framebuffers in the UI"
* commit 'a15e4886de8f75f3cb137f51743d330414c910e8':
  Framebuffer: Support variable number of framebuffers in the UI
2010-11-17 17:29:48 -08:00
Jean-Baptiste Queru
1a2344b8b2 am 09e50cdb: Merge "Reorder lock acquision vs try."
* commit '09e50cdbc62938b178f4c9a66b3cec8a466daaa8':
  Reorder lock acquision vs try.
2010-11-17 17:16:06 -08:00
Jean-Baptiste Queru
a15e4886de Merge "Framebuffer: Support variable number of framebuffers in the UI" 2010-11-17 17:15:42 -08:00
Jean-Baptiste Queru
09e50cdbc6 Merge "Reorder lock acquision vs try." 2010-11-17 17:03:10 -08:00
Jean-Baptiste Queru
7ee427714d Merge "resolved conflicts for merge of 8fc378f9 to gingerbread-plus-aosp" into gingerbread-plus-aosp 2010-11-17 16:52:56 -08:00
Jean-Baptiste Queru
f4072fcc14 resolved conflicts for merge of 8fc378f9 to gingerbread-plus-aosp
Change-Id: I938c0a66ad4271b33626d6b12406a2f6c6d1b6d8
2010-11-17 16:47:59 -08:00
Dirk Dougherty
31c5f68d8f am fc1f5e24: doc change: update uses-feature for gingerbread.
* commit 'fc1f5e24bcd678a08221c8c01a364807edca6daf':
  doc change: update uses-feature for gingerbread.
2010-11-17 16:20:59 -08:00
Dirk Dougherty
fc1f5e24bc doc change: update uses-feature for gingerbread.
Change-Id: I1af174da527a91e111d6bdecaad8c08bde050c24
2010-11-17 16:15:52 -08:00
Matthias Bady
b61d530575 build failed with g++ v. 4.4.5
err msg: frameworks/base/media/libstagefright/MediaExtractor.cpp:62: error: invalid conversion from ‘const char*’ to ‘char*’
strrchr provides two prototypes. the one used returns const char* instead of char*

Change-Id: I6442ee642aebfbfc2f977bab40016cfedc7789ac
2010-11-18 00:22:48 +01:00
Jean-Baptiste Queru
8fc378f9f5 Merge "Added buildQuery and buildUnionSubQuery methods without misleading selectionArgs parameter." 2010-11-17 15:10:05 -08:00
Dianne Hackborn
d28dc3cf77 am 05434e9f: Final API 9. Really! Honestly! I hope.
* commit '05434e9fa7a6ec844611bbd154c4a3eceafec538':
  Final API 9.  Really!  Honestly!  I hope.
2010-11-16 17:49:07 -08:00
Dianne Hackborn
05434e9fa7 Final API 9. Really! Honestly! I hope.
Change-Id: I2ee5844587b5745556d621e4b9ef0efa3ec5edcf
2010-11-16 15:40:56 -08:00
Brad Fitzpatrick
8443dd16c2 am 383e95e2: Merge "DropBox: Read until the end of stream has been reached"
* commit '383e95e245ceb87a2a6ad6422404ce641f0e08eb':
  DropBox: Read until the end of stream has been reached
2010-11-16 09:37:56 -08:00
Brad Fitzpatrick
383e95e245 Merge "DropBox: Read until the end of stream has been reached" 2010-11-16 09:22:31 -08:00
Xia Wang
f55c973637 am d0a8f54a: Merge "Add Wi-Fi connection functional tests." into gingerbread
* commit 'd0a8f54a5bcd6a10eaaa88d888c3cbb83869532c':
  Add Wi-Fi connection functional tests.
2010-11-16 09:16:54 -08:00
Xia Wang
d0a8f54a5b Merge "Add Wi-Fi connection functional tests." into gingerbread 2010-11-16 09:14:46 -08:00
Christian Lindeberg
e9f1881521 DropBox: Read until the end of stream has been reached
Read the requested length or until the end of the input stream
has actually been reached.

Change-Id: I01bc0b81eca0225209bdd288dde6a778a19d1e2c
2010-11-16 09:57:54 +01:00
Xia Wang
ca1f2b1a1e Add Wi-Fi connection functional tests.
- Add a XML parser to parse Wi-Fi configurations
- Add Wifi connection tests
- Fix issue: failure in setup will block the next tests.
             call tearDown() if the test fails at setUp().

Change-Id: I1a380fa02ebc96b69165d1514da12df985224e8d
2010-11-15 15:10:44 -08:00
Mathias Agopian
f11bf284d3 am 305bc0fe: Merge "Fix a race condition in sensormanager" into gingerbread
* commit '305bc0fe977f6197bfae847dbaf58916cf8980ba':
  Fix a race condition in sensormanager
2010-11-15 13:19:46 -08:00
Mathias Agopian
99866c111b am 9e291a4b: Merge "Revert "allow all 4 orientations"" into gingerbread
* commit '9e291a4b9922719165145434217e100e2118860d':
  Revert "allow all 4 orientations"
2010-11-15 13:19:43 -08:00
Mathias Agopian
305bc0fe97 Merge "Fix a race condition in sensormanager" into gingerbread 2010-11-15 13:14:59 -08:00
Mathias Agopian
9e291a4b99 Merge "Revert "allow all 4 orientations"" into gingerbread 2010-11-15 13:14:50 -08:00
Justin Ho
b9d3e35907 am 868889fb: Merge "DO NOT MERGE - Updated ringtones from pdx (v3) - Quickly fixing distortion at highest volume setting by adjusting gain. Proper fix should be via media stack/hardware." into gingerbread
* commit '868889fb4175979ef9aa505fc746bf616f54ed10':
  DO NOT MERGE - Updated ringtones from pdx (v3) - Quickly fixing distortion at highest volume setting by adjusting gain. Proper fix should be via media stack/hardware.
2010-11-15 09:13:16 -08:00
Justin Ho
868889fb41 Merge "DO NOT MERGE - Updated ringtones from pdx (v3) - Quickly fixing distortion at highest volume setting by adjusting gain. Proper fix should be via media stack/hardware." into gingerbread 2010-11-15 09:10:33 -08:00
Justin Ho
ee6aa806d8 DO NOT MERGE - Updated ringtones from pdx (v3) - Quickly fixing distortion at highest volume setting by adjusting gain. Proper fix should be via media stack/hardware.
Change-Id: I6220c0b9f85b20c690437a23c364ad4898b8e16a
2010-11-15 09:07:34 -08:00
Justin Ho
dc04f53703 am a5c4aeba: Merge "DO NOT MERGE - Revised ringtones from Ali Spagnola (revision 2)" into gingerbread
* commit 'a5c4aeba1cb53775bdb5622569ffe53641f4728d':
  DO NOT MERGE - Revised ringtones from Ali Spagnola (revision 2)
2010-11-15 08:53:56 -08:00
Justin Ho
a5c4aeba1c Merge "DO NOT MERGE - Revised ringtones from Ali Spagnola (revision 2)" into gingerbread 2010-11-15 08:50:19 -08:00
Justin Ho
1b35a52263 DO NOT MERGE - Revised ringtones from Ali Spagnola (revision 2)
Change-Id: I5c7fc73f28408e6345bb9a73f0fe10014a26efbf
2010-11-15 08:41:16 -08:00
Mathias Agopian
f33a6e9645 Fix a race condition in sensormanager
the per-connection state assumed the main sensorservice
lock was held during access. This is however not true while
pre-processing the events just before sending them to clients.
Therefore, there was a small window during which this state
could be modified while being used.

we now have an internal lock that protects this state.

Change-Id: I594680f20f09d6a4f1f38f093a1d3f650dcef1be
2010-11-14 20:55:25 -08:00