Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DModuleInfoProviderTest.java49 ModuleInfoProvider provider = getProvider(R.xml.well_formed_metadata); in testSuccessfulParse()
73 ModuleInfoProvider provider = getProvider(R.xml.unparseable_metadata1); in testParseFailure_incorrectTopLevelElement()
78 ModuleInfoProvider provider = getProvider(R.xml.unparseable_metadata2); in testParseFailure_incorrectModuleElement()
83 ModuleInfoProvider provider = getProvider(R.xml.well_formed_metadata); in testParse_unknownAttributesIgnored()
97 private ModuleInfoProvider getProvider(int resourceId) { in getProvider() method in ModuleInfoProviderTest
/frameworks/base/core/java/android/animation/
DAnimationHandler.java87 doAnimationFrame(getProvider().getFrameTime());
89 getProvider().postFrameCallback(this);
281 private AnimationFrameCallbackProvider getProvider() { in getProvider() method in AnimationHandler
293 getProvider().postFrameCallback(mFrameCallback); in addAnimationFrameCallback()
346 getProvider().postCommitCallback(new Runnable() { in doAnimationFrame()
349 commitAnimationFrame(callback, getProvider().getFrameTime()); in doAnimationFrame()
399 getInstance().getProvider().setFrameDelay(delay); in setFrameDelay()
403 return getInstance().getProvider().getFrameDelay(); in getFrameDelay()
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractTest.java74 mProvider = getProvider(); in setUp()
241 FontsContract.getProvider(mPackageManager, request); in testGetProvider_providerNotFound()
253 ProviderInfo result = FontsContract.getProvider(mPackageManager, request); in testGetProvider_providerIsSystemApp()
264 FontsContract.getProvider( in testGetProvider_providerIsSystemAppWrongPackage()
278 assertNull(FontsContract.getProvider(mPackageManager, request)); in testGetProvider_providerIsNonSystemAppNoCerts()
291 assertNull(FontsContract.getProvider(mPackageManager, requestWrongCerts)); in testGetProvider_providerIsNonSystemAppWrongCerts()
302 ProviderInfo result = FontsContract.getProvider( in testGetProvider_providerIsNonSystemAppCorrectCerts()
317 assertNull(FontsContract.getProvider(mPackageManager, requestRightCerts)); in testGetProvider_providerIsNonSystemAppMoreCerts()
341 assertNull(FontsContract.getProvider(mPackageManager, requestRightCerts)); in testGetProvider_providerIsNonSystemAppDuplicateCerts()
354 ProviderInfo result = FontsContract.getProvider(mPackageManager, requestRightCerts); in testGetProvider_providerIsNonSystemAppCorrectCertsSeveralSets()
[all …]
DDocumentsProviderTest.java51 mProvider = getProvider(); in setUp()
/frameworks/base/core/java/android/webkit/
DPacProcessor.java43 return WebViewFactory.getProvider().getPacProcessor(); in getInstance()
57 return WebViewFactory.getProvider().createPacProcessor(); in createInstance()
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.java103 return WebViewFactory.getProvider().getWebIconDatabase(); in getInstance()
DWebStorage.java183 return WebViewFactory.getProvider().getWebStorage(); in getInstance()
DCookieManager.java50 return WebViewFactory.getProvider().getCookieManager(); in getInstance()
DWebChromeClient.java582 … return WebViewFactory.getProvider().getStatics().parseFileChooserResult(resultCode, data); in parseResult()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationListenerWithPlugins.java81 mPlugins.forEach(p -> p.onListenerConnected(getProvider())); in onPluginConnected()
137 plugin.onListenerConnected(getProvider()); in onPluginConnected()
146 private NotificationProvider getProvider() { in getProvider() method in NotificationListenerWithPlugins
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DMockableLocationProviderTest.java86 assertThat(mProvider.getProvider()).isEqualTo(mRealProvider); in testSetProvider()
89 assertThat(mProvider.getProvider()).isEqualTo(mMockProvider); in testSetProvider()
92 assertThat(mProvider.getProvider()).isEqualTo(mRealProvider); in testSetProvider()
95 assertThat(mProvider.getProvider()).isNull(); in testSetProvider()
/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.java110 return row.getProvider() != null && row.getProvider().isMenuVisible(); in isMenuVisible()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DExportTestResolver.java34 public ExportTestProvider getProvider() { in getProvider() method in ExportTestResolver
/frameworks/av/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt3 Landroid/media/MediaSession2$ControllerInfo;->getProvider()Landroid/media/update/MediaSession2Provi…
/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/services/core/java/com/android/server/location/provider/
DPassiveLocationProviderManager.java58 PassiveLocationProvider passive = (PassiveLocationProvider) mProvider.getProvider(); in updateLocation()
/frameworks/base/services/core/java/com/android/server/pm/resolution/
DComponentResolverLocked.java63 public ParsedProvider getProvider(@NonNull ComponentName component) { in getProvider() method in ComponentResolverLocked
65 return super.getProvider(component); in getProvider()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java1336 mProviderRecords.get(i).getProvider().setDiscoveryMode(mDiscoveryMode); in updateDiscoveryRequest()
1352 routeRecord.getProvider().setSelectedDisplay(routeRecord.getDescriptorId()); in selectRoute()
1370 mSelectedRouteRecord.getProvider().setSelectedDisplay(null); in unselectSelectedRoute()
1381 mSelectedRouteRecord.getProvider().setDisplayVolume(volume); in requestSetVolume()
1388 mSelectedRouteRecord.getProvider().adjustDisplayVolume(direction); in requestUpdateVolume()
1625 if (record.getProvider() == provider) { in findProviderRecord()
1671 public RemoteDisplayProviderProxy getProvider() { in getProvider() method in MediaRouterService.UserHandler.ProviderRecord
1800 public RemoteDisplayProviderProxy getProvider() { in getProvider() method in MediaRouterService.UserHandler.RouteRecord
1801 return mProviderRecord.getProvider(); in getProvider()
/frameworks/base/services/tests/servicestests/src/com/android/server/location/countrydetector/
DLocationBasedCountryDetectorTest.java68 if (mLocation.getProvider().endsWith(location.getProvider())) { in getCountryFromLocation()

123