History log of /frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9740e468bc895cbc08c71aecc35fc56c3faafa06 08-Feb-2014 Andres Morales <anmorales@google.com> interface for nfc handover supplicant commands

expose:
NFC_GET_HANDOVER_SEL
NFC_GET_HANDOVER_REQ
NFC_REPORT_HANDOVER

These are used in for setting up WFD with NFC and
are only accessible given the CONNECTIVITY_INTERNAL
permission.

Change-Id: Ia43afc137d474822cad896d335530654081a808c
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
1f3ecaae6303d5ee6c5ca8499262c9962f036365 04-May-2013 Chong Zhang <chz@google.com> wifi-display: add certification options

When certification mode is enabled:

- Pass wfd session info to wifi display settings

- Allow sink to connect to source

- Add interface in display manager for pausing/resuming session

- Add interface in WifiP2pManager for setting lc, oc and starting
autonomous GO

Note that we're compliant regardless of certification mode, but
some confusing options (eg. allowing incoming connection from
sink) we want to hide when not being tested.

Bug: 9371882
Change-Id: Icc7dcae4e046453796cfa03f5f197055fabf234b
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
8b485adffd7eaa7b7cab4c444b3d65097ef40a14 28-Mar-2013 Irfan Sheriff <isheriff@google.com> Add support for setMiracastMode

Usage is setMiracastMode(WifiP2pManager.MIRACAST_SOURCE) or
setMiracastMode(WifiP2pManager.MIRACAST_SINK) as an example.
Only available for internal use and can be called as long as
driver is active. P2p connection is not needed for it to be
called

Bug: 8493089
Change-Id: I1f87eaf3311212aae980077de26c05651a8cc811
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
f118043ca726c65f04cddc6321c9e820b577fc6f 13-Dec-2012 Irfan Sheriff <isheriff@google.com> P2p cleanup

- Clean up handling of mSavedPeerConfig
- Add argument protection
- Split out WPS handling on GO into a separate API. This was almost hacky
right now for applications and was working in an undocumented way
- Refactor connect function call and fix updating group capability

Change-Id: I26211c72ad60c6b6c939ad7473fcf2fc633f3010
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
3a67e2515bff73fab57621b1f9966662e83b7881 08-Dec-2012 Irfan Sheriff <isheriff@google.com> Expose more details in broadcasts

Expose details in broadcasts and do the necessary clean up alongside

Change-Id: I9011d51675a233aa3542f097c8a489c2095103b1
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
ef96a43a3c9277a2b63cce5ead0618281ac263b1 06-Dec-2012 Irfan Sheriff <isheriff@google.com> Remove exposing dialog handling to apps

This was a hidden API that has little value in being exposed due to
persistence now being supported on the platform.

The only use case for this is NFC, and we are going to add support
for that in official way

Change-Id: I20d97c8fd81e50fc610b4983b613e26ebaa72578
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
ab4cd45133ccea6a66fb081f9b2a8d14eb3e4f1d 16-Aug-2012 Andreas Huber <andih@google.com> P2p API for WFD

Change-Id: I3914a515313654f7032d8bb102afebf0ed776783
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
0879d03f0a5caa108a0a7320442d57629f9ced81 16-Aug-2012 Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com> Added a persistent feature in WiFi Direct.

Provide a new feature to use persistent group at default.
In the normal connect sequence, if the persistent profile has been
stored, try to use it. Otherwise, a new persistent group is created.
If the persistent profiles are stored over 32, an old profile is
deleted automatically.

Change-Id: Iccb9fa044f1907f0818cd259275e1675f4c3e222
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
527ba07b637cedf206fec0d3b0cf92141700a23c 09-May-2012 Irfan Sheriff <isheriff@google.com> Use Map for DnsSd TXT record

Bug: 6434844
Change-Id: I767077585f501b46026ed34ec3e778d3e53209cc
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
bfb27bbefb013220af699881d486cc04be5ec1f5 14-Feb-2012 Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com> Allow override of p2p dialogs

By default, we show dialogs for connection requests and for
user interaction for pin input from the framework.

For applications, that want to make the experience more seamless
we should allow automatic discovery and connection as long
as one app can control it. We allow this for a foreground
app alone right now.

This will be a hidden API for now.

Bug: 6411069
Change-Id: Id342e933073d30eb58bf5a03a47ca26a64df8ddb
Signed-off-by: isheriff@google.com
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
2bdefcab74d4ee21ad4bc1e90b30aeb7eac589e0 26-Apr-2012 Irfan Sheriff <isheriff@google.com> Add support for changing p2p device name

Change-Id: Ie13fe2adedd0bac6aa07b3369c4d6a05ef33cd24
Signed-off-by: isheriff@google.com
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
232ebad9ed1d81d5eab12e0b41cbe522e9a3c320 20-Apr-2012 Irfan Sheriff <isheriff@google.com> Expose NO_SERVICE_REQUESTS error condition

Change-Id: I45214557579fc82faa93a41d22c0890a218b091e
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
8bf825f48fde77cb2feb8720aac17093581bb085 14-Apr-2012 Irfan Sheriff <isheriff@google.com> Open p2p pre-association service discovery API

