- Jun 13, 2017
-
-
Yang Ni authored
Bug: 28053584 Stop CloseGuarding for two reasons: 1) KernelID and FieldID objects are constructed in auto-generated (RenderScript reflected) Java code. It would be impossible for a user to explicitly call destroy() on them. Guarding them would leave a lot of noisy warnings in logcat. 2) These KernelID and FieldID objects are not big compared to other RenderScript objects, e.g. Allocations. They occupy almost no native resources except for a native pointer. Leaving their destruction to Java GC would be completely acceptable, since any delay in reclaiming them is unlikely to cause memory pressure. Test: CTS on x86_64 emulator Change-Id: I587b5561a0b2bdbf0b2e95bf2995c20d5f5faf9d
-
- Apr 24, 2017
-
-
Pankaj Kanwar authored
-
pkanwar authored
Test: will be added in a subsequent CL. Bug: 30973910 Change-Id: Ic1214330ddf6846973d8bd28ee6ff1d28ae8c852 Merged-In: Ic1214330ddf6846973d8bd28ee6ff1d28ae8c852
-
Treehugger Robot authored
-
Joachim Sauer authored
-
Jakub Pawlowski authored
Bug: 30622771 Test: none Change-Id: I2c55f96e71cd3be67f88201ab07c91730cd85971
-
Hugo Benichi authored
-
- Apr 23, 2017
-
-
Hugo Benichi authored
-
- Apr 22, 2017
-
-
Robin Lee authored
-
Hall Liu authored
-
Hugo Benichi authored
This patch extracts into BitUtils byte manipulation helper methods and unsigned type manipulation helper methods from ApfFilter into an independent and reusable structure. Test: $ runtest frameworks-net Change-Id: I0f33af10457a63dbde5983f14353a79b8cd877d9
-
Hugo Benichi authored
This patch is a partial cherry-pick from commit df456e13 for the BitUtils and NetworkCapabilities classes. Bug: 34901696 Test: none (cherry picked from commit df456e13) Merged-In: Id04f9080e7f75608deeb49306aec34941e71794c Change-Id: I64eae49f646365b7cd1683a689315fe03bf0bdd9
-
Hugo Benichi authored
* changes: ConnectivityService: regroup bool <-> int conversions ConnectivityService: move reportNetworkConnectivity to handler
-
Hugo Benichi authored
-
Treehugger Robot authored
-
- Apr 21, 2017
-
-
Treehugger Robot authored
-
Robert Greenwalt authored
If anything unrestricted is bundled in the whole thing has to be unrestricted (we can't restrict based on destination or intent) but the NOT_METERED flag wasn't taken into account. This wasn't a problem before because telephony set that statically and late, but a change caused it to be marked NOT_METERED earlier which exposed this bug. bug: 37208956 Merged-In: I7b7a1c38621ce0ecde8cf041e82b1ebb7a9c6f15 Test: new NetworkCapabilitiesTest. Fails without fix, works with. Change-Id: I86c1b2854413a94662aa53e697d32380695ab9ac
-
Treehugger Robot authored
-
Hall Liu authored
Test: builds Bug: 37515063 Change-Id: I1e573d945b48e28d12621078cc8f37eb076d9ee3
-
Jakub Pawlowski authored
-
Jakub Pawlowski authored
Bug: 37534792 Test: none Change-Id: Ieff71356aceb0e2a4c6e81d9053f854448e0c927
-
Jordan Liu authored
-
Treehugger Robot authored
-
Erik Kline authored
-
Hugo Benichi authored
This patch cleanups conversion of boolean values to ints when reading configuration values or sending Messages whose arg1 or arg2 has boolean semantics. Test: runtest frameworks-net Change-Id: I5187d17cd746486f63b1c410d191c30edd93ff6f
-
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
This prepares some refactoring and the addition of a timeout to resolveService. Test: new tests pass Bug: 37013369, 33298084 Change-Id: Ie8277bd5983278507bfa70495b4ce7d13895b24b
-
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: I1f45511f00aca37480f894be4a9a004f1a3b35d7
-
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
-
Robert Greenwalt authored
Updating Streaming apis. Adding midwear aidl files. Updating Download apis. Making it Compile.. Test: none yet Change-Id: I3f44ef3f6690274af1dc2002bc02e6668fe23248
-
Treehugger Robot authored
-
Jordan Liu authored
Update the api to use SubscriptionId instead of SubId. Fixes: 35766624 Test: Existing unit tests pass Change-Id: I6f99da3bf533cab74f5ec81aac4f62e63d55378a Merged-In: I6f99da3bf533cab74f5ec81aac4f62e63d55378a
-
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
-