Home
last modified time | relevance | path

Searched refs:mTtlSec (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/aware/
DPublishConfig.java79 public final int mTtlSec; field in PublishConfig
95 mTtlSec = ttlSec; in PublishConfig()
111 + ", mPublishType=" + mPublishType + ", mTtlSec=" + mTtlSec in toString()
127 dest.writeInt(mTtlSec); in writeToParcel()
168 && mTtlSec == lhs.mTtlSec in equals()
176 Arrays.hashCode(mMatchFilter), mPublishType, mTtlSec, mEnableTerminateNotification, in hashCode()
197 if (mTtlSec < 0) { in assertValid()
234 private int mTtlSec = 0; field in PublishConfig.Builder
342 mTtlSec = ttlSec; in setTtlSec()
391 mTtlSec, mEnableTerminateNotification, mEnableRanging); in build()
DSubscribeConfig.java77 public final int mTtlSec; field in SubscribeConfig
103 mTtlSec = ttlSec; in SubscribeConfig()
122 + ", mSubscribeType=" + mSubscribeType + ", mTtlSec=" + mTtlSec in toString()
141 dest.writeInt(mTtlSec); in writeToParcel()
188 lhs.mMatchFilter) && mSubscribeType == lhs.mSubscribeType && mTtlSec == lhs.mTtlSec in equals()
210 mSubscribeType, mTtlSec, mEnableTerminateNotification, mMinDistanceMmSet, in hashCode()
240 if (mTtlSec < 0) { in assertValid()
288 private int mTtlSec = 0; field in SubscribeConfig.Builder
398 mTtlSec = ttlSec; in setTtlSec()
494 mSubscribeType, mTtlSec, mEnableTerminateNotification, in build()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java729 collector.checkThat("mTtlSec", subscribeConfig.mTtlSec, equalTo(0)); in testSubscribeConfigBuilderDefaults()
765 collector.checkThat("mTtlSec", subscribeTtl, equalTo(subscribeConfig.mTtlSec)); in testSubscribeConfigBuilder()
832 collector.checkThat("mTtlSec", publishConfig.mTtlSec, equalTo(0)); in testPublishConfigBuilderDefaults()
862 collector.checkThat("mTtlSec", publishTtl, equalTo(publishConfig.mTtlSec)); in testPublishConfigBuilder()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java565 req.baseConfigs.ttlSec = (short) publishConfig.mTtlSec; in publish()
630 req.baseConfigs.ttlSec = (short) subscribeConfig.mTtlSec; in subscribe()