This allows applications to filter out the devices by the
services supported for the purpose of establishing a
connection.

so, a game app can connect to devices that support the game,
and a media streaming app can filter and connect only to
the available media display devices

Change-Id: Ia792e292d2ca771beeb4ca3b007a047527c19229
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
21ba8153325e010224c6bc75a0acdc98b6ca82e8 05-Apr-2012 Irfan Sheriff <isheriff@google.com> Pre-association service discovery support

Add UPnp, Bonjour and vendor specific support for discovering services on
Wi-Fi direct before establishing a connection.

Change-Id: I1c1f3427180abdc80a4e682e713adc7f0326c5ef
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
b5e00bda40398b8738192abfe9b745464a54865a 02-Apr-2012 Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com> Fix key handling

putListener() returns 0 when the argument is null. And The key value of listener
registered first is always 0. For this reason, if the p2p functions are called continuously
and first call is without listener and the second call is with listener, then the message
against first call wrongly pick up the second call's listener because the key value is
the same. In order to avoid this issue, we don't use 0 as the valid listener key.

Change-Id: I0cc960b2ad37f17cf7f528d839b39aa272b83670
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
c111d1caa8d4cc5d2139b5abd4d2db1f78560eff 29-Mar-2012 Irfan Sheriff <isheriff@google.com> Add discovery broadcasts for p2p

This will allow apps to figure out if discovery is active or not
and based on that initiate a new discovery for fresh connections

Change-Id: I4778f135fdd88773e4f0d50c384f9b6ebf561e6d
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
7d6d9c005e5cfad787bb62b7fee6be2d75b13ca3 11-Jan-2012 Irfan Sheriff <isheriff@google.com> Initial support for concurrency

Use of multiple socket connections over wlan0 and p2p and
p2p state machine is now controlled entirely from wifi state machine

Add discovery stop to allow STA scans to proceed after p2p is used

Change-Id: I790c9112d3f475f638f06fc3ae9e191f6d90ef35
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
651cdfcbac6245f570475991588ddc2d30265e8d 07-Sep-2011 Irfan Sheriff <isheriff@google.com> Unhide wifi p2p API

Bug: 5247957
Change-Id: Id93e30c0cb60f361ba13a840de8f843415777336
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
511f8e2ff23c480808d831125f3c93d4cbd15f59 08-Sep-2011 Irfan Sheriff <isheriff@google.com> Merge "Use hasSystemFeature() API to check for p2p"
a8f63a38a0570d2521d5db73f05218d114fa902a 07-Sep-2011 Irfan Sheriff <isheriff@google.com> Use hasSystemFeature() API to check for p2p

Bug: 5267396
Change-Id: I4ff3f77c15322564f63beea793c4585cece596e0
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
6f7d385d964949e507dcc9c88012372f48d0bce7 07-Sep-2011 Irfan Sheriff <isheriff@google.com> Update documentation and cleanup to unhide API

Bug: 5247957
Change-Id: I3ef8ac013eec32eb540178ea5febec3d4c0a3428
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
4be4d31f34a0fd0e23de1cbda311c07412f8d0b8 03-Sep-2011 Irfan Sheriff <isheriff@google.com> Fix p2p API interface to framework

- Update the WifiP2pGroup class
- Add reason code response for all failures
- Fix display of self in peer list
- Retain p2p group when explicitly created by API and fix join behavior

Bug: 5247957
Change-Id: Ibd9b163887db1c8a9dd8213253fda20c436a49e3
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
9cc2718abc0152d79e3e8bf23be94ddd3cc9db87 01-Sep-2011 Irfan Sheriff <isheriff@google.com> Prepare for exposing p2p API

First part of documentation and cleanup before we can unhide
the p2p API for review by API council.

Bug: 5247957
Change-Id: Idb52f0b699d23e22aa829f60cfac2c98451d2e22
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
ea5b16ac5751022de73e8f1225407eb01e7f1824 24-Aug-2011 Irfan Sheriff <isheriff@google.com> Update p2p state machine and API

- Simplify the API with minimal needed functionality
- Fix responses for all async messages from the framework
- Fix state machine handling of connection setup and supplicant communication

Change-Id: I2724c83760b2aaa2068f9cd81ca0754753f83220
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
aea743aaa43a833fd8ff3dc56205197583152d5f 30-Jul-2011 repo sync <isheriff@google.com> P2p enhancements

- ConnectivityService interaction and support for running dhcp server
and client

- State machine enhancements for connectivity interaction

Change-Id: Iba3beb8c87554ffd67a7b7e852bbb4dd8666a4f5
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java
55bc5f3e0408bcb5a39a6732de0b2d1aa99a55be 24-Jun-2011 repo sync <isheriff@google.com> Updated: Wi-Fi p2p framework

First stage. Get the bones in right now even though
we are not ready on the native side.

Once, we have things underneath working - we will further update the
framework

Change-Id: I4a7dab5cd4267373dc5f8989ae4122f91c384ed5
/frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pManager.java