• Home
  • Raw
  • Download

Lines Matching refs:info

90         EmailServiceInfo info = getServiceInfo(context, protocol);  in killService()  local
91 if (info != null && info.intentAction != null) { in killService()
92 final Intent serviceIntent = getServiceIntent(info); in killService()
102 EmailServiceInfo info = getServiceInfo(context, protocol); in startService() local
103 if (info != null && info.intentAction != null) { in startService()
104 final Intent serviceIntent = getServiceIntent(info); in startService()
113 for (EmailServiceInfo info: getServiceInfoList(context)) { in startRemoteServices()
114 if (info.intentAction != null) { in startRemoteServices()
115 final Intent serviceIntent = getServiceIntent(info); in startRemoteServices()
125 for (EmailServiceInfo info: getServiceInfoList(context)) { in areRemoteServicesInstalled()
126 if (info.intentAction != null) { in areRemoteServicesInstalled()
137 for (EmailServiceInfo info: getServiceInfoList(context)) { in setRemoteServicesLogging()
138 if (info.intentAction != null) { in setRemoteServicesLogging()
140 EmailServiceUtils.getService(context, info.protocol); in setRemoteServicesLogging()
156 EmailServiceInfo info = getServiceInfo(context, protocol); in isServiceAvailable() local
157 if (info == null) return false; in isServiceAvailable()
158 if (info.klass != null) return true; in isServiceAvailable()
159 final Intent serviceIntent = getServiceIntent(info); in isServiceAvailable()
163 private static Intent getServiceIntent(EmailServiceInfo info) { in getServiceIntent() argument
164 final Intent serviceIntent = new Intent(info.intentAction); in getServiceIntent()
165 serviceIntent.setPackage(info.intentPackage); in getServiceIntent()
230 EmailServiceInfo info = null; in getService() local
233 info = getServiceInfo(context, protocol); in getService()
235 if (info == null) { in getService()
239 return getServiceFromInfo(context, info); in getService()
243 public static EmailServiceProxy getServiceFromInfo(Context context, EmailServiceInfo info) { in getServiceFromInfo() argument
244 if (info.klass != null) { in getServiceFromInfo()
245 return new EmailServiceProxy(context, info.klass); in getServiceFromInfo()
247 final Intent serviceIntent = getServiceIntent(info); in getServiceFromInfo()
323 final EmailServiceInfo info = getServiceInfo(context, hostAuth.mProtocol); in setupAccountManagerAccount() local
324 return AccountManager.get(context).addAccount(info.accountType, null, null, options, null, in setupAccountManagerAccount()
561 final EmailServiceInfo info = new EmailServiceInfo(); in getServiceMap() local
564 info.protocol = ta.getString(R.styleable.EmailServiceInfo_protocol); in getServiceMap()
565 info.accountType = ta.getString(R.styleable.EmailServiceInfo_accountType); in getServiceMap()
566 info.name = ta.getString(R.styleable.EmailServiceInfo_name); in getServiceMap()
567 info.hide = ta.getBoolean(R.styleable.EmailServiceInfo_hide, false); in getServiceMap()
570 info.intentAction = ta.getString(R.styleable.EmailServiceInfo_intent); in getServiceMap()
571 info.intentPackage = in getServiceMap()
573 info.defaultSsl = in getServiceMap()
575 info.port = ta.getInteger(R.styleable.EmailServiceInfo_port, 0); in getServiceMap()
576 info.portSsl = ta.getInteger(R.styleable.EmailServiceInfo_portSsl, 0); in getServiceMap()
577 info.offerTls = ta.getBoolean(R.styleable.EmailServiceInfo_offerTls, false); in getServiceMap()
578 info.offerCerts = in getServiceMap()
580 info.offerOAuth = in getServiceMap()
582 info.offerLocalDeletes = in getServiceMap()
584 info.defaultLocalDeletes = in getServiceMap()
587 info.offerPrefix = in getServiceMap()
589 info.usesSmtp = ta.getBoolean(R.styleable.EmailServiceInfo_usesSmtp, false); in getServiceMap()
590 info.usesAutodiscover = in getServiceMap()
592 info.offerLookback = in getServiceMap()
594 info.defaultLookback = in getServiceMap()
597 info.syncChanges = in getServiceMap()
599 info.syncContacts = in getServiceMap()
601 info.syncCalendar = in getServiceMap()
603 info.offerAttachmentPreload = in getServiceMap()
606 info.syncIntervalStrings = in getServiceMap()
608 info.syncIntervals = in getServiceMap()
610 info.defaultSyncInterval = in getServiceMap()
612 info.inferPrefix = ta.getString(R.styleable.EmailServiceInfo_inferPrefix); in getServiceMap()
613 info.offerLoadMore = in getServiceMap()
615 info.offerMoveTo = in getServiceMap()
617 info.requiresSetup = in getServiceMap()
619 info.isGmailStub = in getServiceMap()
626 info.klass = (Class<? extends Service>) Class.forName(klass); in getServiceMap()
632 if (info.klass == null && in getServiceMap()
633 info.intentAction == null && in getServiceMap()
634 !info.isGmailStub) { in getServiceMap()
638 if (info.klass != null && info.intentAction != null) { in getServiceMap()
642 builder.put(info.protocol, info); in getServiceMap()
668 for (final EmailServiceInfo info : serviceInfoMap.values()) { in getProtocolFromAccountType()
669 if (TextUtils.equals(accountType, info.accountType)) { in getProtocolFromAccountType()
670 if (!TextUtils.isEmpty(protocol) && !TextUtils.equals(protocol, info.protocol)) { in getProtocolFromAccountType()
674 protocol = info.protocol; in getProtocolFromAccountType()