Commit Graph

53482 Commits

Author SHA1 Message Date
Michael Wright 8e81282601 DO NOT MERGE Cancel touches as well as pointer gestures.
Bug: 24302031
Change-Id: Idbe964a1a35c190a32f845e2a19542d54652d011
2015-09-22 22:05:53 +01:00
Michael Wright a16b98c64f DO NOT MERGE Revert "am f37143d8: Merge "Cancel touches as well as pointer gestures." into mnc-dev"
This reverts commit 9b70ab7a3cb260205e81e40ba181a86710d2eb95, reversing
changes made to 153008efb5a00ed3c18d588ce15f90d2442a9786.

Bug: 24302031

Change-Id: Ia746381b30be3b54cb646ed412b7271962c4b02a
2015-09-22 22:05:48 +01:00
Andreas Gampe fa2d40f750 Installd: Take boot status as dexopt parameter
Expect the boot status explicitly as a parameter so that we do not
have to rely on dev.bootcomplete, which isn't meaningfully set
when the device needs the decryption screen on boot.

Bug: 23898216
Change-Id: I9b34298caf70b1e5d40970cc0d04c469016a80a7
2015-09-22 13:51:44 -07:00
Andreas Gampe 6263caf72f am 83af0cc2: am 72ebebed: Installd: Take boot status as dexopt parameter
* commit '83af0cc22c77c31df1f08d65f29509b6123b6399':
  Installd: Take boot status as dexopt parameter
2015-09-22 18:50:45 +00:00
Andreas Gampe 83af0cc22c am 72ebebed: Installd: Take boot status as dexopt parameter
* commit '72ebebed876a62e719b098e43d9d516361bde029':
  Installd: Take boot status as dexopt parameter
2015-09-22 18:36:46 +00:00
Andreas Gampe 72ebebed87 Installd: Take boot status as dexopt parameter
Expect the boot status explicitly as a parameter so that we do not
have to rely on dev.bootcomplete, which isn't meaningfully set
when the device needs the decryption screen on boot.

Bug: 23898216
Change-Id: I9b34298caf70b1e5d40970cc0d04c469016a80a7
2015-09-21 13:21:30 -07:00
Andreas Gampe 38b4b28c19 Installd: Allow different behavior before bootcomplete
Check dev.bootcomplete in dex2oat(). Use the information for
two changes.

Only switch to the background when we're post bootcomplete.
This will ensure better utilization after upgrades.

Add a second dex2oat-threads property that is used pre
bootcomplete. A separation of these phases allows using less
cores when the device is up, freeing up resources for other
purposes, e.g., avoid jank. The precedence during boot is the
boot property, or the image property if the former doesn't
exist, or the default property as a fallback.

Bug: 23898216
Bug: 24004256
Change-Id: I5063f3fc4b437cbe88c4e94584e01c1c78eccc4d
2015-09-16 18:37:05 -07:00
Andreas Gampe 6f3c78771f am da5b88ad: am d693fc4c: Merge "Installd: Allow different behavior before bootcomplete" into mnc-dr-dev
* commit 'da5b88adac403bbce0669fe9db531897b8be9e7c':
  Installd: Allow different behavior before bootcomplete
2015-09-17 00:00:06 +00:00
Andreas Gampe da5b88adac am d693fc4c: Merge "Installd: Allow different behavior before bootcomplete" into mnc-dr-dev
* commit 'd693fc4c50873485794d1e0f444547d3253a56d3':
  Installd: Allow different behavior before bootcomplete
2015-09-16 23:51:41 +00:00
Andreas Gampe d693fc4c50 Merge "Installd: Allow different behavior before bootcomplete" into mnc-dr-dev 2015-09-16 23:44:06 +00:00
Andreas Gampe 21948005f0 Installd: Allow different behavior before bootcomplete
Check dev.bootcomplete in dex2oat(). Use the information for
two changes.

Only switch to the background when we're post bootcomplete.
This will ensure better utilization after upgrades.

Add a second dex2oat-threads property that is used pre
bootcomplete. A separation of these phases allows using less
cores when the device is up, freeing up resources for other
purposes, e.g., avoid jank. The precedence during boot is the
boot property, or the image property if the former doesn't
exist, or the default property as a fallback.

Bug: 23898216
Bug: 24004256
Change-Id: I5063f3fc4b437cbe88c4e94584e01c1c78eccc4d
2015-09-16 15:10:55 -07:00
The Android Automerger 936bf8df0e merge in mnc-dr-release history after reset to mnc-dr-dev 2015-09-15 07:42:37 -07:00
Lorenzo Colitti a8273f0944 am 872269a5: am 6afc38c4: Dump the ND offload status and address table in bugreports.
* commit '872269a579e776c61ac5777e70ca2981771117d6':
  Dump the ND offload status and address table in bugreports.
2015-09-15 02:55:55 +00:00
Lorenzo Colitti 872269a579 am 6afc38c4: Dump the ND offload status and address table in bugreports.
* commit '6afc38c45af45eb8f64793bca2903b3f4c55579b':
  Dump the ND offload status and address table in bugreports.
