Home
last modified time | relevance | path

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

12345678

/frameworks/base/services/core/java/com/android/server/pm/permission/
DLegacyPermissionManagerInternal.java35 void setDialerAppPackagesProvider(PackagesProvider provider); in setDialerAppPackagesProvider()
41 void setLocationExtraPackagesProvider(PackagesProvider provider); in setLocationExtraPackagesProvider()
47 void setLocationPackagesProvider(PackagesProvider provider); in setLocationPackagesProvider()
53 void setSimCallManagerPackagesProvider(PackagesProvider provider); in setSimCallManagerPackagesProvider()
59 void setSmsAppPackagesProvider(PackagesProvider provider); in setSmsAppPackagesProvider()
65 void setSyncAdapterPackagesProvider(SyncAdapterPackagesProvider provider); in setSyncAdapterPackagesProvider()
71 void setUseOpenWifiAppPackagesProvider(PackagesProvider provider); in setUseOpenWifiAppPackagesProvider()
77 void setVoiceInteractionPackagesProvider(PackagesProvider provider); in setVoiceInteractionPackagesProvider()
DLegacyPermissionManagerService.java316 public void setDialerAppPackagesProvider(PackagesProvider provider) { in setDialerAppPackagesProvider()
321 public void setLocationExtraPackagesProvider(PackagesProvider provider) { in setLocationExtraPackagesProvider()
326 public void setLocationPackagesProvider(PackagesProvider provider) { in setLocationPackagesProvider()
331 public void setSimCallManagerPackagesProvider(PackagesProvider provider) { in setSimCallManagerPackagesProvider()
336 public void setSmsAppPackagesProvider(PackagesProvider provider) { in setSmsAppPackagesProvider()
341 public void setSyncAdapterPackagesProvider(SyncAdapterPackagesProvider provider) { in setSyncAdapterPackagesProvider()
346 public void setUseOpenWifiAppPackagesProvider(PackagesProvider provider) { in setUseOpenWifiAppPackagesProvider()
351 public void setVoiceInteractionPackagesProvider(PackagesProvider provider) { in setVoiceInteractionPackagesProvider()
/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.aidl53 …@nullable Location getLastLocation(String provider, in LastLocationRequest request, String package… in getLastLocation()
54 …@nullable ICancellationSignal getCurrentLocation(String provider, in LocationRequest request, in I… in getCurrentLocation()
56 …void registerLocationListener(String provider, in LocationRequest request, in ILocationListener li… in registerLocationListener()
59 …void registerLocationPendingIntent(String provider, in LocationRequest request, in PendingIntent p… in registerLocationPendingIntent()
64 void requestListenerFlush(String provider, in ILocationListener listener, int requestCode); in requestListenerFlush()
65 … void requestPendingIntentFlush(String provider, in PendingIntent pendingIntent, int requestCode); in requestPendingIntentFlush()
108 boolean hasProvider(String provider); in hasProvider()
112 ProviderProperties getProviderProperties(String provider); in getProviderProperties()
113 … isProviderPackage(@nullable String provider, String packageName, @nullable String attributionTag); in isProviderPackage()
114 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()
DLocationManager.java699 public boolean isProviderEnabled(@NonNull String provider) { in isProviderEnabled()
720 public boolean isProviderEnabledForUser( in isProviderEnabledForUser()
749 public boolean setProviderEnabledForUser( in setProviderEnabledForUser()
793 public Location getLastKnownLocation(@NonNull String provider) { in getLastKnownLocation()
820 public Location getLastKnownLocation(@NonNull String provider, in getLastKnownLocation()
852 public void getCurrentLocation(@NonNull String provider, in getCurrentLocation()
931 public void getCurrentLocation(@NonNull String provider, in getCurrentLocation()
978 public void requestSingleUpdate( in requestSingleUpdate()
1050 public void requestSingleUpdate(@NonNull String provider, in requestSingleUpdate()
1120 public void requestLocationUpdates(@NonNull String provider, long minTimeMs, float minDistanceM, in requestLocationUpdates()
[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/biometrics/sensors/face/
DFaceService.java141 final ServiceProvider provider = getProviderForSensor(sensorId); in createTestSession() local
156 final ServiceProvider provider = getProviderForSensor(sensorId); in dumpSensorServiceStateProto() local
177 final ServiceProvider provider = getProviderForSensor(sensorId); in getSensorProperties() local
192 final ServiceProvider provider = getProviderForSensor(sensorId); in generateChallenge() local
206 final ServiceProvider provider = getProviderForSensor(sensorId); in revokeChallenge() local
221 final Pair<Integer, ServiceProvider> provider = getSingleProvider(); in enroll() local
243 final Pair<Integer, ServiceProvider> provider = getSingleProvider(); in cancelEnrollment() local
270 final Pair<Integer, ServiceProvider> provider = getSingleProvider(); in authenticate() local
298 final Pair<Integer, ServiceProvider> provider = getSingleProvider(); in detectFace() local
316 final ServiceProvider provider = getProviderForSensor(sensorId); in prepareForAuthentication() local
[all …]
/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocationEventLog.java93 private AggregateStats getAggregateStats(String provider, CallerIdentity identity) { in getAggregateStats()
126 public void logProviderEnabled(String provider, int userId, boolean enabled) { in logProviderEnabled()
131 public void logProviderMocked(String provider, boolean mocked) { in logProviderMocked()
136 public void logProviderClientRegistered(String provider, CallerIdentity identity, in logProviderClientRegistered()
143 public void logProviderClientUnregistered(String provider, CallerIdentity identity) { in logProviderClientUnregistered()
149 public void logProviderClientActive(String provider, CallerIdentity identity) { in logProviderClientActive()
154 public void logProviderClientInactive(String provider, CallerIdentity identity) { in logProviderClientInactive()
159 public void logProviderClientForeground(String provider, CallerIdentity identity) { in logProviderClientForeground()
167 public void logProviderClientBackground(String provider, CallerIdentity identity) { in logProviderClientBackground()
175 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/pm/
DModuleInfoProviderTest.java47 ModuleInfoProvider provider = getProvider(R.xml.well_formed_metadata); in testSuccessfulParse() local
71 ModuleInfoProvider provider = getProvider(R.xml.unparseable_metadata1); in testParseFailure_incorrectTopLevelElement() local
76 ModuleInfoProvider provider = getProvider(R.xml.unparseable_metadata2); in testParseFailure_incorrectModuleElement() local
81 ModuleInfoProvider provider = getProvider(R.xml.well_formed_metadata); in testParse_unknownAttributesIgnored() local
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DFingerprintService.java139 final ServiceProvider provider = getProviderForSensor(sensorId); in createTestSession() local
155 final ServiceProvider provider = getProviderForSensor(sensorId); in dumpSensorServiceStateProto() local
179 final ServiceProvider provider = getProviderForSensor(sensorId); in getSensorProperties() local
193 final ServiceProvider provider = getProviderForSensor(sensorId); in generateChallenge() local
207 final ServiceProvider provider = getProviderForSensor(sensorId); in revokeChallenge() local
223 final Pair<Integer, ServiceProvider> provider = getSingleProvider(); in enroll() local
237 final Pair<Integer, ServiceProvider> provider = getSingleProvider(); in cancelEnrollment() local
284 final Pair<Integer, ServiceProvider> provider; in authenticate() local
410 final Pair<Integer, ServiceProvider> provider = getSingleProvider(); in detectFingerprint() local
427 final ServiceProvider provider = getProviderForSensor(sensorId); in prepareForAuthentication() local
[all …]
/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/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/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/services/core/java/com/android/server/timezonedetector/location/
DControllerImpl.java188 private void stopProviderIfStarted(@NonNull LocationTimeZoneProvider provider) { in stopProviderIfStarted()
195 private void stopProvider(@NonNull LocationTimeZoneProvider provider) { in stopProvider()
296 private void tryStartProvider(@NonNull LocationTimeZoneProvider provider, in tryStartProvider()
327 LocationTimeZoneProvider provider = providerState.provider; in onProviderStateChange() local
374 private void assertProviderKnown(@NonNull LocationTimeZoneProvider provider) { in assertProviderKnown()
435 LocationTimeZoneProvider provider = providerState.provider; in handleProviderStartedStateChange() local
484 private void handleProviderSuggestion( in handleProviderSuggestion()
561 void handleProviderUncertainty( in handleProviderUncertainty()
584 private void onProviderUncertaintyTimeout(@NonNull LocationTimeZoneProvider provider) { in onProviderUncertaintyTimeout()
/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/services/core/java/com/android/server/location/
DLocationShellCommand.java193 String provider = getNextArgRequired(); in handleAddTestProvider() local
275 String provider = getNextArgRequired(); in handleRemoveTestProvider() local
281 String provider = getNextArgRequired(); in handleSetTestProviderEnabled() local
288 String provider = getNextArgRequired(); in handleSetTestProviderLocation() local
338 String provider = getNextArgRequired(); in handleSendExtraCommand() 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/native/libs/binder/tests/parcel_fuzzer/
Dmain.cpp39 void fillRandomParcel(::android::hardware::Parcel* p, FuzzedDataProvider&& provider) { in fillRandomParcel()
44 static void fillRandomParcel(NdkParcelAdapter* p, FuzzedDataProvider&& provider) { in fillRandomParcel()
51 FuzzedDataProvider&& provider) { in doFuzz()
122 FuzzedDataProvider provider = FuzzedDataProvider(data, size); in LLVMFuzzerTestOneInput() local
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java695 public void updateAppWidget(ComponentName provider, RemoteViews views) { in updateAppWidget()
725 public void updateAppWidgetProviderInfo(ComponentName provider, @Nullable String metaDataKey) { in updateAppWidgetProviderInfo()
933 public void bindAppWidgetId(int appWidgetId, ComponentName provider) { in bindAppWidgetId()
956 public void bindAppWidgetId(int appWidgetId, ComponentName provider, Bundle options) { in bindAppWidgetId()
979 public boolean bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider) { in bindAppWidgetIdIfAllowed()
1005 public boolean bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider, in bindAppWidgetIdIfAllowed()
1034 ComponentName provider, Bundle options) { in bindAppWidgetIdIfAllowed()
1159 public int[] getAppWidgetIds(ComponentName provider) { in getAppWidgetIds()
1186 ComponentName provider, Bundle options) { in bindAppWidgetIdIfAllowed()
1214 public boolean requestPinAppWidget(@NonNull ComponentName provider, in requestPinAppWidget()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
DDeviceStateProviderImplTest.java119 DeviceStateProviderImpl provider = DeviceStateProviderImpl.createFromConfig(mContext, in assertDefaultProviderValues() local
146 DeviceStateProviderImpl provider = DeviceStateProviderImpl.createFromConfig(mContext, in create_multipleMatchingStatesDefaultsToLowestIdentifier() local
183 DeviceStateProviderImpl provider = DeviceStateProviderImpl.createFromConfig(mContext, in create_lidSwitch() local
259 DeviceStateProviderImpl provider = DeviceStateProviderImpl.createFromConfig(mContext, in create_sensor() local
345 DeviceStateProviderImpl provider = DeviceStateProviderImpl.createFromConfig(mContext, in create_invalidSensor() local
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsService.java43 public SettingsService(SettingsProvider provider) { in SettingsService()
119 MyShellCommand(SettingsProvider provider, boolean dumping) { in MyShellCommand()
300 List<String> listForUser(IContentProvider provider, int userHandle, String table) { in listForUser()
325 String getForUser(IContentProvider provider, int userHandle, in getForUser()
353 void putForUser(IContentProvider provider, int userHandle, final String table, in putForUser()
389 int deleteForUser(IContentProvider provider, int userHandle, in deleteForUser()
416 void resetForUser(IContentProvider provider, int userHandle, in resetForUser()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryUsageStatsProviderTest.java80 BatteryUsageStatsProvider provider = new BatteryUsageStatsProvider(context, batteryStats); in test_getBatteryUsageStats() local
113 BatteryUsageStatsProvider provider = new BatteryUsageStatsProvider(context, batteryStats); in testWriteAndReadHistory() local
182 BatteryUsageStatsProvider provider = new BatteryUsageStatsProvider(context, in shouldUpdateStats() local
209 BatteryUsageStatsProvider provider = new BatteryUsageStatsProvider(context, in testAggregateBatteryStats() local

12345678