Home
last modified time | relevance | path

Searched refs:uwbAddress (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/
DUwbControllerClient.java75 androidx.core.uwb.backend.impl.internal.UwbAddress uwbAddress = in addControlee() local
77 int status = ((RangingController) mDevice).addControlee(uwbAddress); in addControlee()
87 androidx.core.uwb.backend.impl.internal.UwbAddress uwbAddress = in addControleeWithSessionParams() local
92 uwbAddress, params.subSessionId, params.subSessionKey); in addControleeWithSessionParams()
102 androidx.core.uwb.backend.impl.internal.UwbAddress uwbAddress = in removeControlee() local
104 int status = ((RangingController) mDevice).removeControlee(uwbAddress); in removeControlee()
DUwbClient.java87 UwbAddress uwbAddress = new UwbAddress(); in getLocalAddress() local
88 uwbAddress.address = address.toBytes(); in getLocalAddress()
89 return uwbAddress; in getLocalAddress()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraControleeParams.java200 for (UwbAddress uwbAddress : mAddressList) { in checkAddressList()
201 requireNonNull(uwbAddress); in checkAddressList()
202 checkArgument(uwbAddress.size() == UwbAddress.SHORT_ADDRESS_BYTE_LENGTH); in checkAddressList()
DFiraOnControleeRemovedParams.java74 UwbAddress uwbAddress = longToUwbAddress( in fromBundle() local
80 return new Builder(uwbAddress).setReason(bundle.getInt(KEY_REASON)).build(); in fromBundle()
DFiraDataTransferPhaseConfig.java179 public FiraDataTransferPhaseManagementList(UwbAddress uwbAddress, byte[] slotBitmap) { in FiraDataTransferPhaseManagementList() argument
180 mUwbAddress = uwbAddress; in FiraDataTransferPhaseManagementList()
DFiraRangingReconfigureParams.java448 for (UwbAddress uwbAddress : mAddressList) { in checkAddressList()
449 requireNonNull(uwbAddress); in checkAddressList()
450 checkArgument(uwbAddress.size() == UwbAddress.SHORT_ADDRESS_BYTE_LENGTH); in checkAddressList()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbControlee.java49 @NonNull UwbAddress uwbAddress, in UwbControlee()
52 mUwbAddress = uwbAddress; in UwbControlee()
DUwbSessionManager.java375 UwbAddress uwbAddress = UwbAddress.fromBytes(address); in onDataReceived() local
382 uwbSession, uwbAddress, new PersistableBundle(), data); in onDataReceived()
933 UwbAddress uwbAddress = UwbAddress.fromBytes(macAddressBytes); in processRangeData() local
945 uwbSession, uwbAddress, new PersistableBundle(), r.payload)); in processRangeData()
1444 UwbAddress uwbAddress = phaseList.getMacAddress(); in handleSetHybridSessionControllerConfiguration() local
1445 if (uwbAddress == null || uwbAddress.size() != addressByteLength) { in handleSetHybridSessionControllerConfiguration()
1451 buffer.put(getComputedMacAddress(uwbAddress)); in handleSetHybridSessionControllerConfiguration()
1610 UwbAddress uwbAddress = dataTransferPhaseManagementList.getUwbAddress(); in handleSetDataTransferPhaseConfig() local
1612 if (uwbAddress != null && uwbAddress.size() == addressByteLength in handleSetDataTransferPhaseConfig()
1614 macAddressList.add(getComputedMacAddress(uwbAddress)); in handleSetDataTransferPhaseConfig()
DUwbShellCommand.java376 public void onDataSent(SessionHandle sessionHandle, UwbAddress uwbAddress, in onDataSent() argument
379 public void onDataSendFailed(SessionHandle sessionHandle, UwbAddress uwbAddress, int reason, in onDataSendFailed() argument
389 public void onDataReceived(SessionHandle sessionHandle, UwbAddress uwbAddress, in onDataReceived() argument
392 public void onDataReceiveFailed(SessionHandle sessionHandle, UwbAddress uwbAddress, in onDataReceiveFailed() argument
/packages/modules/Uwb/service/java/com/android/server/uwb/pm/
DRangingSessionController.java253 public void setUwbAddress(UwbAddress uwbAddress) { in setUwbAddress() argument
254 mDeviceAddress = uwbAddress; in setUwbAddress()
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/snippet/
DUwbManagerSnippet.java191 public UwbAddress uwbAddress; field in UwbManagerSnippet.RangingSessionCallback
349 uwbAddress = getComputedMacAddress(remoteDeviceAddress); in onDataSent()
359 uwbAddress = getComputedMacAddress(remoteDeviceAddress); in onDataSendFailed()
368 uwbAddress = getComputedMacAddress(remoteDeviceAddress); in onDataReceived()
379 uwbAddress = getComputedMacAddress(remoteDeviceAddress); in onDataReceiveFailed()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DConfigurationParams.java261 uwbAddress -> configParamsBuilder.putByteArray(CONTROLEE_SHORT_MAC_ADDRESS, in toBytes()
262 uwbAddress.toBytes())); in toBytes()
265 uwbAddress -> configParamsBuilder.putByteArray(CONTROLLER_MAC_ADDRESS, in toBytes()
266 uwbAddress.toBytes())); in toBytes()
/packages/modules/Uwb/generic_ranging/src/com/android/ranging/generic/ranging/
DUwbAdapter.java200 public void setLocalADdress(UwbAddress uwbAddress) {
201 uwbClient.get().setLocalAddress(uwbAddress);
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbSessionManagerTest.java1653 UwbAddress uwbAddress = (macAddressingMode == MAC_ADDRESSING_MODE_SHORT) in setUpControlee() local
1658 session.addControlee(uwbAddress); in setUpControlee()
1659 return uwbAddress; in setUpControlee()
3545 UwbAddress uwbAddress = UwbAddress.fromBytes(macAddress); in doTest_sendData_success_validUwbSession() local
3563 uwbSession.getSessionHandle(), uwbAddress, PERSISTABLE_BUNDLE, DATA_PAYLOAD); in doTest_sendData_success_validUwbSession() local
3574 eq(uwbSession), eq(uwbAddress), eq(PERSISTABLE_BUNDLE)); in doTest_sendData_success_validUwbSession()
4613 UwbAddress uwbAddress = UwbAddress.fromBytes(macAddressBytes); in testSetDataTransferPhaseConfig() local
4617 uwbAddress, new byte[] {(byte) 0x10})); in testSetDataTransferPhaseConfig()
4621 uwbAddress = UwbAddress.fromBytes(macAddressBytes); in testSetDataTransferPhaseConfig()
4625 uwbAddress, new byte[] {(byte) 0x20})); in testSetDataTransferPhaseConfig()
[all …]
DUwbServiceCoreTest.java1355 UwbAddress uwbAddress = UwbAddress.fromBytes(new byte[] {15, 27}); in testSendData_success() local
1359 mUwbServiceCore.sendData(sessionHandle, uwbAddress, params, data); in testSendData_success()
1361 eq(sessionHandle), eq(uwbAddress), eq(params), eq(data)); in testSendData_success()
1369 UwbAddress uwbAddress = UwbAddress.fromBytes(new byte[] {15, 27}); in testSendData_whenUwbIsDisabled() local
1374 mUwbServiceCore.sendData(sessionHandle, uwbAddress, params, data); in testSendData_whenUwbIsDisabled()
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DUwbManagerTest.java1502 UwbAddress uwbAddress = UwbAddress.fromBytes(new byte[]{0x5, 0x5}); in testFiraRangingSessionAddRemoveControlee()
1506 .setAddressList(new UwbAddress[]{uwbAddress}) in testFiraRangingSessionAddRemoveControlee()
1522 .setAddressList(new UwbAddress[]{uwbAddress}) in testFiraRangingSessionAddRemoveControlee()