/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | ImapConnection.java | 151 ImapResponse capabilities = queryCapabilities(); in open() local 154 capabilities.contains(ImapConstants.STARTTLS); in open() 159 capabilities = newCapabilities; in open() 165 setCapabilities(capabilities); in open() 166 String capabilityString = capabilities.flatten(); in open() 225 private void setCapabilities(ImapResponse capabilities) { in setCapabilities() argument 226 if (capabilities.contains(ImapConstants.ID)) { in setCapabilities() 229 if (capabilities.contains(ImapConstants.NAMESPACE)) { in setCapabilities() 232 if (capabilities.contains(ImapConstants.UIDPLUS)) { in setCapabilities() 235 if (capabilities.contains(ImapConstants.STARTTLS)) { in setCapabilities() [all …]
|
D | Pop3Store.java | 684 Pop3Capabilities capabilities = new Pop3Capabilities(); in getCapabilities() local 691 capabilities.stls = true; in getCapabilities() 701 return capabilities; in getCapabilities()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallController.java | 463 int capabilities = convertConnectionToCallCapabilities(call.getConnectionCapabilities()); in toParcelableCall() local 470 capabilities |= android.telecom.Call.Details.CAPABILITY_RESPOND_VIA_TEXT; in toParcelableCall() 474 capabilities = removeCapability( in toParcelableCall() 475 capabilities, android.telecom.Call.Details.CAPABILITY_MUTE); in toParcelableCall() 479 capabilities = removeCapability( in toParcelableCall() 480 capabilities, android.telecom.Call.Details.CAPABILITY_SUPPORTS_VT_LOCAL); in toParcelableCall() 481 capabilities = removeCapability( in toParcelableCall() 482 capabilities, android.telecom.Call.Details.CAPABILITY_SUPPORTS_VT_REMOTE); in toParcelableCall() 537 capabilities, in toParcelableCall() 626 private static int removeCapability(int capabilities, int capability) { in removeCapability() argument [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnection.java | 707 private int applyVideoCapabilities(int capabilities) { in applyVideoCapabilities() argument 708 int currentCapabilities = capabilities; in applyVideoCapabilities() 734 private int applyAudioQualityCapabilities(int capabilities) { in applyAudioQualityCapabilities() argument 735 int currentCapabilities = capabilities; in applyAudioQualityCapabilities() 754 private int applyConferenceTerminationCapabilities(int capabilities) { in applyConferenceTerminationCapabilities() argument 755 int currentCapabilities = capabilities; in applyConferenceTerminationCapabilities() 874 private int applyCapability(int capabilities, int capability) { in applyCapability() argument 875 int newCapabilities = capabilities | capability; in applyCapability() 886 private int removeCapability(int capabilities, int capability) { in removeCapability() argument 887 int newCapabilities = capabilities & ~capability; in removeCapability()
|
D | GsmConnection.java | 60 int capabilities = super.buildConnectionCapabilities(); in buildConnectionCapabilities() local 61 capabilities |= CAPABILITY_MUTE; in buildConnectionCapabilities() 62 capabilities |= CAPABILITY_SUPPORT_HOLD; in buildConnectionCapabilities() 64 capabilities |= CAPABILITY_HOLD; in buildConnectionCapabilities() 66 return capabilities; in buildConnectionCapabilities()
|
D | CdmaConference.java | 43 public void updateCapabilities(int capabilities) { in updateCapabilities() argument 44 capabilities |= Connection.CAPABILITY_MUTE | Connection.CAPABILITY_GENERIC_CONFERENCE; in updateCapabilities() 45 setCapabilities(capabilities); in updateCapabilities()
|
D | CdmaConnection.java | 172 int capabilities = super.buildConnectionCapabilities(); in buildConnectionCapabilities() local 174 capabilities |= CAPABILITY_MUTE; in buildConnectionCapabilities() 176 return capabilities; in buildConnectionCapabilities()
|
D | ConferenceParticipantConnection.java | 123 int capabilities = CAPABILITY_DISCONNECT_FROM_CONFERENCE; in setCapabilities() local 124 setConnectionCapabilities(capabilities); in setCapabilities()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Folder.java | 94 public int capabilities; field in Folder 254 public Builder setCapabilities(final int capabilities) { in setCapabilities() argument 255 mCapabilities = capabilities; in setCapabilities() 340 public Folder(int id, String persistentId, Uri uri, String name, int capabilities, in Folder() argument 350 this.capabilities = capabilities; in Folder() 384 capabilities = cursor.getInt(UIProvider.FOLDER_CAPABILITIES_COLUMN); in Folder() 446 capabilities = in.readInt(); in Folder() 482 dest.writeInt(capabilities); in writeToParcel() 616 return (capabilities & capability) != 0; in supportsCapability() 903 f.capabilities = Integer.parseInt(split[index++]); in fromString()
|
D | Account.java | 97 public final int capabilities; field in Account 272 json.put(AccountColumns.CAPABILITIES, capabilities); in serialize() 393 capabilities = json.getInt(AccountColumns.CAPABILITIES); in Account() 459 capabilities = cursor.getInt(capabilitiesColumnIndex); in Account() 461 capabilities = 0; in Account() 559 return (capabilities & capability) != 0; in supportsCapability() 603 capabilities = in.readInt(); in Account() 652 dest.writeInt(capabilities); in writeToParcel() 717 capabilities == other.capabilities && in equals() 773 capabilities, in hashCode() [all …]
|
/packages/apps/Camera2/src/com/android/camera/hardware/ |
D | HardwareSpecImpl.java | 40 public HardwareSpecImpl(CameraProvider provider, CameraCapabilities capabilities) { in HardwareSpecImpl() argument 45 mIsHdrSupported = capabilities.supports(CameraCapabilities.SceneMode.HDR); in HardwareSpecImpl() 51 mIsFlashSupported = isFlashSupported(capabilities); in HardwareSpecImpl() 78 private boolean isFlashSupported(CameraCapabilities capabilities) { in isFlashSupported() argument 79 return (capabilities.supports(CameraCapabilities.FlashMode.AUTO) || capabilities.supports in isFlashSupported()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PhotoUI.java | 337 public void onCameraOpened(CameraCapabilities capabilities, CameraSettings settings) { in onCameraOpened() argument 338 initializeZoom(capabilities, settings); in onCameraOpened() 353 public void initializeSecondTime(CameraCapabilities capabilities, CameraSettings settings) { in initializeSecondTime() argument 354 initializeZoom(capabilities, settings); in initializeSecondTime() 462 public void initializeZoom(CameraCapabilities capabilities, CameraSettings settings) { in initializeZoom() argument 463 if ((capabilities == null) || settings == null || in initializeZoom() 464 !capabilities.supports(CameraCapabilities.Feature.ZOOM)) { in initializeZoom() 467 mZoomMax = capabilities.getMaxZoomRatio(); in initializeZoom()
|
D | FocusOverlayManager.java | 171 List<CameraCapabilities.FocusMode> defaultFocusModes, CameraCapabilities capabilities, in FocusOverlayManager() argument 178 updateCapabilities(capabilities); in FocusOverlayManager() 185 public void updateCapabilities(CameraCapabilities capabilities) { in updateCapabilities() argument 190 if (capabilities == null) { in updateCapabilities() 193 mCapabilities = capabilities; in updateCapabilities()
|
D | VideoUI.java | 214 public void initializeZoom(CameraSettings settings, CameraCapabilities capabilities) { in initializeZoom() argument 215 mZoomMax = capabilities.getMaxZoomRatio(); in initializeZoom()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/testapps/ |
D | TestConnectionService.java | 137 int capabilities = getConnectionCapabilities(); in TestConnection() local 138 capabilities |= CAPABILITY_SUPPORTS_VT_LOCAL; in TestConnection() 139 capabilities |= CAPABILITY_MUTE; in TestConnection() 140 capabilities |= CAPABILITY_SUPPORT_HOLD; in TestConnection() 141 capabilities |= CAPABILITY_HOLD; in TestConnection() 142 setConnectionCapabilities(capabilities); in TestConnection()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | AccessPoint.java | 137 if (result.capabilities.contains("WEP")) { in getSecurity() 139 } else if (result.capabilities.contains("PSK")) { in getSecurity() 141 } else if (result.capabilities.contains("EAP")) { in getSecurity() 179 boolean wpa = result.capabilities.contains("WPA-PSK"); in getPskType() 180 boolean wpa2 = result.capabilities.contains("WPA2-PSK"); in getPskType() 188 Log.w(TAG, "Received abnormal flag string: " + result.capabilities); in getPskType() 244 wpsAvailable = security != SECURITY_EAP && result.capabilities.contains("WPS"); in loadResult()
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | Call.java | 315 public boolean can(int capabilities) { in can() argument 318 if ((capabilities & android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE) != 0) { in can() 327 capabilities &= ~android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE; in can() 329 return (capabilities == (capabilities & mTelecommCall.getDetails().getCallCapabilities())); in can()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiSecurity.java | 36 if (result.capabilities.contains("WEP")) { in getSecurity() 38 } else if (result.capabilities.contains("PSK")) { in getSecurity() 40 } else if (result.capabilities.contains("EAP")) { in getSecurity()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleAccessibilityServicePreferenceFragment.java | 240 LinearLayout capabilitiesView = (LinearLayout) content.findViewById(R.id.capabilities); in createEnableDialogContentView() 259 List<AccessibilityServiceInfo.CapabilityInfo> capabilities = in createEnableDialogContentView() local 265 final int capabilityCount = capabilities.size(); in createEnableDialogContentView() 267 AccessibilityServiceInfo.CapabilityInfo capability = capabilities.get(i); in createEnableDialogContentView()
|
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
D | SmtpSenderUnitTests.java | 267 private void setupOpen(MockTransport mockTransport, String capabilities) { in setupOpen() argument 270 if (capabilities == null) { in setupOpen() 277 for (String capability : capabilities.split(",")) { in setupOpen()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipConnection.java | 247 int capabilities = CAPABILITY_MUTE | CAPABILITY_SUPPORT_HOLD; in buildCallCapabilities() local 249 capabilities |= CAPABILITY_HOLD; in buildCallCapabilities() 251 return capabilities; in buildCallCapabilities()
|
/packages/experimental/PrintService/src/foo/bar/printservice/ |
D | CustomPrintOptionsActivity.java | 31 PrinterCapabilitiesInfo capabilities = printerInfo.getCapabilities(); in onResume() local 36 .setResolution(capabilities.getResolutions().get(0)) in onResume()
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/ |
D | AccountTests.java | 54 assertEquals(before.capabilities, after.capabilities); in testSerializeDeserialize()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | Pop3StoreUnitTests.java | 941 private void setupOpenFolder(MockTransport mockTransport, int statCount, String capabilities) { in setupOpenFolder() argument 943 if (capabilities == null) { in setupOpenFolder() 947 mockTransport.expect(null, capabilities.split(",")); // one capability per line in setupOpenFolder()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/ |
D | VendorPolicyLoader.java | 186 public String getImapIdValues(String userName, String host, String capabilities) { in getImapIdValues() argument 190 params.putString(GET_IMAP_ID_CAPA, capabilities); in getImapIdValues()
|