HomeSort by relevance Sort by last modified time
    Searched refs:ServiceInfo (Results 1 - 25 of 57) sorted by null

1 2 3

  /frameworks/base/core/java/android/content/pm/
ServiceInfo.aidl 20 parcelable ServiceInfo;
ServiceInfo.java 28 public class ServiceInfo extends ComponentInfo
52 public ServiceInfo() {
55 public ServiceInfo(ServiceInfo orig) {
68 return "ServiceInfo{"
83 public static final Creator<ServiceInfo> CREATOR =
84 new Creator<ServiceInfo>() {
85 public ServiceInfo createFromParcel(Parcel source) {
86 return new ServiceInfo(source);
88 public ServiceInfo[] newArray(int size)
    [all...]
RegisteredServicesCache.java 78 private Map<V, ServiceInfo<V>> mServices;
128 Map<V, ServiceInfo<V>> services;
133 for (ServiceInfo info : services.values()) {
180 public static class ServiceInfo<V> {
186 public ServiceInfo(V type, ComponentName componentName, int uid) {
194 return "ServiceInfo: " + type + ", " + componentName + ", uid " + uid;
203 public ServiceInfo<V> getServiceInfo(V type) {
210 * @return a collection of {@link RegisteredServicesCache.ServiceInfo} objects for all
213 public Collection<ServiceInfo<V>> getAllServices() {
256 ArrayList<ServiceInfo<V>> serviceInfos = new ArrayList<ServiceInfo<V>>()
    [all...]
PackageInfo.java 107 public ServiceInfo[] services;
264 services = source.createTypedArray(ServiceInfo.CREATOR);
ResolveInfo.java 39 * serviceInfo must be non-null.
48 public ServiceInfo serviceInfo;
144 ComponentInfo ci = activityInfo != null ? activityInfo : serviceInfo;
178 ComponentInfo ci = activityInfo != null ? activityInfo : serviceInfo;
199 if (serviceInfo != null) return serviceInfo.getIconResource();
224 } else if (serviceInfo != null) {
225 pw.println(prefix + "ServiceInfo:");
226 serviceInfo.dump(pw, prefix + " ")
    [all...]
  /cts/tests/tests/content/src/android/content/pm/cts/
ServiceInfoTest.java 26 import android.content.pm.ServiceInfo;
31 @TestTargetClass(ServiceInfo.class)
46 method = "ServiceInfo",
52 method = "ServiceInfo",
53 args = {android.content.pm.ServiceInfo.class}
73 // Test ServiceInfo()
74 new ServiceInfo();
76 ServiceInfo serviceInfo = pm.getServiceInfo(componentName, 0);
77 // Test ServiceInfo(ServiceInfo orig
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/android/view/accessibility/
AccessibilityManager.java 21 import android.content.pm.ServiceInfo;
101 * Returns the {@link ServiceInfo}s of the installed accessibility services.
103 * @return An unmodifiable list with {@link ServiceInfo}s.
105 public List<ServiceInfo> getAccessibilityServiceList() {
108 List<ServiceInfo> services = null;
  /frameworks/base/core/java/android/accounts/
IAccountAuthenticatorCache.java 34 * Accessor for the {@link android.content.pm.RegisteredServicesCache.ServiceInfo} that
38 * @return the {@link android.content.pm.RegisteredServicesCache.ServiceInfo} that
41 RegisteredServicesCache.ServiceInfo<AuthenticatorDescription> getServiceInfo(
47 Collection<RegisteredServicesCache.ServiceInfo<AuthenticatorDescription>> getAllServices();
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
InputMethodInfoCompatWrapper.java 20 import android.content.pm.ServiceInfo;
48 public ServiceInfo getServiceInfo() {
  /frameworks/base/services/java/com/android/server/
RecognitionManagerService.java 25 import android.content.pm.ServiceInfo;
100 ServiceInfo serviceInfo = available.get(i).serviceInfo;
101 if (prefPackage.equals(serviceInfo.packageName)) {
102 return new ComponentName(serviceInfo.packageName, serviceInfo.name);
110 ServiceInfo serviceInfo = available.get(0).serviceInfo;
    [all...]
  /frameworks/base/core/tests/coretests/src/android/accounts/
AccountManagerServiceTest.java 22 import android.content.pm.RegisteredServicesCache.ServiceInfo;
189 private ArrayList<ServiceInfo<AuthenticatorDescription>> mServices;
192 mServices = new ArrayList<ServiceInfo<AuthenticatorDescription>>();
195 mServices.add(new ServiceInfo<AuthenticatorDescription>(d1, null, 0));
196 mServices.add(new ServiceInfo<AuthenticatorDescription>(d2, null, 0));
199 public ServiceInfo<AuthenticatorDescription> getServiceInfo(AuthenticatorDescription type) {
200 for (ServiceInfo<AuthenticatorDescription> service : mServices) {
208 public Collection<ServiceInfo<AuthenticatorDescription>> getAllServices() {
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityDelegateHelper.java 32 import android.content.pm.ServiceInfo;
133 ServiceInfo serviceInfo = enabledService.getResolveInfo().serviceInfo;
134 if (DELEGATING_SERVICE_PACKAGE.equals(serviceInfo.packageName)
135 && DELEGATING_SERVICE_CLASS_NAME.equals(serviceInfo.name)) {
  /frameworks/base/core/java/android/view/accessibility/
AccessibilityManager.java 21 import android.content.pm.ServiceInfo;
251 * Returns the {@link ServiceInfo}s of the installed accessibility services.
253 * @return An unmodifiable list with {@link ServiceInfo}s.
258 public List<ServiceInfo> getAccessibilityServiceList() {
260 List<ServiceInfo> services = new ArrayList<ServiceInfo>();
264 services.add(info.getResolveInfo().serviceInfo);
  /development/apps/Development/src/com/android/development/
SyncAdapterDriver.java 97 Collection<RegisteredServicesCache.ServiceInfo<SyncAdapterType>> all =
103 for (RegisteredServicesCache.ServiceInfo<SyncAdapterType> item : all) {
229 final RegisteredServicesCache.ServiceInfo<SyncAdapterType> mSyncAdapter;
232 RegisteredServicesCache.ServiceInfo<SyncAdapterType> syncAdapter) {
291 RegisteredServicesCache.ServiceInfo<SyncAdapterType> syncAdapter =
329 private RegisteredServicesCache.ServiceInfo<SyncAdapterType> getSelectedSyncAdapter() {
337 return (RegisteredServicesCache.ServiceInfo<SyncAdapterType>)
  /frameworks/base/core/java/android/view/inputmethod/
InputMethodInfo.java 28 import android.content.pm.ServiceInfo;
107 ServiceInfo si = service.serviceInfo;
219 ServiceInfo si = new ServiceInfo();
229 ri.serviceInfo = si;
249 return mService.serviceInfo.packageName;
257 return mService.serviceInfo.name;
264 public ServiceInfo getServiceInfo() {
265 return mService.serviceInfo;
    [all...]
  /frameworks/base/core/tests/coretests/src/android/app/activity/
MetaDataTest.java 25 import android.content.pm.ServiceInfo;
126 ServiceInfo si = mContext.getPackageManager().getServiceInfo(
  /packages/apps/Contacts/src/com/android/contacts/util/
LocalizedNameResolver.java 27 import android.content.pm.ServiceInfo;
88 for (ServiceInfo si : pi.services) {
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
PhotoPriorityResolver.java 30 import android.content.pm.ServiceInfo;
114 for (ServiceInfo si : pi.services) {
  /cts/tests/tests/view/src/android/view/inputmethod/cts/
InputMethodInfoTest.java 28 import android.content.pm.ServiceInfo;
136 assertService(resolveInfo.serviceInfo, mInputMethodInfo.getServiceInfo());
141 private void assertService(ServiceInfo expected, ServiceInfo actual) {
  /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...]
IApplicationThread.java 25 import android.content.pm.ServiceInfo;
77 void scheduleCreateService(IBinder token, ServiceInfo info,
  /frameworks/base/core/java/android/view/textservice/
SpellCheckerInfo.java 26 import android.content.pm.ServiceInfo;
67 ServiceInfo si = service.serviceInfo;
161 mService.serviceInfo.packageName, mService.serviceInfo.name);
168 return mService.serviceInfo.packageName;
210 return pm.getText(getPackageName(), mLabel, mService.serviceInfo.applicationInfo);
227 public ServiceInfo getServiceInfo() {
228 return mService.serviceInfo;
  /frameworks/base/core/java/android/speech/tts/
TtsEngines.java 27 import android.content.pm.ServiceInfo;
139 private boolean isSystemEngine(ServiceInfo info) {
168 ServiceInfo service = resolveInfos.get(0).serviceInfo;
190 private String settingsActivityFromServiceInfo(ServiceInfo si, PackageManager pm) {
239 ServiceInfo service = resolve.serviceInfo;
  /frameworks/base/core/java/android/webkit/
PluginManager.java 30 import android.content.pm.ServiceInfo;
127 ServiceInfo serviceInfo = info.serviceInfo;
128 if (serviceInfo == null) {
136 pkgInfo = pm.getPackageInfo(serviceInfo.packageName,
140 Log.w(LOGTAG, "Can't find plugin: " + serviceInfo.packageName);
169 if (serviceInfo.metaData == null) {
170 Log.e(LOGTAG, "The plugin '" + serviceInfo.name + "' has no type defined");
174 String pluginType = serviceInfo.metaData.getString(PLUGIN_TYPE)
    [all...]
  /packages/apps/Settings/src/com/android/settings/
VoiceInputOutputSettings.java 23 import android.content.pm.ServiceInfo;
124 new ComponentName(resolveInfo.serviceInfo.packageName,
125 resolveInfo.serviceInfo.name).flattenToShortString();
166 new ComponentName(resolveInfo.serviceInfo.packageName,
167 resolveInfo.serviceInfo.name).flattenToShortString();
186 ServiceInfo si = currentRecognizer.serviceInfo;

Completed in 5114 milliseconds

1 2 3