/packages/apps/Camera2/src/com/android/camera/hardware/ |
D | HardwareSpecImpl.java | 42 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/services/Telecomm/src/com/android/server/telecom/ |
D | ParcelableCallUtils.java | 55 int capabilities = convertConnectionToCallCapabilities(call.getConnectionCapabilities()); in toParcelableCall() local 69 capabilities |= android.telecom.Call.Details.CAPABILITY_RESPOND_VIA_TEXT; in toParcelableCall() 73 capabilities = removeCapability( in toParcelableCall() 74 capabilities, android.telecom.Call.Details.CAPABILITY_MUTE); in toParcelableCall() 78 capabilities = removeCapability(capabilities, in toParcelableCall() 80 capabilities = removeCapability(capabilities, in toParcelableCall() 124 capabilities, in toParcelableCall() 292 private static int removeCapability(int capabilities, int capability) { in removeCapability() argument 293 return capabilities & ~capability; in removeCapability()
|
D | PhoneAccountRegistrar.java | 773 int capabilities, in getPhoneAccountHandles() argument 778 return getPhoneAccountHandles(capabilities, 0 /*excludedCapabilities*/, uriScheme, in getPhoneAccountHandles() 787 int capabilities, in getPhoneAccountHandles() argument 796 capabilities, excludedCapabilities, uriScheme, packageName, in getPhoneAccountHandles() 804 int capabilities, in getPhoneAccounts() argument 809 return getPhoneAccounts(capabilities, 0 /*excludedCapabilities*/, uriScheme, packageName, in getPhoneAccounts() 825 int capabilities, in getPhoneAccounts() argument 843 if (capabilities != 0 && !m.hasCapabilities(capabilities)) { in getPhoneAccounts() 1459 int capabilities = 0; 1486 capabilities = Integer.parseInt(parser.getText()); [all …]
|
/packages/apps/TV/usbtuner/src/com/google/android/exoplayer/ |
D | MediaSoftwareCodecUtil.java | 118 MediaCodecInfo.CodecCapabilities capabilities = in getMediaSoftwareCodecInfoInternal() local 121 key.mimeType, capabilities); in getMediaSoftwareCodecInfoInternal() 126 Pair.create(codecName, capabilities)); in getMediaSoftwareCodecInfoInternal() 129 Pair.create(codecName + ".secure", capabilities)); in getMediaSoftwareCodecInfoInternal() 136 Pair.create(codecName, capabilities)); in getMediaSoftwareCodecInfoInternal() 174 MediaCodecInfo.CodecCapabilities capabilities); in isSecurePlaybackSupported() argument 208 MediaCodecInfo.CodecCapabilities capabilities) { in isSecurePlaybackSupported() argument 209 return capabilities.isFeatureSupported( in isSecurePlaybackSupported() 241 MediaCodecInfo.CodecCapabilities capabilities) { in isSecurePlaybackSupported() argument
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | GsmConnection.java | 61 int capabilities = super.buildConnectionCapabilities(); in buildConnectionCapabilities() local 62 capabilities |= CAPABILITY_MUTE; in buildConnectionCapabilities() 64 capabilities |= CAPABILITY_SUPPORT_HOLD; in buildConnectionCapabilities() 66 capabilities |= CAPABILITY_HOLD; in buildConnectionCapabilities() 69 return capabilities; in buildConnectionCapabilities()
|
D | ImsConference.java | 277 int capabilities = Connection.CAPABILITY_SUPPORT_HOLD | Connection.CAPABILITY_HOLD | in ImsConference() local 279 capabilities = applyHostCapabilities(capabilities, in ImsConference() 281 setConnectionCapabilities(capabilities); in ImsConference() 292 private int applyHostCapabilities(int conferenceCapabilities, int capabilities) { in applyHostCapabilities() argument 295 can(capabilities, Connection.CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL)); in applyHostCapabilities() 299 can(capabilities, Connection.CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL)); in applyHostCapabilities() 303 can(capabilities, Connection.CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO)); in applyHostCapabilities() 307 can(capabilities, Connection.CAPABILITY_CAN_UPGRADE_TO_VIDEO)); in applyHostCapabilities() 532 int capabilities = getConnectionCapabilities(); in updateManageConference() local 535 capabilities |= Connection.CAPABILITY_MANAGE_CONFERENCE; in updateManageConference() [all …]
|
D | PstnPhoneCapabilitiesNotifier.java | 119 private int newCapabilities(int capabilities, int capability, boolean set) { in newCapabilities() argument 121 capabilities |= capability; in newCapabilities() 123 capabilities &= ~capability; in newCapabilities() 125 return capabilities; in newCapabilities()
|
D | TelecomAccountRegistry.java | 163 int capabilities = PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION | in registerPstnPhoneAccount() local 168 capabilities |= PhoneAccount.CAPABILITY_PLACE_EMERGENCY_CALLS; in registerPstnPhoneAccount() 173 capabilities |= PhoneAccount.CAPABILITY_VIDEO_CALLING; in registerPstnPhoneAccount() 178 capabilities |= PhoneAccount.CAPABILITY_VIDEO_CALLING_RELIES_ON_PRESENCE; in registerPstnPhoneAccount() 182 capabilities |= PhoneAccount.CAPABILITY_EMERGENCY_VIDEO_CALLING; in registerPstnPhoneAccount() 188 capabilities |= PhoneAccount.CAPABILITY_CALL_SUBJECT; in registerPstnPhoneAccount() 195 capabilities |= PhoneAccount.CAPABILITY_EMERGENCY_CALLS_ONLY; in registerPstnPhoneAccount() 219 .setCapabilities(capabilities) in registerPstnPhoneAccount()
|
D | TelephonyConnection.java | 256 public void onConnectionCapabilitiesChanged(int capabilities) { 258 capabilities, 0).sendToTarget(); 1154 private int applyConferenceTerminationCapabilities(int capabilities) { in applyConferenceTerminationCapabilities() argument 1155 int currentCapabilities = capabilities; in applyConferenceTerminationCapabilities() 1189 public int applyOriginalConnectionCapabilities(int capabilities) { in applyOriginalConnectionCapabilities() argument 1195 capabilities = changeBitmask(capabilities, in applyOriginalConnectionCapabilities() 1198 capabilities = changeBitmask(capabilities, CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL, in applyOriginalConnectionCapabilities() 1201 capabilities = changeBitmask(capabilities, CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL, in applyOriginalConnectionCapabilities() 1204 return capabilities; in applyOriginalConnectionCapabilities()
|
D | CdmaConference.java | 48 public void updateCapabilities(int capabilities) { in updateCapabilities() argument 49 capabilities |= Connection.CAPABILITY_MUTE; in updateCapabilities() 50 setConnectionCapabilities(capabilities); in updateCapabilities()
|
D | CdmaConnection.java | 176 int capabilities = super.buildConnectionCapabilities(); in buildConnectionCapabilities() local 178 capabilities |= CAPABILITY_MUTE; in buildConnectionCapabilities() 180 return capabilities; in buildConnectionCapabilities()
|
/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 …]
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PhotoUI.java | 298 public void onCameraOpened(CameraCapabilities capabilities, CameraSettings settings) { in onCameraOpened() argument 299 initializeZoom(capabilities, settings); in onCameraOpened() 314 public void initializeSecondTime(CameraCapabilities capabilities, CameraSettings settings) { in initializeSecondTime() argument 315 initializeZoom(capabilities, settings); in initializeSecondTime() 321 public void initializeZoom(CameraCapabilities capabilities, CameraSettings settings) { in initializeZoom() argument 322 if ((capabilities == null) || settings == null || in initializeZoom() 323 !capabilities.supports(CameraCapabilities.Feature.ZOOM)) { in initializeZoom() 326 mZoomMax = capabilities.getMaxZoomRatio(); in initializeZoom()
|
D | FocusOverlayManager.java | 157 List<CameraCapabilities.FocusMode> defaultFocusModes, CameraCapabilities capabilities, in FocusOverlayManager() argument 163 updateCapabilities(capabilities); in FocusOverlayManager() 170 public void updateCapabilities(CameraCapabilities capabilities) { in updateCapabilities() argument 175 if (capabilities == null) { in updateCapabilities() 178 mCapabilities = capabilities; in updateCapabilities()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestConnectionService.java | 158 int capabilities = getConnectionCapabilities(); in TestConnection() local 159 capabilities |= CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL; in TestConnection() 160 capabilities |= CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL; in TestConnection() 161 capabilities |= CAPABILITY_CAN_UPGRADE_TO_VIDEO; in TestConnection() 162 capabilities |= CAPABILITY_MUTE; in TestConnection() 163 capabilities |= CAPABILITY_SUPPORT_HOLD; in TestConnection() 164 capabilities |= CAPABILITY_HOLD; in TestConnection() 165 capabilities |= CAPABILITY_RESPOND_VIA_TEXT; in TestConnection() 166 setConnectionCapabilities(capabilities); in TestConnection()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | ConnectionServiceFixture.java | 125 int capabilities = getConnectionCapabilities(); in FakeConnection() local 126 capabilities |= CAPABILITY_MUTE; in FakeConnection() 127 capabilities |= CAPABILITY_SUPPORT_HOLD; in FakeConnection() 128 capabilities |= CAPABILITY_HOLD; in FakeConnection() 130 setConnectionCapabilities(capabilities); in FakeConnection() 202 c.capabilities |= Connection.CAPABILITY_HOLD | Connection.CAPABILITY_SUPPORT_HOLD; in createConnection() 306 int capabilities; field in ConnectionServiceFixture.ConnectionInfo 325 int capabilities; field in ConnectionServiceFixture.ConferenceInfo 404 a.setConnectionCapabilities(id, mConnectionById.get(id).capabilities); in sendSetConnectionCapabilities() 541 c.capabilities, in parcelable() [all …]
|
/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/services/Car/car-lib/src/android/car/hardware/camera/ |
D | CarCameraManager.java | 81 int capabilities; in getCameraCapabilities() local 83 capabilities = mService.getCapabilities(cameraType); in getCameraCapabilities() 88 return capabilities; in getCameraCapabilities()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiSecurity.java | 37 if (result.capabilities.contains("WEP")) { in getSecurity() 39 } else if (result.capabilities.contains("PSK")) { in getSecurity() 41 } else if (result.capabilities.contains("EAP")) { in getSecurity()
|
/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/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/apps/UnifiedEmail/tests/src/com/android/mail/providers/ |
D | AccountTests.java | 54 assertEquals(before.capabilities, after.capabilities); in testSerializeDeserialize()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleAccessibilityServicePreferenceFragment.java | 228 LinearLayout capabilitiesView = (LinearLayout) content.findViewById(R.id.capabilities); in createEnableDialogContentView() 247 List<AccessibilityServiceInfo.CapabilityInfo> capabilities = in createEnableDialogContentView() local 253 final int capabilityCount = capabilities.size(); in createEnableDialogContentView() 255 AccessibilityServiceInfo.CapabilityInfo capability = capabilities.get(i); in createEnableDialogContentView()
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | Call.java | 721 public boolean can(int capabilities) { in can() argument 724 if ((capabilities & android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE) != 0) { in can() 733 capabilities &= ~android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE; in can() 735 return (capabilities == (capabilities & mTelecomCall.getDetails().getCallCapabilities())); in can()
|