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

1 2

  /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...]
  /external/jmdns/src/javax/jmdns/
JmDNS.java 35 public void cannotRecoverFromIOError(JmDNS dns, Collection<ServiceInfo> infos);
185 public abstract ServiceInfo getServiceInfo(String type, String name);
200 public abstract ServiceInfo getServiceInfo(String type, String name, long timeout);
215 public abstract ServiceInfo getServiceInfo(String type, String name, boolean persistent);
232 public abstract ServiceInfo getServiceInfo(String type, String name, boolean persistent, long timeout);
326 * Note that the given {@code ServiceInfo} is bound to this {@code JmDNS} instance, and should not be reused for any other {@linkplain #registerService(ServiceInfo)}.
333 public abstract void registerService(ServiceInfo info) throws IOException;
350 public abstract void unregisterService(ServiceInfo info);
384 public abstract ServiceInfo[] list(String type)
    [all...]
JmmDNS.java 159 public abstract ServiceInfo[] getServiceInfos(String type, String name);
175 public abstract ServiceInfo[] getServiceInfos(String type, String name, long timeout);
191 public abstract ServiceInfo[] getServiceInfos(String type, String name, boolean persistent);
209 public abstract ServiceInfo[] getServiceInfos(String type, String name, boolean persistent, long timeout);
311 * @see javax.jmdns.JmDNS#registerService(javax.jmdns.ServiceInfo)
313 public abstract void registerService(ServiceInfo info) throws IOException;
320 * @see javax.jmdns.JmDNS#unregisterService(javax.jmdns.ServiceInfo)
322 public abstract void unregisterService(ServiceInfo info);
348 public abstract ServiceInfo[] list(String type);
360 public abstract ServiceInfo[] list(String type, long timeout)
    [all...]
ServiceInfo.java 33 public abstract class ServiceInfo implements Cloneable {
79 public static ServiceInfo create(final String type, final String name, final int port, final String text) {
98 public static ServiceInfo create(final String type, final String name, final String subtype, final int port, final String text) {
119 public static ServiceInfo create(final String type, final String name, final int port, final int weight, final int priority, final String text) {
142 public static ServiceInfo create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final String text) {
163 public static ServiceInfo create(final String type, final String name, final int port, final int weight, final int priority, final Map<String, ?> props) {
186 public static ServiceInfo create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final Map<String, ?> props) {
207 public static ServiceInfo create(final String type, final String name, final int port, final int weight, final int priority, final byte[] text) {
230 public static ServiceInfo create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final byte[] text) {
253 public static ServiceInfo create(final String type, final String name, final int port, final int weight, final int priority, (…)
    [all...]
ServiceEvent.java 58 public abstract ServiceInfo getInfo();
  /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...]
ServiceEventImpl.java 9 import javax.jmdns.ServiceInfo;
36 private final ServiceInfo _info;
50 public ServiceEventImpl(JmDNSImpl jmDNS, String type, String name, ServiceInfo info) {
110 public ServiceInfo getInfo() {
ListenerStatus.java 13 import javax.jmdns.ServiceInfo;
29 private final ConcurrentMap<String, ServiceInfo> _addedServices;
39 _addedServices = new ConcurrentHashMap<String, ServiceInfo>(32);
48 * ServiceInfo info = event.getDNS().getServiceInfo(event.getType(), event.getName())
61 ServiceInfo info = event.getInfo();
86 * A service has been resolved. Its details are now available in the ServiceInfo record.<br/>
93 ServiceInfo info = event.getInfo();
96 ServiceInfo previousServiceInfo = _addedServices.get(qualifiedName);
116 private static final boolean _sameInfo(ServiceInfo info, ServiceInfo lastInfo)
    [all...]
JmDNSImpl.java 37 import javax.jmdns.ServiceInfo;
38 import javax.jmdns.ServiceInfo.Fields;
93 * This hashtable holds the services that have been registered. Keys are instances of String which hold an all lower-case version of the fully qualified service name. Values are instances of ServiceInfo.
95 private final ConcurrentMap<String, ServiceInfo> _services;
404 _services = new ConcurrentHashMap<String, ServiceInfo>(20);
426 private void start(Collection<? extends ServiceInfo> serviceInfos) {
432 for (ServiceInfo info : serviceInfos) {
710 public ServiceInfo getServiceInfo(String type, String name) {
718 public ServiceInfo getServiceInfo(String type, String name, long timeout) {
726 public ServiceInfo getServiceInfo(String type, String name, boolean persistent)
    [all...]
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);
DNSEntry.java 13 import javax.jmdns.ServiceInfo.Fields;
ServiceInfoImpl.java 28 import javax.jmdns.ServiceInfo;
42 public class ServiceInfoImpl extends ServiceInfo implements DNSListener, DNSStatefulObject {
70 public void textValueUpdated(ServiceInfo target, byte[] value);
125 * @see javax.jmdns.ServiceInfo#create(String, String, int, int, int, String)
148 * @see javax.jmdns.ServiceInfo#create(String, String, int, int, int, Map)
163 * @see javax.jmdns.ServiceInfo#create(String, String, int, int, int, byte[])
210 ServiceInfoImpl(ServiceInfo info) {
438 * @see javax.jmdns.ServiceInfo#getServer()
537 * @see javax.jmdns.ServiceInfo#getInetAddresses()
549 * @see javax.jmdns.ServiceInfo#getInet4Addresses(
    [all...]
  /cts/tests/tests/accessibility/src/android/view/accessibility/cts/
AccessibilityManagerTest.java 21 import android.content.pm.ServiceInfo;
86 ServiceInfo serviceInfo = installedService.getResolveInfo().serviceInfo;
87 if (SOME_ACCESSIBLITY_SERVICES_PACKAGE_NAME.equals(serviceInfo.packageName)
88 && SPEAKING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) {
91 if (SOME_ACCESSIBLITY_SERVICES_PACKAGE_NAME.equals(serviceInfo.packageName)
92 && VIBRATING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) {
109 ServiceInfo serviceInfo = enabledService.getResolveInfo().serviceInfo
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
IsolatedService.java 106 static class ServiceInfo {
113 ServiceInfo(Activity activity, Class<?> clz,
184 ServiceInfo mService1;
185 ServiceInfo mService2;
193 mService1 = new ServiceInfo(this, IsolatedService.class, R.id.start1, R.id.stop1,
195 mService2 = new ServiceInfo(this, IsolatedService2.class, R.id.start2, R.id.stop2,
  /external/jmdns/src/javax/jmdns/impl/tasks/resolver/
ServiceResolver.java 9 import javax.jmdns.ServiceInfo;
49 for (ServiceInfo info : this.getDns().getServices().values()) {
  /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...]
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
PepperPluginManager.java 14 import android.content.pm.ServiceInfo;
98 ServiceInfo serviceInfo = info.serviceInfo;
99 if (serviceInfo == null || serviceInfo.metaData == null ||
100 serviceInfo.packageName == null) {
108 pkgInfo = pm.getPackageInfo(serviceInfo.packageName, 0);
110 Log.e(LOGTAG, "Can't find plugin: " + serviceInfo.packageName);
117 Log.i(LOGTAG, "The given plugin package is preloaded: " + serviceInfo.packageName)
    [all...]
SpeechRecognition.java 13 import android.content.pm.ServiceInfo;
184 ServiceInfo service = resolve.serviceInfo;
  /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>)
PackageSummary.java 30 import android.content.pm.ServiceInfo;
205 ServiceInfo si = info.services[i];
  /cts/tests/tests/view/src/android/view/inputmethod/cts/
InputMethodInfoTest.java 25 import android.content.pm.ServiceInfo;
100 assertService(resolveInfo.serviceInfo, mInputMethodInfo.getServiceInfo());
121 private void assertService(ServiceInfo expected, ServiceInfo actual) {
  /external/chromium_org/chrome/browser/extensions/api/sync_file_system/
extension_sync_event_observer.cc 75 api::sync_file_system::ServiceInfo service_info;
  /external/mdnsresponder/mDNSCore/
mDNSEmbeddedAPI.h     [all...]
  /external/chromium_org/third_party/libaddressinput/src/java/
android.jar 

Completed in 1408 milliseconds

1 2