/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/ |
D | SdpMnsRecordTest.java | 39 int supportedFeatures = 1; in createSdpMnsRecord() local 47 supportedFeatures, in createSdpMnsRecord() 53 assertThat(record.getSupportedFeatures()).isEqualTo(supportedFeatures); in createSdpMnsRecord() 62 int supportedFeatures = 1; in writeToParcel() local 70 supportedFeatures, in writeToParcel() 94 int supportedFeatures = 1; in sdpMnsRecordToString() local 102 supportedFeatures, in sdpMnsRecordToString() 118 + supportedFeatures in sdpMnsRecordToString()
|
D | SdpPseRecordTest.java | 39 int supportedFeatures = 1; in createSdpPseRecord() local 48 supportedFeatures, in createSdpPseRecord() 55 assertThat(record.getSupportedFeatures()).isEqualTo(supportedFeatures); in createSdpPseRecord() 65 int supportedFeatures = 1; in writeToParcel() local 74 supportedFeatures, in writeToParcel() 101 int supportedFeatures = 1; in sdpPseRecordToString() local 110 supportedFeatures, in sdpPseRecordToString() 130 + supportedFeatures in sdpPseRecordToString()
|
D | SdpMasRecordTest.java | 40 int supportedFeatures = 1; in createSdpMasRecord() local 50 supportedFeatures, in createSdpMasRecord() 58 assertThat(record.getSupportedFeatures()).isEqualTo(supportedFeatures); in createSdpMasRecord() 69 int supportedFeatures = 1; in writeToParcel() local 79 supportedFeatures, in writeToParcel() 108 int supportedFeatures = 1; in sdpMasRecordToString() local 118 supportedFeatures, in sdpMasRecordToString() 144 + supportedFeatures in sdpMasRecordToString()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpPlayerTest.java | 130 byte[] supportedFeatures = new byte[16]; in updateAvailableActions() 131 setSupportedFeature(supportedFeatures, AvrcpPlayer.FEATURE_STOP); in updateAvailableActions() 132 setSupportedFeature(supportedFeatures, AvrcpPlayer.FEATURE_PAUSE); in updateAvailableActions() 133 setSupportedFeature(supportedFeatures, AvrcpPlayer.FEATURE_REWIND); in updateAvailableActions() 134 setSupportedFeature(supportedFeatures, AvrcpPlayer.FEATURE_FAST_FORWARD); in updateAvailableActions() 135 setSupportedFeature(supportedFeatures, AvrcpPlayer.FEATURE_FORWARD); in updateAvailableActions() 136 setSupportedFeature(supportedFeatures, AvrcpPlayer.FEATURE_PREVIOUS); in updateAvailableActions() 147 new AvrcpPlayer.Builder().setSupportedFeatures(supportedFeatures).build(); in updateAvailableActions() 182 private static void setSupportedFeature(byte[] supportedFeatures, int feature) { in setSupportedFeature() argument 185 supportedFeatures[byteNumber] = (byte) (supportedFeatures[byteNumber] | bitMask); in setSupportedFeature()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sdp/ |
D | SdpManagerNativeInterface.java | 256 int supportedFeatures, in sdpMasRecordFoundCallback() argument 268 supportedFeatures, in sdpMasRecordFoundCallback() 281 int supportedFeatures, in sdpMnsRecordFoundCallback() argument 291 supportedFeatures, in sdpMnsRecordFoundCallback() 303 int supportedFeatures, in sdpPseRecordFoundCallback() argument 314 supportedFeatures, in sdpPseRecordFoundCallback()
|
D | SdpManager.java | 215 int supportedFeatures, in sdpMasRecordFoundCallback() argument 235 supportedFeatures, in sdpMasRecordFoundCallback() 252 int supportedFeatures, in sdpMnsRecordFoundCallback() argument 269 supportedFeatures, in sdpMnsRecordFoundCallback() 285 int supportedFeatures, in sdpPseRecordFoundCallback() argument 303 supportedFeatures, in sdpPseRecordFoundCallback()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | FeatureBitsetUtils.java | 118 public static String formatSupportedFeatures(BitSet supportedFeatures) { in formatSupportedFeatures() argument 119 if (supportedFeatures == null || supportedFeatures.isEmpty()) return "[]"; in formatSupportedFeatures() 123 if (supportedFeatures.get(capabilityIndex)) { in formatSupportedFeatures() 132 if (supportedFeatures.length() > NEWEST_FEATURE_INDEX + 1) { in formatSupportedFeatures()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/obex/ |
D | PbapClientObexClient.java | 185 PbapClientObexClient(BluetoothDevice device, int supportedFeatures, Callback callback) { in PbapClientObexClient() argument 186 this(device, supportedFeatures, callback, null); in PbapClientObexClient() 191 BluetoothDevice device, int supportedFeatures, Callback callback, Looper looper) { in PbapClientObexClient() argument 195 mLocalSupportedFeatures = supportedFeatures; in PbapClientObexClient() 513 private ClientSession connectObex(PbapClientSocket socket, int supportedFeatures) { in connectObex() argument 514 debug("Connect OBEX session, socket=" + socket + ", features=" + supportedFeatures); in connectObex() 524 if (supportedFeatures != PBAP_FEATURES_EXCLUDED) { in connectObex() 526 oap.add(PbapApplicationParameters.OAP_PBAP_SUPPORTED_FEATURES, supportedFeatures); in connectObex()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | MboOceController.java | 65 BitSet supportedFeatures = clientModeManager.getSupportedFeaturesBitSet(); in enable() local 66 mIsMboSupported = supportedFeatures.get(WIFI_FEATURE_MBO); in enable() 67 mIsOceSupported = supportedFeatures.get(WIFI_FEATURE_OCE); in enable()
|
D | WifiLockManager.java | 854 BitSet supportedFeatures = in getLowLatencyModeSupport() local 856 if (supportedFeatures.isEmpty()) { in getLowLatencyModeSupport() 860 if (supportedFeatures.get(WifiManager.WIFI_FEATURE_LOW_LATENCY)) { in getLowLatencyModeSupport()
|
D | WifiConfigManager.java | 1481 BitSet supportedFeatures = mWifiInjector.getActiveModeWarden() in addOrUpdateNetworkInternal() local 1488 if (!WifiConfigurationUtil.validate(config, supportedFeatures, in addOrUpdateNetworkInternal() 1507 config, supportedFeatures, WifiConfigurationUtil.VALIDATE_FOR_UPDATE)) { in addOrUpdateNetworkInternal() 1631 if (!supportedFeatures.get(WIFI_FEATURE_TRUST_ON_FIRST_USE)) { in addOrUpdateNetworkInternal() 3602 BitSet supportedFeatures = mWifiInjector.getActiveModeWarden() in loadInternalDataFromSharedStore() local 3607 configuration, supportedFeatures, WifiConfigurationUtil.VALIDATE_FOR_ADD)) { in loadInternalDataFromSharedStore() 3641 BitSet supportedFeatures = mWifiInjector.getActiveModeWarden() in loadInternalDataFromUserStore() local 3646 configuration, supportedFeatures, WifiConfigurationUtil.VALIDATE_FOR_ADD)) { in loadInternalDataFromUserStore()
|
D | WifiNetworkSuggestionsManager.java | 1119 BitSet supportedFeatures = mWifiInjector.getActiveModeWarden() in validateNetworkSuggestions() local 1125 if (!WifiConfigurationUtil.validate(config, supportedFeatures, in validateNetworkSuggestions()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | SdpMnsRecord.java | 32 int supportedFeatures, in SdpMnsRecord() argument 36 mSupportedFeatures = supportedFeatures; in SdpMnsRecord()
|
D | SdpPseRecord.java | 34 int supportedFeatures, in SdpPseRecord() argument 40 mSupportedFeatures = supportedFeatures; in SdpPseRecord()
|
D | SdpMasRecord.java | 43 int supportedFeatures, in SdpMasRecord() argument 50 mSupportedFeatures = supportedFeatures; in SdpMasRecord()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConnectivityHelperTest.java | 126 BitSet supportedFeatures = new BitSet(); in returnFirmwareRoamingNotSupported() local 127 supportedFeatures.set(WIFI_FEATURE_CONTROL_ROAMING, false); in returnFirmwareRoamingNotSupported() 128 when(mClientModeManager.getSupportedFeaturesBitSet()).thenReturn(supportedFeatures); in returnFirmwareRoamingNotSupported()
|
D | WifiConfigurationUtilTest.java | 1507 BitSet supportedFeatures = SUPPORTED_FEATURES_ALL; in testValidateSecurityTypeDppAkm() local 1508 supportedFeatures.set(WifiManager.WIFI_FEATURE_DPP_AKM, false); in testValidateSecurityTypeDppAkm() 1512 assertFalse(WifiConfigurationUtil.validate(config, supportedFeatures, in testValidateSecurityTypeDppAkm() 1514 assertFalse(WifiConfigurationUtil.validate(config, supportedFeatures, in testValidateSecurityTypeDppAkm() 1517 supportedFeatures.set(WifiManager.WIFI_FEATURE_DPP_AKM, true); in testValidateSecurityTypeDppAkm() 1518 assertTrue(WifiConfigurationUtil.validate(config, supportedFeatures, in testValidateSecurityTypeDppAkm() 1520 assertTrue(WifiConfigurationUtil.validate(config, supportedFeatures, in testValidateSecurityTypeDppAkm()
|
D | WifiNetworkSelectorTest.java | 2329 BitSet supportedFeatures = new BitSet(); in getfilterOpenUnsavedNetworks_filtersForOpenAndOweNetworksOweNotSupported() local 2330 supportedFeatures.set(WIFI_FEATURE_OWE, false); in getfilterOpenUnsavedNetworks_filtersForOpenAndOweNetworksOweNotSupported() 2331 when(mClientModeManager.getSupportedFeaturesBitSet()).thenReturn(supportedFeatures); in getfilterOpenUnsavedNetworks_filtersForOpenAndOweNetworksOweNotSupported() 3254 BitSet supportedFeatures = new BitSet(); in verifySecurityParamsSelectionForPskSaeConfigAndSaeScanNegative() local 3255 supportedFeatures.set(WIFI_FEATURE_WPA3_SAE, false); in verifySecurityParamsSelectionForPskSaeConfigAndSaeScanNegative() 3256 when(mClientModeManager.getSupportedFeaturesBitSet()).thenReturn(supportedFeatures); in verifySecurityParamsSelectionForPskSaeConfigAndSaeScanNegative() 3272 BitSet supportedFeatures = new BitSet(); in verifySecurityParamsSelectionForOpenOweConfigAndOweScanNegative() local 3273 supportedFeatures.set(WIFI_FEATURE_OWE, false); in verifySecurityParamsSelectionForOpenOweConfigAndOweScanNegative() 3274 when(mClientModeManager.getSupportedFeaturesBitSet()).thenReturn(supportedFeatures); in verifySecurityParamsSelectionForOpenOweConfigAndOweScanNegative()
|
D | WifiLockManagerTest.java | 2079 BitSet supportedFeatures = new BitSet(); in testWifiLowLatencyLockListenerWithNoChipSupport() local 2080 supportedFeatures.set(WifiManager.WIFI_FEATURE_LOW_LATENCY, false); in testWifiLowLatencyLockListenerWithNoChipSupport() 2081 supportedFeatures.set(WifiManager.WIFI_FEATURE_DPP, true); in testWifiLowLatencyLockListenerWithNoChipSupport() 2082 when(mClientModeManager.getSupportedFeaturesBitSet()).thenReturn(supportedFeatures); in testWifiLowLatencyLockListenerWithNoChipSupport()
|
D | WifiMetricsTest.java | 655 String capabilities, int supportedFeatures) { in buildMockScanDetail() argument 664 if ((supportedFeatures & FEATURE_MBO) != 0) { in buildMockScanDetail() 667 if ((supportedFeatures & FEATURE_MBO_CELL_DATA_AWARE) != 0) { in buildMockScanDetail() 670 if ((supportedFeatures & FEATURE_OCE) != 0) { in buildMockScanDetail() 673 if ((supportedFeatures & FEATURE_11AX) != 0) { in buildMockScanDetail() 677 if ((supportedFeatures & FEATURE_6G) != 0) { in buildMockScanDetail() 680 if ((supportedFeatures & FEATURE_6G_PSC) != 0) { in buildMockScanDetail()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpPlayer.java | 308 public Builder setSupportedFeatures(byte[] supportedFeatures) { in setSupportedFeatures() argument 309 mSupportedFeatures = supportedFeatures; in setSupportedFeatures()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/ |
D | MapClientServiceTest.java | 225 int supportedFeatures = 100; in getSupportedFeatures() local 228 when(sm.getSupportedFeatures()).thenReturn(supportedFeatures); in getSupportedFeatures() 230 assertThat(mService.getSupportedFeatures(mRemoteDevice)).isEqualTo(supportedFeatures); in getSupportedFeatures()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapMasInstance.java | 480 public void setRemoteFeatureMask(int supportedFeatures) { in setRemoteFeatureMask() argument 482 mRemoteFeatureMask = supportedFeatures & sFeatureMask; in setRemoteFeatureMask()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/ |
D | PbapClientObexClientTest.java | 525 int supportedFeatures = 0x3; in onConnect() local 527 supportedFeatures = in onConnect() 530 mClientSupportedFeatures = supportedFeatures; in onConnect()
|
/packages/modules/Uwb/ranging/service/java/com/android/server/ranging/rtt/ |
D | RttOobCapabilities.java | 68 ImmutableList<RttOobConfig.RttSupportedFeatures> supportedFeatures = in parseBytes() local
|