Mikhail Naganov
685f0e36a1
Fix offload tracks playback
...
Translation between audio_offload_info_t and AudioOffloadInfo
was missing a field. This was causing compressed tracks to play
using 'deep_buffer' mode instead of 'offload'.
Changing output stream async callback methods to 'oneway',
since they don't require anything from the callee.
Change-Id: I27fe7fb715e421f102db21a10d34e1dc3134cf01
Test: play MP3 file with Play Music, check audioflinger dump
2016-12-16 17:18:08 -08:00
Yifan Hong
163e9d68e6
Merge "Update makefiles for Java package path." am: 698b6a9614
am: 1f8c3cd2f2
am: 39c5cdf8fb
...
am: 5c4f5c2922
Change-Id: Id08e304a19e9b6a309cec7eac2f698baf1bf5706
2016-12-14 04:09:39 +00:00
Yifan Hong
5c4f5c2922
Merge "Update makefiles for Java package path." am: 698b6a9614
am: 1f8c3cd2f2
...
am: 39c5cdf8fb
Change-Id: I71585786f688acc458c11f51b1182eebcaf93cb7
2016-12-14 04:03:07 +00:00
Yifan Hong
39c5cdf8fb
Merge "Update makefiles for Java package path." am: 698b6a9614
...
am: 1f8c3cd2f2
Change-Id: Id21817bcae944e930ef094d683fecc83cf6e6098
2016-12-14 03:55:38 +00:00
Yifan Hong
1f8c3cd2f2
Merge "Update makefiles for Java package path."
...
am: 698b6a9614
Change-Id: I57d2eb340433ef462a73aaad9d0b969d7c3456b1
2016-12-14 03:49:32 +00:00
Roshan Pius
715cdabb35
supplicant(interface): Add network param getters am: 118598a8db
am: c9420bb452
am: e668d6f6b5
...
am: 83df247054
Change-Id: Ie57096e1e611339a787ea8de7b2de3776a611d6f
2016-12-14 03:48:55 +00:00
Roshan Pius
05e56dba5e
supplicant(interface): Add 2 sta iface callbacks am: d11fc7eace
am: 93a2465630
am: bd963c1838
...
am: 5e25b8411d
Change-Id: I577944c298a3a40baf07ae0881013a9bf5b3f630
2016-12-14 03:48:53 +00:00
Treehugger Robot
698b6a9614
Merge "Update makefiles for Java package path."
2016-12-14 03:43:58 +00:00
Roshan Pius
83df247054
supplicant(interface): Add network param getters am: 118598a8db
am: c9420bb452
...
am: e668d6f6b5
Change-Id: I4c652f2a17d2e0dc2ce7f7b13e9d51fcd3a1235f
2016-12-14 03:41:55 +00:00
Roshan Pius
5e25b8411d
supplicant(interface): Add 2 sta iface callbacks am: d11fc7eace
am: 93a2465630
...
am: bd963c1838
Change-Id: I275f0575729772cdabbc245c0e899842daf739fb
2016-12-14 03:41:53 +00:00
Roshan Pius
e668d6f6b5
supplicant(interface): Add network param getters am: 118598a8db
...
am: c9420bb452
Change-Id: Ic0152b476cadf8263c470266adb7aac5c07df8ed
2016-12-14 03:34:54 +00:00
Roshan Pius
bd963c1838
supplicant(interface): Add 2 sta iface callbacks am: d11fc7eace
...
am: 93a2465630
Change-Id: If54e1668d9c460cfa30993e3eb4c54ffd4592781
2016-12-14 03:34:53 +00:00
Roshan Pius
c9420bb452
supplicant(interface): Add network param getters
...
am: 118598a8db
Change-Id: Ie7518ffb089b0e1f603720b001ea611f60d81091
2016-12-14 03:28:24 +00:00
Roshan Pius
93a2465630
supplicant(interface): Add 2 sta iface callbacks
...
am: d11fc7eace
Change-Id: I44b3e4e537867177062749cb455d0efcc9f63b73
2016-12-14 03:28:22 +00:00
Yifan Hong
b85d8763c7
Update makefiles for Java package path.
...
use V1_0 instead of 1.0.
Bug: 33554192
Test: hidl_test_java
Change-Id: Ic2d95265df10914a60a5bb743d75e839948838c3
2016-12-13 18:06:24 -08:00
Roshan Pius
abd17ba8b9
wifi: Add legacy HAL stubs am: e73a506912
am: 809642e314
am: eaae75c683
...
am: 72adcb7385
Change-Id: Id92c8c1e229e5583a4d1eb00f0128dc852332c93
2016-12-14 01:44:51 +00:00
Roshan Pius
95b2a7927e
wifi: Add support for removing iface am: 8b55e6f475
am: bb2dad47bb
am: efcc2b6165
...
am: 1b679c9c64
Change-Id: If6ddcd33982095066621802f5c382ec6824e480e
2016-12-14 01:44:49 +00:00
Roshan Pius
47fe92817e
wifi: Fixes in WifiLegacyHal am: 11f930321b
am: d2d3498a4d
am: 6cc0c1def5
...
am: 8e8f7b2308
Change-Id: I29d858c5347e8003497767b9db2c2d2b1fda2d73
2016-12-14 01:44:47 +00:00
Roshan Pius
72adcb7385
wifi: Add legacy HAL stubs am: e73a506912
am: 809642e314
...
am: eaae75c683
Change-Id: I2cfd8f574f39377ee669c953eb2ac221197b0b5b
2016-12-14 01:38:20 +00:00
Roshan Pius
1b679c9c64
wifi: Add support for removing iface am: 8b55e6f475
am: bb2dad47bb
...
am: efcc2b6165
Change-Id: Ic9ef427f6b8d56d2f9fdd98c4bdfc75f1010f31e
2016-12-14 01:38:18 +00:00
Roshan Pius
8e8f7b2308
wifi: Fixes in WifiLegacyHal am: 11f930321b
am: d2d3498a4d
...
am: 6cc0c1def5
Change-Id: I78c13686807c4e72cf976f7f45b796a421e55435
2016-12-14 01:38:17 +00:00
Roshan Pius
eaae75c683
wifi: Add legacy HAL stubs am: e73a506912
...
am: 809642e314
Change-Id: I5c53e4101aff6fb33c4ee8d8723be8c31b3ccc76
2016-12-14 01:31:19 +00:00
Roshan Pius
efcc2b6165
wifi: Add support for removing iface am: 8b55e6f475
...
am: bb2dad47bb
Change-Id: I78e303881210cf8ecdc0d2d96e9c04b862e2a4ca
2016-12-14 01:31:18 +00:00
Roshan Pius
6cc0c1def5
wifi: Fixes in WifiLegacyHal am: 11f930321b
...
am: d2d3498a4d
Change-Id: I0877544904311d37a883e5776d3fe9ba2e2d4068
2016-12-14 01:31:16 +00:00
Roshan Pius
809642e314
wifi: Add legacy HAL stubs
...
am: e73a506912
Change-Id: Ide7b6bfe4bf8a7bb0aa34911631bd698310cfda0
2016-12-14 01:24:48 +00:00
Roshan Pius
bb2dad47bb
wifi: Add support for removing iface
...
am: 8b55e6f475
Change-Id: I403f1173636f520790d041155f8a3b8a9a06197d
2016-12-14 01:24:46 +00:00
Roshan Pius
d2d3498a4d
wifi: Fixes in WifiLegacyHal
...
am: 11f930321b
Change-Id: I4f4ae5fabdb364ffacd3c0bf1eb48548b5a646b6
2016-12-14 01:24:45 +00:00
Roshan Pius
118598a8db
supplicant(interface): Add network param getters
...
These getters are needed for migration of network configs from
wpa_supplicant to the new config store.
Bug: 31497348
Test: Compiles
Change-Id: I970ea3ca070a3bb7344bc51664159ce0e95a18db
2016-12-13 16:41:57 -08:00
Roshan Pius
d11fc7eace
supplicant(interface): Add 2 sta iface callbacks
...
Add callbacks for:
1. Disconnection from the currently connected network.
2. Association rejection from the AP.
Bug: 33416261
Test: Compiles
Change-Id: Ifde45bf7db353f399bd7dc291af0d069f8387e3b
2016-12-13 16:02:47 -08:00
Roshan Pius
e73a506912
wifi: Add legacy HAL stubs
...
This is a port of all the existing stub functions from HalTool. Will
deprecate and remove HalTool once framework switches over to HIDL.
These stubs are important because the vendor implementations don't fill
a function pointer in the table (when |init_wifi_vendor_hal_func_table| is
invoked) if they don't implement that feature.
Bug: 33540636
Test: Gtests
Change-Id: Ia41c4faa30b517731a162f3999d64a3f2c34e058
2016-12-13 14:34:38 -08:00
Roshan Pius
8b55e6f475
wifi: Add support for removing iface
...
This is needed to support dynamically switching between ifaces
within the same mode.
While there, correct couple of nits:
1. Pass std::string to the |get*IfaceInternal| methods. This makes the
name comparison easier.
2. Update the docstring of |get*Iface| in IWifiChip.hal to indicate that
we'll return ERROR_INVALID_ARGS if the iface name is wrong.
Bug: 33040049
Test: Compiles
Change-Id: I53584013283a10bf109f1c2ffb6136c44f11ed29
2016-12-13 14:34:33 -08:00
Yifan Hong
0f73b9eb59
Merge "Revert "Revert "Update makefiles for Java package path."""
2016-12-13 22:20:51 +00:00
Yifan Hong
f35ee3b192
Revert "Revert "Update makefiles for Java package path.""
...
This reverts commit a8789f27cb
.
Change-Id: I69980b580a556188ba868bb096ae1590b01759f5
2016-12-13 22:20:16 +00:00
Yifan Hong
b998a6c49c
Merge "Revert "Update makefiles for Java package path.""
2016-12-13 22:19:23 +00:00
Yifan Hong
a8789f27cb
Revert "Update makefiles for Java package path."
...
This reverts commit ab0792ccdc
.
Change-Id: I47fc272d9fa8875e3d7ccb10cb748c738fbf8135
2016-12-13 22:18:34 +00:00
Yifan Hong
597dcf3737
Update makefiles for Java package path.
...
use V1_0 instead of 1.0.
Bug: 33554192
Test: mma
Change-Id: I7ed425d0c44a5fdc900f9dc8b925ba712501b3ba
2016-12-13 14:05:15 -08:00
Roshan Pius
11f930321b
wifi: Fixes in WifiLegacyHal
...
Changes:
1. Add |is_started_| flag in WifiLegacyHal to ignore stop/start
requests when they're already in the same state.
2. Detach the event loop thread and remove the class member storing
the thread handle.
While there,
1. Cleanup some logs to better help debug issues.
2. Also fixed the wrong method name used in WifiModeController.
Bug: 33480898
Test: Gtests run successfully.
Change-Id: I913f656206a2ca7a79fb316501c256fcdc32aed9
2016-12-13 13:40:29 -08:00
Connor O'Brien
c18a8e0f69
Merge "Add android.hardware.consumerir@1.0 service." am: 3bee82f5d7
am: b2a40ee3b6
am: 9a51a0d3d7
...
am: 04efbdad74
Change-Id: I67cd1ce97b485ce500ecbc94ee76471aa66f58da
2016-12-13 21:23:02 +00:00
Connor O'Brien
04efbdad74
Merge "Add android.hardware.consumerir@1.0 service." am: 3bee82f5d7
am: b2a40ee3b6
...
am: 9a51a0d3d7
Change-Id: I45dda264b22c588ab887a2c2e4ff352834d83a42
2016-12-13 21:14:36 +00:00
Connor O'Brien
9a51a0d3d7
Merge "Add android.hardware.consumerir@1.0 service." am: 3bee82f5d7
...
am: b2a40ee3b6
Change-Id: I4c3c440a53ba8385aabaad3c705a23672ea801cf
2016-12-13 21:08:30 +00:00
Connor O'Brien
b2a40ee3b6
Merge "Add android.hardware.consumerir@1.0 service."
...
am: 3bee82f5d7
Change-Id: Ic073c5e68c57ea0aecf64f7d2f032bdefcc73c61
2016-12-13 21:02:30 +00:00
Yifan Hong
07e659778e
Merge "Update test for method name and result name." am: e8d4931930
am: 7f49aa4b75
am: c32a29210e
...
am: fc5c67533c
Change-Id: Ia9820692a4f1caec2f78e7077e7c0b989d579003
2016-12-13 20:58:52 +00:00
Connor O'Brien
3bee82f5d7
Merge "Add android.hardware.consumerir@1.0 service."
2016-12-13 20:54:00 +00:00
Yifan Hong
fc5c67533c
Merge "Update test for method name and result name." am: e8d4931930
am: 7f49aa4b75
...
am: c32a29210e
Change-Id: I4ed4ee8df3dcf2342cb1343402eab4d0b06fc411
2016-12-13 20:48:59 +00:00
TreeHugger Robot
e8680cb26d
Merge "Update makefiles for Java package path."
2016-12-13 20:46:04 +00:00
Yifan Hong
c32a29210e
Merge "Update test for method name and result name." am: e8d4931930
...
am: 7f49aa4b75
Change-Id: Idd05a347009a81f6a0cb2c2445733cacbee4b2e4
2016-12-13 20:42:59 +00:00
Yifan Hong
7f49aa4b75
Merge "Update test for method name and result name."
...
am: e8d4931930
Change-Id: I61011d8caae8aafddff018338746b08c8012f543
2016-12-13 20:36:30 +00:00
Treehugger Robot
e8d4931930
Merge "Update test for method name and result name."
2016-12-13 20:30:38 +00:00
Connor O'Brien
9e45844b09
Merge "Add consumerir HIDL default implementation" am: ac430dba09
am: e09bb06994
am: 86b187c4d5
...
am: 5276609319
Change-Id: Iaca2419a93564e17f032356be7cf434bb77345b6
2016-12-13 19:35:18 +00:00
Connor O'Brien
ade5c45510
Merge "consumerir: define the consumerir HIDL interface" am: 8af27124a3
am: efe941587a
am: 29e40a79cb
...
am: 9ac2bb4345
Change-Id: Ia704021826a16a75b0c8eb7206d7c775b216f671
2016-12-13 19:35:06 +00:00