Home
last modified time | relevance | path

Searched refs:getProvider (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/core/java/android/animation/
DAnimationHandler.java54 doAnimationFrame(getProvider().getFrameTime());
56 getProvider().postFrameCallback(this);
83 private AnimationFrameCallbackProvider getProvider() { in getProvider() method in AnimationHandler
95 getProvider().postFrameCallback(mFrameCallback); in addAnimationFrameCallback()
148 getProvider().postCommitCallback(new Runnable() { in doAnimationFrame()
151 commitAnimationFrame(callback, getProvider().getFrameTime()); in doAnimationFrame()
198 getInstance().getProvider().setFrameDelay(delay); in setFrameDelay()
202 return getInstance().getProvider().getFrameDelay(); in getFrameDelay()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DModuleInfoProviderTest.java29 ModuleInfoProvider provider = getProvider(R.xml.well_formed_metadata); in testSuccessfulParse()
51 ModuleInfoProvider provider = getProvider(R.xml.unparseable_metadata1); in testParseFailure_incorrectTopLevelElement()
56 ModuleInfoProvider provider = getProvider(R.xml.unparseable_metadata2); in testParseFailure_incorrectModuleElement()
61 ModuleInfoProvider provider = getProvider(R.xml.well_formed_metadata); in testParse_unknownAttributesIgnored()
75 private ModuleInfoProvider getProvider(int resourceId) { in getProvider() method in ModuleInfoProviderTest
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractTest.java73 mProvider = getProvider(); in setUp()
240 FontsContract.getProvider(mPackageManager, request); in testGetProvider_providerNotFound()
252 ProviderInfo result = FontsContract.getProvider(mPackageManager, request); in testGetProvider_providerIsSystemApp()
263 FontsContract.getProvider( in testGetProvider_providerIsSystemAppWrongPackage()
277 assertNull(FontsContract.getProvider(mPackageManager, request)); in testGetProvider_providerIsNonSystemAppNoCerts()
289 assertNull(FontsContract.getProvider(mPackageManager, requestWrongCerts)); in testGetProvider_providerIsNonSystemAppWrongCerts()
299 ProviderInfo result = FontsContract.getProvider( in testGetProvider_providerIsNonSystemAppCorrectCerts()
313 assertNull(FontsContract.getProvider(mPackageManager, requestRightCerts)); in testGetProvider_providerIsNonSystemAppMoreCerts()
336 assertNull(FontsContract.getProvider(mPackageManager, requestRightCerts)); in testGetProvider_providerIsNonSystemAppDuplicateCerts()
349 ProviderInfo result = FontsContract.getProvider(mPackageManager, requestRightCerts); in testGetProvider_providerIsNonSystemAppCorrectCertsSeveralSets()
[all …]
DDocumentsProviderTest.java51 mProvider = getProvider(); in setUp()
/frameworks/base/location/tests/locationtests/src/android/location/
DLocationManagerTest.java42 LocationProvider p = manager.getProvider("bogus"); in testGetBogusProvider()
47 LocationProvider p = manager.getProvider("network"); in testGetNetworkProvider()
52 LocationProvider p = manager.getProvider("gps"); in testGetGpsProvider()
81 LocationProvider p = manager.getProvider("gps"); in testGpsTracklog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationListenerWithPlugins.java76 mPlugins.forEach(p -> p.onListenerConnected(getProvider())); in onPluginConnected()
115 plugin.onListenerConnected(getProvider()); in onPluginConnected()
124 private NotificationProvider getProvider() { in getProvider() method in NotificationListenerWithPlugins
/frameworks/base/test-runner/src/android/test/
DProviderTestCase.java54 public T getProvider() { in getProvider() method in ProviderTestCase
72 mResolver.addProvider(mProviderAuthority, getProvider()); in setUp()
DProviderTestCase2.java115 public T getProvider() { in getProvider() method in ProviderTestCase2
144 mResolver.addProvider(mProviderAuthority, getProvider()); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationClicker.java89 return row.getProvider() != null && row.getProvider().isMenuVisible(); in isMenuVisible()
/frameworks/base/core/java/android/webkit/
DServiceWorkerController.java57 return WebViewFactory.getProvider().getServiceWorkerController(); in getInstance()
DTracingController.java63 return WebViewFactory.getProvider().getTracingController(); in getInstance()
DGeolocationPermissions.java72 return WebViewFactory.getProvider().getGeolocationPermissions(); in getInstance()
DWebViewDatabase.java47 return WebViewFactory.getProvider().getWebViewDatabase(context); in getInstance()
DWebIconDatabase.java102 return WebViewFactory.getProvider().getWebIconDatabase(); in getInstance()
DWebStorage.java194 return WebViewFactory.getProvider().getWebStorage(); in getInstance()
DCookieManager.java47 return WebViewFactory.getProvider().getCookieManager(); in getInstance()
DWebChromeClient.java479 … return WebViewFactory.getProvider().getStatics().parseFileChooserResult(resultCode, data); in parseResult()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DExportTestResolver.java34 public ExportTestProvider getProvider() { in getProvider() method in ExportTestResolver
/frameworks/base/services/core/java/com/android/server/slice/
DSlicePermissionManager.java108 SliceProviderPermissions provider = getProvider(providerPkgUser); in grantSliceAccess()
124 SliceProviderPermissions provider = getProvider(pkgUser); in removePkg()
138 for (SliceAuthority authority : getProvider(new PkgUser(pkg, 0)).getAuthorities()) { in getAllPackagesGranted()
277 private SliceProviderPermissions getProvider(PkgUser pkgUser) { in getProvider() method in SlicePermissionManager
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusionEngine.java228 if (GPS.equals(location.getProvider())) { in onLocationChanged()
231 } else if (NETWORK.equals(location.getProvider())) { in onLocationChanged()
/frameworks/base/core/java/android/bluetooth/
DBluetoothHidDeviceAppSdpSettings.java78 public String getProvider() { in getProvider() method in BluetoothHidDeviceAppSdpSettings
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java1029 mProviderRecords.get(i).getProvider().setDiscoveryMode(mDiscoveryMode); in updateDiscoveryRequest()
1045 routeRecord.getProvider().setSelectedDisplay(routeRecord.getDescriptorId()); in selectRoute()
1063 mSelectedRouteRecord.getProvider().setSelectedDisplay(null); in unselectSelectedRoute()
1074 mSelectedRouteRecord.getProvider().setDisplayVolume(volume); in requestSetVolume()
1081 mSelectedRouteRecord.getProvider().adjustDisplayVolume(direction); in requestUpdateVolume()
1319 if (record.getProvider() == provider) { in findProviderRecord()
1365 public RemoteDisplayProviderProxy getProvider() { in getProvider() method in MediaRouterService.UserHandler.ProviderRecord
1494 public RemoteDisplayProviderProxy getProvider() { in getProvider() method in MediaRouterService.UserHandler.RouteRecord
1495 return mProviderRecord.getProvider(); in getProvider()
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
DLocationBasedCountryDetectorTest.java68 if (mLocation.getProvider().endsWith(location.getProvider())) { in getCountryFromLocation()
/frameworks/base/services/core/java/com/android/server/
DLocationUsageLogger.java208 : providerNameToStatsdEnum(locationRequest.getProvider()), in logLocationApiUsage()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyRequestMapper.java392 params.setGpsProcessingMethod(location.getProvider().toUpperCase()); in convertRequestMetadata()
459 return location != null && location.getProvider() != null && location.getTime() != 0; in checkForCompleteGpsData()

123