HomeSort by relevance Sort by last modified time
    Searched full:serviceinfo (Results 1 - 25 of 276) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/content/src/android/content/pm/cts/
ServiceInfoTest.java 22 import android.content.pm.ServiceInfo;
36 // Test ServiceInfo()
37 new ServiceInfo();
39 ServiceInfo serviceInfo = pm.getServiceInfo(componentName, 0);
40 // Test ServiceInfo(ServiceInfo orig)
41 ServiceInfo infoFromExisted = new ServiceInfo(serviceInfo);
    [all...]
  /cts/tests/accessibility/src/android/view/accessibility/cts/
AccessibilityManagerTest.java 21 import android.content.pm.ServiceInfo;
100 ServiceInfo serviceInfo = installedService.getResolveInfo().serviceInfo;
101 if (getClass().getPackage().getName().equals(serviceInfo.packageName)
102 && SPEAKING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) {
105 if (getClass().getPackage().getName().equals(serviceInfo.packageName)
106 && VIBRATING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) {
123 ServiceInfo serviceInfo = enabledService.getResolveInfo().serviceInfo
    [all...]
  /external/avahi/avahi-sharp/en/Avahi/
ServiceInfoArgs.xml 13 <MemberSignature Language="C#" Value="public ServiceInfoArgs (Avahi.ServiceInfo service);" />
16 <Parameter Name="service" Type="Avahi.ServiceInfo" />
25 <MemberSignature Language="C#" Value="public Avahi.ServiceInfo Service { get; };" />
28 <ReturnType>Avahi.ServiceInfo</ReturnType>
  /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...]
  /frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
NsdResolveQueue.java 56 * Container for a request to resolve a serviceInfo.
60 final @NonNull NsdServiceInfo serviceInfo;
64 @NonNull NsdServiceInfo serviceInfo, @NonNull NsdManager.ResolveListener listener) {
66 this.serviceInfo = serviceInfo;
72 * Resolve a serviceInfo or queue the request if there is a request currently in flight.
75 * @param serviceInfo The service info to resolve
78 public void resolve(@NonNull NsdManager nsdManager, @NonNull NsdServiceInfo serviceInfo,
81 mResolveRequests.addLast(new NsdResolveRequest(nsdManager, serviceInfo,
102 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode)
    [all...]
  /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/core/java/android/content/pm/
ServiceInfo.java 28 public class ServiceInfo extends ComponentInfo
74 public ServiceInfo() {
77 public ServiceInfo(ServiceInfo orig) {
96 return "ServiceInfo{"
111 public static final Creator<ServiceInfo> CREATOR =
112 new Creator<ServiceInfo>() {
113 public ServiceInfo createFromParcel(Parcel source) {
114 return new ServiceInfo(source);
116 public ServiceInfo[] newArray(int size)
    [all...]
  /development/samples/training/NsdChat/src/com/example/android/nsdchat/
NsdHelper.java 101 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode) {
106 public void onServiceResolved(NsdServiceInfo serviceInfo) {
107 Log.e(TAG, "Resolve Succeeded. " + serviceInfo);
109 if (serviceInfo.getServiceName().equals(mServiceName)) {
113 mService = serviceInfo;
138 public void onUnregistrationFailed(NsdServiceInfo serviceInfo, int errorCode) {
148 NsdServiceInfo serviceInfo = new NsdServiceInfo();
149 serviceInfo.setPort(port);
150 serviceInfo.setServiceName(mServiceName);
151 serviceInfo.setServiceType(SERVICE_TYPE)
    [all...]
  /packages/apps/Settings/src/com/android/settings/utils/
ZenServiceListing.java 25 import android.content.pm.ServiceInfo;
41 private final Set<ServiceInfo> mApprovedServices = new ArraySet<ServiceInfo>();
50 public ServiceInfo findService(final ComponentName cn) {
51 for (ServiceInfo service : mApprovedServices) {
77 List<ServiceInfo> services = new ArrayList<>();
79 for (ServiceInfo service : services) {
113 private static int getServices(ManagedServiceSettings.Config c, List<ServiceInfo> list,
128 ServiceInfo info = resolveInfo.serviceInfo;
    [all...]
  /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...]
  /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...]
  /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...]
  /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));
  /frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/
MDNSFilterPlugin.java 149 public void onServiceFound(NsdServiceInfo serviceInfo) {
150 mResolveQueue.resolve(getNDSManager(), serviceInfo,
153 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode) {
154 Log.w(LOG_TAG, "Service found: could not resolve " + serviceInfo + ": " +
159 public void onServiceResolved(NsdServiceInfo serviceInfo) {
160 if (MDNSUtils.isVendorPrinter(serviceInfo, mMDNSNames)) {
162 boolean added = mPrinters.add(serviceInfo.getHost().getHostAddress());
174 public void onServiceLost(NsdServiceInfo serviceInfo) {
175 mResolveQueue.resolve(getNDSManager(), serviceInfo,
178 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode)
    [all...]
  /external/jmdns/src/javax/jmdns/impl/
JmmDNSImpl.java 31 import javax.jmdns.ServiceInfo;
54 private final ConcurrentMap<String, ServiceInfo> _services;
69 _services = new ConcurrentHashMap<String, ServiceInfo>(20);
171 public ServiceInfo[] getServiceInfos(String type, String name) {
180 public ServiceInfo[] getServiceInfos(String type, String name, long timeout) {
189 public ServiceInfo[] getServiceInfos(String type, String name, boolean persistent) {
198 public ServiceInfo[] getServiceInfos(final String type, final String name, final boolean persistent, final long timeout) {
200 final Set<ServiceInfo> result = Collections.synchronizedSet(new HashSet<ServiceInfo>(_knownMDNS.size()));
219 return result.toArray(new ServiceInfo[result.size()])
    [all...]
  /frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
PrinterHashMap.java 24 public static String getKey(NsdServiceInfo serviceInfo) {
25 return serviceInfo.getServiceName();
  /frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/samsung/
PrinterHashMap.java 24 public static String getKey(NsdServiceInfo serviceInfo) {
25 return serviceInfo.getServiceName();
  /frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/
PrinterHashMap.java 23 public static String getKey(NsdServiceInfo serviceInfo) {
24 return serviceInfo.getServiceName();
  /packages/apps/Settings/src/com/android/settings/applications/
DefaultAssistPreference.java 82 private void setAssistService(Info serviceInfo) {
83 final String serviceComponentName = serviceInfo.component.flattenToShortString();
85 serviceInfo.component.getPackageName(),
86 serviceInfo.voiceInteractionServiceInfo.getRecognitionService())
98 serviceInfo.voiceInteractionServiceInfo.getSettingsActivity();
101 new ComponentName(serviceInfo.component.getPackageName(), settingsActivity));
120 if (resolveInfo == null || resolveInfo.serviceInfo == null) {
125 return new ComponentName(resolveInfo.serviceInfo.packageName,
126 resolveInfo.serviceInfo.name).flattenToShortString();
148 new VoiceInteractionServiceInfo(pm, resolveInfo.serviceInfo);
    [all...]
  /packages/apps/TV/tests/unit/src/com/android/tv/util/
TestUtils.java 20 import android.content.pm.ServiceInfo;
70 resolveInfo.serviceInfo = new ServiceInfo();
71 resolveInfo.serviceInfo.packageName = packageName;
72 resolveInfo.serviceInfo.name = name;
  /frameworks/base/core/tests/coretests/src/android/content/pm/
AppsQueryHelperTests.java 151 sysApp1.serviceInfo = new ServiceInfo();
152 sysApp1.serviceInfo.packageName = "sys_app1";
153 sysApp1.serviceInfo.name = "name";
154 sysApp1.serviceInfo.applicationInfo = new ApplicationInfo();
155 sysApp1.serviceInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM;
157 app4.serviceInfo = new ServiceInfo();
158 app4.serviceInfo.packageName = "app4";
159 app4.serviceInfo.name = "name"
    [all...]
RegisteredServicesCacheTest.java 97 Collection<RegisteredServicesCache.ServiceInfo<TestServiceType>> allServices = cache
101 for (RegisteredServicesCache.ServiceInfo<TestServiceType> srv : allServices) {
189 private static RegisteredServicesCache.ServiceInfo<TestServiceType> newServiceInfo(
194 return new RegisteredServicesCache.ServiceInfo<>(type, info, null);
211 private SparseArray<Map<ResolveInfo, ServiceInfo<TestServiceType>>> mServices
227 Map<ResolveInfo, ServiceInfo<TestServiceType>> map = mServices
228 .get(userId, new HashMap<ResolveInfo, ServiceInfo<TestServiceType>>());
260 ServiceInfo<TestServiceType> serviceInfo) {
261 Map<ResolveInfo, ServiceInfo<TestServiceType>> map = mServices.get(userId)
    [all...]
  /external/avahi/avahi-sharp/
ServiceBrowser.cs 32 public struct ServiceInfo
46 public static ServiceInfo Zero = new ServiceInfo ();
51 private ServiceInfo service;
53 public ServiceInfo Service {
57 public ServiceInfoArgs (ServiceInfo service)
113 public ServiceInfo[] Services
115 get { return (ServiceInfo[]) infos.ToArray (typeof (ServiceInfo)); }
181 ServiceInfo info
    [all...]
  /external/jmdns/src/javax/jmdns/impl/tasks/state/
DNSStateTask.java 10 import javax.jmdns.ServiceInfo;
80 for (ServiceInfo serviceInfo : this.getDns().getServices().values()) {
81 ((ServiceInfoImpl) serviceInfo).associateWithTask(this, state);
95 for (ServiceInfo serviceInfo : this.getDns().getServices().values()) {
96 ((ServiceInfoImpl) serviceInfo).removeAssociationWithTask(this);
118 for (ServiceInfo serviceInfo : this.getDns().getServices().values()) {
119 ServiceInfoImpl info = (ServiceInfoImpl) serviceInfo;
    [all...]
  /packages/apps/Settings/src/com/android/settings/
TrustAgentUtils.java 48 String packageName = resolveInfo.serviceInfo.packageName;
66 if (resolveInfo == null || resolveInfo.serviceInfo == null) return null;
67 return new ComponentName(resolveInfo.serviceInfo.packageName, resolveInfo.serviceInfo.name);
72 if (resolveInfo == null || resolveInfo.serviceInfo == null
73 || resolveInfo.serviceInfo.metaData == null) return null;
79 parser = resolveInfo.serviceInfo.loadXmlMetaData(pm, TRUST_AGENT_META_DATA);
84 Resources res = pm.getResourcesForApplication(resolveInfo.serviceInfo.applicationInfo);
113 Slog.w(TAG, "Error parsing : " + resolveInfo.serviceInfo.packageName, caughtException);
117 cn = resolveInfo.serviceInfo.packageName + "/" + cn
    [all...]

Completed in 1423 milliseconds

1 2 3 4 5 6 7 8 91011>>