Searched refs:subscribeType (Results 1 – 3 of 3) sorted by relevance
62 private SubscribeSettings(int subscribeType, int publichCount, int ttlSec) { in SubscribeSettings() argument63 mSubscribeType = subscribeType; in SubscribeSettings()94 int subscribeType = in.readInt();97 return new SubscribeSettings(subscribeType, subscribeCount, ttlSec);149 public Builder setSubscribeType(int subscribeType) { in setSubscribeType() argument150 if (subscribeType < SUBSCRIBE_TYPE_PASSIVE || subscribeType > SUBSCRIBE_TYPE_ACTIVE) { in setSubscribeType()151 throw new IllegalArgumentException("Invalid subscribeType - " + subscribeType); in setSubscribeType()153 mSubscribeType = subscribeType; in setSubscribeType()
211 final int subscribeType = SubscribeSettings.SUBSCRIBE_TYPE_PASSIVE; in testSubscribeSettingsBuilder() local216 .setSubscribeType(subscribeType).setSubscribeCount(subscribeCount) in testSubscribeSettingsBuilder()219 collector.checkThat("mSubscribeType", subscribeType, in testSubscribeSettingsBuilder()246 final int subscribeType = SubscribeSettings.SUBSCRIBE_TYPE_PASSIVE; in testSubscribeSettingsParcel() local251 .setSubscribeType(subscribeType).setSubscribeCount(subscribeCount) in testSubscribeSettingsParcel()
697 private void testSubscribe(short transactionId, int subscribeId, int subscribeType, in testSubscribe() argument707 .setSubscribeType(subscribeType).setSubscribeCount(subscribeCount) in testSubscribe()720 equalTo(subscribeType)); in testSubscribe()