Home
last modified time | relevance | path

Searched refs:PROTOCOL_NAME (Results 1 – 25 of 32) sorted by relevance

12

/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DTlvDecoder.java31 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.java33 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()
DGenericDecoder.java59 TlvDecoder.getDecoder(FiraParams.PROTOCOL_NAME, mUwbInjector).getParams( in getSpecificationParamsFromTlvBuffer()
67 TlvDecoder.getDecoder(CccParams.PROTOCOL_NAME, mUwbInjector).getParams( in getSpecificationParamsFromTlvBuffer()
75 TlvDecoder.getDecoder(AliroParams.PROTOCOL_NAME, mUwbInjector).getParams( in getSpecificationParamsFromTlvBuffer()
83 TlvDecoder.getDecoder(RadarParams.PROTOCOL_NAME, mUwbInjector) in getSpecificationParamsFromTlvBuffer()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/generic/
DGenericParams.java28 public static final String PROTOCOL_NAME = "generic"; field in GenericParams
32 return PROTOCOL_NAME; in getProtocolName()
36 return isProtocol(bundle, PROTOCOL_NAME); in isCorrectProtocol()
DGenericSpecificationParams.java51 private static final String KEY_FIRA_SPECIFICATION_PARAMS = FiraParams.PROTOCOL_NAME;
52 private static final String KEY_ALIRO_SPECIFICATION_PARAMS = AliroParams.PROTOCOL_NAME;
53 private static final String KEY_CCC_SPECIFICATION_PARAMS = CccParams.PROTOCOL_NAME;
54 private static final String KEY_RADAR_SPECIFICATION_PARAMS = RadarParams.PROTOCOL_NAME;
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/radar/
DRadarParams.java35 public static final String PROTOCOL_NAME = "radar"; field in RadarParams
39 return PROTOCOL_NAME; in getProtocolName()
44 return isProtocol(bundle, PROTOCOL_NAME); in isCorrectProtocol()
49 return protocolName.equals(PROTOCOL_NAME); in isCorrectProtocol()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/ccc/
DCccParams.java34 public static final String PROTOCOL_NAME = "ccc"; field in CccParams
38 return PROTOCOL_NAME; in getProtocolName()
42 return isProtocol(bundle, PROTOCOL_NAME); in isCorrectProtocol()
46 return protocolName.equals(PROTOCOL_NAME); in isCorrectProtocol()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/aliro/
DAliroParams.java38 public static final String PROTOCOL_NAME = "aliro"; field in AliroParams
42 return PROTOCOL_NAME; in getProtocolName()
46 return isProtocol(bundle, PROTOCOL_NAME); in isCorrectProtocol()
50 return protocolName.equals(PROTOCOL_NAME); in isCorrectProtocol()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/oemextension/
DSessionStatus.java46 public static final String PROTOCOL_NAME = "protocol_name"; field in SessionStatus
95 bundle.putString(PROTOCOL_NAME, mProtocolName); in toBundle()
115 .setProtocolName(bundle.getString(PROTOCOL_NAME, "UnknownProtocolName")) in parseVersion1()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbSessionManager.java37 import static com.google.uwb.support.fira.FiraParams.PROTOCOL_NAME;
591 if (uwbSession.getProtocolName().equals(FiraParams.PROTOCOL_NAME) in setAppConfigurations()
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()
715 FiraParams.PROTOCOL_NAME); in tryMakeSpaceForFiraSession()
783 if (uwbSession.getProtocolName().equals(AliroParams.PROTOCOL_NAME) in startRanging()
792 } else if (uwbSession.getProtocolName().equals(CccParams.PROTOCOL_NAME) in startRanging()
800 } else if (uwbSession.getProtocolName().equals(FiraParams.PROTOCOL_NAME)) { in startRanging()
1033 return getProtocolSessionCount(AliroParams.PROTOCOL_NAME); in getAliroSessionCount()
[all …]
DUwbSessionNotificationHelper.java165 if (protocolName.equals(CccParams.PROTOCOL_NAME)) { in convertUciStatusToParam()
169 } else if (protocolName.equals(AliroParams.PROTOCOL_NAME)) { in convertUciStatusToParam()
DUwbConfigurationManager.java65 if (params.getProtocolName().equals(RadarParams.PROTOCOL_NAME)) { in setAppConfigurations()
DUwbSessionNotificationManager.java251 if (Objects.equals(uwbSession.getProtocolName(), CccParams.PROTOCOL_NAME)) { in onRangingReconfigured()
254 } else if (Objects.equals(uwbSession.getProtocolName(), AliroParams.PROTOCOL_NAME)) { in onRangingReconfigured()
682 if (protocolName.equals(FiraParams.PROTOCOL_NAME)) { in getRangingReport()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbSessionManagerTest.java59 import static com.google.uwb.support.fira.FiraParams.PROTOCOL_NAME;
992 TEST_SESSION_ID, TEST_SESSION_TYPE, FiraParams.PROTOCOL_NAME, mock(Params.class), in initFiraSession_maxSessionsExceeded()
1008 TEST_SESSION_ID, TEST_SESSION_TYPE, AliroParams.PROTOCOL_NAME, mock(Params.class), in initAliroSession_maxSessionsExceeded()
1024 TEST_SESSION_ID, TEST_SESSION_TYPE, CccParams.PROTOCOL_NAME, mock(Params.class), in initCccSession_maxSessionsExceeded()
1046 TEST_SESSION_ID, TEST_SESSION_TYPE, FiraParams.PROTOCOL_NAME, mockParams, in initSession_UwbSession_RemoteException()
1054 TEST_SESSION_TYPE, FiraParams.PROTOCOL_NAME, mockParams, mockRangingCallbacks, in initSession_UwbSession_RemoteException()
1077 TEST_SESSION_ID, TEST_SESSION_TYPE, FiraParams.PROTOCOL_NAME, mockParams, in initSession_success()
1084 TEST_SESSION_TYPE, FiraParams.PROTOCOL_NAME, mockParams, mockRangingCallbacks, in initSession_success()
1113 TEST_SESSION_ID, TEST_SESSION_TYPE, FiraParams.PROTOCOL_NAME, mockParams, in initSessionMaxSessions_lowestPrioritySessionReplaced()
1124 TEST_SESSION_TYPE, FiraParams.PROTOCOL_NAME, mockParams, mockRangingCallbacks, in initSessionMaxSessions_lowestPrioritySessionReplaced()
[all …]
DUwbServiceCoreTest.java339 .getCapsInfo(eq(GenericParams.PROTOCOL_NAME), any(), anyString(), any())) in verifyGetSpecificationInfoSuccess()
347 .getCapsInfo(eq(GenericParams.PROTOCOL_NAME), any(), in verifyGetSpecificationInfoSuccess()
361 .getCapsInfo(eq(GenericParams.PROTOCOL_NAME), any(), anyString(), any())) in verifyGetCachedSpecificationInfoSuccess()
369 .getCapsInfo(eq(GenericParams.PROTOCOL_NAME), any(), in verifyGetCachedSpecificationInfoSuccess()
1073 .getCapsInfo(eq(GenericParams.PROTOCOL_NAME), any(), anyString(), any())) in testOpenFiraRanging()
1086 eq(FiraParams.PROTOCOL_NAME), in testOpenFiraRanging()
1106 eq(AliroParams.PROTOCOL_NAME), in testOpenAliroRanging()
1125 eq(CccParams.PROTOCOL_NAME), in testOpenCccRanging()
1144 eq(RadarParams.PROTOCOL_NAME), in testOpenRadarSession()
DUwbConfigurationManagerTest.java124 when(mUwbSession.getProtocolName()).thenReturn(FiraParams.PROTOCOL_NAME); in setUp()
130 when(mRadarSession.getProtocolName()).thenReturn(RadarParams.PROTOCOL_NAME); in setUp()
DUwbSessionNotificationManagerTest.java118 when(mUwbSession.getProtocolName()).thenReturn(FiraParams.PROTOCOL_NAME); in setUp()
123 when(mUwbRadarSession.getProtocolName()).thenReturn(RadarParams.PROTOCOL_NAME); in setUp()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/params/
DCccDecoderTest.java194 .getDecoder(CccParams.PROTOCOL_NAME, mUwbInjector) in testGetCccRangingOpenedViaTlvDecoder()
208 .getDecoder(CccParams.PROTOCOL_NAME, mUwbInjector) in testGetCccSpecificationViaTlvDecoder()
DAliroDecoderTest.java198 .getDecoder(AliroParams.PROTOCOL_NAME, mUwbInjector) in testGetAliroRangingOpenedViaTlvDecoder()
212 .getDecoder(AliroParams.PROTOCOL_NAME, mUwbInjector) in testGetAliroSpecificationViaTlvDecoder()
DRadarEncoderTest.java100 TlvEncoder.getEncoder(RadarParams.PROTOCOL_NAME, mUwbInjector) in testRadarOpenSessionParamsViaTlvEncoder()
DRadarDecoderTest.java100 TlvDecoder.getDecoder(RadarParams.PROTOCOL_NAME, mUwbInjector) in testGetRadarSpecificationViaTlvDecoder()
DFiraDecoderTest.java265 .getDecoder(FiraParams.PROTOCOL_NAME, mUwbInjector) in testGetFiraSpecificationViaTlvDecoderVersion2()
355 .getDecoder(FiraParams.PROTOCOL_NAME, mUwbInjector) in testGetFiraSpecificationViaTlvDecoderVersion1()
DAliroEncoderTest.java119 TlvBuffer tlvs = TlvEncoder.getEncoder(AliroParams.PROTOCOL_NAME, mUwbInjector) in testAliroOpenRangingParamsViaTlvEncoder()
DCccEncoderTest.java119 TlvBuffer tlvs = TlvEncoder.getEncoder(CccParams.PROTOCOL_NAME, mUwbInjector) in testCccOpenRangingParamsViaTlvEncoder()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraParams.java37 public static final String PROTOCOL_NAME = "fira"; field in FiraParams
41 return PROTOCOL_NAME; in getProtocolName()
45 return isProtocol(bundle, PROTOCOL_NAME); in isCorrectProtocol()

12