Home
last modified time | relevance | path

Searched refs:serviceInfo (Results 1 – 25 of 42) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/applications/
DDefaultAssistPreference.java82 private void setAssistService(Info serviceInfo) { in setAssistService() argument
83 final String serviceComponentName = serviceInfo.component.flattenToShortString(); in setAssistService()
85 serviceInfo.component.getPackageName(), in setAssistService()
86 serviceInfo.voiceInteractionServiceInfo.getRecognitionService()) in setAssistService()
98 serviceInfo.voiceInteractionServiceInfo.getSettingsActivity(); in setAssistService()
101 new ComponentName(serviceInfo.component.getPackageName(), settingsActivity)); in setAssistService()
120 if (resolveInfo == null || resolveInfo.serviceInfo == null) { in getDefaultRecognizer()
125 return new ComponentName(resolveInfo.serviceInfo.packageName, in getDefaultRecognizer()
126 resolveInfo.serviceInfo.name).flattenToShortString(); in getDefaultRecognizer()
148 new VoiceInteractionServiceInfo(pm, resolveInfo.serviceInfo); in addAssistServices()
[all …]
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredServicesCache.java240 ServiceInfo si = resolvedService.serviceInfo; in getInstalledServices()
303 ApduServiceInfo serviceInfo = userServices.services.get(component); in invalidateCache() local
304 if (serviceInfo == null || (serviceInfo.getUid() != dynamicAids.uid)) { in invalidateCache()
309 serviceInfo.setOrReplaceDynamicAidGroup(group); in invalidateCache()
451 ApduServiceInfo serviceInfo = getService(userId, componentName); in registerAidGroupForService() local
452 if (serviceInfo == null) { in registerAidGroupForService()
456 if (serviceInfo.getUid() != uid) { in registerAidGroupForService()
473 serviceInfo.setOrReplaceDynamicAidGroup(aidGroup); in registerAidGroupForService()
498 ApduServiceInfo serviceInfo = getService(userId, componentName); in getAidGroupForService() local
499 if (serviceInfo != null) { in getAidGroupForService()
[all …]
DAppChooserActivity.java169 mCardEmuManager.setDefaultForNextTap(info.serviceInfo.getComponent()); in onItemClick()
172 dialogIntent.putExtra(TapAgainDialog.EXTRA_APDU_SERVICE, info.serviceInfo); in onItemClick()
178 ApduServiceInfo serviceInfo; field in AppChooserActivity.DisplayAppInfo
183 public DisplayAppInfo(ApduServiceInfo serviceInfo, CharSequence label, Drawable icon, in DisplayAppInfo() argument
185 this.serviceInfo = serviceInfo; in DisplayAppInfo()
DRegisteredAidCache.java176 for (ApduServiceInfo serviceInfo : entryResolveInfo.services) { in resolveAid()
177 if (!resolveInfo.services.contains(serviceInfo)) { in resolveAid()
178 resolveInfo.services.add(serviceInfo); in resolveAid()
612 for (ApduServiceInfo serviceInfo : entry.getValue().services) { in dumpEntry()
614 if (serviceInfo.getComponent().equals(defaultComponent)) { in dumpEntry()
617 sb.append(serviceInfo.getComponent() + in dumpEntry()
618 " (Description: " + serviceInfo.getDescription() + ")\n"); in dumpEntry()
DCardEmulationManager.java129 ApduServiceInfo serviceInfo = mServiceCache.getService(userId, defaultPaymentService); in verifyDefaults() local
130 if (serviceInfo == null || !serviceInfo.hasCategory(CardEmulation.CATEGORY_PAYMENT)) { in verifyDefaults()
131 if (serviceInfo == null) { in verifyDefaults()
133 } else if (!serviceInfo.hasCategory(CardEmulation.CATEGORY_PAYMENT)) { in verifyDefaults()
DTapAgainDialog.java64 ApduServiceInfo serviceInfo = intent.getParcelableExtra(EXTRA_APDU_SERVICE); in onCreate() local
75 String description = serviceInfo.getDescription(); in onCreate()
77 CharSequence label = serviceInfo.loadLabel(pm); in onCreate()
DPreferredServices.java230 ApduServiceInfo serviceInfo = mServiceCache.getService(ActivityManager.getCurrentUser(), in isForegroundAllowedLocked() local
236 if (serviceInfo.hasCategory(CardEmulation.CATEGORY_PAYMENT)) { in isForegroundAllowedLocked()
246 final List<String> otherAids = serviceInfo.getAids(); in isForegroundAllowedLocked()
/packages/apps/Settings/src/com/android/settings/
DTrustAgentUtils.java46 String packageName = resolveInfo.serviceInfo.packageName; in checkProvidePermission()
64 if (resolveInfo == null || resolveInfo.serviceInfo == null) return null; in getComponentName()
65 return new ComponentName(resolveInfo.serviceInfo.packageName, resolveInfo.serviceInfo.name); in getComponentName()
70 if (resolveInfo == null || resolveInfo.serviceInfo == null in getSettingsComponent()
71 || resolveInfo.serviceInfo.metaData == null) return null; in getSettingsComponent()
77 parser = resolveInfo.serviceInfo.loadXmlMetaData(pm, TRUST_AGENT_META_DATA); in getSettingsComponent()
82 Resources res = pm.getResourcesForApplication(resolveInfo.serviceInfo.applicationInfo); in getSettingsComponent()
111 Slog.w(TAG, "Error parsing : " + resolveInfo.serviceInfo.packageName, caughtException); in getSettingsComponent()
115 cn = resolveInfo.serviceInfo.packageName + "/" + cn; in getSettingsComponent()
DDreamBackend.java104 if (resolveInfo.serviceInfo == null) in getDreamInfos()
234 if (resolveInfo == null || resolveInfo.serviceInfo == null) in getDreamComponentName()
236 return new ComponentName(resolveInfo.serviceInfo.packageName, resolveInfo.serviceInfo.name); in getDreamComponentName()
241 || resolveInfo.serviceInfo == null in getSettingsComponentName()
242 || resolveInfo.serviceInfo.metaData == null) in getSettingsComponentName()
248 parser = resolveInfo.serviceInfo.loadXmlMetaData(pm, DreamService.DREAM_META_DATA); in getSettingsComponentName()
253 Resources res = pm.getResourcesForApplication(resolveInfo.serviceInfo.applicationInfo); in getSettingsComponentName()
277 Log.w(TAG, "Error parsing : " + resolveInfo.serviceInfo.packageName, caughtException); in getSettingsComponentName()
281 cn = resolveInfo.serviceInfo.packageName + "/" + cn; in getSettingsComponentName()
/packages/apps/Settings/src/com/android/settings/voice/
DVoiceInputHelper.java78 public final VoiceInteractionServiceInfo serviceInfo; field in VoiceInputHelper.InteractionInfo
82 serviceInfo = _service; in InteractionInfo()
131 mContext.getPackageManager(), resolveInfo.serviceInfo); in buildUi()
134 + resolveInfo.serviceInfo.packageName + "/" in buildUi()
135 + resolveInfo.serviceInfo.name + ": " + info.getParseError()); in buildUi()
139 interactorRecognizers.add(new ComponentName(resolveInfo.serviceInfo.packageName, in buildUi()
158 ComponentName comp = new ComponentName(resolveInfo.serviceInfo.packageName, in buildUi()
159 resolveInfo.serviceInfo.name); in buildUi()
163 ServiceInfo si = resolveInfo.serviceInfo; in buildUi()
205 resolveInfo.serviceInfo, settingsActivity)); in buildUi()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java372 ServiceInfo serviceInfo = new ServiceInfo();
373 serviceInfo.permission = android.Manifest.permission.BIND_CONNECTION_SERVICE;
374 serviceInfo.packageName = componentName.getPackageName();
375 serviceInfo.name = componentName.getClassName();
376 mServiceInfoByComponentName.put(componentName, serviceInfo);
384 ServiceInfo serviceInfo = new ServiceInfo();
385 serviceInfo.permission = android.Manifest.permission.BIND_INCALL_SERVICE;
386 serviceInfo.packageName = componentName.getPackageName();
387 serviceInfo.name = componentName.getClassName();
388 mServiceInfoByComponentName.put(componentName, serviceInfo);
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallController.java329 ServiceInfo serviceInfo = entry.serviceInfo; in bindToServices() local
330 if (serviceInfo != null) { in bindToServices()
331 boolean hasServiceBindPermission = serviceInfo.permission != null && in bindToServices()
332 serviceInfo.permission.equals( in bindToServices()
336 serviceInfo.packageName); in bindToServices()
342 serviceInfo.packageName) == PackageManager.PERMISSION_GRANTED; in bindToServices()
343 boolean isDefaultDialerPackage = Objects.equals(serviceInfo.packageName, in bindToServices()
347 + " and is not system or default dialer.", serviceInfo.packageName); in bindToServices()
351 boolean isUIService = serviceInfo.metaData != null && in bindToServices()
352 serviceInfo.metaData.getBoolean( in bindToServices()
[all …]
DPhoneAccountRegistrar.java670 ServiceInfo serviceInfo = resolveInfo.serviceInfo; in phoneAccountRequiresBindPermission() local
671 if (serviceInfo == null) { in phoneAccountRequiresBindPermission()
675 if (!Manifest.permission.BIND_CONNECTION_SERVICE.equals(serviceInfo.permission) && in phoneAccountRequiresBindPermission()
677 serviceInfo.permission)) { in phoneAccountRequiresBindPermission()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySettings.java462 ServiceInfo serviceInfo = info.getResolveInfo().serviceInfo; in updateServicesPreferences() local
463 ComponentName componentName = new ComponentName(serviceInfo.packageName, in updateServicesPreferences()
464 serviceInfo.name); in updateServicesPreferences()
479 String packageName = serviceInfo.packageName; in updateServicesPreferences()
512 new ComponentName(info.getResolveInfo().serviceInfo.packageName, in updateServicesPreferences()
626 resolveInfo.serviceInfo.packageName, in loadInstalledServices()
627 resolveInfo.serviceInfo.name); in loadInstalledServices()
655 ServiceInfo serviceInfo = service.getResolveInfo().serviceInfo;
656 ComponentName componentName = new ComponentName(serviceInfo.packageName,
657 serviceInfo.name);
DToggleAccessibilityServicePreferenceFragment.java165 AccessibilityServiceInfo serviceInfo = serviceInfos.get(i); in getAccessibilityServiceInfo() local
166 ResolveInfo resolveInfo = serviceInfo.getResolveInfo(); in getAccessibilityServiceInfo()
167 if (mComponentName.getPackageName().equals(resolveInfo.serviceInfo.packageName) in getAccessibilityServiceInfo()
168 && mComponentName.getClassName().equals(resolveInfo.serviceInfo.name)) { in getAccessibilityServiceInfo()
169 return serviceInfo; in getAccessibilityServiceInfo()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DDreamInfoAction.java141 if (resolveInfo == null || resolveInfo.serviceInfo == null) { in getDreamComponentName()
144 return new ComponentName(resolveInfo.serviceInfo.packageName, resolveInfo.serviceInfo.name); in getDreamComponentName()
149 if (resolveInfo == null || resolveInfo.serviceInfo == null in getSettingsComponentName()
150 || resolveInfo.serviceInfo.metaData == null) { in getSettingsComponentName()
157 parser = resolveInfo.serviceInfo.loadXmlMetaData(pm, DreamService.DREAM_META_DATA); in getSettingsComponentName()
162 Resources res = pm.getResourcesForApplication(resolveInfo.serviceInfo.applicationInfo); in getSettingsComponentName()
188 Log.w(TAG, "Error parsing : " + resolveInfo.serviceInfo.packageName, caughtException); in getSettingsComponentName()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOptionsFragment.java86 final EmailServiceUtils.EmailServiceInfo serviceInfo = in onActivityCreated() local
89 final CharSequence[] frequencyValues = serviceInfo.syncIntervals; in onActivityCreated()
90 final CharSequence[] frequencyEntries = serviceInfo.syncIntervalStrings; in onActivityCreated()
106 if (serviceInfo.offerLookback) { in onActivityCreated()
110 if (serviceInfo.syncContacts) { in onActivityCreated()
115 if (serviceInfo.syncCalendar) { in onActivityCreated()
121 if (!serviceInfo.offerAttachmentPreload) { in onActivityCreated()
DAccountSetupFinal.java653 final EmailServiceUtils.EmailServiceInfo serviceInfo = in proceed() local
655 if (serviceInfo.usesSmtp) { in proceed()
1123 final EmailServiceUtils.EmailServiceInfo serviceInfo = in initiateAccountCreation() local
1125 if (serviceInfo.offerAttachmentPreload && fragment.getBackgroundAttachmentsValue()) { in initiateAccountCreation()
1162 final boolean syncCalendar = serviceInfo.syncCalendar && fragment.getSyncCalendarValue(); in initiateAccountCreation()
1163 final boolean syncContacts = serviceInfo.syncContacts && fragment.getSyncContactsValue(); in initiateAccountCreation()
/packages/apps/Settings/src/com/android/settings/search/
DDynamicIndexableContentMonitor.java119 if (resolveInfo == null || resolveInfo.serviceInfo == null) { in register()
122 mAccessibilityServices.add(resolveInfo.serviceInfo.packageName); in register()
134 if (resolveInfo == null || resolveInfo.serviceInfo == null) { in register()
137 mPrintServices.add(resolveInfo.serviceInfo.packageName); in register()
149 ServiceInfo serviceInfo = inputMethod.getServiceInfo(); in register() local
150 if (serviceInfo == null) continue; in register()
151 mImeServices.add(serviceInfo.packageName); in register()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DAccessibilityActivity.java196 final ServiceInfo serviceInfo = accInfo.getResolveInfo().serviceInfo; in getServicesHeader() local
197 final ComponentName componentName = new ComponentName(serviceInfo.packageName, in getServicesHeader()
198 serviceInfo.name); in getServicesHeader()
406 final ServiceInfo serviceInfo = accInfo.getResolveInfo().serviceInfo; in getSettingsForService() local
407 if (serviceInfo.packageName.equals(comp.getPackageName()) && in getSettingsForService()
408 serviceInfo.name.equals(comp.getClassName())) { in getSettingsForService()
654 resolveInfo.serviceInfo.packageName,
655 resolveInfo.serviceInfo.name);
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DExternalAccountType.java198 final ServiceInfo serviceInfo = resolveInfo.serviceInfo; in loadContactsXml() local
199 if (serviceInfo == null) { in loadContactsXml()
203 final XmlResourceParser parser = serviceInfo.loadXmlMetaData( in loadContactsXml()
208 serviceInfo.packageName, serviceInfo.name, in loadContactsXml()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoPriorityResolver.java129 final ServiceInfo serviceInfo = resolveInfo.serviceInfo; in resolvePhotoPriorityFromMetaData() local
130 if (serviceInfo == null) { in resolvePhotoPriorityFromMetaData()
134 final XmlResourceParser parser = serviceInfo.loadXmlMetaData( in resolvePhotoPriorityFromMetaData()
/packages/apps/Settings/src/com/android/settings/print/
DPrintSettingsFragment.java232 installedService.serviceInfo.packageName, in updateServicesPreferences()
233 installedService.serviceInfo.name); in updateServicesPreferences()
272 new ComponentName(installedService.serviceInfo.packageName, in updateServicesPreferences()
281 new ComponentName(installedService.serviceInfo.packageName, in updateServicesPreferences()
638 service.getResolveInfo().serviceInfo.packageName,
639 service.getResolveInfo().serviceInfo.name);
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperChange.java65 if (ri.serviceInfo.name.equals(comp.getClassName())) { in onCreate()
70 Log.w(TAG, "Bad wallpaper " + ri.serviceInfo, e); in onCreate()
74 Log.w(TAG, "Bad wallpaper " + ri.serviceInfo, e); in onCreate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDisableInstallShortcutListenersTask.java66 } else if (ri.serviceInfo != null) { in disableReceivers()
67 ci = ri.serviceInfo; in disableReceivers()

12