Home
last modified time | relevance | path

Searched refs:getBinderService (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/logcat/
DLogcatManagerServiceTest.java139 mService.getBinderService().startThread(APP1_UID, APP1_GID, APP1_PID, FD1); in test_RequestFromBackground_DeclinedWithoutPrompt()
153 mService.getBinderService().startThread(APP1_UID, APP1_GID, APP1_PID, FD1); in test_RequestFromBackground_ApprovedIfInstrumented()
165 mService.getBinderService().startThread(APP1_UID, APP1_GID, APP1_PID, FD1); in test_RequestFromForegroundService_DeclinedWithoutPrompt()
177 mService.getBinderService().startThread(APP1_UID, APP1_GID, APP1_PID, FD1); in test_RequestFromTop_ShowsPrompt()
190 mService.getBinderService().startThread(APP1_UID, APP1_GID, APP1_PID, FD1); in test_RequestFromTop_NoInteractionWithPrompt_DeclinesAfterTimeout()
203 mService.getBinderService().startThread(APP1_UID, APP1_GID, APP1_PID, FD1); in test_RequestFromTop_Approved()
218 mService.getBinderService().startThread(APP1_UID, APP1_GID, APP1_PID, FD1); in test_RequestFromTop_Declined()
233 mService.getBinderService().startThread(APP1_UID, APP1_GID, APP1_PID, FD1); in test_RequestFromTop_MultipleRequestsApprovedTogether()
234 mService.getBinderService().startThread(APP1_UID, APP1_GID, APP1_PID, FD2); in test_RequestFromTop_MultipleRequestsApprovedTogether()
253 mService.getBinderService().startThread(APP1_UID, APP1_GID, APP1_PID, FD1); in test_RequestFromTop_MultipleRequestsDeclinedTogether()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
DDeviceStateManagerServiceTest.java223 mService.getBinderService().registerCallback(callback); in supportedStatesChanged()
251 mService.getBinderService().registerCallback(callback); in supportedStatesChanged_statesRemainSame()
286 DeviceStateInfo info = mService.getBinderService().getDeviceStateInfo(); in getDeviceStateInfo()
302 DeviceStateInfo info = mService.getBinderService().getDeviceStateInfo(); in getDeviceStateInfo_baseStateAndCommittedStateNotSet()
312 mService.getBinderService().registerCallback(callback); in registerCallback()
348 mService.getBinderService().registerCallback(callback); in registerCallback_emitsInitialValue()
364 mService.getBinderService().registerCallback(callback); in registerCallback_initialValueUnavailable()
373 mService.getBinderService().registerCallback(callback); in requestState()
380 mService.getBinderService().requestState(token, OTHER_DEVICE_STATE.getIdentifier(), in requestState()
398 mService.getBinderService().cancelStateRequest(); in requestState()
[all …]
/frameworks/base/services/fakes/java/com/android/server/example/
DRedManagerService.java49 mService.mBlueService = getBinderService(BlueManager.SERVICE_NAME); in onBootPhase()
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java72 mUm = (IUserManager) getBinderService(Context.USER_SERVICE); in RestrictionsManagerImpl()
73 mDpm = (IDevicePolicyManager) getBinderService(Context.DEVICE_POLICY_SERVICE); in RestrictionsManagerImpl()
/frameworks/base/services/core/java/com/android/server/
DSystemService.java616 protected final IBinder getBinderService(String name) { in getBinderService() method in SystemService
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java852 mBinderService = mService.getBinderService(); in initNMS()
2794 mService.getBinderService().cancelNotificationWithTag( in testCancelNotificationWithTag_fromApp_cannotCancelFgsChild()
2821 mService.getBinderService().cancelNotificationWithTag( in testCancelNotificationWithTag_fromApp_cannotCancelFgsParent()
2845 mService.getBinderService().cancelNotificationWithTag( in testCancelNotificationWithTag_fromApp_canCancelOngoingNoClearChild()
2869 mService.getBinderService().cancelNotificationWithTag( in testCancelNotificationWithTag_fromApp_canCancelOngoingNoClearParent()
2899 mService.getBinderService().cancelAllNotifications( in testCancelAllNotificationsFromApp_cannotCancelFgsChild()
2928 mService.getBinderService().cancelAllNotifications( in testCancelAllNotifications_fromApp_cannotCancelFgsParent()
2954 mService.getBinderService().cancelAllNotifications( in testCancelAllNotifications_fromApp_canCancelOngoingNoClearChild()
2980 mService.getBinderService().cancelAllNotifications( in testCancelAllNotifications_fromApp_canCancelOngoingNoClearParent()
3004 mService.getBinderService().cancelNotificationsFromListener(null, null); in testCancelNotificationsFromListener_clearAll_GroupWithOngoingParent()
[all …]
DNotificationShellCmdTest.java84 when(mMockService.getBinderService()).thenReturn(mMockBinderService); in setUp()
DNotificationAssistantsTest.java109 when(mNm.getBinderService()).thenReturn(mINm); in setUp()
DNotificationListenersTest.java148 when(mNm.getBinderService()).thenReturn(mINm); in setUp()
/frameworks/base/services/core/java/com/android/server/logcat/
DLogcatManagerService.java334 ILogcatManagerService getBinderService() { in getBinderService() method in LogcatManagerService
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationShellCmd.java123 mBinderService = service.getBinderService(); in NotificationShellCmd()
DNotificationManagerService.java1032 getBinderService().setNotificationPolicyAccessGrantedForUser(packageName, userId, true); in allowDndPackage()
1041 getBinderService().setNotificationListenerAccessGrantedForUser(cn, in allowNotificationListener()
3271 INotificationManager getBinderService() {
/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateManagerService.java432 IDeviceStateManager getBinderService() { in getBinderService() method in DeviceStateManagerService
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java5576 IAlarmManager getBinderService() { in getBinderService() method in AlarmManagerService.ShellCmd
5591 return (getBinderService().setTime(millis)) ? 0 : -1; in onCommand()
5594 getBinderService().setTimeZone(tz); in onCommand()
5597 final int version = getBinderService().getConfigVersion(); in onCommand()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraServiceProxy.java1168 IBinder cameraServiceBinder = getBinderService(CAMERA_SERVICE_BINDER_NAME); in getCameraServiceRawLocked()
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerService.java159 IBinder mediaResourceManagerBinder = getBinderService("media.resource_manager"); in onStart()
/frameworks/base/services/
Dart-wear-profile2906 PLcom/android/server/SystemService;->getBinderService(Ljava/lang/String;)Landroid/os/IBinder;