Home
last modified time | relevance | path

Searched refs:resolveService (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/tests/net/java/android/net/nsd/
DNsdManagerTest.java92 manager.resolveService(request, listener); in testResolveService()
98 manager.resolveService(request, listener); in testResolveService()
114 manager.resolveService(request, listener1); in testParallelResolveService()
117 manager.resolveService(request, listener2); in testParallelResolveService()
309 mustFail(() -> { manager.resolveService(null, null); }); in testInvalidCalls()
310 mustFail(() -> { manager.resolveService(null, listener3); }); in testInvalidCalls()
311 mustFail(() -> { manager.resolveService(invalidService, listener3); }); in testInvalidCalls()
312 mustFail(() -> { manager.resolveService(validService, null); }); in testInvalidCalls()
313 manager.resolveService(validService, listener3); in testInvalidCalls()
315 mustFail(() -> { manager.resolveService(validService, listener3); }); in testInvalidCalls()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java285 final ResolveInfo info = mPackageManager.resolveService(mDisabledServiceIntent, 0); in testResolveDisabledService()
288 final ResolveInfo info2 = mPackageManager.resolveService( in testResolveDisabledService()
301 final ResolveInfo info = mPackageManager.resolveService(mEnabledServiceIntent, 0); in testResolveEnabledService()
381 final ResolveInfo info = mPackageManager.resolveService(mDisabledServiceIntent, 0); in testEnableService()
387 mPackageManager.resolveService(mDisabledServiceIntent, in testEnableService()
400 final ResolveInfo info = mPackageManager.resolveService(mEnabledServiceIntent, 0); in testDisableService()
407 mPackageManager.resolveService(mEnabledServiceIntent, in testDisableService()
411 final ResolveInfo info3 = mPackageManager.resolveService(mEnabledServiceIntent, in testDisableService()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
DNsdResolveQueue.java130 request.nsdManager.resolveService(request.serviceInfo, request.listener); in resolveNextRequest()
/frameworks/base/tests/net/java/com/android/server/
DNsdServiceTest.java133 client.resolveService(request, listener3); in testClientRequestsAreGCedAtDisconnection()
/frameworks/base/services/core/java/com/android/server/role/
DFinancialSmsManager.java78 final ResolveInfo resolveInfo = mContext.getPackageManager().resolveService(intent, in getServiceInfo()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DFieldClassificationStrategy.java94 final ResolveInfo resolveInfo = mContext.getPackageManager().resolveService(intent, in getServiceInfo()
/frameworks/base/services/core/java/com/android/server/
DExplicitHealthCheckController.java375 final ResolveInfo resolveInfo = mContext.getPackageManager().resolveService(intent, in getServiceInfoLocked()
DNsdService.java361 if (resolveService(id, servInfo)) { in processMessage()
743 private boolean resolveService(int resolveId, NsdServiceInfo service) { in resolveService() method in NsdService
/frameworks/base/core/java/android/service/textclassifier/
DTextClassifierService.java407 final ResolveInfo ri = context.getPackageManager().resolveService(intent, in getServiceComponentName()
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java614 public void resolveService(NsdServiceInfo serviceInfo, ResolveListener listener) { in resolveService() method in NsdManager
/frameworks/base/core/java/android/content/pm/
DPackageManagerInternal.java629 public abstract ResolveInfo resolveService(Intent intent, String resolvedType, in resolveService() method in PackageManagerInternal
DIPackageManager.aidl196 ResolveInfo resolveService(in Intent intent, in resolveService() method
DPackageManager.java4949 public abstract ResolveInfo resolveService(@NonNull Intent intent, @ResolveInfoFlags int flags); in resolveService() method in PackageManager
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceBindHelper.java238 ResolveInfo carrierResolveInfo = mContext.getPackageManager().resolveService( in rebind()
/frameworks/base/services/core/java/com/android/server/storage/
DCacheQuotaStrategy.java269 ResolveInfo resolveInfo = mContext.getPackageManager().resolveService(intent, in getServiceComponentName()
/frameworks/base/core/java/android/app/role/
DRoleControllerManager.java114 ResolveInfo resolveInfo = packageManager.resolveService(intent, 0); in getRemoteServiceComponentName()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java437 public ResolveInfo resolveService(Intent intent, int flags) { in resolveService() method in BridgePackageManager
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java441 public ResolveInfo resolveService(Intent intent, int flags) { in resolveService() method in PackageManagerStub
/frameworks/base/services/core/java/com/android/server/attention/
DAttentionManagerService.java355 final ResolveInfo resolveInfo = context.getPackageManager().resolveService(intent, flags); in resolveAttentionService()
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java489 public ResolveInfo resolveService(Intent intent, int flags) { in resolveService() method in MockPackageManager
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScorerAppManagerTest.java661 when(mMockPm.resolveService( in mockRecommendationServiceAvailable()
/frameworks/base/media/java/android/media/tv/
DTvInputInfo.java715 mResolveInfo = context.getPackageManager().resolveService(intent, in Builder()
/frameworks/base/core/java/android/permission/
DPermissionControllerManager.java235 ResolveInfo serviceInfo = context.getPackageManager().resolveService(intent, 0); in PermissionControllerManager()
/frameworks/base/test-mock/api/
Dcurrent.txt281 …method @Deprecated public android.content.pm.ResolveInfo resolveService(android.content.Intent, in…
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1146 return mPM.resolveService( in resolveServiceAsUser()
1157 public ResolveInfo resolveService(Intent intent, int flags) { in resolveService() method in ApplicationPackageManager

12