/frameworks/base/core/java/android/app/ |
D | WallpaperInfo.java | 85 ServiceInfo si = service.serviceInfo; in WallpaperInfo() 157 return mService.serviceInfo.packageName; in getPackageName() 165 return mService.serviceInfo.name; in getServiceName() 173 return mService.serviceInfo; in getServiceInfo() 180 return new ComponentName(mService.serviceInfo.packageName, in getComponent() 181 mService.serviceInfo.name); in getComponent() 213 return pm.getDrawable(mService.serviceInfo.packageName, in loadThumbnail() 215 mService.serviceInfo.applicationInfo); in loadThumbnail() 226 packageName = mService.serviceInfo.packageName; in loadAuthor() 227 applicationInfo = mService.serviceInfo.applicationInfo; in loadAuthor() [all …]
|
D | LauncherActivity.java | 77 if (ci == null) ci = resolveInfo.serviceInfo; in ListItem()
|
/frameworks/base/core/java/android/net/nsd/ |
D | NsdManager.java | 271 public void onServiceFound(NsdServiceInfo serviceInfo); in onServiceFound() argument 273 public void onServiceLost(NsdServiceInfo serviceInfo); in onServiceLost() argument 280 public void onRegistrationFailed(NsdServiceInfo serviceInfo, int errorCode); in onRegistrationFailed() argument 282 public void onUnregistrationFailed(NsdServiceInfo serviceInfo, int errorCode); in onUnregistrationFailed() argument 284 public void onServiceRegistered(NsdServiceInfo serviceInfo); in onServiceRegistered() argument 286 public void onServiceUnregistered(NsdServiceInfo serviceInfo); in onServiceUnregistered() argument 292 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode); in onResolveFailed() argument 294 public void onServiceResolved(NsdServiceInfo serviceInfo); in onServiceResolved() argument 455 public void registerService(NsdServiceInfo serviceInfo, int protocolType, in registerService() argument 457 if (TextUtils.isEmpty(serviceInfo.getServiceName()) || in registerService() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | PluginManager.java | 127 ServiceInfo serviceInfo = info.serviceInfo; in getPluginDirectories() local 128 if (serviceInfo == null) { in getPluginDirectories() 136 pkgInfo = pm.getPackageInfo(serviceInfo.packageName, in getPluginDirectories() 140 Log.w(LOGTAG, "Can't find plugin: " + serviceInfo.packageName); in getPluginDirectories() 169 if (serviceInfo.metaData == null) { in getPluginDirectories() 170 Log.e(LOGTAG, "The plugin '" + serviceInfo.name + "' has no type defined"); in getPluginDirectories() 174 String pluginType = serviceInfo.metaData.getString(PLUGIN_TYPE); in getPluginDirectories() 181 Class<?> cls = getPluginClass(serviceInfo.packageName, serviceInfo.name); in getPluginDirectories() 187 …Log.e(LOGTAG, "The plugin's class' " + serviceInfo.name + "' does not extend the appropriate class… in getPluginDirectories() 192 Log.e(LOGTAG, "Can't find plugin: " + serviceInfo.packageName); in getPluginDirectories() [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | RecognitionManagerService.java | 103 ServiceInfo serviceInfo = available.get(i).serviceInfo; in findAvailRecognizer() local 104 if (prefPackage.equals(serviceInfo.packageName)) { in findAvailRecognizer() 105 return new ComponentName(serviceInfo.packageName, serviceInfo.name); in findAvailRecognizer() 113 ServiceInfo serviceInfo = available.get(0).serviceInfo; in findAvailRecognizer() local 114 return new ComponentName(serviceInfo.packageName, serviceInfo.name); in findAvailRecognizer()
|
D | LocationManagerService.java | 545 String packageName = info.serviceInfo.packageName; in findBestPackage() 556 if (info.serviceInfo.metaData != null) { in findBestPackage() 557 version = info.serviceInfo.metaData.getInt("version", 0); in findBestPackage()
|
D | TextServicesManagerService.java | 129 final ServiceInfo si = ri.serviceInfo; in buildSpellCheckerMapLocked()
|
D | WallpaperManagerService.java | 729 ServiceInfo rsi = ris.get(i).serviceInfo; in bindWallpaperComponentLocked()
|
D | InputMethodManagerService.java | 2235 ServiceInfo si = ri.serviceInfo; in buildInputMethodListLocked()
|
/frameworks/base/core/java/android/content/pm/ |
D | ResolveInfo.java | 48 public ServiceInfo serviceInfo; field in ResolveInfo 144 ComponentInfo ci = activityInfo != null ? activityInfo : serviceInfo; in loadLabel() 178 ComponentInfo ci = activityInfo != null ? activityInfo : serviceInfo; in loadIcon() 199 if (serviceInfo != null) return serviceInfo.getIconResource(); in getIconResource() 224 } else if (serviceInfo != null) { in dump() 226 serviceInfo.dump(pw, prefix + " "); in dump() 234 ComponentInfo ci = activityInfo != null ? activityInfo : serviceInfo; in toString() 249 } else if (serviceInfo != null) { in writeToParcel() 251 serviceInfo.writeToParcel(dest, parcelableFlags); in writeToParcel() 286 serviceInfo = null; in ResolveInfo() [all …]
|
D | RegisteredServicesCache.java | 357 final ServiceInfo<V> serviceInfo = serviceInfos.get(i); in containsTypeAndUid() local 358 if (serviceInfo.type.equals(type) && serviceInfo.uid == uid) { in containsTypeAndUid() 368 android.content.pm.ServiceInfo si = service.serviceInfo; in parseServiceInfo() 398 final android.content.pm.ServiceInfo serviceInfo = service.serviceInfo; in parseServiceInfo() local 399 final ApplicationInfo applicationInfo = serviceInfo.applicationInfo; in parseServiceInfo()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityServiceInfo.java | 268 ServiceInfo serviceInfo = resolveInfo.serviceInfo; in AccessibilityServiceInfo() local 269 mId = new ComponentName(serviceInfo.packageName, serviceInfo.name).flattenToShortString(); in AccessibilityServiceInfo() 276 parser = serviceInfo.loadXmlMetaData(packageManager, in AccessibilityServiceInfo() 295 serviceInfo.applicationInfo); in AccessibilityServiceInfo() 331 + serviceInfo.packageName); in AccessibilityServiceInfo() 426 ServiceInfo serviceInfo = mResolveInfo.serviceInfo; in loadDescription() local 427 CharSequence description = packageManager.getText(serviceInfo.packageName, in loadDescription() 428 mDescriptionResId, serviceInfo.applicationInfo); in loadDescription()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ComponentTest.java | 289 assertNotNull(info2.serviceInfo); in testResolveDisabledService() 290 assertFalse(info2.serviceInfo.enabled); in testResolveDisabledService() 302 assertNotNull(info.serviceInfo); in testResolveEnabledService() 303 assertTrue(info.serviceInfo.enabled); in testResolveEnabledService() 322 assertNotNull(info.serviceInfo); in testQueryDisabledService() 323 assertFalse(info.serviceInfo.enabled); in testQueryDisabledService() 337 assertNotNull(info.serviceInfo); in testQueryEnabledService() 338 assertTrue(info.serviceInfo.enabled); in testQueryEnabledService() 354 final ServiceInfo serviceInfo = in testGetDisabledServiceInfo() local 357 assertNotNull(serviceInfo); in testGetDisabledServiceInfo() [all …]
|
/frameworks/base/core/java/android/view/textservice/ |
D | SpellCheckerInfo.java | 67 ServiceInfo si = service.serviceInfo; in SpellCheckerInfo() 160 mService.serviceInfo.packageName, mService.serviceInfo.name); in getComponent() 167 return mService.serviceInfo.packageName; in getPackageName() 209 return pm.getText(getPackageName(), mLabel, mService.serviceInfo.applicationInfo); in loadLabel() 227 return mService.serviceInfo; in getServiceInfo()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodInfo.java | 107 ServiceInfo si = service.serviceInfo; in InputMethodInfo() 229 ri.serviceInfo = si; in InputMethodInfo() 249 return mService.serviceInfo.packageName; in getPackageName() 257 return mService.serviceInfo.name; in getServiceName() 265 return mService.serviceInfo; in getServiceInfo() 273 return new ComponentName(mService.serviceInfo.packageName, in getComponent() 274 mService.serviceInfo.name); in getComponent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | AccessibilityManagerServiceTest.java | 164 ServiceInfo serviceInfo = info.getResolveInfo().serviceInfo; in testGetAccessibilityServicesList() local 165 if (packageName.equals(serviceInfo.packageName)) { in testGetAccessibilityServicesList() 166 if (firstMockServiceClassName.equals(serviceInfo.name)) { in testGetAccessibilityServicesList() 168 } else if (secondMockServiceClassName.equals(serviceInfo.name)) { in testGetAccessibilityServicesList()
|
/frameworks/base/services/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 660 ServiceInfo serviceInfo = resolveInfo.serviceInfo; in populateAccessibilityServiceListLocked() local 663 if (serviceInfo.applicationInfo.targetSdkVersion >= Build.VERSION_CODES.JELLY_BEAN in populateAccessibilityServiceListLocked() 665 serviceInfo.permission)) { in populateAccessibilityServiceListLocked() 667 serviceInfo.packageName, serviceInfo.name).flattenToShortString() in populateAccessibilityServiceListLocked() 1231 if (mIsAutomation || info.getResolveInfo().serviceInfo.applicationInfo.targetSdkVersion in setDynamicallyConfigurableProperties()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TtsEngines.java | 168 ServiceInfo service = resolveInfos.get(0).serviceInfo; in getSettingsIntent() 239 ServiceInfo service = resolve.serviceInfo; in getEngineInfo()
|
/frameworks/base/services/java/com/android/server/am/ |
D | ServiceRecord.java | 61 final ServiceInfo serviceInfo; field in ServiceRecord 287 serviceInfo = sInfo; in ServiceRecord()
|
D | ActivityManagerService.java | 5692 if ((sr.serviceInfo.flags&ServiceInfo.FLAG_STOP_WITH_TASK) != 0) { in cleanUpRemovedTaskLocked() 10659 if (sr.crashCount >= 2 && (sr.serviceInfo.applicationInfo.flags in killServicesLocked() 11084 rInfo != null ? rInfo.serviceInfo : null; in findServiceLocked() 11155 rInfo != null ? rInfo.serviceInfo : null; in retrieveServiceLocked() 11351 ensurePackageDexOpt(r.serviceInfo.packageName); in realStartServiceLocked() 11352 app.thread.scheduleCreateService(r, r.serviceInfo, in realStartServiceLocked() 11353 compatibilityInfoForPackageLocked(r.serviceInfo.applicationInfo)); in realStartServiceLocked() 11384 if ((r.serviceInfo.applicationInfo.flags in scheduleServiceRestartLocked() 11428 if ((r.serviceInfo.applicationInfo.flags in scheduleServiceRestartLocked() 11528 final boolean isolated = (r.serviceInfo.flags&ServiceInfo.FLAG_ISOLATED_PROCESS) != 0; in bringUpServiceLocked()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityManager.java | 270 services.add(info.getResolveInfo().serviceInfo); in getAccessibilityServiceList()
|
/frameworks/base/core/java/android/accounts/ |
D | AccountManagerService.java | 1175 RegisteredServicesCache.ServiceInfo<AuthenticatorDescription> serviceInfo = in getAccountLabel() local 1178 if (serviceInfo == null) { in getAccountLabel() 1185 serviceInfo.type.packageName, 0); in getAccountLabel() 1190 return authContext.getString(serviceInfo.type.labelId); in getAccountLabel() 2173 for (RegisteredServicesCache.ServiceInfo<AuthenticatorDescription> serviceInfo : in hasAuthenticatorUid() 2175 if (serviceInfo.type.type.equals(accountType)) { in hasAuthenticatorUid() 2176 return (serviceInfo.uid == callingUid) || in hasAuthenticatorUid() 2177 (mPackageManager.checkSignatures(serviceInfo.uid, callingUid) in hasAuthenticatorUid()
|
/frameworks/base/services/java/com/android/server/connectivity/ |
D | Vpn.java | 186 if (!BIND_VPN_SERVICE.equals(info.serviceInfo.permission)) { in establish()
|
/frameworks/base/core/java/android/content/ |
D | SyncManager.java | 659 for (RegisteredServicesCache.ServiceInfo<SyncAdapterType> serviceInfo : serviceInfos) { in getSyncAdapterTypes() 660 types[i] = serviceInfo.type; in getSyncAdapterTypes()
|
/frameworks/base/services/java/com/android/server/pm/ |
D | PackageManagerService.java | 2726 ri.serviceInfo = si; in queryIntentServices() 4963 ServiceInfo destAi = dest.get(i).serviceInfo; in allowFilterResult() 5009 res.serviceInfo = PackageParser.generateServiceInfo(service, mFlags, in newResult() 5025 res.system = isSystemApp(res.serviceInfo.applicationInfo); in newResult()
|