Home
last modified time | relevance | path

Searched defs:provider (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysUICutoutProviderTest.kt45 val provider = SysUICutoutProvider(noCutoutDisplayContext, fakeProtectionLoader) in cutoutInfoForCurrentDisplay_noCutout_returnsNull() constant
56 val provider = SysUICutoutProvider(cutoutDisplayContext, fakeProtectionLoader) in cutoutInfoForCurrentDisplay_returnsCutout() constant
67 val provider = SysUICutoutProvider(cutoutDisplayContext, fakeProtectionLoader) in cutoutInfoForCurrentDisplay_noAssociatedProtection_returnsNoProtection() constant
78 val provider = SysUICutoutProvider(outerDisplayContext, fakeProtectionLoader) in cutoutInfoForCurrentDisplay_outerDisplay_protectionAssociated_returnsProtection() constant
89 val provider = SysUICutoutProvider(outerDisplayContext, fakeProtectionLoader) in cutoutInfoForCurrentDisplay_outerDisplay_protectionNotAvailable_returnsNullProtection() constant
100 val provider = SysUICutoutProvider(displayContext, fakeProtectionLoader) in cutoutInfoForCurrentDisplay_displayWithNullId_protectionsWithNoId_returnsNullProtection() constant
111 val provider = SysUICutoutProvider(displayContext, fakeProtectionLoader) in cutoutInfoForCurrentDisplay_displayWithEmptyId_protectionsWithNoId_returnsNullProtection() constant
120 val provider = in cutoutInfo_rotation0_returnsOriginalProtectionBounds() constant
139 val provider = in cutoutInfo_rotation90_returnsRotatedProtectionBounds() constant
173 val provider = in cutoutInfo_withRotation_doesNotMutateOriginalBounds() constant
[all …]
/frameworks/base/services/core/java/com/android/server/pm/permission/
DLegacyPermissionManagerInternal.java36 void setDialerAppPackagesProvider(PackagesProvider provider); in setDialerAppPackagesProvider()
42 void setLocationExtraPackagesProvider(PackagesProvider provider); in setLocationExtraPackagesProvider()
48 void setLocationPackagesProvider(PackagesProvider provider); in setLocationPackagesProvider()
54 void setSimCallManagerPackagesProvider(PackagesProvider provider); in setSimCallManagerPackagesProvider()
60 void setSmsAppPackagesProvider(PackagesProvider provider); in setSmsAppPackagesProvider()
66 void setSyncAdapterPackagesProvider(SyncAdapterPackagesProvider provider); in setSyncAdapterPackagesProvider()
72 void setUseOpenWifiAppPackagesProvider(PackagesProvider provider); in setUseOpenWifiAppPackagesProvider()
78 void setVoiceInteractionPackagesProvider(PackagesProvider provider); in setVoiceInteractionPackagesProvider()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/nearby/
DNearbyMediaDevicesManagerTest.kt53 val provider = TestProvider() in registerNearbyDevicesCallback_providerRegistered_providerReceivesCallback() constant
92 val provider = TestProvider() in unregisterNearbyDevicesCallback_providerRegistered_providerReceivesCallback() constant
141 val provider = TestProvider() in providerUnregistered_doesNotReceiveNewCallback() constant
162 val provider = TestProvider() in providerRegisteredTwice_onlyLoggedOnce() constant
183 val provider = TestProvider() in providerUnregistered_isLogged() constant
193 val provider = TestProvider() in multipleProvidersRegisteredThenUnregistered_isLogged() constant
212 val provider = TestProvider() in providerBinderDied_isLogged() constant
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DFaceService.java125 final ServiceProvider provider = mRegistry.getProviderForSensor(sensorId); in createTestSession() local
141 final ServiceProvider provider = mRegistry.getProviderForSensor(sensorId); in dumpSensorServiceStateProto() local
164 final ServiceProvider provider = mRegistry.getProviderForSensor(sensorId); in getSensorProperties() local
180 final ServiceProvider provider = mRegistry.getProviderForSensor(sensorId); in generateChallenge() local
195 final ServiceProvider provider = mRegistry.getProviderForSensor(sensorId); in revokeChallenge() local
212 final Pair<Integer, ServiceProvider> provider = mRegistry.getSingleProvider(); in enroll() local
228 final Pair<Integer, ServiceProvider> provider = mRegistry.getSingleProvider(); in scheduleWatchdog() local
253 final Pair<Integer, ServiceProvider> provider = mRegistry.getSingleProvider(); in cancelEnrollment() local
281 final Pair<Integer, ServiceProvider> provider = mRegistry.getSingleProvider(); in authenticate() local
305 final Pair<Integer, ServiceProvider> provider = mRegistry.getSingleProvider(); in detectFace() local
[all …]
/frameworks/base/location/java/android/location/
DLocationManagerInternal.java38 void onProviderEnabledChanged(String provider, int userId, boolean enabled); in onProviderEnabledChanged()
59 public abstract boolean isProviderEnabledForUser(@NonNull String provider, int userId); in isProviderEnabledForUser()
67 public abstract void addProviderEnabledListener(String provider, in addProviderEnabledListener()
76 public abstract void removeProviderEnabledListener(String provider, in removeProviderEnabledListener()
87 public abstract boolean isProvider(@Nullable String provider, @NonNull CallerIdentity identity); in isProvider()
DILocationManager.aidl54 …@nullable Location getLastLocation(String provider, in LastLocationRequest request, String package… in getLastLocation()
55 …@nullable ICancellationSignal getCurrentLocation(String provider, in LocationRequest request, in I… in getCurrentLocation()
57 …void registerLocationListener(String provider, in LocationRequest request, in ILocationListener li… in registerLocationListener()
60 …void registerLocationPendingIntent(String provider, in LocationRequest request, in PendingIntent p… in registerLocationPendingIntent()
66 void requestListenerFlush(String provider, in ILocationListener listener, int requestCode); in requestListenerFlush()
67 … void requestPendingIntentFlush(String provider, in PendingIntent pendingIntent, int requestCode); in requestPendingIntentFlush()
110 boolean hasProvider(String provider); in hasProvider()
114 ProviderProperties getProviderProperties(String provider); in getProviderProperties()
116 … isProviderPackage(@nullable String provider, String packageName, @nullable String attributionTag); in isProviderPackage()
118 List<String> getProviderPackages(String provider); in getProviderPackages()
[all …]
DLocationListener.java87 default void onStatusChanged(String provider, int status, Bundle extras) {} in onStatusChanged()
99 default void onProviderEnabled(@NonNull String provider) {} in onProviderEnabled()
112 default void onProviderDisabled(@NonNull String provider) {} in onProviderDisabled()
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsStateController.java120 InsetsSourceProvider provider = mProviders.get(id); in getOrCreateSourceProvider() local
153 final InsetsSourceProvider provider = mProviders.valueAt(i); in setForcedConsumingTypes() local
237 final InsetsSourceProvider provider = mProviders.valueAt(i); in getFakeControllingTypes() local
270 final InsetsSourceProvider provider = mProviders.valueAt(i); in onBarControlTargetChanged() local
284 InsetsSourceProvider provider) { in notifyControlTargetChanged()
290 InsetsSourceProvider provider) { in notifyControlRevoked()
294 private void onControlTargetChanged(InsetsSourceProvider provider, in onControlTargetChanged()
332 InsetsSourceProvider provider, boolean fake) { in removeFromControlMaps()
349 InsetsSourceProvider provider, boolean fake) { in addToControlMaps()
378 final InsetsSourceProvider provider = mProviders.valueAt(i); in notifyPendingInsetsControlChanged() local
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceProviderPermissionsTest.java55 SliceProviderPermissions provider = new SliceProviderPermissions(pkg, tracker); in testDirty_addAuthority() local
66 SliceProviderPermissions provider = new SliceProviderPermissions(pkg, tracker); in testDirty_addPkg() local
78 SliceProviderPermissions provider = createProvider(); in testCreation() local
92 SliceProviderPermissions provider = createProvider(); in testSerialization() local
119 SliceProviderPermissions provider = new SliceProviderPermissions(pkg, tracker); in createProvider() local
/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocationEventLog.java96 private AggregateStats getAggregateStats(String provider, CallerIdentity identity) { in getAggregateStats()
157 public void logProviderEnabled(String provider, int userId, boolean enabled) { in logProviderEnabled()
162 public void logProviderMocked(String provider, boolean mocked) { in logProviderMocked()
167 public void logProviderClientRegistered(String provider, CallerIdentity identity, in logProviderClientRegistered()
174 public void logProviderClientUnregistered(String provider, CallerIdentity identity) { in logProviderClientUnregistered()
180 public void logProviderClientActive(String provider, CallerIdentity identity) { in logProviderClientActive()
185 public void logProviderClientInactive(String provider, CallerIdentity identity) { in logProviderClientInactive()
190 public void logProviderClientForeground(String provider, CallerIdentity identity) { in logProviderClientForeground()
198 public void logProviderClientBackground(String provider, CallerIdentity identity) { in logProviderClientBackground()
206 public void logProviderClientPermitted(String provider, CallerIdentity identity) { in logProviderClientPermitted()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
DLocationUtils.java36 public static Location createLocation(String provider, Random random) { in createLocation()
43 public static LocationResult createLocationResult(String provider, Random random) { in createLocationResult()
47 public static LocationResult createLocationResult(String provider, Random random, in createLocationResult()
56 public static Location createLocation(String provider, double latitude, double longitude, in createLocation()
67 public static LocationResult createLocationResult(String provider, double latitude, in createLocationResult()
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
DDeviceStateProviderImplTest.java134 DeviceStateProviderImpl provider = DeviceStateProviderImpl.createFromConfig(mContext, in assertDefaultProviderValues() local
162 DeviceStateProviderImpl provider = DeviceStateProviderImpl.createFromConfig(mContext, in create_multipleMatchingStatesDefaultsToLowestIdentifier() local
195 DeviceStateProviderImpl provider = DeviceStateProviderImpl.createFromConfig(mContext, in create_stateWithCancelOverrideRequestProperty() local
227 DeviceStateProviderImpl provider = DeviceStateProviderImpl.createFromConfig(mContext, in create_stateWithInvalidProperty() local
263 DeviceStateProviderImpl provider = DeviceStateProviderImpl.createFromConfig(mContext, in create_lidSwitch() local
358 DeviceStateProviderImpl provider = create_sensorBasedProvider(sensor); in create_sensor() local
421 DeviceStateProviderImpl provider = create_sensorBasedProvider(sensor); in test_propertyDisableWhenThermalStatusCritical() local
474 DeviceStateProviderImpl provider = create_sensorBasedProvider(sensor); in test_propertyDisableWhenPowerSaveEnabled() local
529 DeviceStateProviderImpl provider = create_sensorBasedProvider(sensor); in test_invalidSensorValues() local
593 DeviceStateProviderImpl provider = DeviceStateProviderImpl.createFromConfig(mContext, in create_invalidSensor() local
/frameworks/base/tests/testables/src/android/testing/
DTestableContentResolver.java69 public void addProvider(String name, ContentProvider provider) { in addProvider()
80 public void addProvider(String name, ContentProvider provider, int flags) { in addProvider()
91 final ContentProvider provider = mProviders.get(name); in acquireProvider() local
101 final ContentProvider provider = mProviders.get(name); in acquireExistingProvider() local
111 public boolean releaseProvider(IContentProvider provider) { in releaseProvider()
122 final ContentProvider provider = mUnstableProviders.get(name); in acquireUnstableProvider() local
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DModuleInfoProviderTest.java49 ModuleInfoProvider provider = getProvider(R.xml.well_formed_metadata); in testSuccessfulParse() local
73 ModuleInfoProvider provider = getProvider(R.xml.unparseable_metadata1); in testParseFailure_incorrectTopLevelElement() local
78 ModuleInfoProvider provider = getProvider(R.xml.unparseable_metadata2); in testParseFailure_incorrectModuleElement() local
83 ModuleInfoProvider provider = getProvider(R.xml.well_formed_metadata); in testParse_unknownAttributesIgnored() local
/frameworks/base/services/core/java/com/android/server/media/
DRemoteDisplayProviderWatcher.java123 RemoteDisplayProviderProxy provider = in scanPackages() local
131 RemoteDisplayProviderProxy provider = mProviders.get(sourceIndex); in scanPackages() local
142 RemoteDisplayProviderProxy provider = mProviders.get(i); in scanPackages() local
179 RemoteDisplayProviderProxy provider = mProviders.get(i); in findProvider() local
205 void addProvider(RemoteDisplayProviderProxy provider); in addProvider()
206 void removeProvider(RemoteDisplayProviderProxy provider); in removeProvider()
/frameworks/base/services/tests/servicestests/src/com/android/server/location/countrydetector/
DLocationBasedCountryDetectorTest.java46 public TestCountryDetector(String country, String provider) { in TestCountryDetector()
50 public TestCountryDetector(String country, String provider, long queryLocationTimeout) { in TestCountryDetector()
87 protected boolean isAcceptableProvider(String provider) { in isAcceptableProvider()
96 protected void registerListener(String provider, LocationListener listener) { in registerListener()
184 final String provider = "Good"; in testFindingCountryCommon() local
221 final String provider = "Good"; in testFindingCountryCancelled() local
246 final String provider = "Good"; in testFindingLocationCancelled() local
264 final String provider = "Good"; in testFindingLocationFailed() local
287 final String provider = "Good"; in testFindingCountryFailed() local
324 final String provider = "Good"; in testFindingCountryWithLastKnownLocation() local
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayWindowSettingsProviderTests.java129 DisplayWindowSettingsProvider provider = new DisplayWindowSettingsProvider( in testReadingDisplaySettingsFromStorage_LegacyDisplayId_UpdateAfterAccess() local
174 final DisplayWindowSettingsProvider provider = in testReadingDisplaySettingsFromStorage_secondayVendorDisplaySettingsLocation() local
200 final DisplayWindowSettingsProvider provider = in testReadingDisplaySettingsFromStorage_overrideSettingsTakePrecedenceOverVendor() local
217 DisplayWindowSettingsProvider provider = new DisplayWindowSettingsProvider( in testWritingDisplaySettingsToStorage() local
243 final DisplayWindowSettingsProvider provider = new DisplayWindowSettingsProvider( in testDoNotWriteVirtualDisplaySettingsToStorage() local
264 DisplayWindowSettingsProvider provider = new DisplayWindowSettingsProvider( in testWritingDisplaySettingsToStorage_UsePortAsId() local
283 final DisplayWindowSettingsProvider provider = new DisplayWindowSettingsProvider( in testCleanUpEmptyDisplaySettingsOnDisplayRemoved() local
309 final DisplayWindowSettingsProvider provider = new DisplayWindowSettingsProvider( in testCleanUpVirtualDisplaySettingsOnDisplayRemoved() local
374 final DisplayWindowSettingsProvider provider = in readAndAssertExpectedSettings() local
/frameworks/base/tests/testables/tests/src/android/testing/
DTestableContentResolverTest.java32 ContentProvider provider = Mockito.mock(ContentProvider.class); in testDefaultContentProvider() local
43 ContentProvider provider = Mockito.mock(ContentProvider.class); in testStableContentProvider() local
54 ContentProvider provider = Mockito.mock(ContentProvider.class); in testUnstableContentProvider() local
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java780 public void updateAppWidget(ComponentName provider, RemoteViews views) { in updateAppWidget()
808 public void updateAppWidgetProviderInfo(ComponentName provider, @Nullable String metaDataKey) { in updateAppWidgetProviderInfo()
1075 public void bindAppWidgetId(int appWidgetId, ComponentName provider) { in bindAppWidgetId()
1098 public void bindAppWidgetId(int appWidgetId, ComponentName provider, Bundle options) { in bindAppWidgetId()
1121 public boolean bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider) { in bindAppWidgetIdIfAllowed()
1147 public boolean bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider, in bindAppWidgetIdIfAllowed()
1176 ComponentName provider, Bundle options) { in bindAppWidgetIdIfAllowed()
1304 public int[] getAppWidgetIds(ComponentName provider) { in getAppWidgetIds()
1331 ComponentName provider, Bundle options) { in bindAppWidgetIdIfAllowed()
1359 public boolean requestPinAppWidget(@NonNull ComponentName provider, in requestPinAppWidget()
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrinterRegistry.java77 FusedPrintersProvider provider = getPrinterProvider(); in addHistoricalPrinter() local
84 FusedPrintersProvider provider = getPrinterProvider(); in forgetFavoritePrinter() local
91 FusedPrintersProvider provider = getPrinterProvider(); in isFavoritePrinter() local
99 FusedPrintersProvider provider = getPrinterProvider(); in setTrackedPrinter() local
106 FusedPrintersProvider provider = getPrinterProvider(); in areHistoricalPrintersLoaded() local
/frameworks/base/core/java/android/provider/
DSyncStateContract.java73 public static byte[] get(ContentProviderClient provider, Uri uri, in get()
103 public static void set(ContentProviderClient provider, Uri uri, in set()
112 public static Uri insert(ContentProviderClient provider, Uri uri, in insert()
121 public static void update(ContentProviderClient provider, Uri uri, byte[] data) in update()
128 public static Pair<Uri, byte[]> getWithUri(ContentProviderClient provider, Uri uri, in getWithUri()
/frameworks/base/services/core/java/com/android/server/location/
DLocationShellCommand.java219 String provider = getNextArgRequired(); in handleAddTestProvider() local
301 String provider = getNextArgRequired(); in handleRemoveTestProvider() local
307 String provider = getNextArgRequired(); in handleSetTestProviderEnabled() local
314 String provider = getNextArgRequired(); in handleSetTestProviderLocation() local
364 String provider = getNextArgRequired(); in handleSendExtraCommand() local
/frameworks/native/libs/binder/tests/parcel_fuzzer/
Dlibbinder_ndk_driver.cpp30 void fuzzService(const std::vector<ndk::SpAIBinder>& binders, FuzzedDataProvider&& provider) { in fuzzService()
39 void fuzzService(AIBinder* binder, FuzzedDataProvider&& provider) { in fuzzService()
54 FuzzedDataProvider provider(data, len); in fuzzRustService() local
Dmain.cpp43 void fillRandomParcel(::android::hardware::Parcel* p, FuzzedDataProvider&& provider, in fillRandomParcel()
62 static void fillRandomParcel(NdkParcelAdapter* p, FuzzedDataProvider&& provider, in fillRandomParcel()
69 void doTransactFuzz(const char* backend, const sp<B>& binder, FuzzedDataProvider&& provider) { in doTransactFuzz()
85 FuzzedDataProvider&& provider) { in doReadFuzz()
120 void doAppendFuzz(const char* backend, FuzzedDataProvider&& provider) { in doAppendFuzz()
157 FuzzedDataProvider provider = FuzzedDataProvider(data, size); in LLVMFuzzerTestOneInput() local
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryUsageStatsProviderTest.java97 BatteryUsageStatsProvider provider = new BatteryUsageStatsProvider(mContext, null, in test_getBatteryUsageStats() local
133 BatteryUsageStatsProvider provider = new BatteryUsageStatsProvider(mContext, null, in test_selectPowerComponents() local
238 BatteryUsageStatsProvider provider = new BatteryUsageStatsProvider(mContext, null, in testWriteAndReadHistory() local
326 BatteryUsageStatsProvider provider = new BatteryUsageStatsProvider(mContext, null, in testWriteAndReadHistoryTags() local
414 BatteryUsageStatsProvider provider = new BatteryUsageStatsProvider(mContext, null, in testAggregateBatteryStats() local
525 BatteryUsageStatsProvider provider = new BatteryUsageStatsProvider(mContext, null, in saveBatteryUsageStatsOnReset_incompatibleEnergyConsumers() local
587 BatteryUsageStatsProvider provider = new BatteryUsageStatsProvider(mContext, null, in testAggregateBatteryStats_incompatibleSnapshot() local

12345678910>>...12