2015-09-15 02:46:32 +00:00
Prashant Malani ac72bbf4e4 inputflinger: Initial support for rotary encoders.
This change introduces support for rotary encoder input devices.

We also define a new input source (namely, AINPUT_SOURCE_ROTARY_ENCODER)
and a new axis of input (namely, AXIS_SCROLL), since the rotary encoder
motion doesn't necessarily tie to a horizontal or vertical scroll
motion.

A ROTARY_ENCODER input device class is also introduced, corresponding to
the new input source.

A new input source can be defined as producing rotary encoder motion
events, if its corresponding .idc file contains the following
declaration:

    device.type = rotaryEncoder

Bug: 18707397

Change-Id: I8ccd540908311d1ff44fdfeba81b691895413641
Signed-off-by: Prashant Malani <pmalani@google.com>
2015-09-14 13:55:21 -07:00
Aravind Akella f9b7f8548e Set DATA_INJECTION mode flag for sensors.
Bug: 24001171
Change-Id: I70133546c68fb478b2c2062f05a4164a36cd9e4b
2015-09-11 11:33:49 -07:00
Lorenzo Colitti 6afc38c45a Dump the ND offload status and address table in bugreports.
Also, move NetworkDiagnostics between the two runs of getting the
wifi counters, so we can see the effect on the counters of
sending our probe packets.

Bug: 23661687
Change-Id: I3f81c003a35f50ac1cb8e77d0a8c73dae4fd91f3
2015-09-09 22:59:25 +09:00
The Android Automerger 54fae32b7c merge in mnc-dr-release history after reset to mnc-dr-dev 2015-09-08 01:04:35 -07:00
Martijn Coenen c2874048d0 am 5ca0c2ed: am 624408ee: Merge "Map realtime to clock_monotonic." into mnc-dr-dev
* commit '5ca0c2ede8a8d3f499dd7d27832713d4ce16d4ba':
  Map realtime to clock_monotonic.
2015-09-07 07:38:29 +00:00
Martijn Coenen 5ca0c2ede8 am 624408ee: Merge "Map realtime to clock_monotonic." into mnc-dr-dev
* commit '624408eecb0d278cb1de1bb088699e25b319d15e':
  Map realtime to clock_monotonic.
2015-09-07 07:30:19 +00:00
Martijn Coenen 624408eecb Merge "Map realtime to clock_monotonic." into mnc-dr-dev 2015-09-07 07:25:51 +00:00
The Android Automerger 2aa10cb4b4 merge in mnc-dr-release history after reset to mnc-dr-dev 2015-09-06 01:05:37 -07:00
Nick Armstrong-Crews 8d13427f6f am 3c8a147c: Merge "Add KEYCODE_SOFT_SLEEP for Ungaze." into cw-e-dev
* commit '3c8a147c8394a32217bb65672387d69a49a31270':
  Add KEYCODE_SOFT_SLEEP for Ungaze.
2015-09-04 18:16:12 +00:00
Nick Armstrong-Crews 3c8a147c83 Merge "Add KEYCODE_SOFT_SLEEP for Ungaze." into cw-e-dev 2015-09-04 18:04:11 +00:00
Dan Stoza e5ce0db833 am f090d598: am 3e4c8ccc: Merge "SF: Add colorTransform to DisplayInfo" into mnc-dr-dev
* commit 'f090d5985a20f13433be632beb45af8a882c0cd0':
  SF: Add colorTransform to DisplayInfo
2015-09-03 22:13:25 +00:00
Dan Stoza f090d5985a am 3e4c8ccc: Merge "SF: Add colorTransform to DisplayInfo" into mnc-dr-dev
* commit '3e4c8ccc3e5d037688ed8a1f8b69764c526e0d2f':
  SF: Add colorTransform to DisplayInfo
2015-09-03 22:03:03 +00:00
Dan Stoza 3e4c8ccc3e Merge "SF: Add colorTransform to DisplayInfo" into mnc-dr-dev 2015-09-03 21:55:36 +00:00
Prashant Malani 07da55f933 am 2f7531fb: am 13c63825: am e35c7d65: Add body sensors app op for custom sensors
* commit '2f7531fb7a5d0c764c222f5acae0b487578629ab':
  Add body sensors app op for custom sensors
2015-09-03 18:26:07 +00:00
Prashant Malani 2f7531fb7a am 13c63825: am e35c7d65: Add body sensors app op for custom sensors
* commit '13c638255f2223cb9c455d519ff1003fc0221537':
  Add body sensors app op for custom sensors
2015-09-03 18:14:43 +00:00
Prashant Malani e8293118b9 Add body sensors app op for custom sensors
If the custom sensor requires the BODY SENSOR permission, we should add
the body sensors app op for the custom sensor

Bug: 23396558
Change-Id: I132917d1bca12c76c8a9fb146e00951cba3e6d7a
2015-09-03 10:44:24 -07:00
Prashant Malani 13c638255f am e35c7d65: Add body sensors app op for custom sensors
* commit 'e35c7d65bb3c226fe3c5fc5e3933f64f0963eaeb':
  Add body sensors app op for custom sensors
