Home
last modified time | relevance | path

Searched refs:protocolName (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DTlvDecoder.java30 public static TlvDecoder getDecoder(String protocolName, UwbInjector uwbInjector) { in getDecoder() argument
31 if (protocolName.equals(FiraParams.PROTOCOL_NAME)) { in getDecoder()
34 if (protocolName.equals(CccParams.PROTOCOL_NAME)) { in getDecoder()
37 if (protocolName.equals(AliroParams.PROTOCOL_NAME)) { in getDecoder()
40 if (protocolName.equals(RadarParams.PROTOCOL_NAME)) { in getDecoder()
43 if (protocolName.equals(GenericParams.PROTOCOL_NAME)) { in getDecoder()
DTlvEncoder.java32 public static TlvEncoder getEncoder(String protocolName, UwbInjector uwbInjector) { in getEncoder() argument
33 if (protocolName.equals(FiraParams.PROTOCOL_NAME)) { in getEncoder()
36 if (protocolName.equals(CccParams.PROTOCOL_NAME)) { in getEncoder()
39 if (protocolName.equals(AliroParams.PROTOCOL_NAME)) { in getEncoder()
42 if (protocolName.equals(RadarParams.PROTOCOL_NAME)) { in getEncoder()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbConfigurationManager.java92 String protocolName, byte[] appConfigIds, Class<T> paramType, String chipId, in getAppConfigurations() argument
95 Log.d(TAG, "getAppConfigurations for protocol: " + protocolName); in getAppConfigurations()
100 return decodeTLV(protocolName, getAppConfig, paramType, protocolVersion); in getAppConfigurations()
106 public <T extends Params> Pair<Integer, T> getCapsInfo(String protocolName, in getCapsInfo() argument
109 Log.d(TAG, "getCapsInfo for protocol: " + protocolName); in getCapsInfo()
113 return decodeTLV(protocolName, capsInfo, paramType, protocolVersion); in getCapsInfo()
119 public <T extends Params> Pair<Integer, T> decodeTLV(String protocolName, in decodeTLV() argument
128 TlvDecoder decoder = TlvDecoder.getDecoder(protocolName, mUwbInjector); in decodeTLV()
DUwbSessionNotificationHelper.java163 public static PersistableBundle convertUciStatusToParam(String protocolName, int status) { in convertUciStatusToParam() argument
165 if (protocolName.equals(CccParams.PROTOCOL_NAME)) { in convertUciStatusToParam()
169 } else if (protocolName.equals(AliroParams.PROTOCOL_NAME)) { in convertUciStatusToParam()
DUwbSessionManager.java622 SessionHandle sessionHandle, int sessionId, byte sessionType, String protocolName, in initSession() argument
628 sessionType, protocolName, params, rangingCallbacks, chipId); in initSession()
656 UwbSessionNotificationHelper.convertUciStatusToParam(protocolName, in initSession()
665 if (protocolName.equals(AliroParams.PROTOCOL_NAME) in initSession()
671 } else if (protocolName.equals(CccParams.PROTOCOL_NAME) in initSession()
677 } else if (protocolName.equals(FiraParams.PROTOCOL_NAME) in initSession()
686 UwbSessionNotificationHelper.convertUciStatusToParam(protocolName, in initSession()
699 UwbSessionNotificationHelper.convertUciStatusToParam(protocolName, in initSession()
731 int sessionId, byte sessionType, String protocolName, Params params, in createUwbSession() argument
734 protocolName, params, iUwbRangingCallbacks, chipId); in createUwbSession()
[all …]
DUwbSessionNotificationManager.java666 @NonNull UwbRangingData rangingData, String protocolName, in getRangingReport() argument
682 if (protocolName.equals(FiraParams.PROTOCOL_NAME)) { in getRangingReport()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/oemextension/
DSessionStatus.java78 int sessionToken, String protocolName) { in SessionStatus() argument
84 mProtocolName = protocolName; in SessionStatus()
153 public SessionStatus.Builder setProtocolName(String protocolName) { in setProtocolName() argument
154 mProtocolName = protocolName; in setProtocolName()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/aliro/
DAliroPulseShapeCombo.java101 String protocolName = parts[1]; in parseBundleVersion1() local
103 if (!isCorrectProtocol(protocolName)) { in parseBundleVersion1()
DAliroParams.java49 public static boolean isCorrectProtocol(String protocolName) { in isCorrectProtocol() argument
50 return protocolName.equals(PROTOCOL_NAME); in isCorrectProtocol()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/ccc/
DCccPulseShapeCombo.java100 String protocolName = parts[1]; in parseBundleVersion1() local
102 if (!isCorrectProtocol(protocolName)) { in parseBundleVersion1()
DCccParams.java45 public static boolean isCorrectProtocol(String protocolName) { in isCorrectProtocol() argument
46 return protocolName.equals(PROTOCOL_NAME); in isCorrectProtocol()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/radar/
DRadarParams.java48 public static boolean isCorrectProtocol(String protocolName) { in isCorrectProtocol() argument
49 return protocolName.equals(PROTOCOL_NAME); in isCorrectProtocol()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbSessionManagerTest.java1899 String protocolName, UwbSession uwbSession, UwbDeviceInfoResponse uwbDeviceInfoResponse, in do_openRanging_success_absoluteInitiationTimeIsNotComputed() argument
1914 TEST_SESSION_ID, TEST_SESSION_TYPE, protocolName, in do_openRanging_success_absoluteInitiationTimeIsNotComputed()
1982 String protocolName, UwbSession uwbSession) throws Exception { in do_openRanging_success_uwbs_2_0_absoluteInitiationTimeIsComputed() argument
1996 TEST_SESSION_ID, TEST_SESSION_TYPE, protocolName, in do_openRanging_success_uwbs_2_0_absoluteInitiationTimeIsComputed()