Searched refs:ConfigSelectionException (Results 1 – 8 of 8) sorted by relevance
40 import com.android.server.ranging.RangingEngine.ConfigSelectionException;87 public void constructor_withCapableConfig() throws ConfigSelectionException { in constructor_withCapableConfig()91 @Test(expected = ConfigSelectionException.class)93 throws ConfigSelectionException { in constructorFails_whenIncapableOfConfiguredSecurityLevel()99 @Test(expected = ConfigSelectionException.class)101 throws ConfigSelectionException { in constructorFails_whenIncapableOfConfiguredRangingInterval()109 public void addPeerCapabilities_addsPeerToConfigure() throws ConfigSelectionException { in addPeerCapabilities_addsPeerToConfigure()119 @Test(expected = ConfigSelectionException.class)120 public void addPeerCapabilities_failsWhenCsCapabilitiesNull() throws ConfigSelectionException { in addPeerCapabilities_failsWhenCsCapabilitiesNull()129 public void selectConfigs_selectsCompatibleConfig() throws ConfigSelectionException { in selectConfigs_selectsCompatibleConfig()[all …]
54 import com.android.server.ranging.RangingEngine.ConfigSelectionException;139 ) throws ConfigSelectionException { in UwbConfigSelector()141 throw new ConfigSelectionException("Local device is incapable of provided UWB config", in UwbConfigSelector()166 ) throws ConfigSelectionException { in addPeerCapabilities()169 throw new ConfigSelectionException("Peer " + peer + " does not support UWB", in addPeerCapabilities()173 throw new ConfigSelectionException("Peer does not support initiator role", in addPeerCapabilities()199 > selectConfigs() throws ConfigSelectionException { in selectConfigs()213 SelectedUwbConfig() throws ConfigSelectionException { in SelectedUwbConfig()268 private @UwbRangingParams.ConfigId int selectConfigId() throws ConfigSelectionException { in selectConfigId()281 throw new ConfigSelectionException("Failed to find agreeable config id", in selectConfigId()[all …]
73 public static class ConfigSelectionException extends Exception { class in RangingEngine76 public ConfigSelectionException(String message, @InternalReason int reason) { in ConfigSelectionException() method in RangingEngine.ConfigSelectionException88 @NonNull CapabilityResponseMessage response) throws ConfigSelectionException; in addPeerCapabilities()95 > selectConfigs() throws ConfigSelectionException; in selectConfigs()122 ) throws ConfigSelectionException { in RangingEngine()140 throw new ConfigSelectionException( in RangingEngine()152 ) throws ConfigSelectionException { in addPeerCapabilities()169 public SelectedConfig selectConfigs() throws ConfigSelectionException { in selectConfigs()226 } catch (ConfigSelectionException ignored) { in createConfigSelectorIfEnabledAndSupported()233 ) throws ConfigSelectionException { in createConfigSelector()[all …]
36 import com.android.server.ranging.RangingEngine.ConfigSelectionException;67 ) throws ConfigSelectionException { in BleRssiConfigSelector()69 throw new ConfigSelectionException( in BleRssiConfigSelector()81 ) throws ConfigSelectionException { in addPeerCapabilities()84 throw new ConfigSelectionException("Peer " + peer + " does not support BLE RSSI", in addPeerCapabilities()100 > selectConfigs() throws ConfigSelectionException { in selectConfigs()108 SelectedBleRssiConfig() throws ConfigSelectionException { in SelectedBleRssiConfig()134 throws ConfigSelectionException { in selectRangingUpdateRate()138 .orElseThrow(() -> new ConfigSelectionException( in selectRangingUpdateRate()
37 import com.android.server.ranging.RangingEngine.ConfigSelectionException;79 ) throws ConfigSelectionException { in CsConfigSelector()81 throw new ConfigSelectionException( in CsConfigSelector()94 ) throws ConfigSelectionException { in addPeerCapabilities()97 throw new ConfigSelectionException("Peer " + peer + " does not support CS", in addPeerCapabilities()113 > selectConfigs() throws ConfigSelectionException { in selectConfigs()122 SelectedCsConfig() throws ConfigSelectionException { in SelectedCsConfig()155 throws ConfigSelectionException { in selectRangingUpdateRate()159 .orElseThrow(() -> new ConfigSelectionException( in selectRangingUpdateRate()
38 import com.android.server.ranging.RangingEngine.ConfigSelectionException;87 ) throws ConfigSelectionException { in RttConfigSelector()89 throw new ConfigSelectionException( in RttConfigSelector()107 ) throws ConfigSelectionException { in addPeerCapabilities()110 throw new ConfigSelectionException( in addPeerCapabilities()123 > selectConfigs() throws ConfigSelectionException { in selectConfigs()132 SelectedRttConfig() throws RangingEngine.ConfigSelectionException { in SelectedRttConfig()135 .orElseThrow(() -> new RangingEngine.ConfigSelectionException( in SelectedRttConfig()
61 import com.android.server.ranging.RangingEngine.ConfigSelectionException;128 private UwbConfigSelector createConfigSelector() throws ConfigSelectionException { in createConfigSelector()173 @Test(expected = ConfigSelectionException.class)175 throws ConfigSelectionException { in newUwbConfigSelector_failsWhenSecurityLevelIncompatible()185 @Test(expected = ConfigSelectionException.class)187 throws ConfigSelectionException { in addPeerCapabilities_failsWhenPeerIncapableOfInitiatorRole()201 throws ConfigSelectionException { in shouldUseProvisionedSts_whenSecurityLevelSecure()232 public void shouldUseVeryFastConfigId_whenSupported() throws ConfigSelectionException { in shouldUseVeryFastConfigId_whenSupported()264 public void shouldConfigureOneSession_whenOnePeerAdded() throws ConfigSelectionException { in shouldConfigureOneSession_whenOnePeerAdded()290 throws ConfigSelectionException { in shouldConfigureMultipleSessions_whenMultiplePeersAdded()[all …]
95 } catch (RangingEngine.ConfigSelectionException e) { in start()115 case RangingEngine.ConfigSelectionException e -> in start()206 throws RangingEngine.ConfigSelectionException { in sendSetConfigMessages()220 new RangingEngine.ConfigSelectionException( in sendSetConfigMessages()241 ) throws RangingEngine.ConfigSelectionException {