Home
last modified time | relevance | path

Searched refs:supportedFeatures (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/
DSdpMnsRecordTest.java39 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()
DSdpPseRecordTest.java39 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()
DSdpMasRecordTest.java40 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/
DAvrcpPlayerTest.java138 byte[] supportedFeatures = new byte[16]; in updateAvailableActions()
139 setSupportedFeature(supportedFeatures, AvrcpPlayer.FEATURE_STOP); in updateAvailableActions()
140 setSupportedFeature(supportedFeatures, AvrcpPlayer.FEATURE_PAUSE); in updateAvailableActions()
141 setSupportedFeature(supportedFeatures, AvrcpPlayer.FEATURE_REWIND); in updateAvailableActions()
142 setSupportedFeature(supportedFeatures, AvrcpPlayer.FEATURE_FAST_FORWARD); in updateAvailableActions()
143 setSupportedFeature(supportedFeatures, AvrcpPlayer.FEATURE_FORWARD); in updateAvailableActions()
144 setSupportedFeature(supportedFeatures, AvrcpPlayer.FEATURE_PREVIOUS); in updateAvailableActions()
155 new AvrcpPlayer.Builder().setSupportedFeatures(supportedFeatures).build(); in updateAvailableActions()
190 private void setSupportedFeature(byte[] supportedFeatures, int feature) { in setSupportedFeature() argument
193 supportedFeatures[byteNumber] = (byte) (supportedFeatures[byteNumber] | bitMask); in setSupportedFeature()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sdp/
DSdpManagerNativeInterface.java256 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()
DSdpManager.java228 int supportedFeatures, in sdpMasRecordFoundCallback() argument
248 supportedFeatures, in sdpMasRecordFoundCallback()
265 int supportedFeatures, in sdpMnsRecordFoundCallback() argument
282 supportedFeatures, in sdpMnsRecordFoundCallback()
298 int supportedFeatures, in sdpPseRecordFoundCallback() argument
316 supportedFeatures, in sdpPseRecordFoundCallback()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DMboOceController.java63 long supportedFeatures = clientModeManager.getSupportedFeatures(); in enable() local
64 mIsMboSupported = (supportedFeatures & WIFI_FEATURE_MBO) != 0; in enable()
65 mIsOceSupported = (supportedFeatures & WIFI_FEATURE_OCE) != 0; in enable()
DWifiLockManager.java852 long supportedFeatures = in getLowLatencyModeSupport() local
854 if (supportedFeatures == 0L) { in getLowLatencyModeSupport()
858 if ((supportedFeatures & WifiManager.WIFI_FEATURE_LOW_LATENCY) != 0) { in getLowLatencyModeSupport()
DWifiConfigManager.java1433 long supportedFeatures = mWifiInjector.getActiveModeWarden() in addOrUpdateNetworkInternal() local
1440 if (!WifiConfigurationUtil.validate(config, supportedFeatures, in addOrUpdateNetworkInternal()
1459 config, supportedFeatures, WifiConfigurationUtil.VALIDATE_FOR_UPDATE)) { in addOrUpdateNetworkInternal()
1583 if ((supportedFeatures & WIFI_FEATURE_TRUST_ON_FIRST_USE) == 0) { in addOrUpdateNetworkInternal()
3548 long supportedFeatures = mWifiInjector.getActiveModeWarden() in loadInternalDataFromSharedStore() local
3553 configuration, supportedFeatures, WifiConfigurationUtil.VALIDATE_FOR_ADD)) { in loadInternalDataFromSharedStore()
3587 long supportedFeatures = mWifiInjector.getActiveModeWarden() in loadInternalDataFromUserStore() local
3592 configuration, supportedFeatures, WifiConfigurationUtil.VALIDATE_FOR_ADD)) { in loadInternalDataFromUserStore()
DWifiNetworkSuggestionsManager.java1118 long supportedFeatures = mWifiInjector.getActiveModeWarden() in validateNetworkSuggestions() local
1124 if (!WifiConfigurationUtil.validate(config, supportedFeatures, in validateNetworkSuggestions()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DSdpMnsRecord.java32 int supportedFeatures, in SdpMnsRecord() argument
36 mSupportedFeatures = supportedFeatures; in SdpMnsRecord()
DSdpPseRecord.java34 int supportedFeatures, in SdpPseRecord() argument
40 mSupportedFeatures = supportedFeatures; in SdpPseRecord()
DSdpMasRecord.java43 int supportedFeatures, in SdpMasRecord() argument
50 mSupportedFeatures = supportedFeatures; in SdpMasRecord()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpPlayer.java305 public Builder setSupportedFeatures(byte[] supportedFeatures) { in setSupportedFeatures() argument
306 mSupportedFeatures = supportedFeatures; in setSupportedFeatures()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DMapClientServiceTest.java217 int supportedFeatures = 100; in getSupportedFeatures() local
220 when(sm.getSupportedFeatures()).thenReturn(supportedFeatures); in getSupportedFeatures()
222 assertThat(mService.getSupportedFeatures(mRemoteDevice)).isEqualTo(supportedFeatures); in getSupportedFeatures()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapMasInstance.java482 public void setRemoteFeatureMask(int supportedFeatures) { in setRemoteFeatureMask() argument
484 mRemoteFeatureMask = supportedFeatures & sFeatureMask; in setRemoteFeatureMask()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java1501 long supportedFeatures = SUPPORTED_FEATURES_ALL & ~WifiManager.WIFI_FEATURE_DPP_AKM; in testValidateSecurityTypeDppAkm() local
1505 assertFalse(WifiConfigurationUtil.validate(config, supportedFeatures, in testValidateSecurityTypeDppAkm()
1507 assertFalse(WifiConfigurationUtil.validate(config, supportedFeatures, in testValidateSecurityTypeDppAkm()
1510 supportedFeatures = WifiManager.WIFI_FEATURE_DPP_AKM; in testValidateSecurityTypeDppAkm()
1511 assertTrue(WifiConfigurationUtil.validate(config, supportedFeatures, in testValidateSecurityTypeDppAkm()
1513 assertTrue(WifiConfigurationUtil.validate(config, supportedFeatures, in testValidateSecurityTypeDppAkm()
DWifiMetricsTest.java602 String capabilities, int supportedFeatures) { in buildMockScanDetail() argument
611 if ((supportedFeatures & FEATURE_MBO) != 0) { in buildMockScanDetail()
614 if ((supportedFeatures & FEATURE_MBO_CELL_DATA_AWARE) != 0) { in buildMockScanDetail()
617 if ((supportedFeatures & FEATURE_OCE) != 0) { in buildMockScanDetail()
620 if ((supportedFeatures & FEATURE_11AX) != 0) { in buildMockScanDetail()
624 if ((supportedFeatures & FEATURE_6G) != 0) { in buildMockScanDetail()
627 if ((supportedFeatures & FEATURE_6G_PSC) != 0) { in buildMockScanDetail()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java2840 long supportedFeatures = in testGetSupportedFeatures() local
2845 .thenReturn(Long.valueOf(supportedFeatures)); in testGetSupportedFeatures()