Home
last modified time | relevance | path

Searched refs:PublishConfig (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/aware/
DPublishConfig.java41 public final class PublishConfig implements Parcelable { class
88 public PublishConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, in PublishConfig() method in PublishConfig
132 …c static final @android.annotation.NonNull Creator<PublishConfig> CREATOR = new Creator<PublishCon…
134 public PublishConfig[] newArray(int size) {
135 return new PublishConfig[size];
139 public PublishConfig createFromParcel(Parcel in) {
148 return new PublishConfig(serviceName, ssi, matchFilter, publishType,
159 if (!(o instanceof PublishConfig)) { in equals()
163 PublishConfig lhs = (PublishConfig) o; in equals()
389 public PublishConfig build() { in build()
[all …]
DIWifiAwareManager.aidl25 import android.net.wifi.aware.PublishConfig;
45 void publish(in String callingPackage, int clientId, in PublishConfig publishConfig, in publish()
51 void updatePublish(int clientId, int discoverySessionId, in PublishConfig publishConfig); in updatePublish()
DPublishConfig.aidl19 parcelable PublishConfig;
DPublishDiscoverySession.java54 public void updatePublish(@NonNull PublishConfig publishConfig) { in updatePublish()
DWifiAwareSession.java146 public void publish(@NonNull PublishConfig publishConfig, in publish()
DWifiAwareManager.java293 public void publish(int clientId, Looper looper, PublishConfig publishConfig, in publish()
311 public void updatePublish(int clientId, int sessionId, PublishConfig publishConfig) { in updatePublish()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareServiceImplTest.java42 import android.net.wifi.aware.PublishConfig;
257 PublishConfig publishConfig = new PublishConfig.Builder().setServiceName("valid.value") in testFailOnAccessClientIdFromWrongUid()
273 PublishConfig publishConfig = new PublishConfig.Builder().setServiceName("something.valid") in testFailOnPublishRangingWithoutRttFeature()
357 PublishConfig publishConfig = new PublishConfig.Builder().setServiceName("something.valid") in testPublish()
423 PublishConfig publishConfig = new PublishConfig.Builder().setServiceName("something.valid") in testUpdatePublish()
438 PublishConfig publishConfig = new PublishConfig.Builder() in testUpdatePublishInvalid()
638 PublishConfig publishConfig = new PublishConfig(serviceName.getBytes(), ssi, matchFilter, in doBadPublishConfiguration()
639 PublishConfig.PUBLISH_TYPE_UNSOLICITED, 0, true, false); in doBadPublishConfiguration()
DTestUtils.java20 import android.net.wifi.aware.PublishConfig;
62 public boolean publish(short transactionId, byte publishId, PublishConfig publishConfig) { in publish()
DWifiAwareStateManagerTest.java60 import android.net.wifi.aware.PublishConfig;
657 final PublishConfig publishConfig = new PublishConfig.Builder().build(); in testHalNoResponseTimeout()
721 PublishConfig publishConfig = new PublishConfig.Builder().build(); in testPublishFail()
791 PublishConfig publishConfig = new PublishConfig.Builder().build(); in testPublishSuccessTerminated()
873 PublishConfig publishConfig = new PublishConfig.Builder().setRangingEnabled(true).build(); in testPublishUpdateFail()
984 PublishConfig publishConfig = new PublishConfig.Builder().build(); in testDisconnectWhilePublishPending()
1501 PublishConfig publishConfig = new PublishConfig.Builder().setServiceName(serviceName) in testMultipleMessageSources()
1502 .setPublishType(PublishConfig.PUBLISH_TYPE_UNSOLICITED).build(); in testMultipleMessageSources()
1603 PublishConfig publishConfig = new PublishConfig.Builder().setServiceName(serviceName) in testMessageWhilePeerChangesIdentity()
1604 .setPublishType(PublishConfig.PUBLISH_TYPE_UNSOLICITED).build(); in testMessageWhilePeerChangesIdentity()
[all …]
DWifiAwareNativeApiTest.java44 import android.net.wifi.aware.PublishConfig;
346 PublishConfig pubDefault = new PublishConfig.Builder().setServiceName("XXX").build(); in testDiscoveryRangingSettings()
347 PublishConfig pubWithRanging = new PublishConfig.Builder().setServiceName( in testDiscoveryRangingSettings()
DWifiAwareDataPathStateManagerTest.java60 import android.net.wifi.aware.PublishConfig;
1592 final PublishConfig publishConfig = new PublishConfig.Builder().build(); in getSessionNetworkRequestMore()
1724 final PublishConfig publishConfig = new PublishConfig.Builder().build(); in initDataPathEndPoint()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java179 PublishConfig publishConfig = new PublishConfig.Builder().build(); in testConnectFlow()
188 session.publish(new PublishConfig.Builder().build(), mockSessionCallback, in testConnectFlow()
284 final PublishConfig publishConfig = new PublishConfig.Builder().build(); in testPublishFlow()
384 final PublishConfig publishConfig = new PublishConfig.Builder().build(); in testPublishRemoteTerminate()
824 PublishConfig publishConfig = new PublishConfig.Builder().build(); in testPublishConfigBuilderDefaults()
831 equalTo(PublishConfig.PUBLISH_TYPE_UNSOLICITED)); in testPublishConfigBuilderDefaults()
843 final int publishType = PublishConfig.PUBLISH_TYPE_SOLICITED; in testPublishConfigBuilder()
848 PublishConfig publishConfig = new PublishConfig.Builder().setServiceName(serviceName) in testPublishConfigBuilder()
873 final int publishType = PublishConfig.PUBLISH_TYPE_SOLICITED; in testPublishConfigParcel()
878 PublishConfig publishConfig = new PublishConfig.Builder().setServiceName(serviceName) in testPublishConfigParcel()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDiscoverySessionState.java21 import android.net.wifi.aware.PublishConfig;
149 public boolean updatePublish(short transactionId, PublishConfig config) { in updatePublish()
DWifiAwareServiceImpl.java32 import android.net.wifi.aware.PublishConfig;
293 public void publish(String callingPackage, int clientId, PublishConfig publishConfig, in publish()
322 public void updatePublish(int clientId, int sessionId, PublishConfig publishConfig) { in updatePublish()
DWifiAwareStateManager.java32 import android.net.wifi.aware.PublishConfig;
622 public void publish(int clientId, PublishConfig publishConfig, in publish()
636 public void updatePublish(int clientId, int sessionId, PublishConfig publishConfig) { in updatePublish()
1594 PublishConfig publishConfig = (PublishConfig) msg.getData() in processCommand()
1604 PublishConfig publishConfig = (PublishConfig) msg.obj; in processCommand()
2304 private boolean publishLocal(short transactionId, int clientId, PublishConfig publishConfig, in publishLocal()
2332 PublishConfig publishConfig) { in updatePublishLocal()
2677 PublishConfig publishConfig = completedCommand.getData().getParcelable( in onSessionConfigSuccessLocal()
DWifiAwareNativeApi.java38 import android.net.wifi.aware.PublishConfig;
550 public boolean publish(short transactionId, byte publishId, PublishConfig publishConfig) { in publish()
573 publishConfig.mPublishType == PublishConfig.PUBLISH_TYPE_UNSOLICITED in publish()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...