HomeSort by relevance Sort by last modified time
    Searched refs:ServiceInfo (Results 51 - 75 of 151) sorted by null

1 23 4 5 6 7

  /frameworks/base/core/java/android/view/accessibility/
AccessibilityManager.java 24 import android.content.pm.ServiceInfo;
360 * Returns the {@link ServiceInfo}s of the installed accessibility services.
362 * @return An unmodifiable list with {@link ServiceInfo}s.
367 public List<ServiceInfo> getAccessibilityServiceList() {
369 List<ServiceInfo> services = new ArrayList<>();
373 services.add(info.getResolveInfo().serviceInfo);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
TileLifecycleManager.java 27 import android.content.pm.ServiceInfo;
108 ServiceInfo info = mContext.getPackageManager().getServiceInfo(mIntent.getComponent(),
305 ServiceInfo si = AppGlobals.getPackageManager().getServiceInfo(mIntent.getComponent(),
CustomTile.java 23 import android.content.pm.ServiceInfo;
85 ServiceInfo info = pm.getServiceInfo(mComponent,
  /packages/apps/Settings/src/com/android/settings/notification/
ZenModeAutomationSettings.java 28 import android.content.pm.ServiceInfo;
225 public static ZenRuleInfo getRuleInfo(PackageManager pm, ServiceInfo si) {
244 private static ComponentName getSettingsActivity(ServiceInfo si) {
311 ServiceInfo si = mServiceListing.findService(rule.getOwner());
  /frameworks/base/services/midi/java/com/android/server/midi/
MidiService.java 28 import android.content.pm.ServiceInfo;
290 // ServiceInfo for the device's MidiDeviceServer implementation (virtual devices only)
291 private final ServiceInfo mServiceInfo;
304 ServiceInfo serviceInfo, int uid) {
306 mServiceInfo = serviceInfo;
380 public ServiceInfo getServiceInfo() {
581 ServiceInfo serviceInfo = resolveInfos.get(i).serviceInfo;
    [all...]
  /frameworks/base/core/java/android/content/pm/
PackageInfo.java 128 public ServiceInfo[] services;
359 services = source.createTypedArray(ServiceInfo.CREATOR);
ResolveInfo.java 44 * Exactly one of {@link #activityInfo}, {@link #serviceInfo}, or
52 * {@link #serviceInfo}, or {@link #providerInfo} will be non-null.
54 public ServiceInfo serviceInfo;
59 * {@link #serviceInfo}, or {@link #providerInfo} will be non-null.
178 if (serviceInfo != null) return serviceInfo;
302 } else if (serviceInfo != null) {
303 pw.println(prefix + "ServiceInfo:");
304 serviceInfo.dump(pw, prefix + " ", flags)
    [all...]
  /frameworks/base/core/java/android/service/trust/
TrustAgentService.java 28 import android.content.pm.ServiceInfo;
185 ServiceInfo serviceInfo = getPackageManager().getServiceInfo(component, 0 /* flags */);
186 if (!Manifest.permission.BIND_TRUST_AGENT.equals(serviceInfo.permission)) {
192 Log.e(TAG, "Can't get ServiceInfo for " + component.toShortString());
  /frameworks/base/core/tests/coretests/src/android/content/pm/
AppsQueryHelperTests.java 151 sysApp1.serviceInfo = new ServiceInfo();
152 sysApp1.serviceInfo.packageName = "sys_app1";
153 sysApp1.serviceInfo.name = "name";
154 sysApp1.serviceInfo.applicationInfo = new ApplicationInfo();
155 sysApp1.serviceInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM;
157 app4.serviceInfo = new ServiceInfo();
158 app4.serviceInfo.packageName = "app4";
159 app4.serviceInfo.name = "name"
    [all...]
  /frameworks/base/core/tests/coretests/src/android/net/
NetworkScorerAppManagerTest.java 26 import android.content.pm.ServiceInfo;
177 ResolveInfo serviceInfo = null;
179 serviceInfo = new ResolveInfo();
180 serviceInfo.serviceInfo = new ServiceInfo();
181 serviceInfo.serviceInfo.name = ".ScoringService";
184 return new ResolveInfoHolder(resolveInfo, configActivityInfo, serviceInfo);
  /frameworks/base/services/core/java/com/android/server/vr/
EnabledComponentsObserver.java 26 import android.content.pm.ServiceInfo;
254 ServiceInfo info = resolveInfo.serviceInfo;
  /packages/apps/Settings/src/com/android/settings/inputmethod/
AvailableVirtualKeyboardFragment.java 27 import android.content.pm.ServiceInfo;
109 final ServiceInfo si = imi.getServiceInfo();
115 // We do not use ServiceInfo#loadLogo() and ServiceInfo#loadIcon here since those methods
  /frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
VoiceInteractionManagerService.java 32 import android.content.pm.ServiceInfo;
294 ServiceInfo interactorInfo = null;
295 ServiceInfo recognizerInfo = null;
384 ServiceInfo serviceInfo = null;
388 serviceInfo = AppGlobals.getPackageManager()
393 serviceInfo = null;
403 if (serviceComponent != null && serviceInfo != null) {
431 ServiceInfo cur = available.get(i).serviceInfo;
    [all...]
  /frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
InputMethodSubtypeSwitchingControllerTest.java 21 import android.content.pm.ServiceInfo;
57 final ServiceInfo si = new ServiceInfo();
67 ri.serviceInfo = si;
  /packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/
DeleteNonRequiredAppsTaskTest.java 28 import android.content.pm.ServiceInfo;
401 ServiceInfo serviceInfo = new ServiceInfo();
402 serviceInfo.applicationInfo = aInfo;
403 serviceInfo.packageName = packageName;
404 serviceInfo.name = "";
406 ri.serviceInfo = serviceInfo;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/
ShortcutKeyDispatcher.java 25 import android.content.pm.ServiceInfo;
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/
StubPackageManager.java 16 import android.content.pm.ServiceInfo;
80 public ServiceInfo getServiceInfo(ComponentName className, int flags) throws NameNotFoundException {
  /frameworks/base/core/java/android/nfc/cardemulation/
NfcFServiceInfo.java 22 import android.content.pm.ServiceInfo;
99 ServiceInfo si = info.serviceInfo;
177 return new ComponentName(mService.serviceInfo.packageName,
178 mService.serviceInfo.name);
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/
DreamBackend.java 24 import android.content.pm.ServiceInfo;
100 if (resolveInfo.serviceInfo == null)
130 ServiceInfo ri = pm.getServiceInfo(cn, 0);
232 if (resolveInfo == null || resolveInfo.serviceInfo == null)
234 return new ComponentName(resolveInfo.serviceInfo.packageName, resolveInfo.serviceInfo.name);
239 || resolveInfo.serviceInfo == null
240 || resolveInfo.serviceInfo.metaData == null)
246 parser = resolveInfo.serviceInfo.loadXmlMetaData(pm, DreamService.DREAM_META_DATA);
251 Resources res = pm.getResourcesForApplication(resolveInfo.serviceInfo.applicationInfo)
    [all...]
  /frameworks/base/services/core/java/com/android/server/policy/
EnableAccessibilityController.java 26 import android.content.pm.ServiceInfo;
288 ServiceInfo serviceInfo = services.get(0).getResolveInfo().serviceInfo;
289 return new ComponentName(serviceInfo.packageName, serviceInfo.name);
  /packages/apps/Settings/src/com/android/settings/search/
DynamicIndexableContentMonitor.java 28 import android.content.pm.ServiceInfo;
129 if (resolveInfo == null || resolveInfo.serviceInfo == null) {
132 mAccessibilityServices.add(resolveInfo.serviceInfo.packageName);
147 ServiceInfo serviceInfo = inputMethod.getServiceInfo();
148 if (serviceInfo == null) continue;
149 mImeServices.add(serviceInfo.packageName);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
AccessibilityFragment.java 23 import android.content.pm.ServiceInfo;
122 final ServiceInfo serviceInfo = accInfo.getResolveInfo().serviceInfo;
123 final ComponentName componentName = new ComponentName(serviceInfo.packageName,
124 serviceInfo.name);
142 serviceInfo.packageName,
143 serviceInfo.name,
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
CallScreeningServiceFilterTest.java 25 import android.content.pm.ServiceInfo;
102 serviceInfo = new ServiceInfo();
103 serviceInfo.packageName = PKG_NAME;
104 serviceInfo.name = CLS_NAME;
105 serviceInfo.permission = Manifest.permission.BIND_SCREENING_SERVICE;
139 mResolveInfo.serviceInfo = null;
146 mResolveInfo.serviceInfo.permission = null;
  /frameworks/base/core/java/android/accessibilityservice/
AccessibilityServiceInfo.java 24 import android.content.pm.ServiceInfo;
459 ServiceInfo serviceInfo = resolveInfo.serviceInfo;
460 mId = new ComponentName(serviceInfo.packageName, serviceInfo.name).flattenToShortString();
467 parser = serviceInfo.loadXmlMetaData(packageManager,
486 serviceInfo.applicationInfo);
543 + serviceInfo.packageName);
683 ServiceInfo serviceInfo = mResolveInfo.serviceInfo
    [all...]
  /frameworks/base/services/core/java/com/android/server/dreams/
DreamManagerService.java 34 import android.content.pm.ServiceInfo;
261 final ServiceInfo serviceInfo = getServiceInfo(component);
262 if (serviceInfo == null) {
265 } else if (serviceInfo.applicationInfo.targetSdkVersion >= Build.VERSION_CODES.LOLLIPOP
266 && !BIND_DREAM_SERVICE.equals(serviceInfo.permission)) {
336 private ServiceInfo getServiceInfo(ComponentName name) {

Completed in 921 milliseconds

1 23 4 5 6 7