2015-09-03 17:26:13 +00:00
Prashant Malani e35c7d65bb Add body sensors app op for custom sensors
If the custom sensor requires the BODY SENSOR permission, we should add
the body sensors app op for the custom sensor

Bug: 23396558
Change-Id: I132917d1bca12c76c8a9fb146e00951cba3e6d7a
2015-09-03 04:03:25 +00:00
Nick Armstrong-Crews a180e855f6 Add KEYCODE_SOFT_SLEEP for Ungaze.
BUG: b/23589870
Change-Id: I9bb575fe97bfae926ef4db37615e88057b81480c
2015-09-02 13:00:52 -07:00
Dan Stoza f2699fc3a8 SF: Add colorTransform to DisplayInfo
Adds the colorTransform field, which defines a vendor-specific color
transform (e.g., wide gamut, sRGB, etc.) to the DisplayInfo class, and
populates it from the HWC interface.

Bug: 20853317
Change-Id: I153edc36a361407656f3eb5082b96c2da2ecbec7
2015-08-31 13:41:24 -07:00
Martijn Coenen 0bcd97a748 Map realtime to clock_monotonic.
This maps a monotonic timestamp to the
corresponding real-time timestamp, which
can be used to match up the traces with
other logs that use real-time.

Also write clock_sync records first instead of at
the end, to avoid not being to write it due to the
buffer being full.

Bug: 23668823
Change-Id: I644aeea496197e194ec30f808f754e3e043d905f
2015-08-31 09:25:13 +00:00
The Android Automerger 727b89f74d merge in mnc-dr-release history after reset to mnc-dr-dev 2015-08-31 01:05:35 -07:00
The Android Automerger f34854530b merge in mnc-dr-release history after reset to mnc-dr-dev 2015-08-29 13:06:53 -07:00
The Android Automerger 60d808a342 merge in mnc-dr-release history after reset to mnc-dr-dev 2015-08-29 01:03:21 -07:00
Glenn Kasten 8ff104ac85 Add XML for pro audio feature
Bug: 23604253
Change-Id: I480cf0a46c286badc6fd95a3b42e6cb1ed056b1b
2015-08-28 19:53:59 -07:00
Glenn Kasten dd89365123 am dcdc1610: am fb1c507b: am 80402da0: Add XML for pro audio feature
* commit 'dcdc161063640cf8666a45b8dfd6acf063476acb':
  Add XML for pro audio feature
2015-08-29 00:43:56 +00:00
Glenn Kasten dcdc161063 am fb1c507b: am 80402da0: Add XML for pro audio feature
* commit 'fb1c507b5e442fc8bac059816a3a1534152cd7c4':
  Add XML for pro audio feature
2015-08-29 00:35:33 +00:00
Glenn Kasten fb1c507b5e am 80402da0: Add XML for pro audio feature
* commit '80402da0dec36a585a014a8ca974e28ef9034722':
  Add XML for pro audio feature
2015-08-29 00:25:52 +00:00
Glenn Kasten 80402da0de Add XML for pro audio feature
Bug: 23604253
Change-Id: I480cf0a46c286badc6fd95a3b42e6cb1ed056b1b
2015-08-27 20:09:39 -07:00
The Android Automerger ade9b1891a merge in mnc-dr-release history after reset to mnc-dr-dev 2015-08-26 01:05:05 -07:00
Aravind Akella ba3f1a27a2 am 4baa69dd: am 8f35ca97: SensorManager fixes.
* commit '4baa69ddd25296ee40e84c230af88d1fc7e229a7':
  SensorManager fixes.
2015-08-25 19:12:28 +00:00
Aravind Akella 4baa69ddd2 am 8f35ca97: SensorManager fixes.
* commit '8f35ca973063e1449c5ec40b618393187a47ec58':
  SensorManager fixes.
2015-08-25 19:06:52 +00:00
Aravind Akella 8f35ca9730 SensorManager fixes.
i) Use pingBinder() to check the status of sensorservice everytime an
   event_queue is created. Retry to establish the binder connection if
   SensorService has recovered from a runtime restart.
ii) LOG_ALWAYS_FATAL_IF getService(SensorService) returns NULL or malloc
    returns NULL.

Bug: 22634472
Change-Id: I4e3912839b6f4114be1a124510878774dbd576a4
2015-08-25 11:24:02 -07:00
The Android Automerger bdff431536 merge in mnc-release history after reset to mnc-dev 2015-08-12 01:03:50 -07:00
The Android Automerger 0f981982fb merge in mnc-dr-release history after reset to mnc-dr-dev 2015-08-12 01:02:37 -07:00
Mark Salyzyn d939c96712 am df1bc670: resolved conflicts for merge of d213f5e7 to cw-e-dev
* commit 'df1bc67019f4eda8acfd4b97d4c4fd98b55edcb8':
  dumpstate: add logcat -b all -S
2015-08-11 23:44:46 +00:00