Home
last modified time | relevance | path

Searched refs:capabilities (Results 1 – 25 of 204) sorted by relevance

123456789

/packages/modules/Wifi/framework/java/android/net/wifi/util/
DScanResultUtil.java49 return scanResult.capabilities.contains("PSK"); in isScanResultForPskNetwork()
57 return scanResult.capabilities.contains("WAPI-PSK"); in isScanResultForWapiPskNetwork()
66 return scanResult.capabilities.contains("WAPI-CERT"); in isScanResultForWapiCertNetwork()
77 return (scanResult.capabilities.contains("EAP/SHA1") in isScanResultForEapNetwork()
78 || scanResult.capabilities.contains("EAP/SHA256") in isScanResultForEapNetwork()
79 || scanResult.capabilities.contains("FT/EAP") in isScanResultForEapNetwork()
80 || scanResult.capabilities.contains("EAP-FILS")) in isScanResultForEapNetwork()
86 return scanResult.capabilities.contains("[MFPR]"); in isScanResultForPmfMandatoryNetwork()
90 return scanResult.capabilities.contains("[MFPC]"); in isScanResultForPmfCapableNetwork()
140 return scanResult.capabilities.contains("EAP/SHA1") in isScanResultForWpa3EnterpriseTransitionNetwork()
[all …]
/packages/services/BuiltInPrintService/jni/ipphelper/
Dipphelper.c53 static void parse_printerUris(ipp_t *response, printer_capabilities_t *capabilities);
1010 printer_capabilities_t *capabilities) { in parse_getMediaSupported() argument
1084 strlcpy(capabilities->mediaDefault, mapDFMediaToIPPKeyword(media_supported->media_size[0]), in parse_getMediaSupported()
1085 sizeof(capabilities->mediaDefault)); in parse_getMediaSupported()
1109 printer_capabilities_t *capabilities) { in get_supportedPrinterResolutions() argument
1118 capabilities->supportedResolutions[idx] = xres; in get_supportedPrinterResolutions()
1123 capabilities->numSupportedResolutions = idx; in get_supportedPrinterResolutions()
1137 static void addMediaType(printer_capabilities_t *capabilities, media_type_t mediaType) { in addMediaType() argument
1139 for (index = 0; index < capabilities->numSupportedMediaTypes; index++) { in addMediaType()
1141 if (capabilities->supportedMediaTypes[index] == mediaType) return; in addMediaType()
[all …]
Dippstatus_capabilities.c78 printer_capabilities_t *capabilities);
132 printer_capabilities_t *capabilities) { in _get_capabilities() argument
143 if (capabilities != NULL) { in _get_capabilities()
144 memset(capabilities, 0, sizeof(printer_capabilities_t)); in _get_capabilities()
181 parse_printerAttributes(response, capabilities); in _get_capabilities()
206 if ((caps != NULL) && (capabilities != NULL)) { in _get_capabilities()
207 memcpy(capabilities->httpResource, caps->printer_caps.httpResource, in _get_capabilities()
208 sizeof(capabilities->httpResource)); in _get_capabilities()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DCapabilitiesCache.java128 void onCapabilities(LocalPrinterCapabilities capabilities); in onCapabilities() argument
144 LocalPrinterCapabilities capabilities = get(printer); in request() local
145 if (capabilities != null && capabilities.nativeData != null) { in request()
146 onLocalPrinterCapabilities.onCapabilities(capabilities); in request()
175 LocalPrinterCapabilities capabilities = mCache.get(printer.path); in get() local
177 if (capabilities != null) { in get()
178 capabilities.certificate = mService.getCertificateStore().get(capabilities.uuid); in get()
180 return capabilities; in get()
266 public void accept(LocalPrinterCapabilities capabilities) { in accept() argument
268 if (DEBUG) Log.d(TAG, "Capabilities for " + printer + " cap=" + capabilities); in accept()
[all …]
/packages/modules/NeuralNetworks/common/
DLegacyHalUtils.cpp328 static bool isQuantized8PerformanceConsistentWithP(const V1_2::Capabilities& capabilities) { in isQuantized8PerformanceConsistentWithP() argument
330 lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_QUANT8_ASYMM); in isQuantized8PerformanceConsistentWithP()
333 [quantized8Performance, &capabilities](V1_3::OperandType type) { in isQuantized8PerformanceConsistentWithP()
335 lookup(capabilities.operandPerformance, in isQuantized8PerformanceConsistentWithP()
340 static bool isQuantized8PerformanceConsistentWithP(const V1_3::Capabilities& capabilities) { in isQuantized8PerformanceConsistentWithP() argument
342 lookup(capabilities.operandPerformance, V1_3::OperandType::TENSOR_QUANT8_ASYMM); in isQuantized8PerformanceConsistentWithP()
345 [quantized8Performance, &capabilities](V1_3::OperandType type) { in isQuantized8PerformanceConsistentWithP()
347 lookup(capabilities.operandPerformance, type); in isQuantized8PerformanceConsistentWithP()
368 bool compliantWithV1_0(const V1_1::Capabilities& capabilities) { in compliantWithV1_0() argument
369 return capabilities.relaxedFloat32toFloat16Performance == capabilities.float32Performance; in compliantWithV1_0()
[all …]
/packages/modules/NeuralNetworks/common/include/
DLegacyHalUtils.h196 bool compliantWithV1_0(const V1_0::Capabilities& capabilities);
197 bool compliantWithV1_0(const V1_1::Capabilities& capabilities);
198 bool compliantWithV1_0(const V1_2::Capabilities& capabilities);
199 bool compliantWithV1_0(const V1_3::Capabilities& capabilities);
200 bool compliantWithV1_1(const V1_0::Capabilities& capabilities);
201 bool compliantWithV1_1(const V1_1::Capabilities& capabilities);
202 bool compliantWithV1_1(const V1_2::Capabilities& capabilities);
203 bool compliantWithV1_1(const V1_3::Capabilities& capabilities);
204 bool compliantWithV1_2(const V1_0::Capabilities& capabilities);
205 bool compliantWithV1_2(const V1_1::Capabilities& capabilities);
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeCallback.java176 android.hardware.wifi.V1_0.NanCapabilities capabilities) { in notifyCapabilitiesResponse() argument
179 + ", capabilities=" + capabilities); in notifyCapabilitiesResponse()
187 Capabilities frameworkCapabilities = toFrameworkCapability10(capabilities); in notifyCapabilitiesResponse()
198 android.hardware.wifi.V1_5.NanCapabilities capabilities) throws RemoteException { in notifyCapabilitiesResponse_1_5() argument
201 + statusString(status) + ", capabilities=" + capabilities); in notifyCapabilitiesResponse_1_5()
210 Capabilities frameworkCapabilities = toFrameworkCapability10(capabilities.V1_0); in notifyCapabilitiesResponse_1_5()
212 capabilities.instantCommunicationModeSupportFlag; in notifyCapabilitiesResponse_1_5()
223 android.hardware.wifi.V1_6.NanCapabilities capabilities) throws RemoteException { in notifyCapabilitiesResponse_1_6() argument
226 + statusString(status) + ", capabilities=" + capabilities); in notifyCapabilitiesResponse_1_6()
235 Capabilities frameworkCapabilities = toFrameworkCapability1_6(capabilities); in notifyCapabilitiesResponse_1_6()
[all …]
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DManualDiscovery.java66 mCapabilitiesCache.request(printer, false, capabilities -> { in onStart()
67 if (capabilities != null) { in onStart()
175 public void onCapabilities(LocalPrinterCapabilities capabilities) { in CapabilitiesFinder()
177 handleCapabilities(uri, capabilities); in CapabilitiesFinder()
190 void handleCapabilities(Uri printerPath, LocalPrinterCapabilities capabilities) { in handleCapabilities() argument
191 if (DEBUG) Log.d(TAG, "request " + printerPath + " cap=" + capabilities); in handleCapabilities()
193 if (capabilities == null) { in handleCapabilities()
208 Uri uuid = TextUtils.isEmpty(capabilities.uuid) ? null : Uri.parse(capabilities.uuid); in handleCapabilities()
209 String name = TextUtils.isEmpty(capabilities.name) ? printerPath.getHost() in handleCapabilities()
210 : capabilities.name; in handleCapabilities()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DThroughputPredictor.java128 public int predictMaxTxThroughput(@NonNull WifiNative.ConnectionCapabilities capabilities) { in predictMaxTxThroughput() argument
129 return predictThroughputInternal(capabilities.wifiStandard, capabilities.is11bMode, in predictMaxTxThroughput()
130 capabilities.channelBandwidth, WifiInfo.MAX_RSSI, in predictMaxTxThroughput()
131 capabilities.maxNumberTxSpatialStreams, MIN_CHANNEL_UTILIZATION, 0); in predictMaxTxThroughput()
139 public int predictMaxRxThroughput(@NonNull WifiNative.ConnectionCapabilities capabilities) { in predictMaxRxThroughput() argument
140 return predictThroughputInternal(capabilities.wifiStandard, capabilities.is11bMode, in predictMaxRxThroughput()
141 capabilities.channelBandwidth, WifiInfo.MAX_RSSI, in predictMaxRxThroughput()
142 capabilities.maxNumberRxSpatialStreams, MIN_CHANNEL_UTILIZATION, 0); in predictMaxRxThroughput()
149 public int predictTxThroughput(@NonNull WifiNative.ConnectionCapabilities capabilities, in predictTxThroughput() argument
153 return predictThroughputInternal(capabilities.wifiStandard, capabilities.is11bMode, in predictTxThroughput()
[all …]
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/
DProvisionerMetrics.java279 NetworkCapabilities capabilities = cm.getNetworkCapabilities(cm.getActiveNetwork()); in getTransportTypeForActiveNetwork() local
280 if (capabilities == null) { in getTransportTypeForActiveNetwork()
285 if (capabilities.hasTransport(NetworkCapabilities.TRANSPORT_VPN)) { in getTransportTypeForActiveNetwork()
286 if (capabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) in getTransportTypeForActiveNetwork()
287 && capabilities.hasTransport(NetworkCapabilities.TRANSPORT_WIFI)) { in getTransportTypeForActiveNetwork()
291 if (capabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)) { in getTransportTypeForActiveNetwork()
295 if (capabilities.hasTransport(NetworkCapabilities.TRANSPORT_WIFI)) { in getTransportTypeForActiveNetwork()
299 if (capabilities.hasTransport(NetworkCapabilities.TRANSPORT_BLUETOOTH)) { in getTransportTypeForActiveNetwork()
303 if (capabilities.hasTransport(NetworkCapabilities.TRANSPORT_ETHERNET)) { in getTransportTypeForActiveNetwork()
311 if (capabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)) { in getTransportTypeForActiveNetwork()
[all …]
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DProfileNetworkPreferenceList.java40 @Nullable public final NetworkCapabilities capabilities; field in ProfileNetworkPreferenceList.Preference
44 @Nullable final NetworkCapabilities capabilities, in Preference() argument
47 this.capabilities = null == capabilities ? null : new NetworkCapabilities(capabilities); in Preference()
54 + " caps=" + capabilities in toString()
81 if (null != pref.capabilities) { in plus()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/util/
DScanResultUtilTest.java53 scanResult.capabilities = ""; in testNetworkCreationFromScanResult()
59 scanResult.capabilities = "WEP"; in testNetworkCreationFromScanResult()
65 scanResult.capabilities = "PSK"; in testNetworkCreationFromScanResult()
72 scanResult.capabilities = "[EAP/SHA1]"; in testNetworkCreationFromScanResult()
79 scanResult.capabilities = "[EAP/SHA1][MFPC]"; in testNetworkCreationFromScanResult()
86 scanResult.capabilities = "[EAP/SHA1][MFPR]"; in testNetworkCreationFromScanResult()
93 scanResult.capabilities = "[RSN-EAP/SHA1+EAP/SHA256][MFPC]"; in testNetworkCreationFromScanResult()
102 scanResult.capabilities = "[RSN-EAP/SHA256][MFPC][MFPR]"; in testNetworkCreationFromScanResult()
110 scanResult.capabilities = "[RSN-EAP/SHA1+EAP/SHA256][MFPC][MFPR]"; in testNetworkCreationFromScanResult()
117 scanResult.capabilities = "[RSN-SUITE_B_192][MFPR]"; in testNetworkCreationFromScanResult()
[all …]
/packages/apps/Camera2/src/com/android/camera/hardware/
DHardwareSpecImpl.java42 public HardwareSpecImpl(CameraProvider provider, CameraCapabilities capabilities, in HardwareSpecImpl() argument
48 mIsHdrSupported = capabilities.supports(CameraCapabilities.SceneMode.HDR); in HardwareSpecImpl()
57 mIsFlashSupported = isFlashSupported(capabilities); in HardwareSpecImpl()
84 private boolean isFlashSupported(CameraCapabilities capabilities) { in isFlashSupported() argument
85 return (capabilities.supports(CameraCapabilities.FlashMode.AUTO) || capabilities.supports in isFlashSupported()
/packages/apps/TV/tuner/src/com/google/android/exoplayer/
DMediaSoftwareCodecUtil.java115 MediaCodecInfo.CodecCapabilities capabilities = in getMediaSoftwareCodecInfoInternal() local
119 key.mimeType, capabilities); in getMediaSoftwareCodecInfoInternal()
125 Pair.create(codecName, capabilities)); in getMediaSoftwareCodecInfoInternal()
129 Pair.create(codecName + ".secure", capabilities)); in getMediaSoftwareCodecInfoInternal()
136 Pair.create(codecName, capabilities)); in getMediaSoftwareCodecInfoInternal()
170 String mimeType, MediaCodecInfo.CodecCapabilities capabilities); in isSecurePlaybackSupported() argument
203 String mimeType, MediaCodecInfo.CodecCapabilities capabilities) { in isSecurePlaybackSupported() argument
204 return capabilities.isFeatureSupported( in isSecurePlaybackSupported()
235 String mimeType, MediaCodecInfo.CodecCapabilities capabilities) { in isSecurePlaybackSupported() argument
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/
DLocationTimeZoneDetectionPreferenceControllerTest.java119 TimeZoneCapabilities capabilities = in testLocationTimeZoneDetection_supported_shouldBeShown() local
123 new TimeZoneCapabilitiesAndConfig(capabilities, configuration); in testLocationTimeZoneDetection_supported_shouldBeShown()
131 TimeZoneCapabilities capabilities = in testLocationTimeZoneDetection_unsupported_shouldNotBeShown() local
135 new TimeZoneCapabilitiesAndConfig(capabilities, configuration); in testLocationTimeZoneDetection_unsupported_shouldNotBeShown()
146 TimeZoneCapabilities capabilities = in testLocationTimeZoneDetection_summary_geoDetectionEnabled() local
150 new TimeZoneCapabilitiesAndConfig(capabilities, configuration); in testLocationTimeZoneDetection_summary_geoDetectionEnabled()
158 TimeZoneCapabilities capabilities = in testLocationTimeZoneDetection_toggleIsOn_whenGeoDetectionEnabledAnsMlsIsOff() local
162 new TimeZoneCapabilitiesAndConfig(capabilities, configuration); in testLocationTimeZoneDetection_toggleIsOn_whenGeoDetectionEnabledAnsMlsIsOff()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiUtils.java151 public static boolean canSignIntoNetwork(NetworkCapabilities capabilities) { in canSignIntoNetwork() argument
152 return (capabilities != null in canSignIntoNetwork()
153 && capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL)); in canSignIntoNetwork()
237 if (result.capabilities.contains("WEP")) { in getWifiEntrySecurity()
239 } else if (result.capabilities.contains("SAE")) { in getWifiEntrySecurity()
241 } else if (result.capabilities.contains("PSK")) { in getWifiEntrySecurity()
243 } else if (result.capabilities.contains("EAP_SUITE_B_192")) { in getWifiEntrySecurity()
245 } else if (result.capabilities.contains("EAP")) { in getWifiEntrySecurity()
247 } else if (result.capabilities.contains("OWE")) { in getWifiEntrySecurity()
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/
DImsCallingActivity.java106 MmTelFeature.MmTelCapabilities capabilities) {
107 Log.i("ImsCallingActivity" , "onCapabilitiesStatusChanged:" + capabilities);
108 mCapabilityEvents.add(new CapItem("cap changed: ", capabilities.toString()));
207 MmTelFeature.MmTelCapabilities capabilities = new MmTelFeature.MmTelCapabilities(); in onCapabilitiesChangedClicked() local
209 capabilities.addCapabilities(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_VOICE); in onCapabilitiesChangedClicked()
212 capabilities.addCapabilities(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_VIDEO); in onCapabilitiesChangedClicked()
215 capabilities.addCapabilities(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_UT); in onCapabilitiesChangedClicked()
218 capabilities.addCapabilities(MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_SMS); in onCapabilitiesChangedClicked()
220 TestMmTelFeatureImpl.getInstance().sendCapabilitiesUpdate(capabilities); in onCapabilitiesChangedClicked()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/
DNetworkUtilsTest.java41 NetworkCapabilities capabilities = mock(NetworkCapabilities.class); in hasMobileNetwork_hasCellularCapabilities_returnsTrue() local
44 when(connectivityManager.getNetworkCapabilities(network)).thenReturn(capabilities); in hasMobileNetwork_hasCellularCapabilities_returnsTrue()
45 when(capabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)).thenReturn(true); in hasMobileNetwork_hasCellularCapabilities_returnsTrue()
54 NetworkCapabilities capabilities = mock(NetworkCapabilities.class); in hasMobileNetwork_hasNoCellularCapabilities_returnsFalse() local
57 when(connectivityManager.getNetworkCapabilities(network)).thenReturn(capabilities); in hasMobileNetwork_hasNoCellularCapabilities_returnsFalse()
58 when(capabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)).thenReturn(false); in hasMobileNetwork_hasNoCellularCapabilities_returnsFalse()
/packages/services/Telephony/src/com/android/services/telephony/
DGsmConnection.java70 int capabilities = super.buildConnectionCapabilities(); in buildConnectionCapabilities() local
71 capabilities |= CAPABILITY_MUTE; in buildConnectionCapabilities()
75 capabilities |= CAPABILITY_SUPPORT_HOLD; in buildConnectionCapabilities()
77 capabilities |= CAPABILITY_HOLD; in buildConnectionCapabilities()
81 return capabilities; in buildConnectionCapabilities()
DImsConference.java450 int capabilities = Connection.CAPABILITY_MUTE | in ImsConference() local
453 capabilities |= Connection.CAPABILITY_SUPPORT_HOLD | Connection.CAPABILITY_HOLD; in ImsConference()
456 capabilities = applyHostCapabilities(capabilities, in ImsConference()
459 setConnectionCapabilities(capabilities); in ImsConference()
470 private int applyHostCapabilities(int conferenceCapabilities, int capabilities, in applyHostCapabilities() argument
475 (capabilities & Connection.CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL) != 0); in applyHostCapabilities()
480 (capabilities & Connection.CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL) != 0); in applyHostCapabilities()
483 (capabilities & Connection.CAPABILITY_CAN_UPGRADE_TO_VIDEO) != 0); in applyHostCapabilities()
496 (capabilities & Connection.CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO) != 0); in applyHostCapabilities()
504 (capabilities & Connection.CAPABILITY_ADD_PARTICIPANT) != 0); in applyHostCapabilities()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiUtils.java37 if (result.capabilities.contains("WEP")) { in getAccessPointSecurity()
39 } else if (result.capabilities.contains("SAE")) { in getAccessPointSecurity()
41 } else if (result.capabilities.contains("PSK")) { in getAccessPointSecurity()
43 } else if (result.capabilities.contains("EAP_SUITE_B_192")) { in getAccessPointSecurity()
45 } else if (result.capabilities.contains("EAP")) { in getAccessPointSecurity()
47 } else if (result.capabilities.contains("OWE")) { in getAccessPointSecurity()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetNetworkFactory.java150 @NonNull final NetworkCapabilities capabilities) { in addInterface() argument
156 final NetworkCapabilities nc = new NetworkCapabilities.Builder(capabilities) in addInterface()
197 @Nullable final NetworkCapabilities capabilities, in updateInterface() argument
205 iface.updateInterface(ipConfig, capabilities, listener); in updateInterface()
424 @NonNull IpConfiguration ipConfig, @NonNull NetworkCapabilities capabilities, in NetworkInterfaceState() argument
428 mCapabilities = Objects.requireNonNull(capabilities); in NetworkInterfaceState()
446 private static int getLegacyType(@NonNull final NetworkCapabilities capabilities) { in getLegacyType() argument
447 final int[] transportTypes = capabilities.getTransportTypes(); in getLegacyType()
461 private void setCapabilities(@NonNull final NetworkCapabilities capabilities) { in setCapabilities() argument
462 mCapabilities = new NetworkCapabilities(capabilities); in setCapabilities()
[all …]
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/
DNetworkStackNotifierTest.kt241 val capabilities = NetworkCapabilities(VALIDATED_CAPABILITIES).setSSID(TEST_SSID) in testConnectedNotification_WithSsid() constant
245 onCapabilitiesChanged(capabilities) in testConnectedNotification_WithSsid()
261 val capabilities = NetworkCapabilities(VALIDATED_CAPABILITIES).setSSID(TEST_SSID) in testConnectedVenueInfoNotification() constant
262 onCapabilitiesChanged(capabilities) in testConnectedVenueInfoNotification()
281 val capabilities = NetworkCapabilities(VALIDATED_CAPABILITIES).setSSID(TEST_SSID) in testConnectedVenueInfoNotification_VenueInfoDisabled() constant
282 onCapabilitiesChanged(capabilities) in testConnectedVenueInfoNotification_VenueInfoDisabled()
297 val capabilities = NetworkCapabilities(VALIDATED_CAPABILITIES).setSSID(TEST_SSID) in testVenueInfoNotification() constant
298 onCapabilitiesChanged(capabilities) in testVenueInfoNotification()
362 val capabilities = NetworkCapabilities(VALIDATED_CAPABILITIES).setSSID(TEST_SSID) in testConnectedVenueInfoWithFriendlyNameNotification() constant
363 onCapabilitiesChanged(capabilities) in testConnectedVenueInfoWithFriendlyNameNotification()
[all …]
/packages/modules/Bluetooth/system/bta/include/
Dbta_hearing_aid_api.h140 uint8_t capabilities; member
163 HearingDevice(const RawAddress& address, uint8_t capabilities, in HearingDevice()
183 capabilities(capabilities), in HearingDevice()
206 capabilities(0), in HearingDevice()
220 bool isLeft() const { return !(capabilities & CAPABILITY_SIDE); } in isLeft()
/packages/services/Telecomm/src/com/android/server/telecom/
DParcelableCallUtils.java145 int capabilities = convertConnectionToCallCapabilities(call.getConnectionCapabilities()); in toParcelableCall() local
165 capabilities |= android.telecom.Call.Details.CAPABILITY_RESPOND_VIA_TEXT; in toParcelableCall()
169 capabilities = removeCapability( in toParcelableCall()
170 capabilities, android.telecom.Call.Details.CAPABILITY_MUTE); in toParcelableCall()
174 capabilities = removeCapability(capabilities, in toParcelableCall()
176 capabilities = removeCapability(capabilities, in toParcelableCall()
232 .setCapabilities(capabilities) in toParcelableCall()
584 private static int removeCapability(int capabilities, int capability) { in removeCapability() argument
585 return capabilities & ~capability; in removeCapability()

123456789