Commit Graph

53253 Commits

Author SHA1 Message Date
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
Dan Stoza
3e4c8ccc3e Merge "SF: Add colorTransform to DisplayInfo" into mnc-dr-dev 2015-09-03 21:55:36 +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
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
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
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
d213f5e7a4 am ecc0763e: dumpstate: add logcat -b all -S
* commit 'ecc0763e6c96c418ea4ee6c993d58d16a58407b3':
  dumpstate: add logcat -b all -S
2015-08-11 23:15:47 +00:00
Mark Salyzyn
ecc0763e6c dumpstate: add logcat -b all -S
(cherry pick from commit e3c4df96083231b519dad919fd0ed6624100b368)

- For those that are proud to call themselves logspam police
- Every time someone declares that something is too chatty, or that
  they lost their logs because they were declared too chatty and
  their associated logs were aggresively pruned we generally
  ask them to report the logger statistics to pinpoint what software
  product that is the elephant in the room.
- Every time we want to spawn a new 'stop being so spammy' bug spawned
  off a bugreport collected for another purpose, we *wish* we had the
  logger statistics to help add gravitas to the claim that some piece
  of software is the top, or near the top, polluter.

Bug: 22351810
Change-Id: Ifae33cd21d0ae2917a3b4381502d723725b1701c
2015-08-11 14:56:49 -07:00
The Android Automerger
f24cbc7e39 merge in mnc-release history after reset to mnc-dev 2015-08-08 01:05:16 -07:00
The Android Automerger
b33735042f merge in mnc-dr-release history after reset to mnc-dr-dev 2015-08-08 01:03:33 -07:00
Michael Wright
1362ec74fc Merge commit '62ec2dd5' into mm
Change-Id: I34801df36735545fc500486209573ed2864a0430
2015-08-07 18:12:20 +01:00
Michael Wright
62ec2dd563 DO NOT MERGE Add new media navigation keys.
Bug: 22059484
Change-Id: I587eb7622555194f18f403da583e3b70656a530e
2015-08-07 14:46:16 +01:00
The Android Automerger
f7cff9cde8 merge in mnc-dr-release history after reset to mnc-dr-dev 2015-08-06 01:02:55 -07:00
Dan Stoza
50be1df76e Merge "SF: Track missed frames and optionally drop them" into mnc-dr-dev 2015-08-05 18:48:10 +00:00
The Android Automerger
c91b7d2ce1 merge in mnc-release history after reset to mnc-dev 2015-08-04 01:02:47 -07:00
The Android Automerger
f71a82578f merge in mnc-dr-release history after reset to mnc-dr-dev 2015-08-04 01:01:59 -07:00
Naveen Leekha
c14a850f65 am ea2afa46: Merge "Fix parsing of extension string" into mnc-dev
* commit 'ea2afa460a2c2ee6c44406c1993e8bbacac838ba':
  Fix parsing of extension string
2015-08-03 14:51:31 +00:00
Naveen Leekha
ea2afa460a Merge "Fix parsing of extension string" into mnc-dev 2015-08-03 14:45:11 +00:00
The Android Automerger
9a0513bf83 merge in mnc-release history after reset to mnc-dev 2015-08-01 01:06:22 -07:00
The Android Automerger
e0ea7db1bb merge in mnc-dr-release history after reset to mnc-dr-dev 2015-08-01 01:04:27 -07:00
Michael Lentine
e2fc6f87be Fix parsing of extension string
Previously the parsing found the next space and then added the the difference
between the current position and space to the set of tokens. This improperly
generated empty strings if there were consecutive spaces or if spaces existed at
the beginning or end of strings. To fix this, the parse is modified to use
simple stringstream parsing.

Bug: 22709246

Change-Id: I9e32c07bbf984eadccdadf1dc34437fa0c46088b
2015-07-31 09:26:58 -07:00
Dan Stoza
03d7e301c8 am d87defaf: SF: Allow present if sideband stream changed
* commit 'd87defaf486ff4e9c0066754564851cfb7be49ed':
  SF: Allow present if sideband stream changed
