Searched refs:mDeviceRole (Results 1 – 5 of 5) sorted by relevance
61 @DeviceRole private final int mDeviceRole; field in SessionParameters81 return mDeviceRole; in getDeviceRole()115 mDeviceRole = deviceRole; in SessionParameters()127 @DeviceRole private int mDeviceRole = DEVICE_ROLE_UNKNOWN; field in SessionParameters.Builder158 mDeviceRole = deviceRole; in setDeviceRole()233 Preconditions.checkArgument(mDeviceRole != DEVICE_ROLE_UNKNOWN, "Unknown deviceRole"); in build()255 mDeviceRole, in build()
64 private int mDeviceRole; field in ThreadNetworkSettingsFragment75 private static String deviceRoleToString(int mDeviceRole) { in deviceRoleToString() argument76 switch (mDeviceRole) { in deviceRoleToString()137 public void onDeviceRoleChanged(int mDeviceRole) { in onViewCreated()138 ThreadNetworkSettingsFragment.this.mDeviceRole = mDeviceRole; in onViewCreated()242 deviceRoleToString(mDeviceRole))); in updateState()250 deviceRoleToString(mDeviceRole), in updateState()
50 @RangingDeviceRole private final int mDeviceRole; field in FiraOpenSessionParams362 mDeviceRole = deviceRole; in FiraOpenSessionParams()468 return mDeviceRole; in getDeviceRole()859 bundle.putInt(KEY_DEVICE_ROLE, mDeviceRole); in toBundle()865 if (mDeviceRole != RANGING_DEVICE_DT_TAG && in toBundle()1142 private final RequiredParam<Integer> mDeviceRole = new RequiredParam<>(); field in FiraOpenSessionParams.Builder1391 mDeviceRole.set(builder.mDeviceRole.get()); in Builder()1482 mDeviceRole.set(params.mDeviceRole); in Builder()1590 mDeviceRole.set(deviceRole); in setDeviceRole()2196 if (mDeviceRole.get() == RANGING_DEVICE_DT_TAG) { in checkDlTdoaParameters()[all …]
78 public final Optional<Integer> mDeviceRole; field in ConfigurationParams138 mDeviceRole = deviceRole; in ConfigurationParams()183 mDeviceRole.ifPresent(integer -> configParamsBuilder.putByte(DEVICE_ROLES, in toBytes()479 private Optional<Integer> mDeviceRole = field in ConfigurationParams.Builder527 mDeviceRole = Optional.of(deviceRole); in setDeviceRole()687 mDeviceRole, in build()
128 assertEquals(configParams1.mDeviceRole.get(), Integer.valueOf(deviceRole)); in testConversion()