Home
last modified time | relevance | path

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

12345

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/assist/
DDefaultVoiceInputPickerPreferenceControllerTest.java89 resolveInfo.serviceInfo = new ServiceInfo(); in getCandidates_voiceInteractionService_hasOneElement()
90 resolveInfo.serviceInfo.packageName = TEST_PACKAGE_NAME; in getCandidates_voiceInteractionService_hasOneElement()
91 resolveInfo.serviceInfo.name = TEST_SERVICE; in getCandidates_voiceInteractionService_hasOneElement()
102 resolveInfo.serviceInfo = new ServiceInfo(); in getCandidates_voiceRecognitionService_hasOneElement()
103 resolveInfo.serviceInfo.packageName = TEST_PACKAGE_NAME; in getCandidates_voiceRecognitionService_hasOneElement()
104 resolveInfo.serviceInfo.name = TEST_RECOGNIZER; in getCandidates_voiceRecognitionService_hasOneElement()
115 interactionInfo.serviceInfo = new ServiceInfo(); in getCandidates_oneIsSameAsAssistant_hasTwoElements()
116 interactionInfo.serviceInfo.packageName = TEST_PACKAGE_NAME; in getCandidates_oneIsSameAsAssistant_hasTwoElements()
117 interactionInfo.serviceInfo.name = TEST_SERVICE; in getCandidates_oneIsSameAsAssistant_hasTwoElements()
118 interactionInfo.serviceInfo.applicationInfo = new ApplicationInfo(); in getCandidates_oneIsSameAsAssistant_hasTwoElements()
[all …]
DVoiceInputInfoProviderTest.java60 resolveInfo.serviceInfo = new ServiceInfo(); in getInteractionInfoList_hasElement()
61 resolveInfo.serviceInfo.packageName = TEST_PACKAGE; in getInteractionInfoList_hasElement()
62 resolveInfo.serviceInfo.name = TEST_CLASS; in getInteractionInfoList_hasElement()
63 ShadowVoiceInteractionServiceInfo.setRecognitionService(resolveInfo.serviceInfo, in getInteractionInfoList_hasElement()
76 otherInfo.serviceInfo = new ServiceInfo(); in getRecognitionInfoList_hasElement()
77 otherInfo.serviceInfo.packageName = TEST_PACKAGE; in getRecognitionInfoList_hasElement()
78 otherInfo.serviceInfo.name = TEST_RECOGNITION_SERVICE; in getRecognitionInfoList_hasElement()
DDefaultVoiceInputPickerEntryPreferenceControllerTest.java176 resolveInfo.serviceInfo = new ServiceInfo(); in getCurrentDefaultAppInfo_providerHasCurrentService_returnsValidDefaultAppInfo()
177 resolveInfo.serviceInfo.packageName = TEST_PACKAGE; in getCurrentDefaultAppInfo_providerHasCurrentService_returnsValidDefaultAppInfo()
178 resolveInfo.serviceInfo.name = TEST_VOICE; in getCurrentDefaultAppInfo_providerHasCurrentService_returnsValidDefaultAppInfo()
213 resolveInfo.serviceInfo = new ServiceInfo(); in getSettingIntent_validInput_returnsIntent()
214 resolveInfo.serviceInfo.packageName = TEST_PACKAGE; in getSettingIntent_validInput_returnsIntent()
215 resolveInfo.serviceInfo.name = TEST_VOICE; in getSettingIntent_validInput_returnsIntent()
217 ShadowVoiceInteractionServiceInfo.setSettingsActivity(resolveInfo.serviceInfo, in getSettingIntent_validInput_returnsIntent()
220 mContext.getPackageManager(), resolveInfo.serviceInfo); in getSettingIntent_validInput_returnsIntent()
224 DefaultVoiceInputServiceInfo serviceInfo = new DefaultVoiceInputServiceInfo(mContext, in getSettingIntent_validInput_returnsIntent() local
226 Intent settingIntent = mController.getSettingIntent(serviceInfo); in getSettingIntent_validInput_returnsIntent()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/assist/
DVoiceInputInfoProvider.java112 mContext.getPackageManager(), resolveInfo.serviceInfo); in loadVoiceInteractionServices()
114 LOG.w("Error in VoiceInteractionService " + resolveInfo.serviceInfo.packageName in loadVoiceInteractionServices()
115 + "/" + resolveInfo.serviceInfo.name + ": " in loadVoiceInteractionServices()
123 mRecognitionServiceNames.add(new ComponentName(resolveInfo.serviceInfo.packageName, in loadVoiceInteractionServices()
126 mComponentToInfoMap.put(new ComponentName(resolveInfo.serviceInfo.packageName, in loadVoiceInteractionServices()
127 resolveInfo.serviceInfo.name), voiceInteractionInfo); in loadVoiceInteractionServices()
137 ComponentName componentName = new ComponentName(resolveInfo.serviceInfo.packageName, in loadVoiceRecognitionServices()
138 resolveInfo.serviceInfo.name); in loadVoiceRecognitionServices()
141 resolveInfo.serviceInfo); in loadVoiceRecognitionServices()
156 VoiceInputInfo(Context context, ServiceInfo serviceInfo) { in VoiceInputInfo() argument
[all …]
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredServicesCache.java241 ServiceInfo si = resolvedService.serviceInfo; in getInstalledServices()
304 ApduServiceInfo serviceInfo = userServices.services.get(component); in invalidateCache() local
305 if (serviceInfo == null || (serviceInfo.getUid() != dynamicSettings.uid)) { in invalidateCache()
310 serviceInfo.setOrReplaceDynamicAidGroup(group); in invalidateCache()
313 serviceInfo.setOffHostSecureElement(dynamicSettings.offHostSE); in invalidateCache()
460 ApduServiceInfo serviceInfo = getService(userId, componentName); in setOffHostSecureElement() local
461 if (serviceInfo == null) { in setOffHostSecureElement()
465 if (serviceInfo.getUid() != uid) { in setOffHostSecureElement()
473 if (offHostSE == null || serviceInfo.isOnHost()) { in setOffHostSecureElement()
490 serviceInfo.setOffHostSecureElement(offHostSE); in setOffHostSecureElement()
[all …]
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DNsdResolveQueue.java56 public NsdResolveRequest resolve(NsdServiceInfo serviceInfo, in resolve() argument
59 Log.d(TAG, "Adding resolve of " + serviceInfo.getServiceName() + " to queue size=" in resolve()
62 NsdResolveRequest request = new NsdResolveRequest(mNsdManager, serviceInfo, listener); in resolve()
89 NsdServiceInfo serviceInfo, in NsdResolveRequest() argument
92 mServiceInfo = serviceInfo; in NsdResolveRequest()
110 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode) { in onResolveFailed() argument
112 Log.d(TAG, "onResolveFailed " + serviceInfo.getServiceName() + " errorCode=" in onResolveFailed()
116 mListener.onResolveFailed(serviceInfo, errorCode); in onResolveFailed()
123 public void onServiceResolved(NsdServiceInfo serviceInfo) { in onServiceResolved() argument
125 Log.d(TAG, "onServiceResolved " + serviceInfo.getServiceName() in onServiceResolved()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAssistantPickerEntryPreferenceControllerTest.java120 resolveInfo.serviceInfo = new ServiceInfo(); in getSettingIntent_hasAssistant_noAssistSupport_returnsNull()
121 resolveInfo.serviceInfo.packageName = TEST_PACKAGE; in getSettingIntent_hasAssistant_noAssistSupport_returnsNull()
122 resolveInfo.serviceInfo.name = TEST_CLASS; in getSettingIntent_hasAssistant_noAssistSupport_returnsNull()
124 ShadowVoiceInteractionServiceInfo.setSupportsAssist(resolveInfo.serviceInfo, false); in getSettingIntent_hasAssistant_noAssistSupport_returnsNull()
125 ShadowVoiceInteractionServiceInfo.setSettingsActivity(resolveInfo.serviceInfo, in getSettingIntent_hasAssistant_noAssistSupport_returnsNull()
145 resolveInfo.serviceInfo = new ServiceInfo(); in getSettingIntent_hasAssistant_supportsAssist_noSettingsActivity_returnsNull()
146 resolveInfo.serviceInfo.packageName = TEST_PACKAGE; in getSettingIntent_hasAssistant_supportsAssist_noSettingsActivity_returnsNull()
147 resolveInfo.serviceInfo.name = TEST_CLASS; in getSettingIntent_hasAssistant_supportsAssist_noSettingsActivity_returnsNull()
149 ShadowVoiceInteractionServiceInfo.setSupportsAssist(resolveInfo.serviceInfo, true); in getSettingIntent_hasAssistant_supportsAssist_noSettingsActivity_returnsNull()
150 ShadowVoiceInteractionServiceInfo.setSettingsActivity(resolveInfo.serviceInfo, null); in getSettingIntent_hasAssistant_supportsAssist_noSettingsActivity_returnsNull()
[all …]
DDefaultAutofillPickerPreferenceControllerTest.java76 serviceResolveInfo.serviceInfo = new ServiceInfo(); in getCandidates_hasServiceWithoutPermissions_returnsEmptyList()
77 serviceResolveInfo.serviceInfo.packageName = TEST_PACKAGE_NAME; in getCandidates_hasServiceWithoutPermissions_returnsEmptyList()
78 serviceResolveInfo.serviceInfo.name = TEST_SERVICE; in getCandidates_hasServiceWithoutPermissions_returnsEmptyList()
79 serviceResolveInfo.serviceInfo.permission = ""; in getCandidates_hasServiceWithoutPermissions_returnsEmptyList()
89 serviceResolveInfo.serviceInfo = new ServiceInfo(); in getCandidates_hasServiceWithBindAutofillServicePermission_returnsService()
90 serviceResolveInfo.serviceInfo.packageName = TEST_PACKAGE_NAME; in getCandidates_hasServiceWithBindAutofillServicePermission_returnsService()
91 serviceResolveInfo.serviceInfo.name = TEST_SERVICE; in getCandidates_hasServiceWithBindAutofillServicePermission_returnsService()
92 serviceResolveInfo.serviceInfo.permission = Manifest.permission.BIND_AUTOFILL_SERVICE; in getCandidates_hasServiceWithBindAutofillServicePermission_returnsService()
102 serviceResolveInfo.serviceInfo = new ServiceInfo(); in getCandidates_hasServiceWithBindAutofillPermission_returnsEmptyList()
103 serviceResolveInfo.serviceInfo.packageName = TEST_PACKAGE_NAME; in getCandidates_hasServiceWithBindAutofillPermission_returnsEmptyList()
[all …]
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSource.java67 ServiceInfo serviceInfo = getBrowseServiceInfo(context, componentName); in create() local
69 String className = serviceInfo != null ? serviceInfo.name : null; in create()
78 CharSequence displayName = extractDisplayName(context, serviceInfo, packageName); in create()
79 Drawable icon = extractIcon(context, serviceInfo, packageName); in create()
115 return resolveInfos.get(0).serviceInfo; in getBrowseServiceInfo()
118 ServiceInfo result = resolveInfo.serviceInfo; in getBrowseServiceInfo()
132 @Nullable ServiceInfo serviceInfo, @NonNull String packageName) in extractDisplayName() argument
134 if (serviceInfo != null && serviceInfo.labelRes != 0) { in extractDisplayName()
135 return serviceInfo.loadLabel(context.getPackageManager()); in extractDisplayName()
148 private static Drawable extractIcon(@NonNull Context context, @Nullable ServiceInfo serviceInfo, in extractIcon() argument
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java1079 serviceInfo = new ServiceInfo(); in getDefResolveInfo()
1080 serviceInfo.packageName = DEF_PKG; in getDefResolveInfo()
1081 serviceInfo.name = DEF_CLASS; in getDefResolveInfo()
1082 serviceInfo.applicationInfo = new ApplicationInfo(); in getDefResolveInfo()
1083 serviceInfo.applicationInfo.uid = DEF_UID; in getDefResolveInfo()
1084 serviceInfo.permission = Manifest.permission.BIND_INCALL_SERVICE; in getDefResolveInfo()
1085 serviceInfo.enabled = true; in getDefResolveInfo()
1086 serviceInfo.metaData = new Bundle(); in getDefResolveInfo()
1087 serviceInfo.metaData.putBoolean( in getDefResolveInfo()
1090 serviceInfo.metaData.putBoolean( in getDefResolveInfo()
[all …]
DComponentContextFixture.java558 ServiceInfo serviceInfo = new ServiceInfo();
559 serviceInfo.permission = android.Manifest.permission.BIND_CONNECTION_SERVICE;
560 serviceInfo.packageName = componentName.getPackageName();
561 serviceInfo.name = componentName.getClassName();
562 mServiceInfoByComponentName.put(componentName, serviceInfo);
571 ServiceInfo serviceInfo = new ServiceInfo();
572 serviceInfo.permission = android.Manifest.permission.BIND_INCALL_SERVICE;
573 serviceInfo.packageName = componentName.getPackageName();
574 serviceInfo.applicationInfo = new ApplicationInfo();
575 serviceInfo.applicationInfo.uid = uid;
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/defaultapps/
DDefaultAutofillPicker.java205 final String permission = info.serviceInfo.permission; in getCandidates()
208 info.serviceInfo.packageName, info.serviceInfo.name))); in getCandidates()
212 Log.w(TAG, "AutofillService from '" + info.serviceInfo.packageName in getCandidates()
216 info.serviceInfo.packageName, info.serviceInfo.name))); in getCandidates()
291 final ServiceInfo serviceInfo = resolveInfo.serviceInfo; in getIntent() local
293 serviceInfo.packageName, serviceInfo.name).flattenToString(); in getIntent()
297 settingsActivity = new AutofillServiceInfo(mContext, serviceInfo) in getIntent()
301 Log.w(TAG, "Error getting info for " + serviceInfo + ": " + e); in getIntent()
308 new ComponentName(serviceInfo.packageName, settingsActivity)); in getIntent()
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DDefaultAutofillPicker.java205 final String permission = info.serviceInfo.permission; in getCandidates()
208 info.serviceInfo.packageName, info.serviceInfo.name))); in getCandidates()
212 Log.w(TAG, "AutofillService from '" + info.serviceInfo.packageName in getCandidates()
216 info.serviceInfo.packageName, info.serviceInfo.name))); in getCandidates()
291 final ServiceInfo serviceInfo = resolveInfo.serviceInfo; in getIntent() local
293 serviceInfo.packageName, serviceInfo.name).flattenToString(); in getIntent()
297 settingsActivity = new AutofillServiceInfo(mContext, serviceInfo) in getIntent()
301 Log.w(TAG, "Error getting info for " + serviceInfo + ": " + e); in getIntent()
308 new ComponentName(serviceInfo.packageName, settingsActivity)); in getIntent()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/autofill/
DAutofillHelper.java58 final String permission = info.serviceInfo.permission; in getAutofillCandidates()
62 info.serviceInfo.packageName, info.serviceInfo.name))); in getAutofillCandidates()
118 final ServiceInfo serviceInfo = resolveInfo.serviceInfo; in getAutofillSettingsIntent() local
120 serviceInfo.packageName, serviceInfo.name).flattenToString(); in getAutofillSettingsIntent()
124 settingsActivity = new AutofillServiceInfo(context, serviceInfo) in getAutofillSettingsIntent()
128 Log.w(TAG, "Error getting info for " + serviceInfo + ": " + e); in getAutofillSettingsIntent()
135 new ComponentName(serviceInfo.packageName, settingsActivity)); in getAutofillSettingsIntent()
/packages/apps/Settings/src/com/android/settings/security/trustagent/
DTrustAgentManager.java83 final String packageName = resolveInfo.serviceInfo.packageName; in shouldProvideTrust()
123 if (resolveInfo.serviceInfo == null || !shouldProvideTrust(resolveInfo, pm)) { in getActiveTrustAgents()
147 if (resolveInfo == null || resolveInfo.serviceInfo == null) return null; in getComponentName()
148 return new ComponentName(resolveInfo.serviceInfo.packageName, resolveInfo.serviceInfo.name); in getComponentName()
153 if (resolveInfo == null || resolveInfo.serviceInfo == null in getSettingsComponent()
154 || resolveInfo.serviceInfo.metaData == null) { in getSettingsComponent()
162 parser = resolveInfo.serviceInfo.loadXmlMetaData(pm, TRUST_AGENT_META_DATA); in getSettingsComponent()
167 Resources res = pm.getResourcesForApplication(resolveInfo.serviceInfo.applicationInfo); in getSettingsComponent()
196 Slog.w(TAG, "Error parsing : " + resolveInfo.serviceInfo.packageName, caughtException); in getSettingsComponent()
200 cn = resolveInfo.serviceInfo.packageName + "/" + cn; in getSettingsComponent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/
DTrustAgentManagerTest.java55 ServiceInfo serviceInfo = new ServiceInfo(); in shouldProvideTrust_doesProvideTrustWithPermission() local
56 serviceInfo.packageName = CANNED_PACKAGE_NAME; in shouldProvideTrust_doesProvideTrustWithPermission()
58 resolveInfo.serviceInfo = serviceInfo; in shouldProvideTrust_doesProvideTrustWithPermission()
68 ServiceInfo serviceInfo = new ServiceInfo(); in shouldProvideTrust_doesNotProvideTrustWithoutPermission() local
69 serviceInfo.packageName = CANNED_PACKAGE_NAME; in shouldProvideTrust_doesNotProvideTrustWithoutPermission()
71 resolveInfo.serviceInfo = serviceInfo; in shouldProvideTrust_doesNotProvideTrustWithoutPermission()
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaSourcesLiveDataTest.java96 packageInfo.services = new ServiceInfo[]{info.serviceInfo}; in setUp()
97 packageInfo.packageName = info.serviceInfo.packageName; in setUp()
98 packageInfo.applicationInfo = info.serviceInfo.applicationInfo; in setUp()
172 withMetadata.serviceInfo.applicationInfo.metaData = new Bundle(); in buildServiceResolveInfo()
192 intent.setPackage(info.serviceInfo.packageName); in setPackageManagerResolveInfos()
215 ServiceInfo serviceInfo = new ServiceInfo(); in newServiceResolveInfo() local
216 serviceInfo.packageName = packageName; in newServiceResolveInfo()
217 serviceInfo.name = "service"; in newServiceResolveInfo()
218 serviceInfo.nonLocalizedLabel = "Service Label " + packageName; in newServiceResolveInfo()
222 serviceInfo.applicationInfo = applicationInfo; in newServiceResolveInfo()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DAccessibilityDetailsSettingsFragment.java121 AccessibilityServiceInfo serviceInfo = serviceInfos.get(i); in getAccessibilityServiceInfo() local
122 ResolveInfo resolveInfo = serviceInfo.getResolveInfo(); in getAccessibilityServiceInfo()
123 if (componentName.getPackageName().equals(resolveInfo.serviceInfo.packageName) in getAccessibilityServiceInfo()
124 && componentName.getClassName().equals(resolveInfo.serviceInfo.name)) { in getAccessibilityServiceInfo()
125 return serviceInfo; in getAccessibilityServiceInfo()
134 final ServiceInfo serviceInfo = resolveInfo.serviceInfo; in buildArguments() local
135 final String packageName = serviceInfo.packageName; in buildArguments()
136 final ComponentName componentName = new ComponentName(packageName, serviceInfo.name); in buildArguments()
150 packageName, serviceInfo.name, enabledServiceInfos)) { in buildArguments()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityDetailsSettingsFragment.java121 AccessibilityServiceInfo serviceInfo = serviceInfos.get(i); in getAccessibilityServiceInfo() local
122 ResolveInfo resolveInfo = serviceInfo.getResolveInfo(); in getAccessibilityServiceInfo()
123 if (componentName.getPackageName().equals(resolveInfo.serviceInfo.packageName) in getAccessibilityServiceInfo()
124 && componentName.getClassName().equals(resolveInfo.serviceInfo.name)) { in getAccessibilityServiceInfo()
125 return serviceInfo; in getAccessibilityServiceInfo()
134 final ServiceInfo serviceInfo = resolveInfo.serviceInfo; in buildArguments() local
135 final String packageName = serviceInfo.packageName; in buildArguments()
136 final ComponentName componentName = new ComponentName(packageName, serviceInfo.name); in buildArguments()
150 packageName, serviceInfo.name, enabledServiceInfos)) { in buildArguments()
DToggleAccessibilityServicePreferenceFragment.java121 AccessibilityServiceInfo serviceInfo = serviceInfos.get(i); in getAccessibilityServiceInfo() local
122 ResolveInfo resolveInfo = serviceInfo.getResolveInfo(); in getAccessibilityServiceInfo()
123 if (mComponentName.getPackageName().equals(resolveInfo.serviceInfo.packageName) in getAccessibilityServiceInfo()
124 && mComponentName.getClassName().equals(resolveInfo.serviceInfo.name)) { in getAccessibilityServiceInfo()
125 return serviceInfo; in getAccessibilityServiceInfo()
252 ServiceInfo serviceInfo = info.getResolveInfo().serviceInfo; in isServiceSupportAccessibilityButton() local
253 if (serviceInfo != null && TextUtils.equals(serviceInfo.name, in isServiceSupportAccessibilityButton()
254 getAccessibilityServiceInfo().getResolveInfo().serviceInfo.name)) { in isServiceSupportAccessibilityButton()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperChange.java68 if (ri.serviceInfo.name.equals(comp.getClassName())) { in init()
73 Log.w(TAG, "Bad wallpaper " + ri.serviceInfo, e); in init()
77 initUI(info, getDeleteAction(ri.serviceInfo, in init()
89 private String getDeleteAction(@NonNull ServiceInfo serviceInfo, in getDeleteAction() argument
91 if (!isPackagePreInstalled(serviceInfo.applicationInfo)) { in getDeleteAction()
92 Log.d(TAG, "This wallpaper is not pre-installed: " + serviceInfo.name); in getDeleteAction()
97 if (currentService != null && TextUtils.equals(serviceInfo.name, currentService.name)) { in getDeleteAction()
101 final Bundle metaData = serviceInfo.metaData; in getDeleteAction()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/testutils/
DUtils.java39 final ServiceInfo serviceInfo = new ServiceInfo(); in addAutofill() local
40 serviceInfo.permission = Manifest.permission.BIND_AUTOFILL_SERVICE; in addAutofill()
41 serviceInfo.packageName = packageName; in addAutofill()
42 serviceInfo.name = className; in addAutofill()
43 resolveInfo.serviceInfo = serviceInfo; in addAutofill()
46 serviceInfo.applicationInfo = applicationInfo; in addAutofill()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/assist/
DVoiceInputHelper.java79 public final VoiceInteractionServiceInfo serviceInfo; field in VoiceInputHelper.InteractionInfo
83 serviceInfo = _service; in InteractionInfo()
128 mContext.getPackageManager(), resolveInfo.serviceInfo); in buildUi()
131 + resolveInfo.serviceInfo.packageName + "/" in buildUi()
132 + resolveInfo.serviceInfo.name + ": " + info.getParseError()); in buildUi()
136 interactorRecognizers.add(new ComponentName(resolveInfo.serviceInfo.packageName, in buildUi()
155 ComponentName comp = new ComponentName(resolveInfo.serviceInfo.packageName, in buildUi()
156 resolveInfo.serviceInfo.name); in buildUi()
160 ServiceInfo si = resolveInfo.serviceInfo; in buildUi()
202 resolveInfo.serviceInfo, settingsActivity)); in buildUi()
/packages/apps/Settings/src/com/android/settings/applications/assist/
DVoiceInputHelper.java79 public final VoiceInteractionServiceInfo serviceInfo; field in VoiceInputHelper.InteractionInfo
83 serviceInfo = _service; in InteractionInfo()
128 mContext.getPackageManager(), resolveInfo.serviceInfo); in buildUi()
131 + resolveInfo.serviceInfo.packageName + "/" in buildUi()
132 + resolveInfo.serviceInfo.name + ": " + info.getParseError()); in buildUi()
136 interactorRecognizers.add(new ComponentName(resolveInfo.serviceInfo.packageName, in buildUi()
155 ComponentName comp = new ComponentName(resolveInfo.serviceInfo.packageName, in buildUi()
156 resolveInfo.serviceInfo.name); in buildUi()
160 ServiceInfo si = resolveInfo.serviceInfo; in buildUi()
202 resolveInfo.serviceInfo, settingsActivity)); in buildUi()
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallController.java1367 for (InCallServiceInfo serviceInfo : nonUIInCallComponents) { in connectToNonUiInCallServices()
1368 nonUIInCalls.add(new InCallServiceBindingConnection(serviceInfo)); in connectToNonUiInCallServices()
1462 ServiceInfo serviceInfo = entry.serviceInfo; in getInCallServiceComponents() local
1463 if (serviceInfo != null) { in getInCallServiceComponents()
1464 boolean isExternalCallsSupported = serviceInfo.metaData != null && in getInCallServiceComponents()
1465 serviceInfo.metaData.getBoolean( in getInCallServiceComponents()
1467 boolean isSelfManageCallsSupported = serviceInfo.metaData != null && in getInCallServiceComponents()
1468 serviceInfo.metaData.getBoolean( in getInCallServiceComponents()
1471 int currentType = getInCallServiceType(entry.serviceInfo, packageManager, in getInCallServiceComponents()
1474 new ComponentName(serviceInfo.packageName, serviceInfo.name); in getInCallServiceComponents()
[all …]

12345