/frameworks/base/wifi/java/android/net/wifi/aware/ |
PublishDiscoverySession.java | 24 * {@link WifiAwareSession#publish(PublishConfig, DiscoverySessionCallback, 29 * {@link #updatePublish(PublishConfig)}. 52 * @param publishConfig The new discovery publish session configuration ({@link PublishConfig}). 54 public void updatePublish(@NonNull PublishConfig publishConfig) { 65 mgr.updatePublish(mClientId, mSessionId, publishConfig);
|
IWifiAwareManager.aidl | 25 import android.net.wifi.aware.PublishConfig; 45 void publish(in String callingPackage, int clientId, in PublishConfig publishConfig, 51 void updatePublish(int clientId, int discoverySessionId, in PublishConfig publishConfig);
|
DiscoverySessionCallback.java | 27 * {@link WifiAwareSession#publish(PublishConfig, DiscoverySessionCallback, 37 * {@link WifiAwareSession#publish(PublishConfig, DiscoverySessionCallback, 62 * {@link PublishDiscoverySession#updatePublish(PublishConfig)} or 71 * {@link WifiAwareSession#publish(PublishConfig, DiscoverySessionCallback, 75 * {@link PublishDiscoverySession#updatePublish(PublishConfig)} or 88 * application-specified expiration, e.g. {@link PublishConfig.Builder#setTtlSec(int)} 108 * {@link PublishConfig#PUBLISH_TYPE_UNSOLICITED}, 110 * match filter. For {@link PublishConfig#PUBLISH_TYPE_SOLICITED}, 124 * with {@link PublishConfig.Builder#setRangingEnabled(boolean)}. 138 * {@link PublishConfig#PUBLISH_TYPE_UNSOLICITED} [all...] |
PublishConfig.java | 36 * {@link PublishConfig.Builder}. A publish session is created using 37 * {@link WifiAwareSession#publish(PublishConfig, DiscoverySessionCallback, 39 * {@link PublishDiscoverySession#updatePublish(PublishConfig)}. 41 public final class PublishConfig implements Parcelable { 53 * Configuration is done using {@link PublishConfig.Builder#setPublishType(int)}. 62 * {@link PublishConfig.Builder#setPublishType(int)}. 88 public PublishConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, 102 return "PublishConfig [mServiceName='" + (mServiceName == null ? "<null>" : String.valueOf( 132 public static final Creator<PublishConfig> CREATOR = new Creator<PublishConfig>() { [all...] |
PublishConfig.aidl | 19 parcelable PublishConfig;
|
PeerHandle.java | 33 * {@link PublishConfig.Builder#setServiceSpecificInfo(byte[])}, or match filter, 34 * {@link PublishConfig.Builder#setMatchFilter(java.util.List)}.
|
Characteristics.java | 44 * the parameters of the {@link PublishConfig.Builder#setServiceName(String)} and 57 * {@link PublishConfig.Builder#setServiceSpecificInfo(byte[])}, 71 * {@link PublishConfig.Builder#setMatchFilter(java.util.List)} and
|
WifiAwareManager.java | 56 * {@link WifiAwareSession#publish(PublishConfig, DiscoverySessionCallback, Handler)} and 86 * {@link WifiAwareSession#publish(PublishConfig, DiscoverySessionCallback, Handler)} 98 * the session {@link PublishDiscoverySession#updatePublish(PublishConfig)} and 304 public void publish(int clientId, Looper looper, PublishConfig publishConfig, 306 if (VDBG) Log.v(TAG, "publish(): clientId=" + clientId + ", config=" + publishConfig); 313 mService.publish(mContext.getOpPackageName(), clientId, publishConfig, 322 public void updatePublish(int clientId, int sessionId, PublishConfig publishConfig) { 325 + ", config=" + publishConfig); [all...] |
WifiAwareSession.java | 117 * the specified {@code publishConfig} configuration. The results of the publish operation 131 * {@link PublishDiscoverySession#updatePublish(PublishConfig)}. 139 * @param publishConfig The {@link PublishConfig} specifying the 146 public void publish(@NonNull PublishConfig publishConfig, 158 publishConfig, callback);
|
SubscribeConfig.java | 425 * {@link PublishConfig.Builder#setRangingEnabled(boolean)}. However, ranging may 460 * {@link PublishConfig.Builder#setRangingEnabled(boolean)}. However, ranging may
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
WifiAwareServiceImplTest.java | 42 import android.net.wifi.aware.PublishConfig; 255 PublishConfig publishConfig = new PublishConfig.Builder().setServiceName("valid.value") 257 mDut.publish(mPackageName, clientId, publishConfig, mSessionCallbackMock); 259 verify(mAwareStateManagerMock).publish(clientId, publishConfig, mSessionCallbackMock); 271 PublishConfig publishConfig = new PublishConfig.Builder().setServiceName("something.valid") 277 mDut.publish(mPackageName, clientId, publishConfig, mockCallback) [all...] |
TestUtils.java | 20 import android.net.wifi.aware.PublishConfig; 62 public boolean publish(short transactionId, byte publishId, PublishConfig publishConfig) {
|
WifiAwareStateManagerTest.java | 60 import android.net.wifi.aware.PublishConfig; 663 final PublishConfig publishConfig = new PublishConfig.Builder().build(); 690 mDut.publish(clientId, publishConfig, mockSessionCallback); 692 inOrder.verify(mMockNative).publish(anyShort(), eq((byte) 0), eq(publishConfig)); [all...] |
WifiAwareNativeApiTest.java | 39 import android.net.wifi.aware.PublishConfig; 315 PublishConfig pubDefault = new PublishConfig.Builder().setServiceName("XXX").build(); 316 PublishConfig pubWithRanging = new PublishConfig.Builder().setServiceName(
|
WifiAwareDataPathStateManagerTest.java | 57 import android.net.wifi.aware.PublishConfig; [all...] |
/frameworks/base/wifi/tests/src/android/net/wifi/aware/ |
WifiAwareManagerTest.java | 172 PublishConfig publishConfig = new PublishConfig.Builder().build(); 173 session.publish(publishConfig, mockSessionCallback, mMockLooperHandler); 174 inOrder.verify(mockAwareService).publish(any(), eq(clientId), eq(publishConfig), any()); 181 session.publish(new PublishConfig.Builder().build(), mockSessionCallback, 277 final PublishConfig publishConfig = new PublishConfig.Builder().build(); 308 session.publish(publishConfig, mockSessionCallback, mMockLooperHandler) [all...] |
/cts/tests/tests/net/src/android/net/wifi/aware/cts/ |
SingleDeviceTest.java | 34 import android.net.wifi.aware.PublishConfig; 514 PublishConfig publishConfig = new PublishConfig.Builder().setServiceName( 519 session.publish(publishConfig, discoveryCb, mHandler); 526 publishConfig = new PublishConfig.Builder().setServiceName( 528 discoverySession.updatePublish(publishConfig); 538 discoverySession.updatePublish(publishConfig); 559 PublishConfig publishConfig = new PublishConfig.Builder().setServiceName [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
WifiAwareServiceImpl.java | 32 import android.net.wifi.aware.PublishConfig; 292 public void publish(String callingPackage, int clientId, PublishConfig publishConfig, 305 if (publishConfig == null) { 306 throw new IllegalArgumentException("PublishConfig must not be null"); 308 publishConfig.assertValid(mStateManager.getCharacteristics(), 313 Log.v(TAG, "publish: uid=" + uid + ", clientId=" + clientId + ", publishConfig=" 314 + publishConfig + ", callback=" + callback); 317 mStateManager.publish(clientId, publishConfig, callback); 321 public void updatePublish(int clientId, int sessionId, PublishConfig publishConfig) [all...] |
WifiAwareNativeApi.java | 38 import android.net.wifi.aware.PublishConfig; 544 * @param publishConfig Configuration of the discovery session. 546 public boolean publish(short transactionId, byte publishId, PublishConfig publishConfig) { 549 + ", config=" + publishConfig); 561 req.baseConfigs.ttlSec = (short) publishConfig.mTtlSec; 564 convertNativeByteArrayToArrayList(publishConfig.mServiceName, req.baseConfigs.serviceName); 566 convertNativeByteArrayToArrayList(publishConfig.mServiceSpecificInfo, 568 convertNativeByteArrayToArrayList(publishConfig.mMatchFilter, 569 publishConfig.mPublishType == PublishConfig.PUBLISH_TYPE_UNSOLICITE [all...] |
WifiAwareStateManager.java | 32 import android.net.wifi.aware.PublishConfig; 617 public void publish(int clientId, PublishConfig publishConfig, 623 msg.getData().putParcelable(MESSAGE_BUNDLE_KEY_CONFIG, publishConfig); 631 public void updatePublish(int clientId, int sessionId, PublishConfig publishConfig) { 635 msg.obj = publishConfig; [all...] |
WifiAwareDiscoverySessionState.java | 21 import android.net.wifi.aware.PublishConfig; 149 public boolean updatePublish(short transactionId, PublishConfig config) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/ |
DiscoveryBaseTestCase.java | 23 import android.net.wifi.aware.PublishConfig; 288 PublishConfig publishConfig = new PublishConfig.Builder().setServiceName( 291 matchFilter).setPublishType(mIsUnsolicited ? PublishConfig.PUBLISH_TYPE_UNSOLICITED 292 : PublishConfig.PUBLISH_TYPE_SOLICITED).setTerminateNotificationEnabled( 294 if (DBG) Log.d(TAG, "executeTestPublisher: publishConfig=" + publishConfig); 295 mWifiAwareSession.publish(publishConfig, mDiscoveryCb, mHandler);
|
DataPathOutOfBandTestCase.java | 27 import android.net.wifi.aware.PublishConfig; 189 PublishConfig publishConfig = new PublishConfig.Builder().setServiceName( 191 if (DBG) Log.d(TAG, "executeTestResponder: publishConfig=" + publishConfig); 192 mWifiAwareSession.publish(publishConfig, discoveryCb, mHandler);
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
WifiAwareManagerFacade.java | 34 import android.net.wifi.aware.PublishConfig; 227 private static PublishConfig getPublishConfig(JSONObject j) throws JSONException { 232 PublishConfig.Builder builder = new PublishConfig.Builder(); 414 @RpcParameter(name = "publishConfig") JSONObject publishConfig, 431 session.publish(getPublishConfig(publishConfig), 442 @RpcParameter(name = "publishConfig", description = "Publish configuration") 443 JSONObject publishConfig) 456 ((PublishDiscoverySession) session).updatePublish(getPublishConfig(publishConfig)); [all...] |
/frameworks/base/wifi/java/android/net/wifi/rtt/ |
RangingRequest.java | 178 * <li>Type {@link android.net.wifi.aware.PublishConfig#PUBLISH_TYPE_UNSOLICITED}. 180 * {@link android.net.wifi.aware.PublishConfig.Builder#setRangingEnabled(boolean)}. 203 * <li>Type {@link android.net.wifi.aware.PublishConfig#PUBLISH_TYPE_UNSOLICITED}. 205 * {@link android.net.wifi.aware.PublishConfig.Builder#setRangingEnabled(boolean)}.
|