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

  /cts/tests/tests/content/src/android/content/pm/cts/
ServiceInfoTest.java 22 import android.content.pm.ServiceInfo;
38 // Test ServiceInfo()
39 new ServiceInfo();
41 ServiceInfo serviceInfo = pm.getServiceInfo(componentName, 0);
42 // Test ServiceInfo(ServiceInfo orig)
43 ServiceInfo infoFromExisted = new ServiceInfo(serviceInfo);
    [all...]
PackageManagerTest.java 55 import android.content.pm.ServiceInfo;
191 current = infoIterator.next().serviceInfo.name;
543 assertEquals(SERVICE_NAME, resolveInfo.serviceInfo.name);
688 ServiceInfo service = findPackageItemOrFail(pkgInfo.services, SERVICE_NAME);
    [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,
  /cts/tests/app/app/src/android/app/stubs/
LocalForegroundServiceLocation.java 27 import android.content.pm.ServiceInfo;
66 ServiceInfo.FOREGROUND_SERVICE_TYPE_MANIFEST);
CommandReceiver.java 24 import android.content.pm.ServiceInfo;
78 ServiceInfo.FOREGROUND_SERVICE_TYPE_MANIFEST);
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowAccessibilityManagerTest.java 11 import android.content.pm.ServiceInfo;
75 List<ServiceInfo> expected = new ArrayList<>(Arrays.asList(new ServiceInfo()));
ShadowPackageManagerTest.java 70 import android.content.pm.ServiceInfo;
687 info.serviceInfo = new ServiceInfo();
688 info.serviceInfo.name = "name";
689 info.serviceInfo.packageName = TEST_PACKAGE_NAME;
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowAccessibilityManager.java 10 import android.content.pm.ServiceInfo;
36 private List<ServiceInfo> accessibilityServiceList;
87 protected List<ServiceInfo> getAccessibilityServiceList() {
91 public void setAccessibilityServiceList(List<ServiceInfo> accessibilityServiceList) {
LegacyManifestParser.java 42 import android.content.pm.ServiceInfo;
255 ServiceInfo info = new ServiceInfo();
330 private static Service createService(Package pkg, ServiceInfo info) {
ShadowApplicationPackageManager.java 66 import android.content.pm.ServiceInfo;
340 resolveInfoList, flags, (resolveInfo) -> resolveInfo.serviceInfo));
348 Arrays.asList(resolvedService), flags, (resolveInfo) -> resolveInfo.serviceInfo));
355 (resolveInfo) -> resolveInfo.serviceInfo));
377 || resolveInfo.serviceInfo != null
619 resolveInfo.serviceInfo = service.info;
645 info.serviceInfo = service.info;
773 protected ServiceInfo getServiceInfo(ComponentName className, int flags)
781 for (ServiceInfo service : packageInfo.services) {
783 ServiceInfo result = new ServiceInfo(service)
    [all...]
  /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];
  /external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/
OcAgentNodeUtilsTest.java 31 import io.opencensus.proto.agent.common.v1.ServiceInfo;
79 ServiceInfo serviceInfo = OcAgentNodeUtils.getServiceInfo(serviceName);
80 assertThat(serviceInfo.getName()).isEqualTo(serviceName);
  /cts/tests/inputmethod/src/android/view/inputmethod/cts/
InputMethodInfoTest.java 33 import android.content.pm.ServiceInfo;
120 assertService(resolveInfo.serviceInfo, mInputMethodInfo.getServiceInfo());
142 private void assertService(ServiceInfo expected, ServiceInfo actual) {
243 final ServiceInfo serviceInfo = imi.getServiceInfo();
244 if (serviceInfo == null) {
247 if ((serviceInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM)
251 if (serviceInfo.directBootAware) {
  /external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/
OcAgentNodeUtils.java 31 import io.opencensus.proto.agent.common.v1.ServiceInfo;
111 static ServiceInfo getServiceInfo(String serviceName) {
112 return ServiceInfo.newBuilder().setName(serviceName).build();
  /cts/tests/accessibility/src/android/view/accessibility/cts/
AccessibilityManagerTest.java 37 import android.content.pm.ServiceInfo;
150 ServiceInfo serviceInfo = installedService.getResolveInfo().serviceInfo;
151 if (mTargetContext.getPackageName().equals(serviceInfo.packageName)
152 && SPEAKING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) {
155 if (mTargetContext.getPackageName().equals(serviceInfo.packageName)
156 && VIBRATING_ACCESSIBLITY_SERVICE_NAME.equals(serviceInfo.name)) {
176 ServiceInfo serviceInfo = enabledService.getResolveInfo().serviceInfo
    [all...]
  /external/syzkaller/vendor/google.golang.org/grpc/
server.go 430 // ServiceInfo contains unary RPC method info, streaming RPC method info and metadata for a service.
431 type ServiceInfo struct {
437 // GetServiceInfo returns a map from service names to ServiceInfo.
439 func (s *Server) GetServiceInfo() map[string]ServiceInfo {
440 ret := make(map[string]ServiceInfo)
458 ret[n] = ServiceInfo{
    [all...]
  /cts/tests/app/src/android/app/cts/
ActivityManagerProcessStateTest.java 45 import android.content.pm.ServiceInfo;
    [all...]
  /external/ims/rcs/rcsservice/src/com/android/service/ims/
RcsStackAdaptor.java 39 import android.content.pm.ServiceInfo;
  /external/mdnsresponder/mDNSCore/
mDNSEmbeddedAPI.h     [all...]
mDNS.c     [all...]

Completed in 879 milliseconds