Home
last modified time | relevance | path

Searched refs:providerId (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaRouter2Utils.java33 public static String toUniqueId(@NonNull String providerId, @NonNull String id) { in toUniqueId() argument
34 if (TextUtils.isEmpty(providerId)) { in toUniqueId()
43 return providerId + SEPARATOR + id; in toUniqueId()
62 String providerId = uniqueId.substring(0, firstIndexOfSeparator); in getProviderId() local
63 if (TextUtils.isEmpty(providerId)) { in getProviderId()
67 return providerId; in getProviderId()
86 String providerId = uniqueId.substring(firstIndexOfSeparator + 1); in getOriginalId() local
87 if (TextUtils.isEmpty(providerId)) { in getOriginalId()
91 return providerId; in getOriginalId()
DRoutingSessionInfo.java485 public Builder setProviderId(@NonNull String providerId) { in setProviderId() argument
486 if (TextUtils.isEmpty(providerId)) { in setProviderId()
489 mProviderId = providerId; in setProviderId()
DMediaRoute2Info.java911 public Builder setProviderId(@NonNull String providerId) { in setProviderId() argument
912 if (TextUtils.isEmpty(providerId)) { in setProviderId()
915 mProviderId = providerId; in setProviderId()
/frameworks/libs/net/common/src_servicescommon/android/net/
DNetworkFactory.java181 public int providerId; field in NetworkFactory.NetworkRequestInfo
183 NetworkRequestInfo(NetworkRequest request, int score, int providerId) { in NetworkRequestInfo() argument
187 this.providerId = providerId; in NetworkRequestInfo()
221 n.providerId = servingProviderId; in handleAddRequest()
276 log(" request.providerId = " + n.providerId); in evalRequest()
298 && (n.score < mScore || n.providerId == mProvider.getProviderId()) in shouldNeedNetworkFor()
316 && ((n.score > mScore && n.providerId != mProvider.getProviderId()) in shouldReleaseNetworkFor()
/frameworks/base/core/java/android/net/
DNetworkProvider.java130 public void setProviderId(int providerId) { in setProviderId() argument
131 mProviderId = providerId; in setProviderId()
147 @IntRange(from = 0, to = 99) int score, int providerId) {} in onNetworkRequested() argument
DNetworkAgent.java124 public final int providerId; field in NetworkAgent
341 NetworkCapabilities nc, LinkProperties lp, int score, int providerId) { in NetworkAgent() argument
342 this(looper, context, logTag, ni, nc, lp, score, null, providerId); in NetworkAgent()
349 int providerId) { in NetworkAgent() argument
350 this(looper, context, logTag, nc, lp, score, config, providerId, ni, true /* legacy */); in NetworkAgent()
405 @NonNull NetworkAgentConfig config, int providerId, @NonNull NetworkInfo ni, in NetworkAgent() argument
411 this.providerId = providerId; in NetworkAgent()
570 mInitialConfiguration.score, mInitialConfiguration.config, providerId); in register()
DConnectivityManager.java3200 int providerId = mService.registerNetworkProvider(provider.getMessenger(), in registerNetworkProvider() local
3202 provider.setProviderId(providerId); in registerNetworkProvider()
3267 NetworkCapabilities nc, int score, NetworkAgentConfig config, int providerId) { in registerNetworkAgent() argument
3269 return mService.registerNetworkAgent(messenger, ni, lp, nc, score, config, providerId); in registerNetworkAgent()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointConfigUserStoreData.java270 long providerId = Long.MIN_VALUE; in deserializeProvider() local
289 providerId = (long) value; in deserializeProvider()
335 if (providerId == Long.MIN_VALUE) { in deserializeProvider()
353 providerId, creatorUid, packageName, isFromSuggestion, caCertificateAliases, in deserializeProvider()
DPasspointObjectFactory.java62 WifiKeyStore keyStore, WifiCarrierInfoManager wifiCarrierInfoManager, long providerId, in makePasspointProvider() argument
64 return new PasspointProvider(config, keyStore, wifiCarrierInfoManager, providerId, in makePasspointProvider()
DPasspointProvider.java111 WifiCarrierInfoManager wifiCarrierInfoManager, long providerId, int creatorUid, in PasspointProvider() argument
113 this(config, keyStore, wifiCarrierInfoManager, providerId, creatorUid, packageName, in PasspointProvider()
118 WifiCarrierInfoManager wifiCarrierInfoManager, long providerId, int creatorUid, in PasspointProvider() argument
125 mProviderId = providerId; in PasspointProvider()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java1161 ProviderId providerId = new ProviderId(providerUid, providerComponent); in bindAppWidgetId() local
1162 Provider provider = lookupProviderLocked(providerId); in bindAppWidgetId()
1230 ProviderId providerId = new ProviderId(Binder.getCallingUid(), componentName); in getAppWidgetIds() local
1231 Provider provider = lookupProviderLocked(providerId); in getAppWidgetIds()
1594 ProviderId providerId = new ProviderId(Binder.getCallingUid(), componentName); in updateAppWidgetProvider() local
1595 Provider provider = lookupProviderLocked(providerId); in updateAppWidgetProvider()
1598 Slog.w(TAG, "Provider doesn't exist " + providerId); in updateAppWidgetProvider()
1626 ProviderId providerId = new ProviderId(Binder.getCallingUid(), componentName); in updateAppWidgetProviderInfo() local
1627 Provider provider = lookupProviderLocked(providerId); in updateAppWidgetProviderInfo()
1640 parseAppWidgetProviderInfo(providerId, provider.info.providerInfo, keyToUse); in updateAppWidgetProviderInfo()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouter2ServiceImpl.java1346 private int getLastProviderInfoIndex(@NonNull String providerId) { in getLastProviderInfoIndex() argument
1349 if (TextUtils.equals(providerInfo.getUniqueId(), providerId)) { in getLastProviderInfoIndex()
1406 final String providerId = route.getProviderId(); in selectRouteOnHandler() local
1407 final MediaRoute2Provider provider = findProvider(providerId); in selectRouteOnHandler()
1424 final String providerId = route.getProviderId(); in deselectRouteOnHandler() local
1425 final MediaRoute2Provider provider = findProvider(providerId); in deselectRouteOnHandler()
1443 final String providerId = route.getProviderId(); in transferToRouteOnHandler() local
1444 final MediaRoute2Provider provider = findProvider(providerId); in transferToRouteOnHandler()
1457 final String providerId = route.getProviderId(); in checkArgumentsForSessionControl() local
1458 final MediaRoute2Provider provider = findProvider(providerId); in checkArgumentsForSessionControl()
[all …]
/frameworks/base/tests/net/common/java/android/net/
DNetworkProviderTest.kt132 callback.id == agent.providerId in <lambda>()
139 callback.id == agent.providerId in <lambda>()
/frameworks/hardware/interfaces/cameraservice/common/2.0/
Dtypes.hal176 uint64_t providerId;
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraService.cpp297 hProviderIdAndVendorTagSections.providerId = vendorIdAndTagDescs.first; in getCameraVendorTagSections()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp210 tagCache->addVendorDescriptor(providerIdAndVts.providerId, vendorTagDescriptor); in setupVendorTags()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java5270 public final int providerId; field in ConnectivityService.NetworkProviderInfo
5273 int providerId, IBinder.DeathRecipient deathRecipient) { in NetworkProviderInfo() argument
5276 this.providerId = providerId; in NetworkProviderInfo()
5746 return npi.providerId; in registerNetworkFactory()
5775 return npi.providerId; in registerNetworkProvider()
5897 int currentScore, NetworkAgentConfig networkAgentConfig, int providerId) { in registerNetworkAgent() argument
5917 this, mNetd, mDnsResolver, mNMS, providerId, Binder.getCallingUid()); in registerNetworkAgent()