- Apr 21, 2017
-
-
Hugo Benichi authored
This patch moves reportNetworkConnectivity onto the handler of ConnectivityService. This allows: - to inspect NetworkAgentInfo on the ConnectivityService handler, which is always more correct than doing so on a Binder thread. - to improve locking policies around NetworkAgentInfo. Test: $ runtest frameworks-net Bug: 37119619, 36902662 Change-Id: I49a765826e65c29a1995242290e5e7544112c94e
-
Hugo Benichi authored
-
Treehugger Robot authored
-
- Apr 20, 2017
-
-
Stanley Tng authored
There are intermittent issues where either the returned Bluetooth MAC address to Java framework is uninitialized or this address update arrives too late. This fix will do 2 things: (1) Returns error when MAC address is unavailable in the native code. (2) Updates the MAC address later by adding a new broadcast event. Test: Check address for these cases: factory reset, system reboot, and Bluetooth re-enable. Bug: 36709382 Change-Id: I09720193e38fdf9139e1bb146f8e1847e2b65b1a
-
Yang Ni authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Wenting Xiong authored
Introduce customization and implementation to display RAT icon in status bar even when data is off. Since some carriers require, this feature is necessary. Test: Test with simulated RIL Bug: 28805511 Change-Id: I412a407b8bcfeb9b3caf265bc7e0331a88433725
-
Treehugger Robot authored
-
Hugo Benichi authored
-
Erik Kline authored
Test: as follows - build - flashed - booted - "runtest frameworks-net" passes - manually starting tethering shows Settings and icon updates Bug: 31466854 Bug: 32163131 Change-Id: I938074587dfeec221c5cdb43a392802ad3fc3589
-
Erik Kline authored
-
Hugo Benichi authored
-
Colin Cross authored
See build/soong/README.md for more information. Test: m -j checkbuild Change-Id: I3cd2bb05ec89c40ebd1240e352a19f99d00dc114 Merged-In: I3cd2bb05ec89c40ebd1240e352a19f99d00dc114 (cherry picked from commit 3fc8f2df)
-
Eugene Susla authored
This patch is a cherry-pick of the BitUtils class from commit 36e866b8. (cherry picked from commit 36e866b8) Test: none Change-Id: Iaf33929f6841db273a92d650e84287bf2964fa3d Merged-In: I0a978787551a1ee5750ec5544b241d3bbfed5a7c
-
Hugo Benichi authored
This patch also: - suppresses callback triggers from ConnectivityService for these obsolete callback types. - marginally refactors callCallbackForRequest(). Test: runtest frameworks-net Change-Id: Idfb75640732943c599de4975f252f706d21ad594
-
Hugo Benichi authored
And also remove some small code duplication (checkNotNull). Test: built, flashed, runtest frameworks-net Change-Id: Id6c13bca9d12f70b88806032e0a4fa198efbedc6
-
- Apr 19, 2017
-
-
Jakub Pawlowski authored
-
Jakub Pawlowski authored
This patchset adds a hidden method getOwnAddress, that lets app with BLUETOOTH_PRIVILEGED permission to lear their own addreess. This is done exclusively for PTS tests. Bug: 35147497 Test: manual Change-Id: Iaf0f2fe0613de44b8430ac25e691d66a4ad44f8d
-
Treehugger Robot authored
-
Tetsutoki Shiozawa authored
Symptom: AppOps verified the incorrect package of calling tether state changing API. It threw SecurityException by mistake. Solution: Pass the correct package name to enforceTetherChangePermission. Bug: 32931147 Change-Id: Ia1167f26f556678b189a24a4a716f1a7e5cb12eb
-
Treehugger Robot authored
-
Jeff Hao authored
As we dexopt all the code paths of a package, we now append the code paths to the list of shared libraries. These paths are passed as relative paths since the apks are staged during installation, and are not where they will be at runtime. Part of a multi-project change. Bug: 34169257 Test: cts-tradefed run singleCommand cts -d --module CtsAppSecurityHostTestCases -t android.appsecurity.cts.SplitTests Merged-In: I73823ca575560cbd445d78a6cfbfc72031943265 (cherry-picked from commit 16d4843433e024100b4ecd183f827ad5bd8772a6) Change-Id: I943bf8234899e1b25d4eb5e98af15d9150a7a842
-
- Apr 18, 2017
-
-
Treehugger Robot authored
-
Yang Ni authored
Bug: 24555166 Test: RSTest on x86_64 emulator Change-Id: I0c8c970ce85989c3213fb4986e517ac0be5beb26
-
Jakub Pawlowski authored
Add a hidden api for reading characteristic by UUID for PTS. Bug: 35150313 Test: sl4a GattReadTest.byUuid Change-Id: Ice4076d99e4694d20374ba0fdcae74d5ae841147
-
Jaewan Kim authored
Bug: 33828042 Test: Build Change-Id: Iaf5cecfa38065cfeed096929952559d7cb2e248b
-
nharold authored
* changes: Hide Socket+DatagramSocket IpSecTransform methods Consistenly Throw IOExceptions from IpSecManager
-
Treehugger Robot authored
-
Lorenzo Colitti authored
-
Erik Kline authored
Test: as follows - built - flashed - booted - "runtest frameworks-net" passes Bug: 31466854 Change-Id: I730d029128a14b936c111ae159b9708d935f4656
-
Nathan Harold authored
These methods do not currently work for IPv4 sockets, so they need to be hidden until the underlying kernel code can be made to work properly in a dual-stack environment. Bug: 36073210 Test: compilation Change-Id: Idce367f638a42da374a7f1dc5ebb8931c9555e06
-
Nathan Harold authored
Bug: 36073210 Test: api-update Change-Id: Ia3825e85b09b6330f1326a26cf9e1cadf9dacf71
-
- Apr 17, 2017
-
-
Yifan Hong authored
* changes: Update for removing mount arg to VintfObject::CheckCompatibility Add Java API for libvintf.
-
Treehugger Robot authored
-
Rebecca Silberstein authored
-
Erik Kline authored
The previous version could trigger a Log.wtf() if an error occured within ServingState.enter() that caused a transition while a tranistion was already in flight. Test: as follows - build - flashed - booted - "runtest frameworks-net" passes Bug: 31466854 Change-Id: I66a47caf22e39ab4ad7f4ddd60940e9fe1580729
-
- Apr 15, 2017
-
-
Yifan Hong authored
It is default to false. Test: pass Bug: 36814503 Change-Id: Ib06850d3355f54996b17cc6c2980a7d17af132e5
-
Treehugger Robot authored
-