Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/content/pm/
DServiceInfo.java28 public class ServiceInfo extends ComponentInfo class
80 public ServiceInfo() { in ServiceInfo() method in ServiceInfo
83 public ServiceInfo(ServiceInfo orig) { in ServiceInfo() method in ServiceInfo
117 public static final Creator<ServiceInfo> CREATOR =
118 new Creator<ServiceInfo>() {
119 public ServiceInfo createFromParcel(Parcel source) {
120 return new ServiceInfo(source);
122 public ServiceInfo[] newArray(int size) {
123 return new ServiceInfo[size];
127 private ServiceInfo(Parcel source) { in ServiceInfo() method in ServiceInfo
DRegisteredServicesCache.java100 Map<V, ServiceInfo<V>> services = null;
250 for (ServiceInfo<?> info : user.services.values()) { in dump()
301 public static class ServiceInfo<V> { class in RegisteredServicesCache
308 public ServiceInfo(V type, ComponentInfo componentInfo, ComponentName componentName) { in ServiceInfo() method in RegisteredServicesCache.ServiceInfo
326 public ServiceInfo<V> getServiceInfo(V type, int userId) { in getServiceInfo()
341 public Collection<ServiceInfo<V>> getAllServices(int userId) { in getAllServices()
349 new ArrayList<ServiceInfo<V>>(user.services.values())); in getAllServices()
357 List<ServiceInfo<V>> allServices; in updateServices()
367 for (ServiceInfo<V> service : allServices) { in updateServices()
469 final ArrayList<ServiceInfo<V>> serviceInfos = new ArrayList<>(); in generateServicesMap()
[all …]
DServiceInfo.aidl20 parcelable ServiceInfo;
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRegisteredServicesCacheTest.java99 Collection<RegisteredServicesCache.ServiceInfo<TestServiceType>> allServices = cache in testGetAllServicesReplaceUid()
103 for (RegisteredServicesCache.ServiceInfo<TestServiceType> srv : allServices) { in testGetAllServicesReplaceUid()
191 private static RegisteredServicesCache.ServiceInfo<TestServiceType> newServiceInfo( in newServiceInfo()
196 return new RegisteredServicesCache.ServiceInfo<>(type, info, null); in newServiceInfo()
213 private SparseArray<Map<ResolveInfo, ServiceInfo<TestServiceType>>> mServices
229 Map<ResolveInfo, ServiceInfo<TestServiceType>> map = mServices in queryIntentServices()
230 .get(userId, new HashMap<ResolveInfo, ServiceInfo<TestServiceType>>()); in queryIntentServices()
262 ServiceInfo<TestServiceType> serviceInfo) { in addServiceForQuerying()
263 Map<ResolveInfo, ServiceInfo<TestServiceType>> map = mServices.get(userId); in addServiceForQuerying()
289 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;
84 public static ServiceInfo getMiddlewareServiceInfo(Context context, String serviceAction) { in getMiddlewareServiceInfo()
116 ServiceInfo mbmsServiceInfo = in startBinding()
DServiceInfo.aidl20 parcelable ServiceInfo;
/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/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierServicesSmsFilterTest.java33 import android.content.pm.ServiceInfo;
138 new ServiceInfo()); in mockCarrierApp()
151 ServiceInfo serviceInfo = new ServiceInfo(); in mockSystemApp()
DCellularNetworkServiceTest.java28 import android.content.pm.ServiceInfo;
55 ServiceInfo serviceInfo = new ServiceInfo(); in addNetworkService()
/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/java/android/view/inputmethod/
DInputMethodInfo.java26 import android.content.pm.ServiceInfo;
120 final ServiceInfo si = service.serviceInfo; in computeId()
149 ServiceInfo si = service.serviceInfo; in InputMethodInfo()
308 final ServiceInfo si = ri.serviceInfo; in InputMethodInfo()
323 ServiceInfo si = new ServiceInfo(); in buildDummyResolveInfo()
364 public ServiceInfo getServiceInfo() { in getServiceInfo()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDeviceAdminServiceController.java28 import android.content.pm.ServiceInfo;
102 private ServiceInfo findService(@NonNull String packageName, int userId) { in findService()
124 final ServiceInfo si = list.get(0).serviceInfo; in findService()
148 final ServiceInfo service = findService(packageName, userId); in startServiceForOwner()
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodInfoTest.java26 import android.content.pm.ServiceInfo;
87 final ServiceInfo serviceInfo = new ServiceInfo(); in buildInputMethodForTest()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DServiceListing.java28 import android.content.pm.ServiceInfo;
53 private final List<ServiceInfo> mServices = new ArrayList<>();
138 ServiceInfo info = resolveInfo.serviceInfo; in reload()
182 void onServicesReloaded(List<ServiceInfo> services); in onServicesReloaded()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAssistantsTest.java33 import android.content.pm.ServiceInfo;
89 ServiceInfo info = new ServiceInfo(); in setUp()
/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/core/java/com/android/server/media/
DRemoteDisplayProviderWatcher.java27 import android.content.pm.ServiceInfo;
119 ServiceInfo serviceInfo = resolveInfo.serviceInfo; in scanPackages()
150 private boolean verifyServiceTrusted(ServiceInfo serviceInfo) { in verifyServiceTrusted()
/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/autofill/java/com/android/server/autofill/
DFieldClassificationStrategy.java33 import android.content.pm.ServiceInfo;
82 ServiceInfo getServiceInfo() { in getServiceInfo()
103 final ServiceInfo serviceInfo = getServiceInfo(); in getServiceComponentName()
243 final ServiceInfo serviceInfo = getServiceInfo(); in getMetadataValue()
/frameworks/layoutlib/bridge/src/android/view/accessibility/
DAccessibilityManager.java24 import android.content.pm.ServiceInfo;
241 public List<ServiceInfo> getAccessibilityServiceList() { in getAccessibilityServiceList()
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java28 import android.content.pm.ServiceInfo;
292 private final ServiceInfo mServiceInfo;
305 ServiceInfo serviceInfo, int uid) { in Device()
378 public ServiceInfo getServiceInfo() { in getServiceInfo()
579 ServiceInfo serviceInfo = resolveInfos.get(i).serviceInfo; in onUnlockUser()
740 ServiceInfo serviceInfo = device.getServiceInfo(); in getServiceDeviceInfo()
784 IMidiDeviceServer server, ServiceInfo serviceInfo, in addDeviceLocked()
853 ServiceInfo[] services = info.services; in addPackageDeviceServers()
862 private void addPackageDeviceServer(ServiceInfo serviceInfo) { in addPackageDeviceServer()
/frameworks/base/core/java/android/speech/tts/
DTtsEngines.java26 import android.content.pm.ServiceInfo;
178 private boolean isSystemEngine(ServiceInfo info) { in isSystemEngine()
207 ServiceInfo service = resolveInfos.get(0).serviceInfo; in getSettingsIntent()
229 private String settingsActivityFromServiceInfo(ServiceInfo si, PackageManager pm) { in settingsActivityFromServiceInfo()
278 ServiceInfo service = resolve.serviceInfo; in getEngineInfo()

12345