Home
last modified time | relevance | path

Searched refs:chipId (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/Uwb/service/java/com/android/server/uwb/jni/
DNativeUwbManager.java84 public void onDeviceStatusNotificationReceived(int deviceState, String chipId) { in onDeviceStatusNotificationReceived() argument
85 Log.d(TAG, "onDeviceStatusNotificationReceived(" + deviceState + ", " + chipId + ")"); in onDeviceStatusNotificationReceived()
86 mDeviceListener.onDeviceStatusNotificationReceived(deviceState, chipId); in onDeviceStatusNotificationReceived()
92 public void onCoreGenericErrorNotificationReceived(int status, String chipId) { in onCoreGenericErrorNotificationReceived() argument
93 Log.d(TAG, "onCoreGenericErrorNotificationReceived(" + status + ", " + chipId + ")"); in onCoreGenericErrorNotificationReceived()
94 mDeviceListener.onCoreGenericErrorNotificationReceived(status, chipId); in onCoreGenericErrorNotificationReceived()
143 for (String chipId : mUwbMultichipData.getChipIds()) { in doInitialize()
144 deviceInfoResponse = nativeDoInitialize(chipId); in doInitialize()
149 chipIdToDeviceInfoResponseMap.put(chipId, deviceInfoResponse); in doInitialize()
163 for (String chipId : mUwbMultichipData.getChipIds()) { in doDeinitialize()
[all …]
DINativeUwbManager.java109 void onDeviceStatusNotificationReceived(int state, String chipId); in onDeviceStatusNotificationReceived() argument
118 void onCoreGenericErrorNotificationReceived(int status, String chipId); in onCoreGenericErrorNotificationReceived() argument
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbServiceCore.java300 for (String chipId : mUwbInjector.getMultichipData().getChipIds()) { in UwbServiceCore()
301 updateState(AdapterStateCallback.STATE_DISABLED, chipId); in UwbServiceCore()
337 private void updateState(int state, String chipId) { in updateState() argument
338 Log.d(TAG, "updateState(): state=" + state + ", chipId=" + chipId); in updateState()
340 mChipIdToStateMap.put(chipId, state); in updateState()
387 public void onDeviceStatusNotificationReceived(int deviceState, String chipId) { in onDeviceStatusNotificationReceived() argument
394 if (!mUwbInjector.getMultichipData().getChipIds().contains(chipId)) { in onDeviceStatusNotificationReceived()
395 Log.e(TAG, "onDeviceStatusNotificationReceived with invalid chipId " + chipId in onDeviceStatusNotificationReceived()
405 oemExtensionDeviceStatusUpdate(deviceState, chipId); in onDeviceStatusNotificationReceived()
409 updateDeviceState(deviceState, chipId); in onDeviceStatusNotificationReceived()
[all …]
DUwbServiceImpl.java266 public long getTimestampResolutionNanos(String chipId) throws RemoteException { in getTimestampResolutionNanos() argument
268 validateChipId(chipId); in getTimestampResolutionNanos()
275 public PersistableBundle getSpecificationInfo(String chipId) throws RemoteException { in getSpecificationInfo() argument
277 chipId = validateChipId(chipId); in getSpecificationInfo()
278 return mUwbServiceCore.getSpecificationInfo(chipId); in getSpecificationInfo()
296 String chipId) throws RemoteException { in openRanging() argument
298 chipId = validateChipId(chipId); in openRanging()
304 chipId); in openRanging()
701 private String validateChipId(String chipId) { in validateChipId() argument
702 if (chipId == null || chipId.isEmpty()) { in validateChipId()
[all …]
DUwbConfigurationManager.java48 public int setAppConfigurations(int sessionId, Params params, String chipId, in setAppConfigurations() argument
68 tlvByteArray.length, tlvByteArray, chipId); in setAppConfigurations()
72 tlvByteArray.length, tlvByteArray, chipId); in setAppConfigurations()
92 String protocolName, byte[] appConfigIds, Class<T> paramType, String chipId, in getAppConfigurations() argument
97 appConfigIds.length, appConfigIds.length, appConfigIds, chipId); in getAppConfigurations()
107 Class<T> paramType, String chipId, ProtocolVersion protocolVersion) { in getCapsInfo() argument
110 UwbTlvData capsInfo = mNativeUwbManager.getCapsInfo(chipId); in getCapsInfo()
DUwbSessionManager.java623 Params params, IUwbRangingCallbacks rangingCallbacks, String chipId) in initSession() argument
628 sessionType, protocolName, params, rangingCallbacks, chipId); in initSession()
666 && getAliroSessionCount() >= getMaxAliroSessionsNumber(chipId)) { in initSession()
672 && getCccSessionCount() >= getMaxCccSessionsNumber(chipId)) { in initSession()
678 && getFiraSessionCount() >= getMaxFiraSessionsNumber(chipId)) { in initSession()
732 IUwbRangingCallbacks iUwbRangingCallbacks, String chipId) { in createUwbSession() argument
734 protocolName, params, iUwbRangingCallbacks, chipId); in createUwbSession()
1050 public long getMaxAliroSessionsNumber(String chipId) { in getMaxAliroSessionsNumber() argument
1052 mUwbInjector.getUwbServiceCore().getCachedSpecificationParams(chipId); in getMaxAliroSessionsNumber()
1062 public long getMaxCccSessionsNumber(String chipId) { in getMaxCccSessionsNumber() argument
[all …]
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/multichip/
DChipInfoParams.java37 private ChipInfoParams(String chipId, double positionX, double positionY, double positionZ) { in ChipInfoParams() argument
38 mChipId = chipId; in ChipInfoParams()
76 String chipId = bundle.getString(KEY_CHIP_ID, UNKNOWN_CHIP_ID); in fromBundle() local
80 return new ChipInfoParams(chipId, positionX, positionY, positionZ); in fromBundle()
99 public Builder setChipId(String chipId) { in setChipId() argument
100 mChipId = chipId; in setChipId()
/packages/modules/Uwb/framework/java/android/uwb/
DUwbManager.java544 public PersistableBundle getSpecificationInfo(@NonNull String chipId) { in getSpecificationInfo() argument
545 checkNotNull(chipId); in getSpecificationInfo()
546 return getSpecificationInfoInternal(chipId); in getSpecificationInfo()
549 private PersistableBundle getSpecificationInfoInternal(String chipId) { in getSpecificationInfoInternal() argument
551 return mUwbAdapter.getSpecificationInfo(chipId); in getSpecificationInfoInternal()
597 public long elapsedRealtimeResolutionNanos(@NonNull String chipId) { in elapsedRealtimeResolutionNanos() argument
598 checkNotNull(chipId); in elapsedRealtimeResolutionNanos()
599 return elapsedRealtimeResolutionNanosInternal(chipId); in elapsedRealtimeResolutionNanos()
602 private long elapsedRealtimeResolutionNanosInternal(String chipId) { in elapsedRealtimeResolutionNanosInternal() argument
604 return mUwbAdapter.getTimestampResolutionNanos(chipId); in elapsedRealtimeResolutionNanosInternal()
[all …]
DIUwbAdapter.aidl86 long getTimestampResolutionNanos(in String chipId); in getTimestampResolutionNanos() argument
95 PersistableBundle getSpecificationInfo(in String chipId); in getSpecificationInfo() argument
125 in String chipId); in openRanging() argument
DRangingManager.java65 @Nullable String chipId) { in openSession() argument
66 if (chipId != null) { in openSession()
69 if (!validChipIds.contains(chipId)) { in openSession()
71 + chipId); in openSession()
82 new RangingSession(executor, callbacks, mAdapter, sessionHandle, chipId); in openSession()
90 chipId); in openSession()
/packages/modules/Uwb/service/support_lib/test/
DMultichipTests.java35 String chipId = "testChipId"; in testChipInfoParams() local
41 ChipInfoParams chipInfoParams = ChipInfoParams.createBuilder().setChipId(chipId) in testChipInfoParams()
44 assertEquals(chipInfoParams.getChipId(), chipId); in testChipInfoParams() local
53 assertEquals(fromBundle.getChipId(), chipId); in testChipInfoParams() local
DOemExtensionTests.java49 String chipId = "TEST_CHIP_ID"; in testDeviceState() local
53 .setChipId(chipId) in testDeviceState()
57 assertEquals(deviceState.getChipId(), chipId); in testDeviceState() local
62 assertEquals(fromBundle.getChipId(), chipId); in testDeviceState() local
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/oemextension/
DDeviceStatus.java52 private DeviceStatus(int deviceState, String chipId) { in DeviceStatus() argument
54 this.mChipId = chipId; in DeviceStatus()
91 public DeviceStatus.Builder setChipId(String chipId) { in setChipId() argument
92 mChipId.set(chipId); in setChipId()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHalDeviceManagerUtil.java40 int chipId, in StaticChipInfo() argument
43 mChipId = chipId; in StaticChipInfo()
82 int chipId = jsonObject.getInt(KEY_CHIP_ID); in jsonToStaticChipInfo() local
88 return new StaticChipInfo(chipId, chipCapabilities, availableModes); in jsonToStaticChipInfo()
DHalDeviceManager.java486 if (info.chipId == cacheEntry.chipId) { in getChipInfo()
1020 public int chipId; field in HalDeviceManager.InterfaceCacheEntry
1053 public int chipId = -1; field in HalDeviceManager.WifiChipInfo
1068 sb.append("{chipId=").append(chipId).append(", availableModes=").append(availableModes) in toString()
1190 for (Integer chipId : chipIds) { in getAllChipInfo()
1191 WifiChip chip = mWifiHal.getChip(chipId); in getAllChipInfo()
1308 chipInfo.chipId = chipId; in getAllChipInfo()
1309 StaticChipInfo staticChipInfo = staticChipInfoPerId.get(chipId); in getAllChipInfo()
1383 chipInfo.chipId, in convertWifiChipInfoToStaticChipInfos()
1408 if (ci.chipId == entry.chipId) { in validateInterfaceCacheAndRetrieveRequestorWs()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/pm/
DRangingSessionController.java96 String chipId) { in RangingSessionController() argument
100 serviceProfileInfo, context, rangingCallbacks, chipId); in RangingSessionController()
229 String chipId) { in SessionInfo() argument
238 mChipId = chipId; in SessionInfo()
DPacsControllerSession.java70 String chipId) { in PacsControllerSession() argument
79 chipId); in PacsControllerSession()
DPacsControleeSession.java74 String chipId) { in PacsControleeSession() argument
83 chipId); in PacsControleeSession()
/packages/modules/Uwb/service/java/com/android/server/uwb/multchip/
DUwbMultichipData.java147 String chipId = chip.getId(); in readConfigurationFile() local
160 "Chip with id " + chipId + " has position " + x + ", " + y + ", " + z); in readConfigurationFile()
163 .setChipId(chipId) in readConfigurationFile()
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/
DRangingDevice.java120 public void setChipId(String chipId) { in setChipId() argument
121 mChipId = chipId; in setChipId()
146 public UwbAddress getLocalAddress(String chipId) { in getLocalAddress() argument
147 if (mMultiChipMap.get(chipId) == null) { in getLocalAddress()
148 mMultiChipMap.put(chipId, getRandomizedLocalAddress()); in getLocalAddress()
150 mLocalAddress = mMultiChipMap.get(chipId); in getLocalAddress()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiHal.java159 public WifiChip getChip(int chipId) { in getChip() argument
161 () -> mWifiHal.getChip(chipId)); in getChip()
DWifiHalHidlImpl.java72 public WifiChip getChip(int chipId) { in getChip() argument
76 () -> getChipInternal(methodStr, chipId)); in getChip()
189 private WifiChip getChipInternal(String methodStr, int chipId) { in getChipInternal() argument
192 mWifi.getChip(chipId, (status, chip) -> { in getChipInternal()
DIWifiHal.java32 WifiChip getChip(int chipId); in getChip() argument
DWifiHalAidlImpl.java70 public WifiChip getChip(int chipId) { in getChip() argument
75 IWifiChip chip = mWifi.getChip(chipId); in getChip()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHalDeviceManagerTest.java4352 public WifiChip answer(int chipId) { in answer() argument
4381 return mChipMockBase.chipId; in answer()
4678 public int chipId; field in HalDeviceManagerTest.ChipMockBase
4802 chipId = 10; in initialize()
4804 chipIds.add(chipId); in initialize()
4870 chipId = 12; in initialize()
4872 chipIds.add(chipId); in initialize()
4908 chipId = 15; in initialize()
4910 chipIds.add(chipId); in initialize()
4948 chipId = 23; in initialize()
[all …]

12