/frameworks/base/packages/SystemUI/src/com/android/systemui/media/nearby/ |
D | NearbyMediaDevicesManager.kt | 41 private var providers: MutableList<INearbyMediaDevicesProvider> = mutableListOf() variable in com.android.systemui.media.nearby.NearbyMediaDevicesManager 46 if (providers.contains(newProvider)) { in registerNearbyMediaDevicesProvider() 52 providers.add(newProvider) in registerNearbyMediaDevicesProvider() 53 logger.logProviderRegistered(providers.size) in registerNearbyMediaDevicesProvider() 60 val isRemoved = providers.remove(newProvider) in unregisterNearbyMediaDevicesProvider() 62 logger.logProviderUnregistered(providers.size) in unregisterNearbyMediaDevicesProvider() 89 providers.forEach { in registerNearbyDevicesCallback() 100 providers.forEach { in unregisterNearbyDevicesCallback() 106 synchronized(providers) { in binderDiedInternal() 107 for (i in providers.size - 1 downTo 0) { in binderDiedInternal() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/ |
D | CutoutDecorProviderFactoryTest.kt | 111 Assert.assertEquals(0, factory.providers.size) in <lambda>() 126 val providers = factory.providers in <lambda>() constant 127 Assert.assertEquals(1, providers.size) in <lambda>() 128 Assert.assertEquals(1, providers[0].numOfAlignedBound) in <lambda>() 129 Assert.assertEquals(DisplayCutout.BOUNDS_POSITION_TOP, providers[0].alignedBounds[0]) in <lambda>() 146 val providers = factory.providers in <lambda>() constant 147 Assert.assertEquals(1, providers.size) in <lambda>() 148 Assert.assertEquals(1, providers[0].numOfAlignedBound) in <lambda>() 149 Assert.assertEquals(DisplayCutout.BOUNDS_POSITION_BOTTOM, providers[0].alignedBounds[0]) in <lambda>() 166 val providers = factory.providers in <lambda>() constant [all …]
|
D | RoundedCornerDecorProviderFactoryTest.kt | 54 Assert.assertEquals(0, roundedCornerDecorProviderFactory.providers.size) in <lambda>() 67 roundedCornerDecorProviderFactory.providers.let { providers -> in <lambda>() method 68 Assert.assertEquals(2, providers.size) in <lambda>() 69 Assert.assertEquals(1, providers.count { in <lambda>() 74 Assert.assertEquals(1, providers.count { in <lambda>() 92 roundedCornerDecorProviderFactory.providers.let { providers -> in <lambda>() method 93 Assert.assertEquals(2, providers.size) in <lambda>() 94 Assert.assertEquals(1, providers.count { in <lambda>() 99 Assert.assertEquals(1, providers.count { in <lambda>() 118 roundedCornerDecorProviderFactory.providers.let { providers -> in <lambda>() method [all …]
|
D | PrivacyDotDecorProviderFactoryTest.kt | 55 Assert.assertEquals(0, mPrivacyDotDecorProviderFactory.providers.size) in testGetNoCornerDecorProviderWithNoPrivacyDot() 61 val providers = mPrivacyDotDecorProviderFactory.providers in testGet4CornerDecorProvidersWithPrivacyDot() constant 64 Assert.assertEquals(4, providers.size) in testGet4CornerDecorProvidersWithPrivacyDot() 65 Assert.assertEquals(1, providers.count { in testGet4CornerDecorProvidersWithPrivacyDot() 70 Assert.assertEquals(1, providers.count { in testGet4CornerDecorProvidersWithPrivacyDot() 75 Assert.assertEquals(1, providers.count { in testGet4CornerDecorProvidersWithPrivacyDot() 80 Assert.assertEquals(1, providers.count { in testGet4CornerDecorProvidersWithPrivacyDot()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ControlsBindingControllerImplTest.kt | 82 private val providers = TestableControlsBindingControllerImpl.providers in capture() constant in com.android.systemui.controls.controller.ControlsBindingControllerImplTest 87 providers.clear() in capture() 114 verify(providers[0]).maybeBindAndLoad(any()) in testBindAndLoad() 124 verify(providers[0]).maybeBindAndLoad(capture(loadSubscriberCaptor)) in testBindAndLoad_cancel() 128 verify(providers[0]).cancelSubscription(subscription) in testBindAndLoad_cancel() 143 verify(providers[0]).maybeBindAndLoad(capture(loadSubscriberCaptor)) in testBindAndLoad_noCancelAfterOnComplete() 149 verify(providers[0], never()).cancelSubscription(subscription) in testBindAndLoad_noCancelAfterOnComplete() 163 verify(providers[0]).maybeBindAndLoad(capture(subscriberCaptor)) in testLoad_onCompleteRemovesTimeout() 168 verify(providers[0]).cancelLoadTimeout() in testLoad_onCompleteRemovesTimeout() 182 verify(providers[0]).maybeBindAndLoad(capture(subscriberCaptor)) in testLoad_onErrorRemovesTimeout() [all …]
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | WriteFallbackSettingsFilesJobService.java | 17 package com.android.providers.settings; 19 import static com.android.providers.settings.SettingsProvider.SETTINGS_PROVIDER_JOBS_NS; 20 import static com.android.providers.settings.SettingsProvider.TABLE_CONFIG; 21 import static com.android.providers.settings.SettingsProvider.TABLE_GLOBAL; 22 import static com.android.providers.settings.SettingsProvider.TABLE_SECURE; 23 import static com.android.providers.settings.SettingsProvider.TABLE_SSAID; 24 import static com.android.providers.settings.SettingsProvider.TABLE_SYSTEM; 25 import static com.android.providers.settings.SettingsProvider.WRITE_FALLBACK_SETTINGS_FILES_JOB_ID;
|
/frameworks/base/core/java/android/credentials/ |
D | ListEnabledProvidersResponse.java | 44 public static @NonNull ListEnabledProvidersResponse create(@NonNull List<String> providers) { in create() argument 45 Objects.requireNonNull(providers, "providers must not be null"); in create() 46 Preconditions.checkCollectionElementsNotNull(providers, /* valueName= */ "providers"); in create() 47 return new ListEnabledProvidersResponse(providers); in create() 50 private ListEnabledProvidersResponse(@NonNull List<String> providers) { in ListEnabledProvidersResponse() argument 51 mProviders = providers; in ListEnabledProvidersResponse()
|
D | SetEnabledProvidersRequest.java | 44 public SetEnabledProvidersRequest(@NonNull List<String> providers) { in SetEnabledProvidersRequest() argument 45 Objects.requireNonNull(providers, "providers must not be null"); in SetEnabledProvidersRequest() 46 Preconditions.checkCollectionElementsNotNull(providers, /* valueName= */ "providers"); in SetEnabledProvidersRequest() 47 mProviders = providers; in SetEnabledProvidersRequest()
|
/frameworks/av/media/libaudioprocessing/tests/ |
D | test-mixer.cpp | 104 std::vector<SignalProvider> providers; in main() local 151 providers.resize(argc); in main() 167 providers[i].setChirp<float>(v[0], 0, v[1]/2, v[1], kSeconds); in main() 170 providers[i].setChirp<int16_t>(v[0], 0, v[1]/2, v[1], kSeconds); in main() 173 providers[i].setIncr(Pvalues); in main() 185 providers[i].setSine<float>(v[0], v[1], v[2], kSeconds); in main() 188 providers[i].setSine<int16_t>(v[0], v[1], v[2], kSeconds); in main() 191 providers[i].setIncr(Pvalues); in main() 198 providers[i].setFile<float>(argv[i]); in main() 201 providers[i].setFile<short>(argv[i]); in main() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | OWNERS | 5 per-file *CallLog* = file:platform/packages/providers/ContactsProvider:/OWNERS 6 per-file *Contacts* = file:platform/packages/providers/ContactsProvider:/OWNERS 7 per-file *Voicemail* = file:platform/packages/providers/ContactsProvider:/OWNERS 9 per-file *Calendar* = file:platform/packages/providers/CalendarProvider:/OWNERS 11 per-file *Downloads* = file:platform/packages/providers/DownloadProvider:/OWNERS
|
/frameworks/base/services/credentials/java/com/android/server/credentials/metrics/ |
D | CandidateAggregateMetric.java | 80 public void collectAverages(Map<String, ProviderSession> providers) { in collectAverages() argument 81 collectQueryAggregates(providers); in collectAverages() 82 collectAuthAggregates(providers); in collectAverages() 85 private void collectQueryAggregates(Map<String, ProviderSession> providers) { in collectQueryAggregates() argument 86 mNumProviders = providers.size(); in collectQueryAggregates() 89 var providerSessions = providers.values(); in collectQueryAggregates() 124 private void collectAuthAggregates(Map<String, ProviderSession> providers) { in collectAuthAggregates() argument 127 var providerSessions = providers.values(); in collectAuthAggregates()
|
D | RequestSessionMetric.java | 314 public void updateMetricsOnResponseReceived(Map<String, ProviderSession> providers, in updateMetricsOnResponseReceived() argument 317 var chosenProviderSession = providers.get(componentName.flattenToString()); in updateMetricsOnResponseReceived() 392 public void logCandidatePhaseMetrics(Map<String, ProviderSession> providers) { in logCandidatePhaseMetrics() argument 394 logApiCalledCandidatePhase(providers, ++mSequenceCounter, mInitialPhaseMetric); in logCandidatePhaseMetrics() 398 logApiCalledCandidateGetMetric(providers, mSequenceCounter); in logCandidatePhaseMetrics() 411 public void logCandidateAggregateMetrics(Map<String, ProviderSession> providers) { in logCandidateAggregateMetrics() argument 413 mCandidateAggregateMetric.collectAverages(providers); in logCandidateAggregateMetrics()
|
/frameworks/base/core/proto/android/providers/ |
D | settings.proto | 18 package android.providers.settings; 23 import "frameworks/base/core/proto/android/providers/settings/config.proto"; 24 import "frameworks/base/core/proto/android/providers/settings/generation.proto"; 25 import "frameworks/base/core/proto/android/providers/settings/global.proto"; 26 import "frameworks/base/core/proto/android/providers/settings/secure.proto"; 27 import "frameworks/base/core/proto/android/providers/settings/system.proto";
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | BiometricServiceRegistry.java | 110 List<T> providers = serviceProvider.get(); in registerAllInBackground() local 111 if (providers == null) { in registerAllInBackground() 112 providers = new ArrayList<>(); in registerAllInBackground() 122 for (T provider : providers) { in registerAllInBackground() 130 finishRegistration(providers, allProps); in registerAllInBackground() 134 @NonNull List<T> providers, @NonNull List<P> allProps) { in finishRegistration() 135 mServiceProviders = Collections.unmodifiableList(providers); in finishRegistration()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/credentials/ |
D | CredentialManagerServiceTest.java | 54 Set<String> providers = CredentialManagerService.getStoredProviders("", ""); in getStoredProviders_emptyValue_success() local 55 assertThat(providers.size()).isEqualTo(0); in getStoredProviders_emptyValue_success() 60 Set<String> providers = CredentialManagerService.getStoredProviders(null, null); in getStoredProviders_nullValue_success() local 61 assertThat(providers.size()).isEqualTo(0); in getStoredProviders_nullValue_success() 66 Set<String> providers = in getStoredProviders_success() local 71 assertThat(providers.size()).isEqualTo(1); in getStoredProviders_success() 72 assertThat(providers.contains("com.example.test2/com.example.test2.TestActivity")).isTrue(); in getStoredProviders_success()
|
D | CredentialDescriptionRegistryTest.java | 129 Set<CredentialDescriptionRegistry.FilterResult> providers = mCredentialDescriptionRegistry in testEvictProvider_existingProviders_succeeds() local 132 assertThat(providers).isEmpty(); in testEvictProvider_existingProviders_succeeds() 156 Set<CredentialDescriptionRegistry.FilterResult> providers = mCredentialDescriptionRegistry in testGetMatchingProviders_existingProviders_succeeds() local 158 Set<String> packageNames = providers.stream().map( in testGetMatchingProviders_existingProviders_succeeds() 161 assertThat(providers).hasSize(2); in testGetMatchingProviders_existingProviders_succeeds()
|
/frameworks/proto_logging/stats/atoms/providers/mediaprovider/ |
D | media_provider_atoms.proto | 19 package android.os.statsd.providers.mediaprovider; 21 option java_package = "com.android.os.providers.mediaprovider"; 27 * packages/providers/MediaProvider/src/com/android/providers/media/DatabaseHelper.java
|
D | rollback_extension_atoms.proto | 19 package android.os.statsd.providers.mediaprovider; 24 option java_package = "com.android.os.providers.mediaprovider"; 36 * packages/providers/MediaProvider/src/com/android/providers/media/DatabaseHelper.java
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateServiceImpl.java | 393 WebViewProviderInfo[] providers = in getValidWebViewPackages() local 396 providers[n] = providersAndPackageInfos[n].provider; in getValidWebViewPackages() 398 return providers; in getValidWebViewPackages() 426 List<ProviderAndPackageInfo> providers = new ArrayList<>(); in getValidWebViewPackagesAndInfos() local 432 providers.add(new ProviderAndPackageInfo(allProviders[n], packageInfo)); in getValidWebViewPackagesAndInfos() 438 return providers.toArray(new ProviderAndPackageInfo[providers.size()]); in getValidWebViewPackagesAndInfos() 448 ProviderAndPackageInfo[] providers = getValidWebViewPackagesAndInfos(); in findPreferredWebViewPackage() local 454 for (ProviderAndPackageInfo providerAndPackage : providers) { in findPreferredWebViewPackage() 469 for (ProviderAndPackageInfo providerAndPackage : providers) { in findPreferredWebViewPackage()
|
D | WebViewUpdateServiceImpl2.java | 443 WebViewProviderInfo[] providers = in getValidWebViewPackages() local 446 providers[n] = providersAndPackageInfos[n].provider; in getValidWebViewPackages() 448 return providers; in getValidWebViewPackages() 472 List<ProviderAndPackageInfo> providers = new ArrayList<>(); in getValidWebViewPackagesAndInfos() local 478 providers.add(new ProviderAndPackageInfo(allProviders[n], packageInfo)); in getValidWebViewPackagesAndInfos() 484 return providers.toArray(new ProviderAndPackageInfo[providers.size()]); in getValidWebViewPackagesAndInfos()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProviderMap.java | 198 HashMap<ComponentName, ContentProviderRecord> providers, in collectPackageProvidersLocked() argument 201 for (ContentProviderRecord provider : providers.values()) { in collectPackageProvidersLocked() 356 ArrayList<ContentProviderRecord> providers = getProvidersForName(name); in dumpProvider() local 358 if (providers.size() <= 0) { in dumpProvider() 363 for (int i=0; i<providers.size(); i++) { in dumpProvider() 368 dumpProvider("", fd, pw, providers.get(i), args, dumpAll); in dumpProvider() 422 ArrayList<ContentProviderRecord> providers = getProvidersForName(name); in dumpProviderProto() local 424 if (providers.size() <= 0) { in dumpProviderProto() 429 for (int i = 0; i < providers.size(); i++) { in dumpProviderProto() 430 final ContentProviderRecord r = providers.get(i); in dumpProviderProto()
|
D | ContentProviderHelper.java | 729 void publishContentProviders(IApplicationThread caller, List<ContentProviderHolder> providers) { in publishContentProviders() argument 730 if (providers == null) { in publishContentProviders() 748 for (int i = 0, size = providers.size(); i < size; i++) { in publishContentProviders() 749 ContentProviderHolder src = providers.get(i); in publishContentProviders() 806 for (int i = 0, size = providers.size(); i < size; i++) { in publishContentProviders() 807 ContentProviderHolder src = providers.get(i); in publishContentProviders() 1244 final List<ProviderInfo> providers; in generateApplicationProvidersLocked() local 1246 providers = AppGlobals.getPackageManager().queryContentProviders( in generateApplicationProvidersLocked() 1254 if (providers == null) { in generateApplicationProvidersLocked() 1262 int numProviders = providers.size(); in generateApplicationProvidersLocked() [all …]
|
/frameworks/base/packages/SettingsProvider/ |
D | Android.bp | 27 "src/com/android/providers/settings/EventLogTags.logtags", 92 package: "com.android.providers.settings", 95 "src/com/android/providers/settings/device_config_service.aconfig",
|
/frameworks/base/media/lib/remotedisplay/ |
D | README.txt | 3 containing classes required by unbundled remote display providers. 14 o The stub library is effectively a PUBLIC API for unbundled remote display providers 28 Unbundled remote display providers (such as Cast) cannot use internal
|
/frameworks/base/packages/SettingsLib/search/processor-src/com/android/settingslib/search/ |
D | IndexableProcessor.java | 83 final FieldSpec providers = FieldSpec.builder( in process() local 95 .addCode("$N.add(indexClass);\n", providers) in process() 154 .addCode("return $N;\n", providers) in process() 161 .addField(providers) in process()
|