Home
last modified time | relevance | path

Searched refs:mDeviceRole (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/ranging/
DSessionParameters.java61 @DeviceRole private final int mDeviceRole; field in SessionParameters
81 return mDeviceRole; in getDeviceRole()
115 mDeviceRole = deviceRole; in SessionParameters()
127 @DeviceRole private int mDeviceRole = DEVICE_ROLE_UNKNOWN; field in SessionParameters.Builder
158 mDeviceRole = deviceRole; in setDeviceRole()
233 Preconditions.checkArgument(mDeviceRole != DEVICE_ROLE_UNKNOWN, "Unknown deviceRole"); in build()
255 mDeviceRole, in build()
/packages/modules/Connectivity/thread/demoapp/java/com/android/threadnetwork/demoapp/
DThreadNetworkSettingsFragment.java64 private int mDeviceRole; field in ThreadNetworkSettingsFragment
75 private static String deviceRoleToString(int mDeviceRole) { in deviceRoleToString() argument
76 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()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraOpenSessionParams.java50 @RangingDeviceRole private final int mDeviceRole; field in FiraOpenSessionParams
362 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.Builder
1391 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 …]
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DConfigurationParams.java78 public final Optional<Integer> mDeviceRole; field in ConfigurationParams
138 mDeviceRole = deviceRole; in ConfigurationParams()
183 mDeviceRole.ifPresent(integer -> configParamsBuilder.putByte(DEVICE_ROLES, in toBytes()
479 private Optional<Integer> mDeviceRole = field in ConfigurationParams.Builder
527 mDeviceRole = Optional.of(deviceRole); in setDeviceRole()
687 mDeviceRole, in build()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/csml/
DSessionDataTest.java128 assertEquals(configParams1.mDeviceRole.get(), Integer.valueOf(deviceRole)); in testConversion()