Home
last modified time | relevance | path

Searched refs:PublishSettings (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/nan/
DPublishSettings.java30 public class PublishSettings implements Parcelable { class
62 private PublishSettings(int publishType, int publichCount, int ttlSec) { in PublishSettings() method in PublishSettings
86 public static final Creator<PublishSettings> CREATOR = new Creator<PublishSettings>() {
88 public PublishSettings[] newArray(int size) {
89 return new PublishSettings[size];
93 public PublishSettings createFromParcel(Parcel in) {
97 return new PublishSettings(publishType, publishCount, ttlSec);
107 if (!(o instanceof PublishSettings)) { in equals()
111 PublishSettings lhs = (PublishSettings) o; in equals()
200 public PublishSettings build() { in build()
[all …]
DWifiNanManager.java140 public WifiNanPublishSession publish(PublishData publishData, PublishSettings publishSettings, in publish()
152 PublishSettings publishSettings, WifiNanSessionListener listener, int events) { in publishRaw()
155 if (publishSettings.mPublishType == PublishSettings.PUBLISH_TYPE_UNSOLICITED in publishRaw()
160 if (publishSettings.mPublishType == PublishSettings.PUBLISH_TYPE_SOLICITED in publishRaw()
185 public void publish(int sessionId, PublishData publishData, PublishSettings publishSettings) { in publish()
188 if (publishSettings.mPublishType == PublishSettings.PUBLISH_TYPE_UNSOLICITED in publish()
193 if (publishSettings.mPublishType == PublishSettings.PUBLISH_TYPE_SOLICITED in publish()
DIWifiNanManager.aidl25 import android.net.wifi.nan.PublishSettings;
43 void publish(int sessionId, in PublishData publishData, in PublishSettings publishSettings); in publish()
DPublishSettings.aidl19 parcelable PublishSettings;
DWifiNanPublishSession.java44 public void publish(PublishData publishData, PublishSettings publishSettings) { in publish()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/
DWifiNanManagerTest.java24 import android.net.wifi.nan.PublishSettings;
330 final int publishType = PublishSettings.PUBLISH_TYPE_SOLICITED; in testPublishSettingsBuilder()
334 PublishSettings publishSetting = new PublishSettings.Builder().setPublishType(publishType) in testPublishSettingsBuilder()
345 new PublishSettings.Builder().setPublishType(5); in testPublishSettingsBuilderBadPublishType()
351 new PublishSettings.Builder().setPublishCount(-4); in testPublishSettingsBuilderNegativeCount()
357 new PublishSettings.Builder().setTtlSec(-10); in testPublishSettingsBuilderNegativeTtl()
362 final int publishType = PublishSettings.PUBLISH_TYPE_SOLICITED; in testPublishSettingsParcel()
366 PublishSettings configSetting = new PublishSettings.Builder().setPublishType(publishType) in testPublishSettingsParcel()
377 PublishSettings rereadPublishSettings = PublishSettings.CREATOR.createFromParcel(parcelR); in testPublishSettingsParcel()
DWifiNanStateManagerTest.java33 import android.net.wifi.nan.PublishSettings;
201 PublishSettings publishSettings = new PublishSettings.Builder() in testPublish()
202 .setPublishType(PublishSettings.PUBLISH_TYPE_UNSOLICITED) in testPublish()
281 PublishSettings publishSettings = new PublishSettings.Builder() in testPublishNoCallbacks()
282 .setPublishType(PublishSettings.PUBLISH_TYPE_UNSOLICITED) in testPublishNoCallbacks()
592 PublishSettings publishSettings = new PublishSettings.Builder() in testMultipleMessageSources()
593 .setPublishType(PublishSettings.PUBLISH_TYPE_UNSOLICITED).build(); in testMultipleMessageSources()
691 PublishSettings publishSettings = new PublishSettings.Builder() in testMessageWhilePeerChangesIdentity()
692 .setPublishType(PublishSettings.PUBLISH_TYPE_UNSOLICITED).build(); in testMessageWhilePeerChangesIdentity()
915 PublishSettings publishSettings = new PublishSettings.Builder() in testDisconnectWithPendingTransactions()
[all …]
DWifiNanHalTest.java26 import android.net.wifi.nan.PublishSettings;
125 testPublish(transactionId, publishId, PublishSettings.PUBLISH_TYPE_UNSOLICITED, serviceName, in testPublishUnsolicited()
146 testPublish(transactionId, publishId, PublishSettings.PUBLISH_TYPE_SOLICITED, serviceName, in testPublishSolicited()
658 PublishSettings publishSettings = new PublishSettings.Builder().setPublishType(publishType) in testPublish()
671 equalTo(publishType == PublishSettings.PUBLISH_TYPE_UNSOLICITED ? 0 : 1)); in testPublish()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/
DWifiNanServiceImpl.java26 import android.net.wifi.nan.PublishSettings;
179 public void publish(int sessionId, PublishData publishData, PublishSettings publishSettings) { in publish()
DWifiNanSessionState.java21 import android.net.wifi.nan.PublishSettings;
76 public void publish(short transactionId, PublishData data, PublishSettings settings) { in publish()
DWifiNanNative.java21 import android.net.wifi.nan.PublishSettings;
183 PublishData publishData, PublishSettings publishSettings); in publishNative()
186 PublishSettings publishSettings) { in publish()
DWifiNanStateManager.java23 import android.net.wifi.nan.PublishSettings;
168 PublishSettings publishSettings) { in publish()
393 PublishSettings publishSettings = (PublishSettings) data in handleMessage()
742 PublishSettings publishSettings) { in publishLocal()
/frameworks/base/
DAndroid.mk546 frameworks/base/wifi/java/android/net/wifi/nan/PublishSettings.aidl \