/frameworks/base/services/java/com/android/server/media/ |
D | RemoteDisplayProviderWatcher.java | 119 ServiceInfo serviceInfo = resolveInfo.serviceInfo; in scanPackages() local 120 if (serviceInfo != null && verifyServiceTrusted(serviceInfo)) { in scanPackages() 121 int sourceIndex = findProvider(serviceInfo.packageName, serviceInfo.name); in scanPackages() 125 new ComponentName(serviceInfo.packageName, serviceInfo.name), in scanPackages() 150 private boolean verifyServiceTrusted(ServiceInfo serviceInfo) { in verifyServiceTrusted() argument 151 if (serviceInfo.permission == null || !serviceInfo.permission.equals( in verifyServiceTrusted() 159 + serviceInfo.packageName + "/" + serviceInfo.name); in verifyServiceTrusted() 162 if (!hasCaptureVideoPermission(serviceInfo.packageName)) { in verifyServiceTrusted() 168 + "permission: " + serviceInfo.packageName + "/" + serviceInfo.name); in verifyServiceTrusted()
|
/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 …]
|
/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 463 public void registerService(NsdServiceInfo serviceInfo, int protocolType, in registerService() argument 465 if (TextUtils.isEmpty(serviceInfo.getServiceName()) || in registerService() [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | RecognitionManagerService.java | 120 ServiceInfo serviceInfo = available.get(i).serviceInfo; in findAvailRecognizer() local 121 if (prefPackage.equals(serviceInfo.packageName)) { in findAvailRecognizer() 122 return new ComponentName(serviceInfo.packageName, serviceInfo.name); in findAvailRecognizer() 130 ServiceInfo serviceInfo = available.get(0).serviceInfo; in findAvailRecognizer() local 131 return new ComponentName(serviceInfo.packageName, serviceInfo.name); in findAvailRecognizer()
|
D | ServiceWatcher.java | 175 String packageName = rInfo.serviceInfo.packageName; in bindBestPackageLocked() 194 if (rInfo.serviceInfo.metaData != null) { in bindBestPackageLocked() 195 version = rInfo.serviceInfo.metaData.getInt( in bindBestPackageLocked() 197 isMultiuser = rInfo.serviceInfo.metaData.getBoolean(EXTRA_SERVICE_IS_MULTIUSER); in bindBestPackageLocked()
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | RegisteredMediaRouteProviderWatcher.java | 98 ServiceInfo serviceInfo = resolveInfo.serviceInfo; in scanPackages() local 99 if (serviceInfo != null) { in scanPackages() 100 int sourceIndex = findProvider(serviceInfo.packageName, serviceInfo.name); in scanPackages() 104 new ComponentName(serviceInfo.packageName, serviceInfo.name)); in scanPackages()
|
/frameworks/base/core/java/android/content/pm/ |
D | ResolveInfo.java | 53 public ServiceInfo serviceInfo; field in ResolveInfo 136 if (serviceInfo != null) return serviceInfo; in getComponentInfo() 243 } else if (serviceInfo != null) { in dump() 245 serviceInfo.dump(pw, prefix + " "); in dump() 257 serviceInfo = orig.serviceInfo; in ResolveInfo() 300 } else if (serviceInfo != null) { in writeToParcel() 302 serviceInfo.writeToParcel(dest, parcelableFlags); in writeToParcel() 338 serviceInfo = null; in ResolveInfo() 345 serviceInfo = ServiceInfo.CREATOR.createFromParcel(source); in ResolveInfo()
|
D | RegisteredServicesCache.java | 420 final ServiceInfo<V> serviceInfo = serviceInfos.get(i); in containsTypeAndUid() local 421 if (serviceInfo.type.equals(type) && serviceInfo.uid == uid) { in containsTypeAndUid() 431 android.content.pm.ServiceInfo si = service.serviceInfo; in parseServiceInfo() 461 final android.content.pm.ServiceInfo serviceInfo = service.serviceInfo; in parseServiceInfo() local 462 final ApplicationInfo applicationInfo = serviceInfo.applicationInfo; in parseServiceInfo()
|
/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/accessibilityservice/ |
D | AccessibilityServiceInfo.java | 410 ServiceInfo serviceInfo = resolveInfo.serviceInfo; in AccessibilityServiceInfo() local 411 mId = new ComponentName(serviceInfo.packageName, serviceInfo.name).flattenToShortString(); in AccessibilityServiceInfo() 418 parser = serviceInfo.loadXmlMetaData(packageManager, in AccessibilityServiceInfo() 437 serviceInfo.applicationInfo); in AccessibilityServiceInfo() 486 + serviceInfo.packageName); in AccessibilityServiceInfo() 622 ServiceInfo serviceInfo = mResolveInfo.serviceInfo; in loadDescription() local 623 CharSequence description = packageManager.getText(serviceInfo.packageName, in loadDescription() 624 mDescriptionResId, serviceInfo.applicationInfo); in loadDescription()
|
/frameworks/base/core/java/android/printservice/ |
D | PrintServiceInfo.java | 88 mId = new ComponentName(resolveInfo.serviceInfo.packageName, in PrintServiceInfo() 89 resolveInfo.serviceInfo.name).flattenToString(); in PrintServiceInfo() 111 parser = resolveInfo.serviceInfo.loadXmlMetaData(packageManager, in create() 126 resolveInfo.serviceInfo.applicationInfo); in create() 148 + resolveInfo.serviceInfo.packageName); in create()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodInfo.java | 130 ServiceInfo si = service.serviceInfo; in InputMethodInfo() 269 final ServiceInfo si = ri.serviceInfo; in InputMethodInfo() 295 ri.serviceInfo = si; in buildDummyResolveInfo() 311 return mService.serviceInfo.packageName; in getPackageName() 319 return mService.serviceInfo.name; in getServiceName() 327 return mService.serviceInfo; in getServiceInfo() 335 return new ComponentName(mService.serviceInfo.packageName, in getComponent() 336 mService.serviceInfo.name); in getComponent()
|
/frameworks/base/services/java/com/android/server/am/ |
D | ServiceRecord.java | 64 final ServiceInfo serviceInfo; field in ServiceRecord 309 serviceInfo = sInfo; in ServiceRecord() 329 if ((serviceInfo.applicationInfo.flags&ApplicationInfo.FLAG_PERSISTENT) == 0) { in getTracker() 330 tracker = ams.mProcessStats.getServiceStateLocked(serviceInfo.packageName, in getTracker() 331 serviceInfo.applicationInfo.uid, serviceInfo.processName, serviceInfo.name); in getTracker() 346 if ((serviceInfo.applicationInfo.flags&ApplicationInfo.FLAG_PERSISTENT) == 0) { in makeRestarting() 347 restartTracker = ams.mProcessStats.getServiceStateLocked(serviceInfo.packageName, in makeRestarting() 348 serviceInfo.applicationInfo.uid, serviceInfo.processName, serviceInfo.name); in makeRestarting()
|
/frameworks/base/docs/html/training/connect-devices-wirelessly/ |
D | nsd.jd | 62 NsdServiceInfo serviceInfo = new NsdServiceInfo(); 66 serviceInfo.setServiceName("NsdChat"); 67 serviceInfo.setServiceType("_http._tcp."); 68 serviceInfo.setPort(port); 142 public void onRegistrationFailed(NsdServiceInfo serviceInfo, int errorCode) { 153 public void onUnregistrationFailed(NsdServiceInfo serviceInfo, int errorCode) { 171 NsdServiceInfo serviceInfo = new NsdServiceInfo(); 172 serviceInfo.setServiceName("NsdChat"); 173 serviceInfo.setServiceType("_http._tcp."); 174 serviceInfo.setPort(port); [all …]
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | EnableAccessibilityController.java | 245 ServiceInfo serviceInfo = service.getResolveInfo().serviceInfo; in enableAccessibility() local 246 ComponentName componentName = new ComponentName(serviceInfo.packageName, serviceInfo.name); in enableAccessibility()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsApplication.java | 183 final ServiceInfo serviceInfo = resolveInfo.serviceInfo; in getApplicationCollection() local 184 if (serviceInfo == null) { in getApplicationCollection() 187 if (!permission.SEND_RESPOND_VIA_MESSAGE.equals(serviceInfo.permission)) { in getApplicationCollection() 190 final String packageName = serviceInfo.packageName; in getApplicationCollection() 193 smsApplicationData.mRespondViaMessageClass = serviceInfo.name; in getApplicationCollection()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | AccessibilityManagerServiceTest.java | 166 ServiceInfo serviceInfo = info.getResolveInfo().serviceInfo; in testGetAccessibilityServicesList() local 167 if (packageName.equals(serviceInfo.packageName)) { in testGetAccessibilityServicesList() 168 if (firstMockServiceClassName.equals(serviceInfo.name)) { in testGetAccessibilityServicesList() 170 } else if (secondMockServiceClassName.equals(serviceInfo.name)) { in testGetAccessibilityServicesList()
|
/frameworks/base/services/java/com/android/server/print/ |
D | UserState.java | 313 installedService.getResolveInfo().serviceInfo.packageName, in getEnabledPrintServices() 314 installedService.getResolveInfo().serviceInfo.name); in getEnabledPrintServices() 589 resolveInfo.serviceInfo.packageName, in dump() 590 resolveInfo.serviceInfo.name); in dump() 647 installedService.serviceInfo.permission)) { in readInstalledPrintServicesLocked() 649 installedService.serviceInfo.packageName, in readInstalledPrintServicesLocked() 650 installedService.serviceInfo.name); in readInstalledPrintServicesLocked() 716 ServiceInfo serviceInfo = mInstalledServices.get(i).getResolveInfo().serviceInfo; in enableSystemPrintServicesOnFirstBootLocked() local 718 if ((serviceInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in enableSystemPrintServicesOnFirstBootLocked() 720 serviceInfo.packageName, serviceInfo.name); in enableSystemPrintServicesOnFirstBootLocked() [all …]
|
D | PrintManagerService.java | 478 ServiceInfo serviceInfo = installedServices.get(i).serviceInfo; in registerBoradcastReceivers() 479 ComponentName component = new ComponentName(serviceInfo.packageName, in registerBoradcastReceivers() 480 serviceInfo.name); in registerBoradcastReceivers() 481 String label = serviceInfo.loadLabel(mContext.getPackageManager()).toString(); in registerBoradcastReceivers()
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
D | ApduServiceInfo.java | 109 ServiceInfo si = info.serviceInfo; in ApduServiceInfo() 234 return new ComponentName(mService.serviceInfo.packageName, in getComponent() 235 mService.serviceInfo.name); in getComponent() 273 res = pm.getResourcesForApplication(mService.serviceInfo.packageName); in loadBanner()
|
/frameworks/base/services/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 919 ServiceInfo serviceInfo = resolveInfo.serviceInfo; in readInstalledAccessibilityServiceLocked() local 921 serviceInfo.permission)) { in readInstalledAccessibilityServiceLocked() 923 serviceInfo.packageName, serviceInfo.name).flattenToShortString() in readInstalledAccessibilityServiceLocked() 1310 AccessibilityServiceInfo serviceInfo = userState.mInstalledServices.get(i); in updateLegacyCapabilities() local 1311 ResolveInfo resolveInfo = serviceInfo.getResolveInfo(); in updateLegacyCapabilities() 1312 if ((serviceInfo.getCapabilities() in updateLegacyCapabilities() 1314 && resolveInfo.serviceInfo.applicationInfo.targetSdkVersion in updateLegacyCapabilities() 1317 resolveInfo.serviceInfo.packageName, resolveInfo.serviceInfo.name); in updateLegacyCapabilities() 1319 serviceInfo.setCapabilities(serviceInfo.getCapabilities() in updateLegacyCapabilities() 1438 if (service.mResolveInfo.serviceInfo.applicationInfo.targetSdkVersion in canRequestAndRequestsTouchExplorationLocked() [all …]
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
D | FusedPrintersProvider.java | 482 ServiceInfo serviceInfo = services.get(i).getResolveInfo().serviceInfo; in onPostExecute() local 484 serviceInfo.packageName, serviceInfo.name); in onPostExecute()
|
D | SelectPrinterFragment.java | 300 ServiceInfo serviceInfo = enabledService.getResolveInfo().serviceInfo; in updateAddPrintersAdapter() local 302 serviceInfo.packageName, enabledService.getAddPrintersActivityName()); in updateAddPrintersAdapter() 414 printService.getResolveInfo().serviceInfo.packageName, in onCreateDialog()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TtsEngines.java | 169 ServiceInfo service = resolveInfos.get(0).serviceInfo; in getSettingsIntent() 240 ServiceInfo service = resolve.serviceInfo; in getEngineInfo()
|