Home
last modified time | relevance | path

Searched refs:subscribeType (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/aware/
DSubscribeConfig.java96 int subscribeType, int ttlSec, boolean enableTerminateNotification, in SubscribeConfig() argument
102 mSubscribeType = subscribeType; in SubscribeConfig()
160 int subscribeType = in.readInt();
168 return new SubscribeConfig(serviceName, ssi, matchFilter, subscribeType, ttlSec,
370 public Builder setSubscribeType(@SubscribeTypes int subscribeType) { in setSubscribeType() argument
371 if (subscribeType < SUBSCRIBE_TYPE_PASSIVE || subscribeType > SUBSCRIBE_TYPE_ACTIVE) { in setSubscribeType()
372 throw new IllegalArgumentException("Invalid subscribeType - " + subscribeType); in setSubscribeType()
374 mSubscribeType = subscribeType; in setSubscribeType()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java743 final int subscribeType = SubscribeConfig.SUBSCRIBE_TYPE_PASSIVE; in testSubscribeConfigBuilder() local
752 .setSubscribeType(subscribeType) in testSubscribeConfigBuilder()
763 collector.checkThat("mSubscribeType", subscribeType, in testSubscribeConfigBuilder()
779 final int subscribeType = SubscribeConfig.SUBSCRIBE_TYPE_PASSIVE; in testSubscribeConfigParcel() local
788 .setSubscribeType(subscribeType) in testSubscribeConfigParcel()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java665 req.subscribeType = subscribeConfig.mSubscribeType; in subscribe()