Home
last modified time | relevance | path

Searched refs:ServiceInfo (Results 1 – 25 of 139) sorted by relevance

123456

/frameworks/base/core/java/android/content/pm/
DServiceInfo.java32 public class ServiceInfo extends ComponentInfo class
181 public ServiceInfo() { in ServiceInfo() method in ServiceInfo
184 public ServiceInfo(ServiceInfo orig) { in ServiceInfo() method in ServiceInfo
228 public static final @android.annotation.NonNull Creator<ServiceInfo> CREATOR =
229 new Creator<ServiceInfo>() {
230 public ServiceInfo createFromParcel(Parcel source) {
231 return new ServiceInfo(source);
233 public ServiceInfo[] newArray(int size) {
234 return new ServiceInfo[size];
238 private ServiceInfo(Parcel source) { in ServiceInfo() method in ServiceInfo
DRegisteredServicesCache.java101 Map<V, ServiceInfo<V>> services = null;
252 for (ServiceInfo<?> info : user.services.values()) { in dump()
305 public static class ServiceInfo<V> { class in RegisteredServicesCache
315 public ServiceInfo(V type, ComponentInfo componentInfo, ComponentName componentName) { in ServiceInfo() method in RegisteredServicesCache.ServiceInfo
333 public ServiceInfo<V> getServiceInfo(V type, int userId) { in getServiceInfo()
348 public Collection<ServiceInfo<V>> getAllServices(int userId) { in getAllServices()
356 new ArrayList<ServiceInfo<V>>(user.services.values())); in getAllServices()
364 List<ServiceInfo<V>> allServices; in updateServices()
374 for (ServiceInfo<V> service : allServices) { in updateServices()
476 final ArrayList<ServiceInfo<V>> serviceInfos = new ArrayList<>(); in generateServicesMap()
[all …]
/frameworks/base/core/java/android/service/contentcapture/
DContentCaptureServiceInfo.java28 import android.content.pm.ServiceInfo;
56 private static ServiceInfo getServiceInfoOrThrow(ComponentName comp, boolean isTemp, in getServiceInfoOrThrow()
63 ServiceInfo si = null; in getServiceInfoOrThrow()
77 private final ServiceInfo mServiceInfo;
88 private ContentCaptureServiceInfo(@NonNull Context context, @NonNull ServiceInfo si) { in ContentCaptureServiceInfo()
143 public ServiceInfo getServiceInfo() { in getServiceInfo()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRegisteredServicesCacheTest.java100 Collection<RegisteredServicesCache.ServiceInfo<TestServiceType>> allServices = cache in testGetAllServicesReplaceUid()
104 for (RegisteredServicesCache.ServiceInfo<TestServiceType> srv : allServices) { in testGetAllServicesReplaceUid()
192 private static RegisteredServicesCache.ServiceInfo<TestServiceType> newServiceInfo( in newServiceInfo()
197 return new RegisteredServicesCache.ServiceInfo<>(type, info, null); in newServiceInfo()
214 private SparseArray<Map<ResolveInfo, ServiceInfo<TestServiceType>>> mServices
230 Map<ResolveInfo, ServiceInfo<TestServiceType>> map = mServices in queryIntentServices()
231 .get(userId, new HashMap<ResolveInfo, ServiceInfo<TestServiceType>>()); in queryIntentServices()
263 ServiceInfo<TestServiceType> serviceInfo) { in addServiceForQuerying()
264 Map<ResolveInfo, ServiceInfo<TestServiceType>> map = mServices.get(userId); in addServiceForQuerying()
290 protected ServiceInfo<TestServiceType> parseServiceInfo( in parseServiceInfo()
[all …]
/frameworks/base/telephony/java/android/telephony/mbms/
DServiceInfo.java40 public class ServiceInfo { class
52 public ServiceInfo(Map<Locale, String> newNames, String newClassName, List<Locale> newLocales, in ServiceInfo() method in ServiceInfo
76 protected ServiceInfo(Parcel in) { in ServiceInfo() method in ServiceInfo
189 if (!(o instanceof ServiceInfo)) { in equals()
192 ServiceInfo that = (ServiceInfo) o; in equals()
DMbmsUtils.java24 import android.content.pm.ServiceInfo;
88 public static ServiceInfo getMiddlewareServiceInfo(Context context, String serviceAction) { in getMiddlewareServiceInfo()
120 ServiceInfo mbmsServiceInfo = in startBinding()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionServiceInfo.java23 import android.content.pm.ServiceInfo;
42 private ServiceInfo mServiceInfo;
60 static ServiceInfo getServiceInfoOrThrow(ComponentName comp, int userHandle) in getServiceInfoOrThrow()
63 ServiceInfo si = AppGlobals.getPackageManager().getServiceInfo(comp, in getServiceInfoOrThrow()
77 public VoiceInteractionServiceInfo(PackageManager pm, ServiceInfo si) { in VoiceInteractionServiceInfo()
159 public ServiceInfo getServiceInfo() { in getServiceInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DPackageManagerAdapter.java26 import android.content.pm.ServiceInfo;
45 public ServiceInfo getServiceInfo(ComponentName className, int flags, int userId) in getServiceInfo()
50 public ServiceInfo getServiceInfo(ComponentName component, int flags) in getServiceInfo()
/frameworks/base/services/core/java/com/android/server/appbinding/
DAppBindingUtils.java25 import android.content.pm.ServiceInfo;
47 public static ServiceInfo findService(@NonNull String packageName, int userId, in findService()
73 final ServiceInfo si = list.get(0).serviceInfo; in findService()
/frameworks/base/core/java/android/service/autofill/
DAutofillServiceInfo.java25 import android.content.pm.ServiceInfo;
59 private static ServiceInfo getServiceInfoOrThrow(ComponentName comp, int userHandle) in getServiceInfoOrThrow()
62 ServiceInfo si = AppGlobals.getPackageManager().getServiceInfo( in getServiceInfoOrThrow()
75 private final ServiceInfo mServiceInfo;
88 public AutofillServiceInfo(Context context, ServiceInfo si) { in AutofillServiceInfo()
217 public ServiceInfo getServiceInfo() { in getServiceInfo()
/frameworks/base/services/core/java/com/android/server/appbinding/finders/
DAppServiceFinder.java23 import android.content.pm.ServiceInfo;
59 private final SparseArray<ServiceInfo> mTargetServices = new SparseArray(4);
98 public final ServiceInfo findService(int userId, IPackageManager ipm, in findService()
125 final ServiceInfo service = AppBindingUtils.findService( in findService()
187 protected String validateService(ServiceInfo service) { in validateService()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractPerUserSystemService.java27 import android.content.pm.ServiceInfo;
71 private ServiceInfo mServiceInfo;
101 protected @NonNull ServiceInfo newServiceInfoLocked( in newServiceInfoLocked()
167 ServiceInfo serviceInfo = null; in updateServiceInfoLocked()
257 public final ServiceInfo getServiceInfo() { in getServiceInfo()
/frameworks/base/core/java/android/app/
DService.java19 import static android.content.pm.ServiceInfo.FOREGROUND_SERVICE_TYPE_MANIFEST;
30 import android.content.pm.ServiceInfo;
31 import android.content.pm.ServiceInfo.ForegroundServiceType;
793 int ret = ServiceInfo.FOREGROUND_SERVICE_TYPE_NONE; in getForegroundServiceType()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java27 import android.content.pm.ServiceInfo;
122 final ServiceInfo si = service.serviceInfo; in computeId()
151 ServiceInfo si = service.serviceInfo; in InputMethodInfo()
310 final ServiceInfo si = ri.serviceInfo; in InputMethodInfo()
325 ServiceInfo si = new ServiceInfo(); in buildDummyResolveInfo()
366 public ServiceInfo getServiceInfo() { in getServiceInfo()
/frameworks/base/services/core/java/com/android/server/accounts/
DIAccountAuthenticatorCache.java42 RegisteredServicesCache.ServiceInfo<AuthenticatorDescription> getServiceInfo( in getServiceInfo()
48 Collection<RegisteredServicesCache.ServiceInfo<AuthenticatorDescription>> getAllServices( in getAllServices()
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodInfoTest.java26 import android.content.pm.ServiceInfo;
88 final ServiceInfo serviceInfo = new ServiceInfo(); in buildInputMethodForTest()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierServicesSmsFilterTest.java34 import android.content.pm.ServiceInfo;
177 new ServiceInfo()); in mockCarrierApp()
190 ServiceInfo serviceInfo = new ServiceInfo(); in mockSystemApp()
DCellularNetworkServiceTest.java26 import android.content.pm.ServiceInfo;
58 ServiceInfo serviceInfo = new ServiceInfo(); in addNetworkService()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DServiceListing.java28 import android.content.pm.ServiceInfo;
51 private final List<ServiceInfo> mServices = new ArrayList<>();
135 ServiceInfo info = resolveInfo.serviceInfo; in reload()
179 void onServicesReloaded(List<ServiceInfo> services); in onServicesReloaded()
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsPerUserService.java31 import android.content.pm.ServiceInfo;
69 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked()
71 ServiceInfo si; in newServiceInfoLocked()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDeviceAdminServiceController.java26 import android.content.pm.ServiceInfo;
104 private ServiceInfo findService(@NonNull String packageName, int userId) { in findService()
124 final ServiceInfo service = findService(packageName, userId); in startServiceForOwner()
/frameworks/base/services/core/java/com/android/server/
DNetworkScorerAppManager.java27 import android.content.pm.ServiceInfo;
82 final ServiceInfo serviceInfo = resolveInfos.get(i).serviceInfo; in getAllValidScorers()
108 private String getRecommendationServiceLabel(ServiceInfo serviceInfo, PackageManager pm) { in getRecommendationServiceLabel()
121 private ComponentName findUseOpenWifiNetworksActivity(ServiceInfo serviceInfo) { in findUseOpenWifiNetworksActivity()
153 private static String getNetworkAvailableNotificationChannelId(ServiceInfo serviceInfo) { in getNetworkAvailableNotificationChannelId()
/frameworks/base/services/systemcaptions/java/com/android/server/systemcaptions/
DSystemCaptionsManagerPerUserService.java25 import android.content.pm.ServiceInfo;
51 protected ServiceInfo newServiceInfoLocked( in newServiceInfoLocked()
/frameworks/base/services/core/java/com/android/server/tv/
DTvRemoteProviderWatcher.java27 import android.content.pm.ServiceInfo;
114 ServiceInfo serviceInfo = resolveInfo.serviceInfo; in scanPackages()
145 private boolean verifyServiceTrusted(ServiceInfo serviceInfo) { in verifyServiceTrusted()
/frameworks/base/services/core/java/com/android/server/role/
DFinancialSmsManager.java28 import android.content.pm.ServiceInfo;
68 ServiceInfo getServiceInfo() { in getServiceInfo()
89 final ServiceInfo serviceInfo = getServiceInfo(); in getServiceComponentName()

123456