/packages/services/BuiltInPrintService/jni/ipphelper/ |
D | ipphelper.c | 48 static void parse_printerUris(ipp_t *response, printer_capabilities_t *capabilities); 741 printer_capabilities_t *capabilities) { in parse_getMediaSupported() argument 769 strlcpy(capabilities->make, ippGetString(attrptr, 0, NULL), sizeof(capabilities->make)); in parse_getMediaSupported() 770 LOGD("manufacturer_from_deviceid: %s", capabilities->make); in parse_getMediaSupported() 772 if (strcasestr(capabilities->make, optout_manufacture_list[iterate]) != NULL) { in parse_getMediaSupported() 773 LOGD("printer device id cmp: %s", strcasestr(capabilities->make, in parse_getMediaSupported() 904 printer_capabilities_t *capabilities) { in get_supportedPrinterResolutions() argument 913 capabilities->supportedResolutions[idx] = xres; in get_supportedPrinterResolutions() 918 capabilities->numSupportedResolutions = idx; in get_supportedPrinterResolutions() 932 static void addMediaType(printer_capabilities_t *capabilities, media_type_t mediaType) { in addMediaType() argument [all …]
|
D | ippstatus_capabilities.c | 73 printer_capabilities_t *capabilities); 127 printer_capabilities_t *capabilities) { in _get_capabilities() argument 138 if (capabilities != NULL) { in _get_capabilities() 139 memset(capabilities, 0, sizeof(printer_capabilities_t)); in _get_capabilities() 176 parse_printerAttributes(response, capabilities); in _get_capabilities() 201 if ((caps != NULL) && (capabilities != NULL)) { in _get_capabilities() 202 memcpy(capabilities->httpResource, caps->printer_caps.httpResource, in _get_capabilities() 203 sizeof(capabilities->httpResource)); in _get_capabilities()
|
D | ipphelper.h | 90 extern void parse_printerAttributes(ipp_t *response, printer_capabilities_t *capabilities); 101 printer_capabilities_t *capabilities); 106 extern void debuglist_printerCapabilities(printer_capabilities_t *capabilities);
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | CapabilitiesCache.java | 104 void onCapabilities(DiscoveredPrinter printer, LocalPrinterCapabilities capabilities); in onCapabilities() argument 122 LocalPrinterCapabilities capabilities = get(printer.getUri()); in request() local 123 if (capabilities != null && capabilities.nativeData != null) { in request() 124 onLocalPrinterCapabilities.onCapabilities(printer, capabilities); in request() 177 … request.query = mBackend.getCapabilities(request.printer.path, request.timeout, capabilities -> { in startNextRequest() 179 if (DEBUG) Log.d(TAG, "Capabilities for " + printer + " cap=" + capabilities); in startNextRequest() 186 if (capabilities != null) { in startNextRequest() 187 if (!TextUtils.isEmpty(capabilities.uuid)) { in startNextRequest() 188 capUuid = Uri.parse(capabilities.uuid); in startNextRequest() 192 capabilities = null; in startNextRequest() [all …]
|
D | Backend.java | 108 public void print(Uri uri, PrintJob printJob, LocalPrinterCapabilities capabilities, 115 mStartTask = new StartJobTask(mContext, this, uri, printJob, capabilities) { 272 String uriScheme, long timeout, LocalPrinterCapabilities capabilities); 291 LocalPrinterCapabilities capabilities); 308 … LocalPrinterCapabilities capabilities, String[] fileList, String debugDir, String scheme);
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | ImsConference.java | 282 int capabilities = Connection.CAPABILITY_MUTE | in ImsConference() local 285 capabilities |= Connection.CAPABILITY_SUPPORT_HOLD | Connection.CAPABILITY_HOLD; in ImsConference() 287 capabilities = applyHostCapabilities(capabilities, in ImsConference() 290 setConnectionCapabilities(capabilities); in ImsConference() 302 private int applyHostCapabilities(int conferenceCapabilities, int capabilities, in applyHostCapabilities() argument 307 can(capabilities, Connection.CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL)); in applyHostCapabilities() 312 can(capabilities, Connection.CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL)); in applyHostCapabilities() 315 can(capabilities, Connection.CAPABILITY_CAN_UPGRADE_TO_VIDEO)); in applyHostCapabilities() 328 can(capabilities, Connection.CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO)); in applyHostCapabilities() 559 int capabilities = getConnectionCapabilities(); in updateManageConference() local [all …]
|
D | GsmConnection.java | 72 int capabilities = super.buildConnectionCapabilities(); in buildConnectionCapabilities() local 73 capabilities |= CAPABILITY_MUTE; in buildConnectionCapabilities() 78 capabilities |= CAPABILITY_SUPPORT_HOLD; in buildConnectionCapabilities() 80 capabilities |= CAPABILITY_HOLD; in buildConnectionCapabilities() 87 capabilities |= CAPABILITY_CONFERENCE_HAS_NO_CHILDREN; in buildConnectionCapabilities() 90 return capabilities; in buildConnectionCapabilities()
|
D | TelecomAccountRegistry.java | 177 int capabilities = PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION | in registerPstnPhoneAccount() local 182 capabilities |= PhoneAccount.CAPABILITY_PLACE_EMERGENCY_CALLS; in registerPstnPhoneAccount() 196 capabilities |= PhoneAccount.CAPABILITY_VIDEO_CALLING; in registerPstnPhoneAccount() 200 capabilities |= PhoneAccount.CAPABILITY_SUPPORTS_VIDEO_CALLING; in registerPstnPhoneAccount() 205 capabilities |= PhoneAccount.CAPABILITY_VIDEO_CALLING_RELIES_ON_PRESENCE; in registerPstnPhoneAccount() 209 capabilities |= PhoneAccount.CAPABILITY_EMERGENCY_VIDEO_CALLING; in registerPstnPhoneAccount() 215 capabilities |= PhoneAccount.CAPABILITY_CALL_SUBJECT; in registerPstnPhoneAccount() 245 capabilities |= PhoneAccount.CAPABILITY_EMERGENCY_CALLS_ONLY; in registerPstnPhoneAccount() 286 .setCapabilities(capabilities) in registerPstnPhoneAccount()
|
D | TelephonyConnection.java | 293 public void onConnectionCapabilitiesChanged(int capabilities) { 295 capabilities, 0).sendToTarget(); 1487 private int applyConferenceTerminationCapabilities(int capabilities) { in applyConferenceTerminationCapabilities() argument 1488 int currentCapabilities = capabilities; in applyConferenceTerminationCapabilities() 1522 public int applyOriginalConnectionCapabilities(int capabilities) { in applyOriginalConnectionCapabilities() argument 1528 capabilities = changeBitmask(capabilities, in applyOriginalConnectionCapabilities() 1531 capabilities = changeBitmask(capabilities, CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL, in applyOriginalConnectionCapabilities() 1534 capabilities = changeBitmask(capabilities, CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL, in applyOriginalConnectionCapabilities() 1537 return capabilities; in applyOriginalConnectionCapabilities()
|
D | PstnPhoneCapabilitiesNotifier.java | 100 private int newCapabilities(int capabilities, int capability, boolean set) { in newCapabilities() argument 102 capabilities |= capability; in newCapabilities() 104 capabilities &= ~capability; in newCapabilities() 106 return capabilities; in newCapabilities()
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
D | ManualDiscovery.java | 220 … public void onCapabilities(DiscoveredPrinter printer, LocalPrinterCapabilities capabilities) { in onCapabilities() argument 221 if (DEBUG) Log.d(TAG, "onCapabilities: " + capabilities); in onCapabilities() 223 if (capabilities == null) { in onCapabilities() 234 Uri uuid = TextUtils.isEmpty(capabilities.uuid) ? null : Uri.parse(capabilities.uuid); in onCapabilities() 235 …String name = TextUtils.isEmpty(capabilities.name) ? printer.getUri().getHost() : capabilities.nam… in onCapabilities() 238 capabilities.location); in onCapabilities() 241 if (capabilities.isSupported) { in onCapabilities() 245 mFinalCallback.onFound(resolvedPrinter, capabilities.isSupported); in onCapabilities()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ParcelableCallUtils.java | 93 int capabilities = convertConnectionToCallCapabilities(call.getConnectionCapabilities()); in toParcelableCall() local 109 capabilities |= android.telecom.Call.Details.CAPABILITY_RESPOND_VIA_TEXT; in toParcelableCall() 113 capabilities = removeCapability( in toParcelableCall() 114 capabilities, android.telecom.Call.Details.CAPABILITY_MUTE); in toParcelableCall() 118 capabilities = removeCapability(capabilities, in toParcelableCall() 120 capabilities = removeCapability(capabilities, in toParcelableCall() 166 capabilities, in toParcelableCall() 357 private static int removeCapability(int capabilities, int capability) { in removeCapability() argument 358 return capabilities & ~capability; in removeCapability()
|
D | PhoneAccountRegistrar.java | 927 int capabilities, in getPhoneAccountHandles() argument 932 return getPhoneAccountHandles(capabilities, 0 /*excludedCapabilities*/, uriScheme, in getPhoneAccountHandles() 941 int capabilities, in getPhoneAccountHandles() argument 950 capabilities, excludedCapabilities, uriScheme, packageName, in getPhoneAccountHandles() 958 int capabilities, in getPhoneAccounts() argument 963 return getPhoneAccounts(capabilities, 0 /*excludedCapabilities*/, uriScheme, packageName, in getPhoneAccounts() 979 int capabilities, in getPhoneAccounts() argument 997 if (capabilities != 0 && !m.hasCapabilities(capabilities)) { in getPhoneAccounts() 1682 int capabilities = 0; 1710 capabilities = Integer.parseInt(parser.getText()); [all …]
|
/packages/apps/TV/src/com/android/exoplayer/ |
D | MediaSoftwareCodecUtil.java | 116 MediaCodecInfo.CodecCapabilities capabilities = in getMediaSoftwareCodecInfoInternal() local 119 key.mimeType, capabilities); in getMediaSoftwareCodecInfoInternal() 124 Pair.create(codecName, capabilities)); in getMediaSoftwareCodecInfoInternal() 127 Pair.create(codecName + ".secure", capabilities)); in getMediaSoftwareCodecInfoInternal() 134 Pair.create(codecName, capabilities)); in getMediaSoftwareCodecInfoInternal() 172 MediaCodecInfo.CodecCapabilities capabilities); in isSecurePlaybackSupported() argument 206 MediaCodecInfo.CodecCapabilities capabilities) { in isSecurePlaybackSupported() argument 207 return capabilities.isFeatureSupported( in isSecurePlaybackSupported() 239 MediaCodecInfo.CodecCapabilities capabilities) { in isSecurePlaybackSupported() argument
|
/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/services/BuiltInPrintService/src/com/android/bips/ |
D | LocalPrinter.java | 109 public void onCapabilities(DiscoveredPrinter printer, LocalPrinterCapabilities capabilities) { in onCapabilities() argument 112 if (capabilities == null) { in onCapabilities() 116 mCapabilities = capabilities; in onCapabilities() 145 LocalPrinterCapabilities capabilities = mPrintService.getCapabilitiesCache() in found() local 147 if (DEBUG) Log.d(TAG, "Printer " + mDiscoveredPrinter + " has caps=" + capabilities); in found() 149 if (capabilities != null) { in found() 151 onCapabilities(mDiscoveredPrinter, capabilities); in found()
|
D | LocalPrintJob.java | 150 …private void handleCapabilities(DiscoveredPrinter printer, LocalPrinterCapabilities capabilities) { in handleCapabilities() argument 151 if (DEBUG) Log.d(TAG, "Capabilities for " + mPath + " are " + capabilities); in handleCapabilities() 154 if (capabilities == null) { in handleCapabilities() 160 mBackend.print(mPath, mPrintJob, capabilities, this::handleJobStatus); in handleCapabilities()
|
/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/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/tests/src/com/android/server/telecom/tests/ |
D | ConnectionServiceFixture.java | 149 int capabilities = getConnectionCapabilities(); in FakeConnection() local 150 capabilities |= CAPABILITY_MUTE; in FakeConnection() 151 capabilities |= CAPABILITY_SUPPORT_HOLD; in FakeConnection() 152 capabilities |= CAPABILITY_HOLD; in FakeConnection() 154 setConnectionCapabilities(capabilities); in FakeConnection() 235 c.capabilities |= Connection.CAPABILITY_HOLD | Connection.CAPABILITY_SUPPORT_HOLD; in createConnection() 385 int capabilities; field in ConnectionServiceFixture.ConnectionInfo 406 int capabilities; field in ConnectionServiceFixture.ConferenceInfo 486 a.setConnectionCapabilities(id, mConnectionById.get(id).capabilities, in sendSetConnectionCapabilities() 637 c.capabilities, in parcelable() [all …]
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestConnectionService.java | 167 int capabilities = getConnectionCapabilities(); in TestConnection() local 168 capabilities |= CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL; in TestConnection() 169 capabilities |= CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL; in TestConnection() 170 capabilities |= CAPABILITY_CAN_UPGRADE_TO_VIDEO; in TestConnection() 171 capabilities |= CAPABILITY_MUTE; in TestConnection() 172 capabilities |= CAPABILITY_SUPPORT_HOLD; in TestConnection() 173 capabilities |= CAPABILITY_HOLD; in TestConnection() 174 capabilities |= CAPABILITY_RESPOND_VIA_TEXT; in TestConnection() 175 setConnectionCapabilities(capabilities); in TestConnection()
|
/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/Settings/src/com/android/settings/accessibility/ |
D | AccessibilityServiceWarning.java | 124 LinearLayout capabilitiesView = (LinearLayout) content.findViewById(R.id.capabilities); in createEnableDialogContentView() 145 List<AccessibilityServiceInfo.CapabilityInfo> capabilities = in createEnableDialogContentView() local 151 final int capabilityCount = capabilities.size(); in createEnableDialogContentView() 153 AccessibilityServiceInfo.CapabilityInfo capability = capabilities.get(i); in createEnableDialogContentView()
|