Home
last modified time | relevance | path

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

/external/sl4a/Common/src/com/googlecode/android_scripting/facade/net/nsd/
DNsdManagerFacade.java169 @RpcParameter(name = "service information") JSONObject serviceInfo) in nsdRegisterService()
171 NsdServiceInfo nsi = getNsdServiceInfo(serviceInfo); in nsdRegisterService()
224 @RpcParameter(name = "service information") JSONObject serviceInfo) in nsdResolveService()
228 mNsdManager.resolveService(getNsdServiceInfo(serviceInfo), listener); in nsdResolveService()
241 public void onRegistrationFailed(NsdServiceInfo serviceInfo, int errorCode) { in onRegistrationFailed() argument
244 new RegistrationListenerEvent(REG_LISTENER_EVENT_ON_REG_FAILED, serviceInfo, in onRegistrationFailed()
249 public void onUnregistrationFailed(NsdServiceInfo serviceInfo, int errorCode) { in onUnregistrationFailed() argument
252 new RegistrationListenerEvent(REG_LISTENER_EVENT_ON_UNREG_FAILED, serviceInfo, in onUnregistrationFailed()
257 public void onServiceRegistered(NsdServiceInfo serviceInfo) { in onServiceRegistered() argument
261 serviceInfo, null)); in onServiceRegistered()
[all …]
/external/ims/rcs/rcsmanager/src/java/com/android/ims/
DRcsPresenceInfo.java311 Bundle serviceInfo = mServiceInfo.getBundle(String.valueOf(serviceType)); in getServiceInfo() local
313 if (serviceInfo != null) { in getServiceInfo()
314 return serviceInfo.getString(infoKey); in getServiceInfo()
320 Bundle serviceInfo = mServiceInfo.getBundle(String.valueOf(serviceType)); in getServiceInfo() local
321 if (serviceInfo != null) { in getServiceInfo()
322 return serviceInfo.getLong(infoKey); in getServiceInfo()
329 Bundle serviceInfo = mServiceInfo.getBundle(String.valueOf(serviceType)); in getServiceInfo() local
330 if (serviceInfo != null) { in getServiceInfo()
331 return serviceInfo.getInt(infoType); in getServiceInfo()
337 Bundle serviceInfo = mServiceInfo.getBundle(String.valueOf(serviceType)); in getServiceInfo() local
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowResolveInfo.java55 copy.serviceInfo = orig.serviceInfo; in newResolveInfo()
DShadowApplicationPackageManager.java361 resolveInfoList, flags, (resolveInfo) -> resolveInfo.serviceInfo)); in queryIntentServices()
369 Arrays.asList(resolvedService), flags, (resolveInfo) -> resolveInfo.serviceInfo)); in queryIntentServices()
376 (resolveInfo) -> resolveInfo.serviceInfo)); in queryIntentServices()
398 || resolveInfo.serviceInfo != null in filterResolvedComponent()
640 resolveInfo.serviceInfo = service.info; in buildResolveInfo()
666 info.serviceInfo = service.info; in buildResolveInfo()
DShadowPackageManager.java300 info.serviceInfo, in addResolveInfoForIntent()
349 } else if (resolveInfo.serviceInfo != null) { in getPackageName()
350 return resolveInfo.serviceInfo.packageName; in getPackageName()
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/
DOcAgentNodeUtilsTest.java79 ServiceInfo serviceInfo = OcAgentNodeUtils.getServiceInfo(serviceName); in getServiceInfo() local
80 assertThat(serviceInfo.getName()).isEqualTo(serviceName); in getServiceInfo()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPackageManagerTest.java690 info.serviceInfo = new ServiceInfo(); in queryIntentActivities_ServiceMatch()
691 info.serviceInfo.name = "name"; in queryIntentActivities_ServiceMatch()
692 info.serviceInfo.packageName = TEST_PACKAGE_NAME; in queryIntentActivities_ServiceMatch()
992 assertThat(services.get(0).serviceInfo.name).isEqualTo("com.foo.Service"); in queryIntentServices_MatchWithExplicitIntent()
1032 assertThat(services.get(0).serviceInfo.name).isEqualTo("com.foo.Service"); in queryIntentServices_appHidden_includeUninstalled()
1253 info.serviceInfo = new ServiceInfo(); in resolveService_Match()
1254 info.serviceInfo.name = "name"; in resolveService_Match()
1257 assertThat(packageManager.resolveService(i, 0).serviceInfo.name).isEqualTo("name"); in resolveService_Match()
1281 info.serviceInfo = new ServiceInfo(); in removeResolveInfosForIntent_forService()
1282 info.serviceInfo.packageName = "com.org"; in removeResolveInfosForIntent_forService()
[all …]