- Feb 06, 2019
-
-
Chalard Jean authored
-
junyulai authored
The new set of API allows applications to request keepalives offload for established TCP sockets over wifi. However, the application must not write to or read from the socket after calling this method, until specific callbacks are called. Bug: 114151147 Test: atest FrameworksNetTests FrameworksWifiTests NetworkStackTests Change-Id: I3880505dbc35fefa34ef6c79555458ecf5d296a4
-
Remi NGUYEN VAN authored
-
Chalard Jean authored
-
Treehugger Robot authored
-
Bernie Innocenti authored
-
Bernie Innocenti authored
Test: ../../build/make/tools/checkowners.py packages/NetworkStack/OWNERS Change-Id: I6254f1ac2a24611ca6901f8f940d9e5babaaf373
-
Chalard Jean authored
There are other, more idiomatic ways to do this. Deprecating this with usage limited to P will curb usage and reduce the maintenance load. This also deprecates the extra EXTRA_NETWORK_TYPE, which has survived from an old world but has only been used in deprecated broadcasts for some time. Bug: 109783091 Test: eyeball current.txt Change-Id: I87b74833bb4ec362ee3fd07511a66d318c29067d
-
Chalard Jean authored
-
Bernie Innocenti authored
-
Bernie Innocenti authored
Would have been good to include platform/system/netd:/OWNERS here, but per-file and include don't seem to play well together. Test: N/A Change-Id: Ie7a481c655fb76040eaff29a8ad249e32f5b525f
-
junyulai authored
Bug: 114151147 Test: atest FrameworksNetTests Change-Id: I057dde79013b9eda5037b9a44f8eee06cc07352e
-
markchien authored
When offload is starting, socket will be switched to repair mode. Read and write on the socket will not be allowed until repair mode is turned off. If remote packet arrives, repair mode will be turned off automatically and a callback will be raised to indicate that socket is ready to read from. Bug: 114151147 Test: -atest FrameworksNetTests -manual Change-Id: I0c335865912e183e7ad32a8ea12188f02ccde5fd
-
- Feb 05, 2019
-
-
Tyler Gunn authored
-
Treehugger Robot authored
-
Santos Cordon authored
-
Santos Cordon authored
Use the new Suspend Control Service AIDL definition to communicate with the suspend HAL instead of using the HAL interface directly. Bug: 121210355 Test: manual - verify auto-suspend loop is still processing. Change-Id: I61cf05a8095f9d121fafb862def8239b325a7f43 Merged-In: I61cf05a8095f9d121fafb862def8239b325a7f43
-
Nathan Harold authored
-
Nathan Harold authored
-
Chalard Jean authored
-
Tyler Gunn authored
Adding new nuisance call reporting API to Telecom. Dialer will use this to report to Telecom when the user marks a call as nuisance or not nuisance. We relay this to the CallScreeningService the user has chosen to fill the call screening role, along with some basic information about the call type (missed, rejected, incoming) and a the coarse call duration bucket. These values can be used by the CallScreeningService to train the nuisance detection model it employs. Test: Manual tested using test app. Test: Added new CTS test coverage. Test: Added unit tests to Telecom Bug: 63966743 Merged-In: I389617491f640afd9ca28ec3f247912365e6cc53 Change-Id: I389617491f640afd9ca28ec3f247912365e6cc53
-
Nandana Dutt authored
-
junyulai authored
In previous change, the new SocketKeepalive API was exported. But internally, old PacketKeepalive names and structures are still used. This change rename them properly for code consistency and also refactor KeepalivePacketData to support different types of KeepalivePacketData. Bug: 114151147 Test: 1. atest FrameworksNetTests 2. atest FrameworksWifiTests 3. atest FrameworksTelephonyTests Change-Id: Ia9917d12987e91e87e34ffb3f126e7bc7c9c187e Merged-In: Ia9917d12987e91e87e34ffb3f126e7bc7c9c187e
-
Nandana Dutt authored
* Validate input arguments * Ensure primary user * Handle remote exceptions * Pass error conditions to listener * Ensure only one bugreport is in progress, at least via the API. BUG: 123584708 BUG: 123571915 Test: Builds Test: Manual; unit tests coming up Change-Id: I4d1e0000fe815a02b82ce625864759fd818e6a24
-
Treehugger Robot authored
-
Sooraj Sasindran authored
-
Jordan Liu authored
-
Sooraj Sasindran authored
Allow Privileged apps to read prefered data state Change ArrayList to List for public API Bug: 122900079 Bug: 123697660 Test: verified manually Change-Id: Ib1221a65edf554b700088d68505da137ccd7de5e
-
- Feb 04, 2019
-
-
Treehugger Robot authored
-
Nathan Harold authored
To avoid spamming users or the debug app with debug events, the DebugEventReporter will now track each event it receives and only send a single intent for each event signature per boot. In the future, some other method of persistence (such as per-build) might be preferable, but this should mitigate any looping events. In addition, add dump() to the event reporter so that even if there is no debug app installed, or in case an event happens multiple times, it can be observed through a bugreport. Bug: 120941729 Test: dump and observe that the events are printed. Change-Id: Iaf04a308a29bc074acfaa16b9e70947761759181
-
Nathan Harold authored
This commit adds a small surface to allow telephony to generate events for an external logger to capture and use to take action such as gathering bugreports or proprietary logs. The event-IDs are considered non-stable, so they may change from release to release or device to device. Bug: 120941729 Test: manually tested by modifying Settings. Further tests will require the creation of a package that has READ_PRIVILEGED_PHONE_STATE. Change-Id: I6360dab2d997d518ebd5f38a72fe88801e693bb7
-
Jordan Liu authored
Also fix PreciseCallState.equals() to not return the opposite of equals. Bug: 123363462 Test: CallAttributesTest Change-Id: I7a9b65a01bc32ebfe304a0434a82bfe97929421c
-
Hall Liu authored
-
Treehugger Robot authored
-
Chih-Hung Hsieh authored
Bug: 123880763 Test: build with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=*,-readability-*, -google-readability-*,-google-runtime-references,-cppcoreguidelines-*, -modernize-*,-llvm-*,-bugprone-narrowing-conversions, -misc-non-private-member-variables-in-classes, -misc-unused-parameters,-hicpp-*,-fuchsia-* Change-Id: I7be72b9db232a375bf7caf3b2dbeb9c6f7368a8e
-
Youming Ye authored
-
Orion Hodson authored
Removes dependency on constant that was in libcore. Bug: b/119742461 Test: m -j100 checkbuild Change-Id: I1708652edf65789ef4bdb6e83568696f70f96bdd
-
Anton Hansson authored
-
Hans Boehm authored
-
- Feb 03, 2019
-
-
Suren Baghdasaryan authored
-