Home
last modified time | relevance | path

Searched defs:manager (Results 1 – 25 of 218) sorted by relevance

123456789

/frameworks/base/services/tests/servicestests/src/com/android/server/contentprotection/
DContentProtectionConsentManagerTest.java109 ContentProtectionConsentManager manager = in isConsentGranted_policyFlagDisabled_packageVerifierNotGranted() local
122 ContentProtectionConsentManager manager = in isConsentGranted_policyFlagEnabled_packageVerifierNotGranted() local
135 ContentProtectionConsentManager manager = in isConsentGranted_policyFlagDisabled_contentProtectionNotGranted() local
148 ContentProtectionConsentManager manager = in isConsentGranted_policyFlagDisabled_packageVerifierGranted_userNotManaged() local
163 ContentProtectionConsentManager manager = in isConsentGranted_policyFlagDisabled_packageVerifierGranted_userManaged() local
175 ContentProtectionConsentManager manager = in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userNotManaged_contentProtectionNotGranted() local
188 ContentProtectionConsentManager manager = in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userNotManaged_contentProtectionGranted() local
205 ContentProtectionConsentManager manager = in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userManaged_policyDisabled() local
222 ContentProtectionConsentManager manager = in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userManaged_policyEnabled() local
239 ContentProtectionConsentManager manager = in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userManaged_policyNotControlled_contentProtectionGranted() local
[all …]
DContentProtectionAllowlistManagerTest.java244 ContentProtectionAllowlistManager manager = new TestContentProtectionAllowlistManager(); in isAllowed_false() local
259 ContentProtectionAllowlistManager manager = new TestContentProtectionAllowlistManager(); in isAllowed_true() local
274 ContentProtectionAllowlistManager manager = new TestContentProtectionAllowlistManager(); in handlePackagesChanged_noService() local
286 ContentProtectionAllowlistManager manager = new TestContentProtectionAllowlistManager(); in handlePackagesChanged_withService() local
300 ContentProtectionAllowlistManager manager = new TestContentProtectionAllowlistManager(); in handlePackagesChanged_withServiceException() local
318 ContentProtectionAllowlistManager manager = new TestContentProtectionAllowlistManager(); in handlePackagesChanged_rateLimit_noService() local
331 ContentProtectionAllowlistManager manager = new TestContentProtectionAllowlistManager(); in handlePackagesChanged_rateLimit_beforeTimeout() local
347 ContentProtectionAllowlistManager manager = in handlePackagesChanged_rateLimit_afterTimeout() local
365 ContentProtectionAllowlistManager manager = new TestContentProtectionAllowlistManager(); in handlePackagesChanged_rateLimit_afterUpdate() local
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityManagerTest.java128 AccessibilityManager manager = in createManager() local
140 AccessibilityManager manager = createManager(WITH_A11Y_ENABLED); in testRemoveManager() local
158 AccessibilityManager manager = createManager(true); in testGetAccessibilityServiceList() local
169 AccessibilityManager manager = createManager(WITH_A11Y_ENABLED); in testInterrupt() local
177 AccessibilityManager manager = createManager(WITH_A11Y_ENABLED); in testRegisterSystemAction() local
191 AccessibilityManager manager = createManager(WITH_A11Y_ENABLED); in testUnregisterSystemAction() local
201 AccessibilityManager manager = createManager(WITH_A11Y_ENABLED); in testIsEnabled() local
214 AccessibilityManager manager = createManager(WITH_A11Y_DISABLED); in testSendAccessibilityEvent_AccessibilityDisabled() local
228 AccessibilityManager manager = createManager(WITH_A11Y_ENABLED); in testSetMagnificationConnection() local
239 AccessibilityManager manager = in testGetDefaultValueOfFocusAppearanceData() local
[all …]
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureManagerTest.java64 ContentCaptureManager manager = in testConstructor_contentProtection_default_bufferNotCreated() local
81 ContentCaptureManager manager = in testConstructor_contentProtection_disabled_bufferNotCreated() local
98 ContentCaptureManager manager = in testConstructor_contentProtection_invalidBufferSize_bufferNotCreated() local
115 ContentCaptureManager manager = in testConstructor_contentProtection_enabled_bufferCreated() local
132 final ContentCaptureManager manager = in testRemoveData_invalidParametersThrowsException() local
141 final ContentCaptureManager manager = in testFlushViewTreeAppearingEventDisabled_setAndGet() local
153 final ContentCaptureManager manager = in testUpdateWindowAttribute_setFlagSecure() local
167 final ContentCaptureManager manager = in testUpdateWindowAttribute_clearFlagSecure() local
184 final ContentCaptureManager manager = in testUpdateWindowAttribute_clearFlagSecureAfterDisabledByApp() local
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/media/
DInfoMediaManagerIntegTest.java66 InfoMediaManager manager = in createInstance_withMR2FlagOn_returnsRouterInfoMediaManager() local
75 InfoMediaManager manager = in createInstance_withMR2FlagOn_withFakePackage_returnsNoOpInfoMediaManager() local
83 InfoMediaManager manager = in createInstance_withMR2FlagOn_withNullPackage_returnsRouterInfoMediaManager() local
91 InfoMediaManager manager = in createInstance_withMR2FlagOff_returnsManagerInfoMediaManager() local
/frameworks/av/camera/ndk/
DNdkCameraManager.cpp42 void ACameraManager_delete(ACameraManager* manager) { in ACameraManager_delete()
51 ACameraManager* manager, ACameraIdList** cameraIdList) { in ACameraManager_getCameraIdList()
71 ACameraManager* manager, const ACameraManager_AvailabilityCallbacks* callback) { in ACameraManager_registerAvailabilityCallback()
90 ACameraManager* manager, const ACameraManager_AvailabilityCallbacks* callback) { in ACameraManager_unregisterAvailabilityCallback()
109 ACameraManager* manager, const ACameraManager_ExtendedAvailabilityCallbacks* callback) { in ACameraManager_registerExtendedAvailabilityCallback()
140 ACameraManager* manager, const ACameraManager_ExtendedAvailabilityCallbacks* callback) { in ACameraManager_unregisterExtendedAvailabilityCallback()
/frameworks/base/packages/SystemUI/plugin_core/src/com/android/systemui/plugins/
DPluginListener.java72 default boolean onPluginAttached(PluginLifecycleManager<T> manager) { in onPluginAttached()
94 default void onPluginDetached(PluginLifecycleManager<T> manager) { in onPluginDetached()
107 PluginLifecycleManager<T> manager in onPluginLoaded()
119 default void onPluginUnloaded(T plugin, PluginLifecycleManager<T> manager) { in onPluginUnloaded()
/frameworks/base/services/tests/servicestests/src/com/android/server/lights/
DLightsServiceTest.java113 LightsManager manager = new SystemLightsManager(mContext, service.mManagerService); in testGetLights_filtersSystemLights() local
122 LightsManager manager = new SystemLightsManager(mContext, service.mManagerService); in testControlMultipleLights() local
144 LightsManager manager = new SystemLightsManager(mContext, service.mManagerService); in testControlLights_onlyEffectiveForLifetimeOfClient() local
166 LightsManager manager = new SystemLightsManager(mContext, service.mManagerService); in testControlLights_firstCallerWinsContention() local
194 LightsManager manager = new SystemLightsManager(mContext, service.mManagerService); in testClearLight() local
211 LightsManager manager = new SystemLightsManager(mContext, service.mManagerService); in testControlLights_higherPriorityCallerWinsContention() local
/frameworks/base/media/java/android/media/
DIMediaRouterService.aidl77 List<RoutingSessionInfo> getRemoteSessions(IMediaRouter2Manager manager); in getRemoteSessions()
80 void registerManager(IMediaRouter2Manager manager, String packageName); in registerManager()
81 …void registerProxyRouter(IMediaRouter2Manager manager, String callingPackageName, String targetPac… in registerProxyRouter()
82 void unregisterManager(IMediaRouter2Manager manager); in unregisterManager()
83 void setRouteVolumeWithManager(IMediaRouter2Manager manager, int requestId, in setRouteVolumeWithManager()
85 …void updateScanningState(IMediaRouter2Manager manager, @JavaPassthrough(annotation="@android.media… in updateScanningState()
87 void requestCreateSessionWithManager(IMediaRouter2Manager manager, int requestId, in requestCreateSessionWithManager()
90 void selectRouteWithManager(IMediaRouter2Manager manager, int requestId, in selectRouteWithManager()
92 void deselectRouteWithManager(IMediaRouter2Manager manager, int requestId, in deselectRouteWithManager()
95 void transferToRouteWithManager(IMediaRouter2Manager manager, int requestId, in transferToRouteWithManager()
[all …]
/frameworks/base/native/android/tests/performance_hint/
DPerformanceHintNativeTest.cpp99 APerformanceHintSession* createSession(APerformanceHintManager* manager, in createSession()
147 APerformanceHintManager* manager = createManager(); in TEST_F() local
153 APerformanceHintManager* manager = createManager(); in TEST_F() local
197 APerformanceHintManager* manager = createManager(); in TEST_F() local
207 APerformanceHintManager* manager = createManager(); in TEST_F() local
214 APerformanceHintManager* manager = createManager(); in TEST_F() local
242 APerformanceHintManager* manager = createManager(); in TEST_F() local
256 APerformanceHintManager* manager = createManager(); in TEST_F() local
281 APerformanceHintManager* manager = createManager(); in TEST_F() local
/frameworks/base/core/java/android/webkit/
DWebViewUpdateService.java37 WebViewUpdateManager manager = WebViewUpdateManager.getInstance(); in getAllWebViewPackages() local
60 WebViewUpdateManager manager = WebViewUpdateManager.getInstance(); in getValidWebViewPackages() local
83 WebViewUpdateManager manager = WebViewUpdateManager.getInstance(); in getCurrentWebViewPackageName() local
/frameworks/base/native/android/
Dsensor.cpp76 int ASensorManager_getSensorList(ASensorManager* manager, ASensorList* list) { in ASensorManager_getSensorList()
86 ssize_t ASensorManager_getDynamicSensorList(ASensorManager* manager, ASensorList* list) { in ASensorManager_getDynamicSensorList()
96 ASensor const* ASensorManager_getDefaultSensor(ASensorManager* manager, int type) { in ASensorManager_getDefaultSensor()
101 ASensor const* ASensorManager_getDefaultSensorEx(ASensorManager* manager, int type, bool wakeUp) { in ASensorManager_getDefaultSensorEx()
114 ASensorEventQueue* ASensorManager_createEventQueue(ASensorManager* manager, in ASensorManager_createEventQueue()
134 int ASensorManager_destroyEventQueue(ASensorManager* manager, ASensorEventQueue* queue) { in ASensorManager_destroyEventQueue()
144 int ASensorManager_createSharedMemoryDirectChannel(ASensorManager *manager, int fd, size_t size) { in ASensorManager_createSharedMemoryDirectChannel()
170 ASensorManager *manager, AHardwareBuffer const *buffer, size_t size) { in ASensorManager_createHardwareBufferDirectChannel()
192 void ASensorManager_destroyDirectChannel(ASensorManager *manager, int channelId) { in ASensorManager_destroyDirectChannel()
199 ASensorManager *manager, ASensor const *sensor, int channelId, int rate) { in ASensorManager_configureDirectReport()
Dthermal.cpp250 auto manager = AThermalManager::createAThermalManager(); in AThermal_acquireManager() local
262 void AThermal_releaseManager(AThermalManager *manager) { in AThermal_releaseManager()
274 AThermalStatus AThermal_getCurrentThermalStatus(AThermalManager *manager) { in AThermal_getCurrentThermalStatus()
296 int AThermal_registerThermalStatusListener(AThermalManager *manager, in AThermal_registerThermalStatusListener()
314 int AThermal_unregisterThermalStatusListener(AThermalManager *manager, in AThermal_unregisterThermalStatusListener()
336 float AThermal_getThermalHeadroom(AThermalManager *manager, int forecastSeconds) { in AThermal_getThermalHeadroom()
345 int AThermal_getThermalHeadroomThresholds(AThermalManager *manager, in AThermal_getThermalHeadroomThresholds()
/frameworks/base/location/java/android/location/provider/
DLocationProviderBase.java164 ILocationProviderManager manager = mManager; in setAllowed() local
192 ILocationProviderManager manager = mManager; in setProperties() local
215 ILocationProviderManager manager = mManager; in reportLocation() local
232 ILocationProviderManager manager = mManager; in reportLocations() local
316 public void setLocationProviderManager(ILocationProviderManager manager) { in setLocationProviderManager()
355 ILocationProviderManager manager = mManager; in onFlushComplete() local
/frameworks/av/services/camera/libcameraservice/utils/
DAutoConditionLock.cpp26 AutoConditionLock::AutoConditionLock(const std::shared_ptr<WaitableMutexWrapper>& manager) : in AutoConditionLock()
39 const std::shared_ptr<WaitableMutexWrapper>& manager, nsecs_t waitTime) { in waitAndAcquire()
69 const std::shared_ptr<WaitableMutexWrapper>& manager) { in waitAndAcquire()
/frameworks/base/location/lib/java/com/android/location/provider/
DLocationProviderBase.java185 ILocationProviderManager manager = mManager; in setAllowed() local
207 ILocationProviderManager manager = mManager; in setProperties() local
253 ILocationProviderManager manager = mManager; in reportLocation() local
270 ILocationProviderManager manager = mManager; in reportLocations() local
368 public void setLocationProviderManager(ILocationProviderManager manager) { in setLocationProviderManager()
395 ILocationProviderManager manager = mManager; in onFlushComplete() local
/frameworks/base/core/java/android/service/timezone/
DTimeZoneProviderService.java229 ITimeZoneProviderManager manager = mManager; in reportSuggestionInternal() local
275 ITimeZoneProviderManager manager = mManager; in reportUncertainInternal() local
302 ITimeZoneProviderManager manager = mManager; in reportPermanentFailure() local
342 private void onStartUpdatesInternal(@NonNull ITimeZoneProviderManager manager, in onStartUpdatesInternal()
405 public void startUpdates(@NonNull ITimeZoneProviderManager manager, in startUpdates()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationJavaUtil.java53 static int setStatusForceNullable(@NonNull DomainVerificationManager manager, in setStatusForceNullable()
59 static int setUserSelectionForceNullable(@NonNull DomainVerificationManager manager, in setUserSelectionForceNullable()
65 static SortedSet<DomainOwner> getOwnersForDomain(@NonNull DomainVerificationManager manager, in getOwnersForDomain()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ui/
DStatusBarIconControllerTest.java78 TestIconManager manager = in testSetCalledOnAdd_IconManager() local
86 TestDarkIconManager manager = new TestDarkIconManager( in testSetCalledOnAdd_DarkIconManager() local
98 IconManager manager = mock(IconManager.class); in testRemoveIcon_ignoredForNewPipeline() local
125 private <T extends IconManager & TestableIconManager> void testCallOnAdd_forManager(T manager) { in testCallOnAdd_forManager()
/frameworks/base/services/core/java/com/android/server/location/
DLocationManagerService.java354 LocationProviderManager manager = new LocationProviderManager(mContext, mInjector, in getOrAddLocationProviderManager() local
363 LocationProviderManager manager, @Nullable AbstractLocationProvider realProvider) { in addLocationProviderManager()
390 private void removeLocationProviderManager(LocationProviderManager manager) { in removeLocationProviderManager()
541 final LocationProviderManager manager = getOrAddLocationProviderManager(name); in onSystemThirdPartyAppsCanStart() local
801 LocationProviderManager manager = getLocationProviderManager(provider); in getCurrentLocation() local
844 LocationProviderManager manager = getLocationProviderManager(provider); in registerLocationListener() local
893 LocationProviderManager manager = getLocationProviderManager(provider); in registerLocationPendingIntent() local
978 LocationProviderManager manager = getLocationProviderManager(provider); in requestListenerFlush() local
988 LocationProviderManager manager = getLocationProviderManager(provider); in requestPendingIntentFlush() local
1040 LocationProviderManager manager = getLocationProviderManager(provider); in getLastLocation() local
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsProviderLifecycleManagerTest.kt77 private lateinit var manager: ControlsProviderLifecycleManager variable in com.android.systemui.controls.controller.ControlsProviderLifecycleManagerTest
248 val manager = ControlsProviderLifecycleManager( in testFalseBindCallsUnbind() constant
287 val manager = ControlsProviderLifecycleManager( in testOnPackageUpdateWhileBound_unbound_thenBindAgain() constant
342 val manager = ControlsProviderLifecycleManager( in testRebindForPanelWithSameFlags() constant
371 val manager = ControlsProviderLifecycleManager( in testBindAfterSecurityExceptionWorks() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/ambient/touch/scrim/
DScrimManagerTest.java68 final ScrimManager manager = new ScrimManager(mExecutor, mBouncerScrimController, in testControllerSelection() local
84 final ScrimManager manager = new ScrimManager(mExecutor, mBouncerScrimController, in testCallback() local
/frameworks/base/services/core/java/com/android/server/
DLocalManagerRegistry.java64 T manager = getManager(managerClass); in getManagerOrThrow() local
78 public static <T> void addManager(@NonNull Class<T> managerClass, @NonNull T manager) { in addManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileServicesTest.java227 TileServiceManager manager = mTileService.getTileWrapper(mockTile); in testRequestListeningStatusCommand() local
247 TileServiceManager manager = mTileService.getTileWrapper(mockTile); in testRequestListeningStatusCommand_onStartListeningFromRequest() local
289 TileServiceManager manager = mTileService.getTileWrapper(tile); in testOnStartActivityCollapsesPanel() local
301 TileServiceManager manager = mTileService.getTileWrapper(tile); in testOnShowDialogCollapsesPanel() local
393 TileServiceManager manager = mock(TileServiceManager.class); in onCreateTileService() local
/frameworks/native/cmds/servicemanager/
Dmain.cpp75 const sp<ServiceManager>& manager, in setupTo()
121 ClientCallbackCallback(const sp<ServiceManager>& manager) : mManager(manager) {} in ClientCallbackCallback()
143 sp<ServiceManager> manager = sp<ServiceManager>::make(std::make_unique<Access>()); in main() local

123456789