Home
last modified time | relevance | path

Searched refs:WifiP2pWfdInfo (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/wifi/tests/src/android/net/wifi/p2p/
DWifiP2pWfdInfoTest.java38 private WifiP2pWfdInfo mSourceInfo = new WifiP2pWfdInfo(
46 mSourceInfo.setDeviceType(WifiP2pWfdInfo.DEVICE_TYPE_WFD_SOURCE); in setUp()
56 WifiP2pWfdInfo info = new WifiP2pWfdInfo(); in testSettersGetters()
61 info.setDeviceType(WifiP2pWfdInfo.DEVICE_TYPE_WFD_SOURCE); in testSettersGetters()
62 assertEquals(WifiP2pWfdInfo.DEVICE_TYPE_WFD_SOURCE, info.getDeviceType()); in testSettersGetters()
84 WifiP2pWfdInfo copiedInfo = new WifiP2pWfdInfo(mSourceInfo); in testCopyOperator()
103 WifiP2pWfdInfo fromParcel = WifiP2pWfdInfo.CREATOR.createFromParcel(parcelR); in testParcelOperation()
DWifiP2pDeviceTest.java95 device.wfdInfo = new WifiP2pWfdInfo(); in testCopyConstructorWithUpdatedValues()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pWfdInfo.java36 public final class WifiP2pWfdInfo implements Parcelable { class
84 public WifiP2pWfdInfo() {} in WifiP2pWfdInfo() method in WifiP2pWfdInfo
88 public WifiP2pWfdInfo(int devInfo, int ctrlPort, int maxTput) { in WifiP2pWfdInfo() method in WifiP2pWfdInfo
217 public WifiP2pWfdInfo(@Nullable WifiP2pWfdInfo source) { in WifiP2pWfdInfo() method in WifiP2pWfdInfo
243 public static final @NonNull Creator<WifiP2pWfdInfo> CREATOR =
244 new Creator<WifiP2pWfdInfo>() {
245 public WifiP2pWfdInfo createFromParcel(Parcel in) {
246 WifiP2pWfdInfo device = new WifiP2pWfdInfo();
251 public WifiP2pWfdInfo[] newArray(int size) {
252 return new WifiP2pWfdInfo[size];
DWifiP2pDevice.java129 public WifiP2pWfdInfo wfdInfo;
230 wfdInfo = new WifiP2pWfdInfo(parseHex(str.substring(0,4)), in WifiP2pDevice()
244 public WifiP2pWfdInfo getWfdInfo() { in getWfdInfo()
370 wfdInfo = new WifiP2pWfdInfo(source.wfdInfo); in WifiP2pDevice()
409 device.wfdInfo = WifiP2pWfdInfo.CREATOR.createFromParcel(in);
DWifiP2pManager.java1695 public void setWfdInfo(@NonNull Channel c, @NonNull WifiP2pWfdInfo wfdInfo, in setWfdInfo()
1703 public void setWFDInfo(@NonNull Channel c, @NonNull WifiP2pWfdInfo wfdInfo, in setWFDInfo()
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java41 import android.net.wifi.p2p.WifiP2pWfdInfo;
293 WifiP2pWfdInfo wfdInfo = new WifiP2pWfdInfo(); in updateWfdEnableState()
295 wfdInfo.setDeviceType(WifiP2pWfdInfo.DEVICE_TYPE_WFD_SOURCE); in updateWfdEnableState()
325 WifiP2pWfdInfo wfdInfo = new WifiP2pWfdInfo(); in updateWfdEnableState()
1045 WifiP2pWfdInfo wfdInfo = device.getWfdInfo(); in isWifiDisplay()
1052 return deviceType == WifiP2pWfdInfo.DEVICE_TYPE_PRIMARY_SINK in isPrimarySinkDeviceType()
1053 || deviceType == WifiP2pWfdInfo.DEVICE_TYPE_SOURCE_OR_PRIMARY_SINK; in isPrimarySinkDeviceType()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallback.java26 import android.net.wifi.p2p.WifiP2pWfdInfo;
129 device.wfdInfo = new WifiP2pWfdInfo( in onDeviceFound()
DWifiP2pServiceImpl.java59 import android.net.wifi.p2p.WifiP2pWfdInfo;
1522 WifiP2pWfdInfo d = (WifiP2pWfdInfo) message.obj; in processMessage()
3774 private boolean setWfdInfo(WifiP2pWfdInfo wfdInfo) { in setWfdInfo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java68 import android.net.wifi.p2p.WifiP2pWfdInfo;
519 Messenger replyMessenger, WifiP2pWfdInfo wfdInfo) throws Exception { in sendSetWfdInfoMsg()
2918 mTestThisDevice.wfdInfo = new WifiP2pWfdInfo(); in testSetWfdInfoSuccessWithWfdEnabled()
2947 mTestThisDevice.wfdInfo = new WifiP2pWfdInfo(); in testSetWfdInfoSuccessWithWfdDisabled()
2974 mTestThisDevice.wfdInfo = new WifiP2pWfdInfo(); in testSetWfdInfoFailureWhenWfdPermissionDenied()
3021 mTestThisDevice.wfdInfo = new WifiP2pWfdInfo(); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure1()
3049 mTestThisDevice.wfdInfo = new WifiP2pWfdInfo(); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure2()
3079 mTestThisDevice.wfdInfo = new WifiP2pWfdInfo(); in testSetWfdInfoFailureWithWfdDisabledWhenNativeCallFailure()
3102 mTestThisDevice.wfdInfo = new WifiP2pWfdInfo(); in testSetWfdInfoFailureWhenP2pDisabled()
3122 mTestThisDevice.wfdInfo = new WifiP2pWfdInfo(); in testSetWfdInfoFailureWhenWfdPermissionDeniedAndP2pDisabled()
[all …]
/frameworks/base/wifi/api/
Dcurrent.txt842 method @Nullable public android.net.wifi.p2p.WifiP2pWfdInfo getWfdInfo();
1007 public final class WifiP2pWfdInfo implements android.os.Parcelable {
1008 ctor public WifiP2pWfdInfo();
1009 ctor public WifiP2pWfdInfo(@Nullable android.net.wifi.p2p.WifiP2pWfdInfo);
1024 …ull public static final android.os.Parcelable.Creator<android.net.wifi.p2p.WifiP2pWfdInfo> CREATOR;
Dsystem-current.txt868 …d.net.wifi.p2p.WifiP2pManager.Channel, @NonNull android.net.wifi.p2p.WifiP2pWfdInfo, @Nullable and…
/frameworks/base/api/
Dsystem-lint-baseline.txt51 …fo(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pWfdInfo, android.net.w…
Dsystem-current.txt7867 …d.net.wifi.p2p.WifiP2pManager.Channel, @NonNull android.net.wifi.p2p.WifiP2pWfdInfo, @Nullable and…
Dcurrent.txt31922 method @Nullable public android.net.wifi.p2p.WifiP2pWfdInfo getWfdInfo();
32087 public final class WifiP2pWfdInfo implements android.os.Parcelable {
32088 ctor public WifiP2pWfdInfo();
32089 ctor public WifiP2pWfdInfo(@Nullable android.net.wifi.p2p.WifiP2pWfdInfo);
32104 …ull public static final android.os.Parcelable.Creator<android.net.wifi.p2p.WifiP2pWfdInfo> CREATOR;