Home
last modified time | relevance | path

Searched refs:numProviders (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/nearby/
DNearbyMediaDevicesLogger.kt19 fun logProviderRegistered(numProviders: Int) = buffer.log( in logProviderRegistered()
22 { int1 = numProviders }, in logProviderRegistered()
31 fun logProviderUnregistered(numProviders: Int) = buffer.log( in logProviderUnregistered()
34 { int1 = numProviders }, in logProviderUnregistered()
43 fun logProviderBinderDied(numProviders: Int) = buffer.log( in logProviderBinderDied()
46 { int1 = numProviders }, in logProviderBinderDied()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/nearby/
DNearbyMediaDevicesManagerTest.kt157 verify(logger).logProviderRegistered(numProviders = 1) in providerRegistered_isLogged()
167 verify(logger, times(1)).logProviderRegistered(numProviders = 1) in providerRegisteredTwice_onlyLoggedOnce()
178 verify(logger).logProviderRegistered(numProviders = 3) in multipleProvidersRegistered_isLogged()
188 verify(logger).logProviderUnregistered(numProviders = 0) in providerUnregistered_isLogged()
200 verify(logger).logProviderUnregistered(numProviders = 2) in multipleProvidersRegisteredThenUnregistered_isLogged()
217 verify(logger).logProviderBinderDied(numProviders = 0) in providerBinderDied_isLogged()
/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp550 int numProviders = static_cast<int>(serviceProxy.listServices().size()); in TEST() local
556 EXPECT_EQ(provider->mCalledCounter[TestICameraProvider::SET_CALLBACK], numProviders) << in TEST()
558 EXPECT_EQ(provider->mCalledCounter[TestICameraProvider::GET_VENDOR_TAGS], numProviders) << in TEST()
561 numProviders) << in TEST()
563 EXPECT_EQ(provider->mCalledCounter[TestICameraProvider::GET_CAMERA_ID_LIST], numProviders) << in TEST()
565 EXPECT_EQ(provider->mCalledCounter[TestICameraProvider::NOTIFY_DEVICE_STATE], numProviders) << in TEST()
776 int numProviders = static_cast<int>(serviceProxy.listServices().size()); in TEST() local
786 EXPECT_EQ(provider->mCalledCounter[TestICameraProvider::SET_CALLBACK], numProviders) << in TEST()
788 EXPECT_EQ(provider->mCalledCounter[TestICameraProvider::GET_VENDOR_TAGS], numProviders) << in TEST()
791 numProviders) << in TEST()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DContentProviderHelper.java1262 int numProviders = providers.size(); in generateApplicationProvidersLocked() local
1264 pr.ensureProviderCapacity(numProviders + pr.numberOfProviders()); in generateApplicationProvidersLocked()
1265 for (int i = 0; i < numProviders; i++) { in generateApplicationProvidersLocked()
1276 numProviders--; in generateApplicationProvidersLocked()
1287 numProviders--; in generateApplicationProvidersLocked()