/packages/services/Telephony/src/com/android/services/telephony/ |
H A D | GsmConnection.java | 60 int capabilities = super.buildConnectionCapabilities(); 61 capabilities |= CAPABILITY_MUTE; 62 capabilities |= CAPABILITY_SUPPORT_HOLD; 64 capabilities |= CAPABILITY_HOLD; 66 return capabilities;
|
H A D | ImsConference.java | 260 int capabilities = Connection.CAPABILITY_SUPPORT_HOLD | Connection.CAPABILITY_HOLD | 262 capabilities = applyHostCapabilities(capabilities, 264 setConnectionCapabilities(capabilities); 269 * Transfers capabilities from the conference host to the conference itself. 271 * @param conferenceCapabilities The current conference capabilities. 272 * @param capabilities The new conference host capabilities. 273 * @return The merged capabilities to be applied to the conference. 275 private int applyHostCapabilities(int conferenceCapabilities, int capabilities) { argument 459 applyCapability(int capabilities, int capability) argument 464 removeCapability(int capabilities, int capability) argument [all...] |
H A D | PstnPhoneCapabilitiesNotifier.java | 38 * Listens to phone's capabilities changed event and notifies Telecomm. One instance of these exists 45 * Listener called when video capabilities have changed. 144 private int newCapabilities(int capabilities, int capability, boolean set) { argument 146 capabilities |= capability; 148 capabilities &= ~capability; 150 return capabilities;
|
H A D | CdmaConference.java | 45 public void updateCapabilities(int capabilities) { argument 46 capabilities |= Connection.CAPABILITY_MUTE | Connection.CAPABILITY_GENERIC_CONFERENCE; 47 setConnectionCapabilities(capabilities);
|
H A D | CdmaConnection.java | 175 int capabilities = super.buildConnectionCapabilities(); 177 capabilities |= CAPABILITY_MUTE; 179 return capabilities;
|
H A D | ConferenceParticipantConnection.java | 148 * Configures the capabilities applicable to this connection. A 153 int capabilities = CAPABILITY_DISCONNECT_FROM_CONFERENCE; 154 setConnectionCapabilities(capabilities);
|
H A D | TelecomAccountRegistry.java | 161 int capabilities = PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION | 168 capabilities |= PhoneAccount.CAPABILITY_VIDEO_CALLING; 172 capabilities |= PhoneAccount.CAPABILITY_CALL_SUBJECT; 197 .setCapabilities(capabilities) 249 * Receives callback from {@link PstnPhoneCapabilitiesNotifier} when the video capabilities
|
/packages/apps/Camera2/src/com/android/camera/hardware/ |
H A D | HardwareSpecImpl.java | 42 public HardwareSpecImpl(CameraProvider provider, CameraCapabilities capabilities, argument 48 mIsHdrSupported = capabilities.supports(CameraCapabilities.SceneMode.HDR); 57 mIsFlashSupported = isFlashSupported(capabilities); 84 private boolean isFlashSupported(CameraCapabilities capabilities) { argument 85 return (capabilities.supports(CameraCapabilities.FlashMode.AUTO) || capabilities.supports
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
H A D | WifiSecurity.java | 36 if (result.capabilities.contains("WEP")) { 38 } else if (result.capabilities.contains("PSK")) { 40 } else if (result.capabilities.contains("EAP")) {
|
/packages/experimental/PrintService/src/foo/bar/printservice/ |
H A D | CustomPrintOptionsActivity.java | 31 PrinterCapabilitiesInfo capabilities = printerInfo.getCapabilities(); 36 .setResolution(capabilities.getResolutions().get(0))
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
H A D | ImapConnection.java | 62 /** The capabilities supported; a set of CAPABILITY_* values. */ 151 ImapResponse capabilities = queryCapabilities(); 154 capabilities.contains(ImapConstants.STARTTLS); 159 capabilities = newCapabilities; 165 setCapabilities(capabilities); 166 String capabilityString = capabilities.flatten(); 223 * capabilities that we do not track. 225 private void setCapabilities(ImapResponse capabilities) { argument 226 if (capabilities.contains(ImapConstants.ID)) { 229 if (capabilities 420 doSendId(boolean hasIdCapability, String capabilities) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
H A D | PhotoUI.java | 298 public void onCameraOpened(CameraCapabilities capabilities, CameraSettings settings) { argument 299 initializeZoom(capabilities, settings); 314 public void initializeSecondTime(CameraCapabilities capabilities, CameraSettings settings) { argument 315 initializeZoom(capabilities, settings); 321 public void initializeZoom(CameraCapabilities capabilities, CameraSettings settings) { argument 322 if ((capabilities == null) || settings == null || 323 !capabilities.supports(CameraCapabilities.Feature.ZOOM)) { 326 mZoomMax = capabilities.getMaxZoomRatio();
|
H A D | FocusOverlayManager.java | 157 List<CameraCapabilities.FocusMode> defaultFocusModes, CameraCapabilities capabilities, 163 updateCapabilities(capabilities); 170 public void updateCapabilities(CameraCapabilities capabilities) { argument 171 // capabilities can only be null when onConfigurationChanged is called 173 // capabilities will be set again later with the right capabilities after 175 if (capabilities == null) { 178 mCapabilities = capabilities; 482 Log.v(TAG, "no capabilities, returning default AUTO focus mode"); 156 FocusOverlayManager(AppController appController, List<CameraCapabilities.FocusMode> defaultFocusModes, CameraCapabilities capabilities, Listener listener, boolean mirror, Looper looper, FocusRing focusRing) argument
|
H A D | VideoUI.java | 194 public void initializeZoom(CameraSettings settings, CameraCapabilities capabilities) { argument 195 mZoomMax = capabilities.getMaxZoomRatio();
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/ |
H A D | AccountTests.java | 54 assertEquals(before.capabilities, after.capabilities);
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | TestConnectionService.java | 159 int capabilities = getConnectionCapabilities(); 160 capabilities |= CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL; 161 capabilities |= CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL; 162 capabilities |= CAPABILITY_CAN_UPGRADE_TO_VIDEO; 163 capabilities |= CAPABILITY_MUTE; 164 capabilities |= CAPABILITY_SUPPORT_HOLD; 165 capabilities |= CAPABILITY_HOLD; 166 capabilities |= CAPABILITY_RESPOND_VIA_TEXT; 167 setConnectionCapabilities(capabilities);
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | ConnectionServiceFixture.java | 93 c.capabilities |= Connection.CAPABILITY_HOLD | Connection.CAPABILITY_SUPPORT_HOLD; 166 int capabilities; field in class:ConnectionServiceFixture.ConnectionInfo 182 int capabilities; field in class:ConnectionServiceFixture.ConferenceInfo 258 a.setConnectionCapabilities(id, mConnectionById.get(id).capabilities); 377 c.capabilities, 390 c.capabilities,
|
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
H A D | SmtpSenderUnitTests.java | 98 * TODO: Test other capabilities. 265 * @param capabilities if non-null, comma-separated list of capabilities 267 private void setupOpen(MockTransport mockTransport, String capabilities) { argument 270 if (capabilities == null) { 277 for (String capability : capabilities.split(",")) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | Account.java | 95 * The possible capabilities that this account supports. 97 public final int capabilities; field in class:Account 272 json.put(AccountColumns.CAPABILITIES, capabilities); 393 capabilities = json.getInt(AccountColumns.CAPABILITIES); 459 capabilities = cursor.getInt(capabilitiesColumnIndex); 461 capabilities = 0; 559 return (capabilities & capability) != 0; 603 capabilities = in.readInt(); 652 dest.writeInt(capabilities); 717 capabilities [all...] |
H A D | Folder.java | 92 * The possible capabilities that this folder supports. 94 public int capabilities; field in class:Folder 254 public Builder setCapabilities(final int capabilities) { argument 255 mCapabilities = capabilities; 340 public Folder(int id, String persistentId, Uri uri, String name, int capabilities, argument 350 this.capabilities = capabilities; 384 capabilities = cursor.getInt(UIProvider.FOLDER_CAPABILITIES_COLUMN); 446 capabilities = in.readInt(); 482 dest.writeInt(capabilities); [all...] |
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
H A D | SipConnection.java | 263 int capabilities = CAPABILITY_MUTE | CAPABILITY_SUPPORT_HOLD; 265 capabilities |= CAPABILITY_HOLD; 267 return capabilities;
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | InCallController.java | 592 int capabilities = convertConnectionToCallCapabilities(call.getConnectionCapabilities()); 603 capabilities |= android.telecom.Call.Details.CAPABILITY_RESPOND_VIA_TEXT; 607 capabilities = removeCapability( 608 capabilities, android.telecom.Call.Details.CAPABILITY_MUTE); 612 capabilities = removeCapability(capabilities, 614 capabilities = removeCapability(capabilities, 661 capabilities, 826 * Removes the specified capability from the set of capabilities bit 828 removeCapability(int capabilities, int capability) argument [all...] |
/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | ToggleAccessibilityServicePreferenceFragment.java | 157 // capabilities. For 267 LinearLayout capabilitiesView = (LinearLayout) content.findViewById(R.id.capabilities); 286 List<AccessibilityServiceInfo.CapabilityInfo> capabilities = 291 // Service specific capabilities. 292 final int capabilityCount = capabilities.size(); 294 AccessibilityServiceInfo.CapabilityInfo capability = capabilities.get(i);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/ |
H A D | VendorPolicyLoader.java | 51 private static final String GET_IMAP_ID_CAPA = "getImapId.capabilities"; 182 * @param capabilities reported capabilities, if known. null is OK 186 public String getImapIdValues(String userName, String host, String capabilities) { argument 190 params.putString(GET_IMAP_ID_CAPA, capabilities);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
H A D | Call.java | 531 /** Checks if the call supports the given set of capabilities supplied as a bit mask. */ 532 public boolean can(int capabilities) { argument 535 if ((capabilities & android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE) != 0) { 536 // We allow you to merge if the capabilities allow it or if it is a call with 544 capabilities &= ~android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE; 546 return (capabilities == (capabilities & mTelecommCall.getDetails().getCallCapabilities()));
|