2015-07-31 15:44:52 +00:00
Aravind Akella
e2806cb445 Bug fix in SensorManager.
If SensorService hasn't started when SensorManager instance is requested, keep retrying for a
longer duration.

Bug: 22529981
Change-Id: I3c506d962b61347085fc80b2c5832289539d6853
2015-07-30 19:05:21 +00:00
Dan Stoza
d87defaf48 SF: Allow present if sideband stream changed
Allows the sideband layer to be passed all the way to HWC instead of
getting blocked by the updated PTS tracking code.

Bug: 22291067
Change-Id: Ic2f20a7528e276fff054e86ca35789c26873b348
2015-07-29 16:15:50 -07:00
Narayan Kamath
5a373bb9b0 Revert "Bug fix in SensorManager."
This reverts commit 869eb2089e.

Change-Id: I4fb865e3b18bbb011fa4e4b4732336930c3a45ae
2015-07-29 15:19:06 -07:00
Narayan Kamath
88daa01da6 Revert "Bug fix in SensorManager."
This reverts commit 869eb2089e.

Change-Id: I4fb865e3b18bbb011fa4e4b4732336930c3a45ae
2015-07-29 07:41:42 -07:00
Narayan Kamath
65f1d44cd8 am a29db50c: Merge "Revert "Bug fix in SensorManager."" into mnc-dev
* commit 'a29db50c448f8d00a544b925544f3dee725f7750':
  Revert "Bug fix in SensorManager."
2015-07-29 10:07:56 +00:00
Narayan Kamath
a29db50c44 Merge "Revert "Bug fix in SensorManager."" into mnc-dev 2015-07-29 09:41:23 +00:00
Narayan Kamath
8034fc63a0 Revert "Bug fix in SensorManager."
This reverts commit 869eb2089e.

Change-Id: I4fb865e3b18bbb011fa4e4b4732336930c3a45ae
2015-07-29 09:36:05 +00:00
The Android Automerger
52655f91f9 merge in mnc-release history after reset to mnc-dev 2015-07-29 01:06:33 -07:00
The Android Automerger
cce3fae0be merge in mnc-dr-release history after reset to mnc-dr-dev 2015-07-29 01:04:18 -07:00
Aravind Akella
3a77d00927 am 2376bd68: Merge "Bug fix in SensorManager." into mnc-dev
* commit '2376bd6869f4cd835a351322d48d35567eceec4f':
  Bug fix in SensorManager.
2015-07-29 00:40:49 +00:00
Aravind Akella
2376bd6869 Merge "Bug fix in SensorManager." into mnc-dev 2015-07-29 00:21:09 +00:00
Aravind Akella
869eb2089e Bug fix in SensorManager.
If SensorService hasn't started when SensorManager instance is requested, keep retrying for a
longer duration.

Bug: 22529981
Change-Id: I4ba6b760608e34d79273aeb39568f0fa72fbaf9d
2015-07-26 11:48:06 -07:00
The Android Automerger
e3acb92fd7 merge in mnc-release history after reset to mnc-dev 2015-07-25 01:06:02 -07:00
The Android Automerger
122baf627d merge in mnc-dr-release history after reset to mnc-dr-dev 2015-07-25 01:04:20 -07:00
Jim Miller
40481a7126 am bf7cd01a: Merge "Add FEATURE_FINGERPRINT to PackageManager\'s feature list" into mnc-dev
* commit 'bf7cd01ab0fce5c76364f78e3b9fdba078c197c0':
  Add FEATURE_FINGERPRINT to PackageManager's feature list
2015-07-24 02:53:59 +00:00
Jim Miller
bf7cd01ab0 Merge "Add FEATURE_FINGERPRINT to PackageManager's feature list" into mnc-dev 2015-07-24 02:41:02 +00:00