/packages/modules/Uwb/service/java/com/android/server/uwb/params/ |
D | TlvDecoder.java | 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()
|
D | TlvEncoder.java | 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()
|
D | GenericDecoder.java | 59 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/ |
D | GenericParams.java | 28 public static final String PROTOCOL_NAME = "generic"; field in GenericParams 32 return PROTOCOL_NAME; in getProtocolName() 36 return isProtocol(bundle, PROTOCOL_NAME); in isCorrectProtocol()
|
D | GenericSpecificationParams.java | 51 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/ |
D | RadarParams.java | 35 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/ |
D | CccParams.java | 34 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/ |
D | AliroParams.java | 38 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/ |
D | SessionStatus.java | 46 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/ |
D | UwbSessionManager.java | 37 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 …]
|
D | UwbSessionNotificationHelper.java | 165 if (protocolName.equals(CccParams.PROTOCOL_NAME)) { in convertUciStatusToParam() 169 } else if (protocolName.equals(AliroParams.PROTOCOL_NAME)) { in convertUciStatusToParam()
|
D | UwbConfigurationManager.java | 65 if (params.getProtocolName().equals(RadarParams.PROTOCOL_NAME)) { in setAppConfigurations()
|
D | UwbSessionNotificationManager.java | 251 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/ |
D | UwbSessionManagerTest.java | 59 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 …]
|
D | UwbServiceCoreTest.java | 339 .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()
|
D | UwbConfigurationManagerTest.java | 124 when(mUwbSession.getProtocolName()).thenReturn(FiraParams.PROTOCOL_NAME); in setUp() 130 when(mRadarSession.getProtocolName()).thenReturn(RadarParams.PROTOCOL_NAME); in setUp()
|
D | UwbSessionNotificationManagerTest.java | 118 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/ |
D | CccDecoderTest.java | 194 .getDecoder(CccParams.PROTOCOL_NAME, mUwbInjector) in testGetCccRangingOpenedViaTlvDecoder() 208 .getDecoder(CccParams.PROTOCOL_NAME, mUwbInjector) in testGetCccSpecificationViaTlvDecoder()
|
D | AliroDecoderTest.java | 198 .getDecoder(AliroParams.PROTOCOL_NAME, mUwbInjector) in testGetAliroRangingOpenedViaTlvDecoder() 212 .getDecoder(AliroParams.PROTOCOL_NAME, mUwbInjector) in testGetAliroSpecificationViaTlvDecoder()
|
D | RadarEncoderTest.java | 100 TlvEncoder.getEncoder(RadarParams.PROTOCOL_NAME, mUwbInjector) in testRadarOpenSessionParamsViaTlvEncoder()
|
D | RadarDecoderTest.java | 100 TlvDecoder.getDecoder(RadarParams.PROTOCOL_NAME, mUwbInjector) in testGetRadarSpecificationViaTlvDecoder()
|
D | FiraDecoderTest.java | 265 .getDecoder(FiraParams.PROTOCOL_NAME, mUwbInjector) in testGetFiraSpecificationViaTlvDecoderVersion2() 355 .getDecoder(FiraParams.PROTOCOL_NAME, mUwbInjector) in testGetFiraSpecificationViaTlvDecoderVersion1()
|
D | AliroEncoderTest.java | 119 TlvBuffer tlvs = TlvEncoder.getEncoder(AliroParams.PROTOCOL_NAME, mUwbInjector) in testAliroOpenRangingParamsViaTlvEncoder()
|
D | CccEncoderTest.java | 119 TlvBuffer tlvs = TlvEncoder.getEncoder(CccParams.PROTOCOL_NAME, mUwbInjector) in testCccOpenRangingParamsViaTlvEncoder()
|
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/ |
D | FiraParams.java | 37 public static final String PROTOCOL_NAME = "fira"; field in FiraParams 41 return PROTOCOL_NAME; in getProtocolName() 45 return isProtocol(bundle, PROTOCOL_NAME); in isCorrectProtocol()
|