/packages/apps/Settings/src/com/android/settings/voice/ |
VoiceInputHelper.java | 24 import android.content.pm.ServiceInfo; 53 public final ServiceInfo service; 61 public BaseInfo(PackageManager pm, ServiceInfo _service, String _settings) { 79 public final VoiceInteractionServiceInfo serviceInfo; 83 serviceInfo = _service; 88 public RecognizerInfo(PackageManager pm, ServiceInfo _service, String _settings) { 132 mContext.getPackageManager(), resolveInfo.serviceInfo); 135 + resolveInfo.serviceInfo.packageName + "/" 136 + resolveInfo.serviceInfo.name + ": " + info.getParseError()); 140 interactorRecognizers.add(new ComponentName(resolveInfo.serviceInfo.packageName [all...] |
/packages/services/Car/service/src/com/android/car/pm/ |
AppBlockingPolicyProxy.java | 25 import android.content.pm.ServiceInfo; 39 private final ServiceInfo mServiceInfo; 67 ServiceInfo serviceInfo) { 70 mServiceInfo = serviceInfo;
|
/external/jmdns/src/javax/jmdns/impl/ |
DNSRecord.java | 20 import javax.jmdns.ServiceInfo; 21 import javax.jmdns.ServiceInfo.Fields; 206 public ServiceInfo getServiceInfo(boolean persistent) { 251 public ServiceInfo getServiceInfo(boolean persistent) { 350 for (ServiceInfo serviceInfo : dns.getServices().values()) { 351 ServiceInfoImpl info = (ServiceInfoImpl) serviceInfo; 372 for (ServiceInfo serviceInfo : dns.getServices().values()) { 373 ServiceInfoImpl info = (ServiceInfoImpl) serviceInfo; [all...] |
DNSQuestion.java | 12 import javax.jmdns.ServiceInfo; 13 import javax.jmdns.ServiceInfo.Fields; 95 for (ServiceInfo serviceInfo : jmDNSImpl.getServices().values()) { 96 this.addAnswersForServiceInfo(jmDNSImpl, answers, (ServiceInfoImpl) serviceInfo);
|
/frameworks/base/core/java/android/content/pm/ |
RegisteredServicesCache.java | 96 Map<V, ServiceInfo<V>> services = null; 244 for (ServiceInfo<?> info : user.services.values()) { 295 public static class ServiceInfo<V> { 302 public ServiceInfo(V type, ComponentInfo componentInfo, ComponentName componentName) { 311 return "ServiceInfo: " + type + ", " + componentName + ", uid " + uid; 320 public ServiceInfo<V> getServiceInfo(V type, int userId) { 332 * @return a collection of {@link RegisteredServicesCache.ServiceInfo} objects for all 335 public Collection<ServiceInfo<V>> getAllServices(int userId) { 343 new ArrayList<ServiceInfo<V>>(user.services.values())); 385 final ArrayList<ServiceInfo<V>> serviceInfos = new ArrayList<ServiceInfo<V>>() [all...] |
/external/avahi/avahi-sharp/ |
ServiceResolver.cs | 39 private ServiceInfo currentInfo; 96 public ServiceInfo Service 109 public ServiceResolver (Client client, ServiceInfo service) : this (client, service.NetworkInterface, 175 ServiceInfo info;
|
/packages/apps/Settings/src/com/android/settings/utils/ |
ManagedServiceSettings.java | 28 import android.content.pm.ServiceInfo; 65 public void onServicesReloaded(List<ServiceInfo> services) { 91 private void updateList(List<ServiceInfo> services) { 95 for (ServiceInfo service : services) {
|
/development/apps/Development/src/com/android/development/ |
SyncAdapterDriver.java | 93 Collection<RegisteredServicesCache.ServiceInfo<SyncAdapterType>> all = 99 for (RegisteredServicesCache.ServiceInfo<SyncAdapterType> item : all) { 225 final RegisteredServicesCache.ServiceInfo<SyncAdapterType> mSyncAdapter; 228 RegisteredServicesCache.ServiceInfo<SyncAdapterType> syncAdapter) { 287 RegisteredServicesCache.ServiceInfo<SyncAdapterType> syncAdapter = 325 private RegisteredServicesCache.ServiceInfo<SyncAdapterType> getSelectedSyncAdapter() { 333 return (RegisteredServicesCache.ServiceInfo<SyncAdapterType>)
|
/frameworks/base/core/java/android/view/inputmethod/ |
InputMethodInfo.java | 28 import android.content.pm.ServiceInfo; 131 ServiceInfo si = service.serviceInfo; 285 final ServiceInfo si = ri.serviceInfo; 299 ServiceInfo si = new ServiceInfo(); 309 ri.serviceInfo = si; 325 return mService.serviceInfo.packageName; 333 return mService.serviceInfo.name [all...] |
/frameworks/base/core/java/android/content/ |
SyncAdaptersCache.java | 115 final Collection<RegisteredServicesCache.ServiceInfo<SyncAdapterType>> serviceInfos; 118 for (RegisteredServicesCache.ServiceInfo<SyncAdapterType> serviceInfo : serviceInfos) { 119 if (authority.equals(serviceInfo.type.authority) 120 && serviceInfo.componentName != null) { 121 packages.add(serviceInfo.componentName.getPackageName());
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
MetaDataTest.java | 25 import android.content.pm.ServiceInfo; 126 ServiceInfo si = mContext.getPackageManager().getServiceInfo(
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
RegisteredMediaRouteProviderWatcher.java | 26 import android.content.pm.ServiceInfo; 98 ServiceInfo serviceInfo = resolveInfo.serviceInfo; 99 if (serviceInfo != null) { 100 int sourceIndex = findProvider(serviceInfo.packageName, serviceInfo.name); 104 new ComponentName(serviceInfo.packageName, serviceInfo.name));
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
AccessibilitySettingsForSetupWizard.java | 23 import android.content.pm.ServiceInfo; 125 ServiceInfo serviceInfo = info.getResolveInfo().serviceInfo; 129 ComponentName componentName = new ComponentName(serviceInfo.packageName, serviceInfo.name);
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
Utils.java | 22 import android.content.pm.ServiceInfo; 90 ServiceInfo si = info.getServiceInfo();
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoPriorityResolver.java | 26 import android.content.pm.ServiceInfo; 129 final ServiceInfo serviceInfo = resolveInfo.serviceInfo; 130 if (serviceInfo == null) { 134 final XmlResourceParser parser = serviceInfo.loadXmlMetaData(
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
InputMethodInfoTest.java | 25 import android.content.pm.ServiceInfo; 99 assertService(resolveInfo.serviceInfo, mInputMethodInfo.getServiceInfo()); 120 private void assertService(ServiceInfo expected, ServiceInfo actual) { 250 final ServiceInfo serviceInfo = imi.getServiceInfo(); 251 if (serviceInfo == null) { 254 if ((serviceInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 258 if (serviceInfo.encryptionAware) {
|
/frameworks/base/core/java/android/app/ |
WallpaperInfo.java | 27 import android.content.pm.ServiceInfo; 85 ServiceInfo si = service.serviceInfo; 157 return mService.serviceInfo.packageName; 165 return mService.serviceInfo.name; 172 public ServiceInfo getServiceInfo() { 173 return mService.serviceInfo; 180 return new ComponentName(mService.serviceInfo.packageName, 181 mService.serviceInfo.name); 213 return pm.getDrawable(mService.serviceInfo.packageName [all...] |
/frameworks/base/core/java/android/view/textservice/ |
SpellCheckerInfo.java | 26 import android.content.pm.ServiceInfo; 69 ServiceInfo si = service.serviceInfo; 166 mService.serviceInfo.packageName, mService.serviceInfo.name); 173 return mService.serviceInfo.packageName; 215 return pm.getText(getPackageName(), mLabel, mService.serviceInfo.applicationInfo); 232 public ServiceInfo getServiceInfo() { 233 return mService.serviceInfo;
|
/frameworks/base/services/core/java/com/android/server/media/ |
RemoteDisplayProviderWatcher.java | 27 import android.content.pm.ServiceInfo; 119 ServiceInfo serviceInfo = resolveInfo.serviceInfo; 120 if (serviceInfo != null && verifyServiceTrusted(serviceInfo)) { 121 int sourceIndex = findProvider(serviceInfo.packageName, serviceInfo.name); 125 new ComponentName(serviceInfo.packageName, serviceInfo.name) [all...] |
/frameworks/base/services/core/java/com/android/server/tv/ |
TvRemoteProviderWatcher.java | 27 import android.content.pm.ServiceInfo; 114 ServiceInfo serviceInfo = resolveInfo.serviceInfo; 115 if (serviceInfo != null && verifyServiceTrusted(serviceInfo)) { 116 int sourceIndex = findProvider(serviceInfo.packageName, serviceInfo.name); 120 new ComponentName(serviceInfo.packageName, serviceInfo.name) [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenRuleSelectionDialog.java | 26 import android.content.pm.ServiceInfo; 168 public void onServicesReloaded(Set<ServiceInfo> services) { 171 for (ServiceInfo serviceInfo : services) { 172 final ZenRuleInfo ri = ZenModeAutomationSettings.getRuleInfo(mPm, serviceInfo); 176 >= (mNm.getRuleInstanceCount(serviceInfo.getComponentName()) + 1))) {
|
/frameworks/base/core/java/android/speech/tts/ |
TtsEngines.java | 26 import android.content.pm.ServiceInfo; 178 private boolean isSystemEngine(ServiceInfo info) { 207 ServiceInfo service = resolveInfos.get(0).serviceInfo; 229 private String settingsActivityFromServiceInfo(ServiceInfo si, PackageManager pm) { 278 ServiceInfo service = resolve.serviceInfo;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
AccountManagerServiceTest.java | 32 import android.content.pm.RegisteredServicesCache.ServiceInfo; 300 private ArrayList<ServiceInfo<AuthenticatorDescription>> mServices; 306 mServices.add(new ServiceInfo<>(d1, null, null)); 307 mServices.add(new ServiceInfo<>(d2, null, null)); 311 public ServiceInfo<AuthenticatorDescription> getServiceInfo( 313 for (ServiceInfo<AuthenticatorDescription> service : mServices) { 322 public Collection<ServiceInfo<AuthenticatorDescription>> getAllServices(int userId) {
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
InCallControllerTests.java | 26 import android.content.pm.ServiceInfo; 194 serviceInfo = new ServiceInfo(); 195 serviceInfo.packageName = DEF_PKG; 196 serviceInfo.name = DEF_CLASS; 197 serviceInfo.permission = Manifest.permission.BIND_INCALL_SERVICE; 198 serviceInfo.metaData = new Bundle(); 199 serviceInfo.metaData.putBoolean( 203 serviceInfo = new ServiceInfo(); [all...] |
ComponentContextFixture.java | 43 import android.content.pm.ServiceInfo; 377 private final Map<ComponentName, ServiceInfo> mServiceInfoByComponentName = new HashMap<>(); 472 ServiceInfo serviceInfo = new ServiceInfo(); 473 serviceInfo.permission = android.Manifest.permission.BIND_CONNECTION_SERVICE; 474 serviceInfo.packageName = componentName.getPackageName(); 475 serviceInfo.name = componentName.getClassName(); 476 mServiceInfoByComponentName.put(componentName, serviceInfo); 484 ServiceInfo serviceInfo = new ServiceInfo() [all...] |