OSDN Git Service
Etan Cohen [Mon, 3 Oct 2016 20:40:09 +0000 (13:40 -0700)]
[NAN] Use NAN capability information to validate configurations [DO NOT MERGE]
Validate publish and subscribe configurations and message length using
the NAN configuration retrieved from the firmware.
Bug:
31912101
Test: unit tests
Change-Id: I06e09a0a4459eadb700a688a8bbb5b63f4f85616
Etan Cohen [Fri, 30 Sep 2016 18:32:54 +0000 (18:32 +0000)]
Merge "[NAN] Update API javadoc to clarify NAN status change broadcast scope [DO NOT MERGE]" into mm-wireless-dev
Etan Cohen [Thu, 29 Sep 2016 23:12:47 +0000 (16:12 -0700)]
[NAN] Register WIFI_NAN_STATE_CHANGED as protected broadcast [DO NOT MERGE]
Broadcast can be registered protected (as in this CL) in which case they
are restricted to system apps. Broadcasts sent by the System Service must
be protected (so no one else can fake them).
The WIFI_NAN_STATE_CHANGED is sent by the System Service and no other apps
should be able to send them (e.g. to deny access to NAN to other apps).
Bug:
31811154
Test: build & run - enable/disable Wi-Fi to trigger bug
Change-Id: I9591af930b60842130809cdb37388be515fe6dc3
Etan Cohen [Thu, 29 Sep 2016 23:02:30 +0000 (16:02 -0700)]
[NAN] Update API javadoc to clarify NAN status change broadcast scope [DO NOT MERGE]
Bug:
31675932
Test: make -j 32 update-api (to generate doc)
Change-Id: Icf35e6af774d81c98fdf97937554af4e8bbf6747
Etan Cohen [Tue, 27 Sep 2016 19:23:51 +0000 (12:23 -0700)]
[NAN] Remove builder API using String to translate to byte[] [DO NOT MERGE]
Per API review: String accessor was not needed (duplicate, semantics
not accurate, trivial use-case).
Bug:
31470256
Test: unit tests & integration (sl4a) testing.
Change-Id: I1c33d06887afc88c112d9e095121b9f18af9c06c
Etan Cohen [Tue, 27 Sep 2016 16:15:46 +0000 (09:15 -0700)]
[NAN] Use a hidden class for peer ID opaque handle [DO NOT MERGE]
Results in clearer run-time exception (relatively to using Integer).
Bug:
31689166
Change-Id: I4c7f8800af12f18d846d23bbe7eda378eb45de34
Tests: unit-tests + integrated (sl4a).
Etan Cohen [Tue, 27 Sep 2016 16:51:37 +0000 (09:51 -0700)]
[NAN] Rename setTerminateNotificationEnabled per API review [DO NOT MERGE]
Bug:
31470256
Test: unit tests + integrated (sl4a) tests
Change-Id: I86c14f653924b0bf39b0600552328b50c7b2ca09
Etan Cohen [Thu, 22 Sep 2016 19:37:17 +0000 (12:37 -0700)]
[NAN] Fix javadoc links [DO NOT MERGE]
Bug:
31470256
Test: builds (javadoc only)
Change-Id: I5526d91b1f2d23eeb6c5ca384a6e6727dc049258
Etan Cohen [Thu, 22 Sep 2016 18:00:57 +0000 (11:00 -0700)]
[NAN] Fix incorrect log message [DO NOT MERGE]
Bug:
31678708
Test: integrated (sl4a) test
Change-Id: Ia116ded0d2f41adccebb893072d98ad5ce21bd88
Etan Cohen [Thu, 22 Sep 2016 15:18:36 +0000 (08:18 -0700)]
[NAN] Replace int peerId with more opaqure Object peerHandle per API review [DO NOT MERGE]
Bug:
31470256
Test: unit tests & integration (sl4a) tests.
Change-Id: I6e1973eea3c6750191b0b07ebafad73b7e95acfe
Etan Cohen [Thu, 22 Sep 2016 00:54:35 +0000 (17:54 -0700)]
[NAN] Change Broadcast for NAN status change to notification only [DO NOT MERGE]
Remove information about current status of NAN. Receiver will have
to query that information explicitly. New pattern (per API council
review) - helps reduce window for having old information.
Bug:
31470256
Test: unit tests & integration (sl4a) tests.
Change-Id: Ie197e1be71ec04dfbf65cf29e64c0cd3fa7c5190
Etan Cohen [Wed, 21 Sep 2016 21:37:02 +0000 (14:37 -0700)]
[NAN] Remove failure reason codes from API per API review [DO NOT MERGE]
Not all codes are actionable. Will add back if/as needed.
Bug:
31470256
Test: unit tests & integration (sl4a) tests.
Change-Id: Ia64d978a1e8e8ca62b53643376871ba5979798b8
Etan Cohen [Wed, 21 Sep 2016 18:53:24 +0000 (11:53 -0700)]
[NAN] Reorder parameters of send message method(s) per API review [DO NOT MERGE]
Move messageId before message in the argument list.
Bug:
31470256
Test: unit tests & integration (sl4a) tests.
Change-Id: I90bc7150abe573c46cc263470bab15b422f0c3f0
Etan Cohen [Wed, 21 Sep 2016 18:18:35 +0000 (11:18 -0700)]
[NAN] Add Handler to publish/subscribe per API review [DO NOT MERGE]
All callback registrations must have handlers.
Bug:
31470256
Test: unit tests & integration (sl4a) tests.
Change-Id: Ifab018d613fe58f4e2f586a7784a62e74d0ca1f5
Etan Cohen [Wed, 21 Sep 2016 00:22:35 +0000 (17:22 -0700)]
[NAN] Separate ATTACH from IDENTITY_CHANGE callbacks. [DO NOT MERGE]
Provide separate mechanism to attach with a request for identity
change listener.
Bug:
31470256
Test: unit tests & integration (sl4a) tests.
Change-Id: I3789f09cf41104544d4f3abcbff37a214c3057af
Etan Cohen [Tue, 20 Sep 2016 16:23:33 +0000 (09:23 -0700)]
[NAN] Method renames based on API council feedback [DO NOT MERGE]
- Fix tenses throughout
- connect -> attach
- disconnect/terminate -> destroy
- IsUsable -> IsAvailable
Note: pure rename operation - no functional changes
Bug:
31470256
Test: unit tests + integration (sl4a) test
Change-Id: I9d150cc2e00d5d95d27c9671d728c21e4488f5b8
Etan Cohen [Thu, 15 Sep 2016 19:15:10 +0000 (12:15 -0700)]
[NAN] Refactor WifiNanManager to create separate sessions per connect. [DO NOT MERGE]
Separate session enables separate namespace for functions which depend
on a connection to exist.
Bug:
31470256
Test: unit tests, integration (sl4a) tests.
Change-Id: I83d69acf18de6be2b96a34d2a608a6390ecdecbf
Etan Cohen [Wed, 14 Sep 2016 21:41:56 +0000 (14:41 -0700)]
[NAN] Rename to make discovery explicit [DO NOT MERGE]
Pure rename operation - no other functional changes.
Bug:
31470256
Change-Id: I5110d1a673b7ba4e39350d723b5984586fec585a
Etan Cohen [Fri, 9 Sep 2016 20:36:52 +0000 (13:36 -0700)]
[NAN] Update API: replace looper with handler [DO NOT MERGE]
Per API council guidelines.
Bug:
31377060
Change-Id: I05142001fb593399fb4675fbec965d7e08e0fac1
Etan Cohen [Fri, 9 Sep 2016 23:17:31 +0000 (16:17 -0700)]
[NAN] Make parcelable class final - per API linter [DO NOT MERGE]
Bug:
31380952
Change-Id: I74c079763d6b3a4f0119b16acd7a18014a10ebbd
Etan Cohen [Mon, 22 Aug 2016 18:27:57 +0000 (11:27 -0700)]
[NAN] API changes/fixes addressing apilint issues
Bug:
30983968
Change-Id: I2189442755380ad5d04f80bcb5978ca0c28e6420
Etan Cohen [Thu, 18 Aug 2016 23:51:50 +0000 (16:51 -0700)]
[NAN] Add method to ConfigRequest to determine if non-default
To be used in permission check.
Bug:
27696149
Change-Id: I5be5aed93c556cf24b596bd2a7c5672502f84d74
Etan Cohen [Thu, 18 Aug 2016 22:38:29 +0000 (15:38 -0700)]
[NAN] Simplify publish/subscribe configuration - merge match filters
Merge Tx/Rx match filters into single Match filter configuration. Only
a single filter can be used at a time (either Tx or Rx).
Bug:
30948496
Change-Id: I32a9a0306dfd08295bc63145bccfe3739862f17d
Etan Cohen [Thu, 18 Aug 2016 16:55:31 +0000 (09:55 -0700)]
[NAN] Udpate NAN API documentation, clean-up visibility
Change-Id: I951340eebab35c10efe98dab86b58fe8efada169
Etan Cohen [Fri, 19 Aug 2016 17:23:15 +0000 (17:23 +0000)]
Merge "[NAN] Provide calling package name to service" into mm-wireless-dev
Etan Cohen [Fri, 19 Aug 2016 17:22:26 +0000 (17:22 +0000)]
Merge "[NAN] Update finalize to check and warn user if resources not freed" into mm-wireless-dev
Etan Cohen [Tue, 19 Apr 2016 17:55:56 +0000 (10:55 -0700)]
[NAN] Do not expose WifiManager.isNanSupported as new API
The WifiManager.isXxxSupported() only functions if HAL is enabled
and seems to be a duplicate of:
PackageManager.hasSystemFeature(PackageManager.FEATURE_WIFI_NAN)
Bug:
28251988
Change-Id: I8f410def6f0bd3d3fc0926072ab66acce52a0e14
Etan Cohen [Thu, 11 Aug 2016 21:23:23 +0000 (14:23 -0700)]
[NAN] Update finalize to check and warn user if resources not freed
Use CloseGuard to check that disconnect() is called to free the resources
allocated by connect(). finalize() will still call disconnect() but now
also print out errors (if StrictMode enabled for feature).
Bug:
28068773
Change-Id: I5f5847c0261ef9f79a21fdb935509a85761591cc
Erik Kline [Wed, 25 Nov 2015 03:49:38 +0000 (12:49 +0900)]
Support timeouts for requestNetwork() invocations. [DO NOT MERGE]
Bug:
21414325
Change-Id: I08118be8e8cf92fc406d431e99a6c9191a863ff3
Etan Cohen [Thu, 11 Aug 2016 16:31:21 +0000 (09:31 -0700)]
[NAN] Provide calling package name to service
Useful for permission checks.
Bug:
30000323
Change-Id: I8c7f06cff346437aa24ca5da9822cbd7b20c59c4
Etan Cohen [Mon, 18 Jul 2016 20:43:17 +0000 (13:43 -0700)]
[NAN] Add LV utilities (TLV with T size of 0).
NAN uses LV (not TLV). Expose an LV variant of TLV to make API
cleaner.
Bug:
30096512
Change-Id: I74b4c514d50f1df5750b521bd68a5e2d832d92c3
Etan Cohen [Mon, 18 Jul 2016 18:39:28 +0000 (11:39 -0700)]
[NAN] Fix TlvElement member names - reflect public access.
Bug:
30096512
Change-Id: Ic2ab61e891bead6f6e8f13d9ac311ead8fecba5b
Etan Cohen [Mon, 18 Jul 2016 17:37:20 +0000 (10:37 -0700)]
[NAN] TLV utilities iterator - throw correct exception
Make sure that iterator.next() validates that next element exists -
otherwise throw the exception specified by the interface.
Bug:
30096512
Change-Id: I327da433e3f1181e272c81ee503cbe8aab323f7e
Etan Cohen [Fri, 15 Jul 2016 22:28:39 +0000 (15:28 -0700)]
[NAN] Modify arguments from "array, length" to "array"
Arrays carry their own lengths. There's no need to provide mechanism
to 'shave' the array - could be done explicitly by caller if needed.
Bug:
29617160
Change-Id: Ib135aa04145f400163cd1a8908dfca4590b4480d
Etan Cohen [Thu, 14 Jul 2016 20:27:58 +0000 (13:27 -0700)]
[NAN] NAN System Api: RTT
Modify visibility of startRanging [NAN RTT] to SystemApi. Matches the
visibliity of the RttManager API.
Change-Id: Ia92de9885d0b38dfce74484f437bd122dd53cbf6
Etan Cohen [Thu, 7 Jul 2016 22:07:38 +0000 (15:07 -0700)]
[NAN] Provide inteface MAC address to app.
Expose NAN discovery interface MAC address to app. Required
to enable OOB discovery with other NAN functionality
(e.g. data-path).
Bug:
30000035
Change-Id: Id3c336a61a36522d7011557c805bc3c5307747a1
Etan Cohen [Thu, 7 Jul 2016 20:50:29 +0000 (13:50 -0700)]
[NAN] Add (T)LV validation testing
Test for validity of a (T)LV. Used in construction of publish and
subscribe configuration (both Tx and Rx filters).
Bug:
30007730
Change-Id: Ibf2179121d45c582bb054c06ec2a765ed0927040
Etan Cohen [Thu, 7 Jul 2016 18:29:03 +0000 (11:29 -0700)]
[NAN] Add validity checks for service name
Add checks that the service name is valid per spec (see bug for
details). Stores internally as a byte[] for further propagation.
Bug:
30000106
Change-Id: Iab413aba6755c97bfca0332d6eaa21f636e47f3f
Etan Cohen [Tue, 28 Jun 2016 00:25:29 +0000 (17:25 -0700)]
[NAN] Fix assumption about Strings containing single-byte characters.
Code assumed that each character was represented by a single byte.
Change-Id: I92ea63f7273379ed1035f10c207d41e3e352bf38
Etan Cohen [Mon, 20 Jun 2016 16:28:55 +0000 (09:28 -0700)]
[NAN] NAN data-path API: network specifier
Adds network specifier API. These are used in creating a connectivity
request through ConnectivityManager. The network specifier provides
mechanism to pass information to the network factory.
Bug:
26564277
Change-Id: Ib5b88685e033a2957644f2e9cff39a70712ac7b5
Etan Cohen [Mon, 20 Jun 2016 16:27:12 +0000 (09:27 -0700)]
[NAN] Add transport type for NAN.
Add TRANSPORT_WIFI_NAN - specifies a peer-to-peer Wi-Fi NAN data
connectivity request.
While NAN uses Wi-Fi L1 PHY and part of the MAC - it is a different
protocol and constitutes a different transport.
Bug:
26564277
Change-Id: I975ebc72d8f97a592d18038b3d6465b7a40efa75
Etan Cohen [Mon, 20 Jun 2016 16:25:30 +0000 (09:25 -0700)]
WakeupMessage: add mechanism to specify the object member of Message.
WakeupMessage encapsulates a Message. Change adds mechanism (constructor)
to specify the 'mObj' member of the Message.
Change-Id: I34647d8f6bbe5c11fce1350ed6abd3366fad2a5d
Etan Cohen [Tue, 10 May 2016 18:56:06 +0000 (11:56 -0700)]
[NAN] Add retry count for transmitting L2 NAN messages
Bug:
28690414
Change-Id: I0a253f6d7e0d15f4bb50cae685c5e2496682cd67
Etan Cohen [Mon, 9 May 2016 22:30:06 +0000 (15:30 -0700)]
[NAN] Add support for NAN RTT.
Provide API for NAN RTT through WifiNanManager. While NAN RTT could be executed
directly through RttManager the peer information is hidden by WifiNanManager (no
MAC address is exposed). Using WifiNanManager keeps the information hidden.
Bug:
26564277
Change-Id: I8deeb3f9e360dc05f2ea175d115f287590d50322
Etan Cohen [Fri, 6 May 2016 15:57:56 +0000 (08:57 -0700)]
[NAN] Remove OnNanDown notification from API
Duplicates the WIFI_NAN_STATE_CHANGED_ACTION broadcast. Remove
all state information from manager.
Bug:
28622807
Change-Id: I00632b216edb2dd74412861c4b46f01adec5a271
Etan Cohen [Wed, 6 Apr 2016 22:01:48 +0000 (15:01 -0700)]
[NAN] Add type and nullability annotations. Update hide annotation.
Additional annotations on (what are planned to be) public APIs.
Fixed exposed API: @hide to a few new methods.
Bug:
27122760
Change-Id: Iea91de1b1c3c32a93378b5d90c1e88d994a10526
Etan Cohen [Wed, 23 Mar 2016 18:40:26 +0000 (11:40 -0700)]
[NAN] Add master switch to enable/disable usage of NAN APIs.
Add master switch to enable/disable usage of NAN. Tie into Wi-Fi
state machine (to enable/disable based on Wi-Fi enable/disable).
Dispatch broadcasts when NAN status changes.
Bug:
27698011
Change-Id: Iea36388443ff8d0dc26a280220022c6bdba6a0c8
Etan Cohen [Fri, 8 Apr 2016 15:00:12 +0000 (15:00 +0000)]
Merge "[NAN] Re-factor connect/config flow" into mm-wireless-dev
Etan Cohen [Fri, 18 Mar 2016 15:43:38 +0000 (08:43 -0700)]
[NAN] Re-factor connect/config flow
Simplify flow: configure and connect in a single call.
Prevent info leak: no longer provide configuration back to caller.
Update error status codes
Bug:
27617910
Bug:
27553226
Bug:
27579450
Bug:
27674927
Change-Id: Id7aba816a074dbbe0cb188cfe498c97dccbdcb27
Rubin Xu [Thu, 7 Apr 2016 11:09:27 +0000 (12:09 +0100)]
Fix wrong condition
Bug:
28050399
Change-Id: If729ee2bcc5496b5ee381e490f72c751da04dc09
Pavel Zhamaitsiak [Tue, 5 Apr 2016 00:13:18 +0000 (00:13 +0000)]
Merge "ConnectivityMetricsLogger: Switch to "pull" model" into mm-wireless-dev
Pavel Zhamaitsiak [Fri, 1 Apr 2016 01:43:14 +0000 (18:43 -0700)]
ConnectivityMetricsLogger: Switch to "pull" model
If subscriber is in external app, its process can be killed. This would
lead to loss of events. To avoid that, we will be storing events in the
logger service. Clients can periodically pull data from it.
Another option for client apps is to register PendingIntent which will be
sent when certain number of new events has been received.
If events are logged at unexpectedly high rate from particular component,
then throttling mechanism will activate and new events will be blocked for
some time from that component.
Change-Id: I710409626eb5a42bcd3fe8126eac6b756fa1ab8b
Ajay Nambi [Sat, 19 Mar 2016 16:22:25 +0000 (09:22 -0700)]
Ril Error codes: Voice related messages
This change adds new error codes for messages
related to voice
Bug:
27038563
Change-Id: Id3a212c0b12e1feb26b0836fad3f9399d6dec19c
Pavel Zhamaitsiak [Sat, 19 Mar 2016 00:24:16 +0000 (00:24 +0000)]
Merge "ims:rcs: Add UCE interface files for RCS. [DO NOT MERGE]" into mm-wireless-dev
Dheeraj Shetty [Thu, 17 Mar 2016 17:15:00 +0000 (10:15 -0700)]
ims:rcs: Add UCE interface files for RCS. [DO NOT MERGE]
Change-Id: I2ce9e60240740acfe70c4a239163fbdbedbd96e0
Jeremy Joslin [Thu, 17 Mar 2016 03:07:30 +0000 (20:07 -0700)]
Add a meteredHint to ScoredNetwork.
API changes to allow a meteredHint to be passed
from a network scorer through to the wifi subsystem.
BUG:
27702356
Change-Id: Ic466852d855af54c1754c4663388f24f54ed0691
Etan Cohen [Tue, 15 Mar 2016 01:06:46 +0000 (18:06 -0700)]
[NAN] Refactor session lifecycle to clarify API & eliminate race conditions [DO NOT MERGE]
Bug:
27257965
Change-Id: I4d7eaa6fa1f089bed2e9185f59a37f59b530975d
Etan Cohen [Fri, 11 Mar 2016 20:50:56 +0000 (12:50 -0800)]
[NAN] Removed NAN event registration - dispatch all callbacks. [DO NOT MERGE]
All events dispatched by default - there's no reason to ignore events.
The specific identity changed events for which there are use-cases to
get or ignore is controlled through a new configuration.
Bug:
27607613
Change-Id: I289a36157b55270c58311a016ef79f8746e0e0a0
Etan Cohen [Fri, 11 Mar 2016 19:25:23 +0000 (11:25 -0800)]
[NAN] Consolidate publish/subscribe callback sets into single set [DO NOT MERGE]
Merge onPublishFail & onSubscribeFail into onSessionConfigFail.
Merge onPublishTerminated & onSubscribeTerminated into onSessionTerminated.
A session is either publish or subscribe (never the two) so redundant.
Bug:
27610709
Change-Id: I0282d17db88754428da25ee5f064b9a4805f9736
Etan Cohen [Fri, 11 Mar 2016 18:14:21 +0000 (10:14 -0800)]
[NAN] Replace session callback configuration control [DO NOT MERGE]
Controlling session callback invocation:
- Remove event registration
- Add configurations to the subset (actually just termination) which
can be configured through the HAL
Bug:
27607613
Change-Id: I608314cc2a9b077b4d5a2d2d0d315d55c6a7724b
Etan Cohen [Wed, 9 Mar 2016 19:16:45 +0000 (11:16 -0800)]
[NAN] Expose match style configuration as public API. [DO NOT MERGE]
Match style allows apps to configure getting a single notification
or continuous notifications (for all matches).
Bug:
27568256
Change-Id: I9b7bd2e4e58af5c73188267d11c1288a93cf64ed
Tyler Gunn [Mon, 14 Mar 2016 23:06:11 +0000 (16:06 -0700)]
DO NOT MERGE Add KEY_USE_RCS_PRESENCE_BOOL carrier config option.
- New carrier config option is used to determine if presence is used
to determine whether a contact is capable of video calling.
- Also, improve logging for PhoneAccount capabilities.
Bug:
20257833
Change-Id: Ifcc7df95677eb4399f08eb8849c4004892957e90
Ajay Nambi [Fri, 11 Mar 2016 20:05:25 +0000 (12:05 -0800)]
New error codes for SMS/other messages
This change adds error codes for messages related
to SMS and set_mute, get_mute requests
Bug:
27038563
Change-Id: I9b989ae8b99da5e24f4f698f34f2c35b2a48ecbd
Paul Stewart [Mon, 14 Mar 2016 14:13:34 +0000 (14:13 +0000)]
Merge "WifiManager: Remove static objects" into mm-wireless-dev
Sanket Padawe [Fri, 11 Mar 2016 17:50:56 +0000 (09:50 -0800)]
Fix build failure.
+ Fix build failure caused by
https://partner-android-review.googlesource.com/#/c/538910/
Change-Id: I83b579f3db4c5a167b206318edcc627c6d2f4b0a
Sanket Padawe [Fri, 11 Mar 2016 17:31:55 +0000 (17:31 +0000)]
Merge "Add RIL Error code list" into mm-wireless-dev
twen.chang [Fri, 4 Mar 2016 10:25:25 +0000 (18:25 +0800)]
Add RIL Error code list
BUG:
27589497
Change-Id: Ib8d7e0ff13f72106b79210ea786020c17b0ba842
Paul Stewart [Thu, 25 Feb 2016 07:27:03 +0000 (23:27 -0800)]
WifiManager: Remove static objects
Thanks to b/
24334032, we know that there can be more than one
WifiManager object per process. Also, due to b/
19159232 we know
that holding static references to contexts within WifiManager is
not okay. This CL addresses both issues by correctly implementing
Wifimanager as the per-context CachedService as it is instantiated
in SystemServiceRegistry.
To do this, all previously static object members of WifiManager
are converted to non-static. This is primarily safe since:
- In processes which only instantiated WifiManager from a single
context, the behavior is functionally identical between the
static and non-static implementation.
- In situations where multiple WifiManager objects were created,
this is not a real issue:
+ sListenerKey is okay to be tracked per-instance since it
only tracks replies for asynchronous outgoing calls for a
single WifiManager instance (replies are not multicast to
all instances within a pid, since replies from
WifiServiceImpl are addressed to the other end of the
AsyncConnection the request message came from).
+ The same is true of sListenerMap and sListenerMapLock
+ Having a per-WifiManager-instance mAsyncChannel is at worst
a small linear increase with the number of contexts that
use WifiManager, but for the vast majority of processes will
not be an increase at all.
+ Having a thread per WifiManager is something that has been
brought up in the past (b/
25644527 comes to mind). I think
we should continue to track that particular problem there.
One static was added: an sServiceHandlerDispatchLock which ensures
that listeners from multiple ServiceHandler threads will be called
sequentially instead of interleaved. Since ServiceHandler was
previously static, this preserves the behavior where multiple
WifiManager objects would not deliver callbacks in parallel.
BUG=
19159232
BUG=
24334032
Change-Id: I24125a285f97e0c5b3ca4fd721ba8ed19aa245e9
Glen Kuhne [Tue, 8 Mar 2016 16:48:35 +0000 (16:48 +0000)]
Merge "Added EIDs for ERP, Supported & Extended Rates" into mm-wireless-dev
Roshan Pius [Mon, 7 Mar 2016 22:44:08 +0000 (22:44 +0000)]
Merge "WifiScanner: Add hidden networkIds in scan setting" into mm-wireless-dev
Lorenzo Colitti [Tue, 1 Mar 2016 03:55:58 +0000 (12:55 +0900)]
DO NOT MERGE: Move PinningNetworkCallback out to a new NetworkPinner class.
Cherry-picked from
531a34430072b9296aaeb47d9e7d04326a93fee4
Bug:
19159232
Change-Id: Ic366b53259ee5944a8e864876425a6558c0a7216
Glen Kuhne [Tue, 1 Mar 2016 22:32:28 +0000 (14:32 -0800)]
Added EIDs for ERP, Supported & Extended Rates
Added EIs to InformationElement to support the parsing of Supported
Rates, Extended Supported Rates, and ERP.
BUG=
25691077
Change-Id: Ie540e94f9aa0dca11c3b1d6a46c5a638ec958cff
Roshan Pius [Sat, 5 Mar 2016 01:33:17 +0000 (17:33 -0800)]
WifiScanner: Add hidden networkIds in scan setting
Add the hidden networkId list in scan settings to be used for
connectivity scans.
BUG:
27503786
Change-Id: Ibe7eaccd84d03a7b48728e3ea1d98ccc974377ec
TEST: Compiles & unit-test passes
Roshan Pius [Tue, 1 Mar 2016 21:18:41 +0000 (13:18 -0800)]
WifiScanner: Add PNO public API
Add the public interface for starting/stopping PNO scan.
This is the internal flow that is going to be used for PNO scan:
1. Set Pno list
2. Start background scan
This flow will not work as is for supplicant, since background scan is
done manually today. So, we'll need a flag to indicate that this
background scan is targetted for PNO.
BUG:
27167559
Change-Id: I3f6921c5d03f7d9e8ad1847e57e12fb38df6c9c9
TEST: Compiles & unit-test passes
Tyler Gunn [Fri, 4 Mar 2016 03:00:27 +0000 (03:00 +0000)]
Merge "IMS-VT: Disable multi tasking by default" into mm-wireless-dev
Omkar Kolangade [Tue, 22 Dec 2015 15:37:04 +0000 (21:07 +0530)]
IMS-VT: Disable multi tasking by default
Disable multi tasking support by default for all operators.
Enable based on MCC/MNC for required oeprators.
Bug:
27484483
Change-Id: Ib321747885435c110360370eb243eee35762dfe3
Mukesh Agrawal [Thu, 3 Mar 2016 21:15:18 +0000 (21:15 +0000)]
Merge "WifiConfiguration: show more detail in toString()" into mm-wireless-dev
Jeremy Joslin [Thu, 3 Mar 2016 16:49:27 +0000 (16:49 +0000)]
Merge "Revert "New systemapi to mark a wifi network as metered."" into mm-wireless-dev
Paul Jensen [Thu, 14 Jan 2016 19:54:39 +0000 (14:54 -0500)]
Have ConnectivityService install packet filters when possible
Listen for ICMP6 router advertisements on networks that support
packet filters. Construct packet filters and install them to
ignore redundant future ICMP6 router advertisements.
Bug:
26238573
Change-Id: If78300b9fda257c21f3ee6533e1da7de9f897cb4
Lorenzo Colitti [Thu, 3 Mar 2016 08:17:29 +0000 (17:17 +0900)]
Support 464xlat on Ethernet.
Bug:
26991160
Change-Id: I848c9e86e1ed337e95cfddda46723a9a1dcaed30
Mukesh Agrawal [Thu, 3 Mar 2016 03:09:23 +0000 (03:09 +0000)]
Merge "add configuration knob for WifiLogger ringbuffers" into mm-wireless-dev
mukesh agrawal [Thu, 3 Mar 2016 00:33:33 +0000 (16:33 -0800)]
WifiConfiguration: show more detail in toString()
When debugging WiFi issues, it's helpful to know whether
or not a network uses a hidden SSID. Update
WifiConfiguration.toString(), to provide this information.
BUG=
26836097
TEST=capture bugreport, verify "HIDDEN: false" is present for normal net
TEST=capture bugreport, verify "HIDDEN: true" is present for hidden net
Change-Id: I1f7c587fc2eda358e0868e9a7ef0bb2058e726a8
Jeremy Joslin [Wed, 2 Mar 2016 22:16:27 +0000 (22:16 +0000)]
Revert "New systemapi to mark a wifi network as metered."
This reverts commit
7a598d3d800fc47b7c2f9300411edc0ef06da493.
Change-Id: Ib6b9081ee4ded7582fb90d7a9066de95ab221f61
Erik Kline [Mon, 29 Feb 2016 07:00:01 +0000 (16:00 +0900)]
Add 464xlat notification callback
Bug:
26238390
Bug:
26991160
Change-Id: I556e779c642d19cd8d26637dd98055157d005f77
mukesh agrawal [Wed, 2 Mar 2016 01:33:43 +0000 (17:33 -0800)]
add configuration knob for WifiLogger ringbuffers
Different builds may want to allow more or less memory
for WifiLogger ringbuffers. Provide a configuration
knob, accordingly.
BUG=
27264418
TEST=build
Change-Id: I7c9dd2d061f760105995525e6b0d9edd22d7bd92
Erik Kline [Tue, 1 Mar 2016 01:37:50 +0000 (10:37 +0900)]
Add constructor with more inputs for dependency injection.
Bug:
26991160
Bug:
27406552
Change-Id: If4a0a2f1afb1da4ad59df9eb31c540047c84659b
Tyler Gunn [Mon, 29 Feb 2016 18:06:25 +0000 (18:06 +0000)]
Merge "IMS Connection Capabilities Update" into mm-wireless-dev
Omkar Kolangade [Fri, 26 Feb 2016 17:45:04 +0000 (09:45 -0800)]
IMS: ImsCallProfile Extra For Call Pull
Adding an extra that will be used by IMS
Service to specify whether a call has been
pulled from another device.
BUG=
27340495
Change-Id: Ic3b5a07404d63bfadcaa8bf88d6f077165251b92
Omkar Kolangade [Wed, 24 Feb 2016 19:53:06 +0000 (11:53 -0800)]
IMS: Reason Codes For Call Pull Scenarios
Adding reason codes for call pull success
and failure scenarios.
BUG=
27340495
Change-Id: I775316f52ed13862981500ebe035ee626adc934f
Mitchell Wills [Thu, 25 Feb 2016 23:36:29 +0000 (23:36 +0000)]
Merge "Modify WakeupMessage to only send the message if not canceled" into mm-wireless-dev
Pavel Zhamaitsiak [Thu, 25 Feb 2016 19:43:31 +0000 (19:43 +0000)]
Merge "Add registrationAssociatedUriChanged to ImsRegistrationListener" into mm-wireless-dev
Mitchell Wills [Fri, 19 Feb 2016 02:01:33 +0000 (18:01 -0800)]
Modify WakeupMessage to only send the message if not canceled
Change-Id: I9ca6d3726fe25c706b644bf61119837a7cbe6db1
Randy Pan [Wed, 24 Feb 2016 22:43:09 +0000 (14:43 -0800)]
Retire ScanResult.autoJoinStatus
This attribute is no longer in use.
Bug:
27340037
Change-Id: I2e5dfdc266673388a55ef34a4d088352d2e1723c
Pavel Zhamaitsiak [Fri, 12 Feb 2016 01:19:09 +0000 (17:19 -0800)]
Add registrationAssociatedUriChanged to ImsRegistrationListener
This callback will be used to pass list of associated URIs.
It is needed in case SIM doesn't have line1Number populated.
Bug:
24613146
Change-Id: I698ce58dbedb858dc59836069e6f10fec6d02ae6
Nathan Harold [Wed, 24 Feb 2016 19:55:52 +0000 (19:55 +0000)]
Merge "Adding Error Codes for IWLAN/EPDG Connection" into mm-wireless-dev
Shishir Agrawal [Wed, 24 Feb 2016 17:33:11 +0000 (17:33 +0000)]
Merge "DO NOT MERGE: Multi-SIM - Fixing inconsistent naming in CarrierConfigManager." into mm-wireless-dev
Pierre Imai [Wed, 24 Feb 2016 04:49:24 +0000 (04:49 +0000)]
Merge "Add Connectivity Metrics Logger service" into mm-wireless-dev
Shishir Agrawal [Wed, 17 Feb 2016 23:52:09 +0000 (15:52 -0800)]
DO NOT MERGE: Multi-SIM - Fixing inconsistent naming in CarrierConfigManager.
All MSIM specific calls should not use a suffix/prefix.
Bug:
26772894
Change-Id: I49488dfc41bb7996a1a44447968ec11132e4dac7
Shishir Agrawal [Tue, 23 Feb 2016 22:59:23 +0000 (22:59 +0000)]
Merge "DO NOT MERGE: Add subscription specific TelephonyManager calls." into mm-wireless-dev
Pankaj Kanwar [Tue, 23 Feb 2016 21:32:15 +0000 (21:32 +0000)]
Merge changes from topic 'notification' into mm-wireless-dev
* changes:
Changing string in notification when data is blocked. b/
25209821
Changing string in notification when data is blocked. b/
25209821