Commit graph

1347 commits

Author SHA1 Message Date
Bill Yi
b432aff068 [automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE
am: 916b76a48f  -s ours

Change-Id: I37eabf5e38179537510f204fe6bf397399906566
2018-10-24 16:28:41 -07:00
Bill Yi
916b76a48f Merge pie-platform-release to aosp-master - DO NOT MERGE
Change-Id: Ib32ef1865b9e1e87d28c47e772d1a65de4ecfdd2
2018-10-24 14:47:07 -07:00
Bill Yi
90240578b8 Merge pi-platform-release to stage-aosp-master - DO NOT MERGE
Change-Id: I566acd7ef9db22313cbc80494616c92c6cf6600d
2018-10-24 09:06:59 -07:00
Tri Vo
783ff8d435 Merge "libhardware_legacy: add trong to OWNERS"
am: 11a3e53789

Change-Id: Idad2b7b5ec24b21d81ef106ff162dad7df3f541e
2018-10-22 18:24:38 -07:00
Treehugger Robot
11a3e53789 Merge "libhardware_legacy: add trong to OWNERS" 2018-10-23 01:16:57 +00:00
Tri Vo
2cec89b9df Merge "libpower: add stress test"
am: 2e6bb802a1

Change-Id: Idfca3385a1423da99168605a0925b5eb8352e0e6
2018-10-22 17:19:35 -07:00
Treehugger Robot
2e6bb802a1 Merge "libpower: add stress test" 2018-10-22 23:38:29 +00:00
Tri Vo
18684e0815 Merge "libpower: pass static-duration strong pointer as const reference."
am: 18ad7b2cba

Change-Id: I592535b4c8956ea5bbb6135907d56d669a16a761
2018-10-22 16:28:29 -07:00
Treehugger Robot
18ad7b2cba Merge "libpower: pass static-duration strong pointer as const reference." 2018-10-22 22:52:49 +00:00
Tri Vo
e5d852f96b libhardware_legacy: add trong to OWNERS
Bug: n/a
Test: n/a
Change-Id: Ib68c04cd0eeb668a3ac0da130b6754c2c9cdc65a
2018-10-22 15:19:45 -07:00
Tri Vo
18177506a7 libpower: add stress test
Test: libpower_test
Change-Id: I971e9c792d1d44a7c11b746fea880fdf28015753
2018-10-22 14:03:54 -07:00
Tri Vo
e1a9a6337f libpower: pass static-duration strong pointer as const reference.
With this change:
1. We avoid constructing a strong pointer on every call to
getSystemSuspendServiceOnce().
2. In case the function static pointer is corrupted, the error
propagates to the API call where we're able to handle the errors instead
of the compiler-generated code in the return statement of
getSystemSuspendServiceOnce().

Bug: 117575503
Test: device builds/boots
Change-Id: I85b5616efca25063c876b242529e2bf561f5b834
2018-10-22 13:29:30 -07:00
Tri Vo
36c877ff06 Merge "Simplify libpower"
am: e9f8002117

Change-Id: I28fc49eda15688d4c240ead6ffd67082aad41720
2018-10-16 17:17:10 -07:00
Tri Vo
e9f8002117 Merge "Simplify libpower" 2018-10-16 23:56:02 +00:00
Tri Vo
8eb59a0050 Simplify libpower
Changed:
- simplified getting system suspend service
- added isOk() check when releasing a wake lock

Bug: 117575503
Test: presubmit
Change-Id: I78f1f50a7670e7df88e59999c35f99a6df06e8ef
2018-10-16 13:30:58 -07:00
Tri Vo
f65f240c32 Merge "libpower: acquire wake locks from SystemSuspend service."
am: aa8f6d2a2d

Change-Id: Icba174bcfa41904baaa977efa5e937ea57dd0257
2018-10-09 17:21:32 -07:00
Tri Vo
aa8f6d2a2d Merge "libpower: acquire wake locks from SystemSuspend service." 2018-10-09 23:52:06 +00:00
Tri Vo
e0a9c90bf5 libpower: acquire wake locks from SystemSuspend service.
This change routes libpower and libhardware_legacy to SystemSuspend service for
wake locks instead of /sys/power/wake_[un]lock.

Bug: 78888165
Bug: 115946999
Test: /sys/kernel/debug/suspend_stats shows that device suspends if left alone
Change-Id: Id4d392e13d06be6d86e3112dedeb6a57bb24c06f
2018-10-05 17:45:00 -07:00
Xin Li
d0c11842c9 Merge "Merge Android Pie into master" am: af03352f55
am: a12551d120

Change-Id: I82efb3d1d9466fcafa81e287f8cd0329b08c06f8
2018-08-07 17:56:44 -07:00
Xin Li
a12551d120 Merge "Merge Android Pie into master"
am: af03352f55

Change-Id: I36c1fc8dc96058e174dbf16b243f7716e8979987
2018-08-07 14:21:54 -07:00
Xin Li
af03352f55 Merge "Merge Android Pie into master" 2018-08-07 16:51:26 +00:00
Xin Li
acd6440af2 Merge Android Pie into master
Bug: 112104996
Change-Id: I01c750e0e3a33a582b0800f7a3dd6f806a1b11e1
2018-08-06 16:51:06 -07:00
Xin Li
ae3811a4eb Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master
am: d0dcc4afc1

Change-Id: I0559e028bc42d133c9d50b4f2a7eab00a97cf230
2018-06-09 02:42:02 -07:00
Xin Li
d0dcc4afc1 Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master
Bug: 79597307
Change-Id: Ia326704cf26c693f948b52290b489e7d98c559d5
2018-06-08 11:07:52 -07:00
Tri Vo
d68e357f36 Merge "libpower: log errors to logcat" am: 12e55bef5b
am: 437c5a096e

Change-Id: I900b2e782e10bfed0d4011c54bd3a3e405b05fc4
2018-05-17 15:28:04 -07:00
Tri Vo
437c5a096e Merge "libpower: log errors to logcat"
am: 12e55bef5b

Change-Id: I5ce53f069fecd395b1bbf6633f56405626d46112
2018-05-17 15:24:02 -07:00
Treehugger Robot
12e55bef5b Merge "libpower: log errors to logcat" 2018-05-17 22:15:48 +00:00
Tri Vo
80cdb8d1d0 libpower: log errors to logcat
Bug: n/a
Test: failure to open /sys/power/wake_lock is now recorded in logcat
Change-Id: Ifb390888d0e83b411295a35a3addbef604c930d0
2018-05-17 13:34:33 -07:00
android-build-team Robot
3a032cff24 Snap for 4680594 from 8c64fe9b12 to pi-release
Change-Id: I56daf73bb2d20dabb35212aab11ca06ad6afcd94
2018-03-27 07:25:23 +00:00
Bernie Innocenti
efe0474c98 Add wifi_read_packet_filter() to the legacy wifi hal
am: 8c64fe9b12

Change-Id: I5c9d0e03cfb80a5d38274c901700c26874c36bde
2018-03-27 04:02:21 +00:00
Bernie Innocenti
8c64fe9b12 Add wifi_read_packet_filter() to the legacy wifi hal
This is used to implement readApfPacketFilterData() for legacy wifi
drivers.

Bug: 73804303
Test: builds!
Change-Id: I562911cc064efec747629628df4eab8128449b51
(cherry picked from commit f70b864ede)
2018-03-16 03:13:59 +00:00
android-build-team Robot
802820f6c6 Snap for 4647811 from 8564c41780 to pi-release
Change-Id: I416388ae2d941a28bfd350613130cbb1a4b952ae
2018-03-11 08:25:47 +00:00
Steven Moreland
521c029cc0 Add OWNERS to libhardware_legacy.
am: 8564c41780  -s ours

Change-Id: If6fd995149ac483fa02e95acf1ddef954c6ddbc2
2018-03-09 22:32:52 +00:00
Etan Cohen
9b1ac85633 Merge "[RTT][AWARE] Introduce NAN ranging status codes" into pi-dev
am: 166e1f9b89

Change-Id: I476bc8068f89026417c811daa333f21f3ba0edd3
2018-03-09 20:16:35 +00:00
Steven Moreland
8564c41780 Add OWNERS to libhardware_legacy.
libhardware_legacy is the legacy deprecated version
of the legacy and deprecated library libhardware.
In it are defined vendor/system interfaces. One common
pattern is for the following call flow to happen:

<vendor code>
  -> legacy interface
      -> HIDL
          -> legacy interface
              -> <framework client code>

Because of this, it's possible to circumvent the stable ABI
provided in HIDL by accidentally passing through data which
is not represented in the vendor interface. This causes
coupling of system/vendor components by way of an undeclared
ABI.

This initial OWNERS file was created with the following groups:
    <HIDL specific players>
    <common committers> intersect <familiarity with this problem>

Bug: 70526789
Bug: 37280010
Test: N/A

Merged-In: Icebeb958b41cb505d76341f3d53a3e175a3c92bd
Change-Id: Icebeb958b41cb505d76341f3d53a3e175a3c92bd
2018-03-09 10:48:17 -08:00
Etan Cohen
166e1f9b89 Merge "[RTT][AWARE] Introduce NAN ranging status codes" into pi-dev 2018-03-09 16:10:02 +00:00
Steven Moreland
25ff26ca77 Merge "Add OWNERS to libhardware_legacy." am: a0f1235676
am: 80b54883a7

Change-Id: I86d75497e9532fb0bfb608ef1028f5a2fc181983
2018-03-09 03:03:01 +00:00
Steven Moreland
80b54883a7 Merge "Add OWNERS to libhardware_legacy."
am: a0f1235676

Change-Id: I0361284025da6c7ac845e6079d08e4efb3647f96
2018-03-09 02:30:32 +00:00
Treehugger Robot
a0f1235676 Merge "Add OWNERS to libhardware_legacy." 2018-03-09 02:22:19 +00:00
Srinivas Dasari
fbf63f350a [RTT][AWARE] Introduce NAN ranging status codes
Bug: 73176307
Test: RangeAwareTest with known failures
Change-Id: I3149f9658b8657908a282af219c466b4a6bfacc7
2018-03-08 13:38:41 -08:00
Steven Moreland
cdd3222423 Add OWNERS to libhardware_legacy.
libhardware_legacy is the legacy deprecated version
of the legacy and deprecated library libhardware.
In it are defined vendor/system interfaces. One common
pattern is for the following call flow to happen:

<vendor code>
  -> legacy interface
      -> HIDL
          -> legacy interface
              -> <framework client code>

Because of this, it's possible to circumvent the stable ABI
provided in HIDL by accidentally passing through data which
is not represented in the vendor interface. This causes
coupling of system/vendor components by way of an undeclared
ABI.

This initial OWNERS file was created with the following groups:
    <HIDL specific players>
    <common committers> intersect <familiarity with this problem>

Bug: 70526789
Bug: 37280010
Test: N/A

Change-Id: Icebeb958b41cb505d76341f3d53a3e175a3c92bd
2018-03-08 13:05:44 -08:00
android-build-team Robot
8ead30aec5 Snap for 4638586 from 9dfdd473dc to pi-release
Change-Id: I9ffedc5528e613f65312a674fc679145e88b735f
2018-03-07 08:27:00 +00:00
Ahmed ElArabawy
27176c7aef WiFi: Vendor HAL function to wait for driver ready
am: 9dfdd473dc

Change-Id: I6b72dea82d3a2d2ff6b4ed450fbfbd0d20cd7648
2018-03-06 22:59:00 +00:00
Ahmed ElArabawy
9dfdd473dc WiFi: Vendor HAL function to wait for driver ready
This commit adds a vendor hal function to wait for the driver to be
ready. This ensures the driver is ready for operatin before framework
starts to use it

Bug: 73482286
Test: Manual test (reboot and make sure wifi comes up consistently)
Test: The reboot test has been performed more than 10 times in a row
Test: Also, tested toggling wifi off/on then rebooted, wifi starts fine

Change-Id: I31bc594525762454b0c2f491486ffe575843c858
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2018-03-06 19:54:05 +00:00
gitbuildkicker
c7eea9aac8 merge in pi-release history after reset to master 2018-01-29 14:54:45 -08:00
gitbuildkicker
4fe9b91691 merge in pi-release history after reset to master 2018-01-29 11:54:32 -08:00
android-build-team Robot
64687219fb Snap for 4571561 from f0d31da98c to pi-release
Change-Id: I83d2f249fa90b68065418479d6c5ff8eb8881698
2018-01-28 08:24:37 +00:00
Ahmed ElArabawy
f0d31da98c WiFi: Add more Power Limit Scenarios for SAR
This commit extends SAR by adding more scenarios to handle near
body/head cases

Bug: 65174506
Test: Manual

Change-Id: I02fe09e450b7ca4800750169f14b1ad05308b8b0
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2018-01-26 14:18:02 -08:00
android-build-team Robot
d54673ab8d Snap for 4562879 from 3a106ee0e0 to pi-release
Change-Id: I48a5af3c3723a3e1c304bf9ae92d0dc3dd2ece5a
2018-01-24 08:23:58 +00:00
Kevin Rocard
3a106ee0e0 Merge "Revert "Audio V4: Split system and vendor Audio.h"" 2018-01-24 06:26:16 +00:00