Searched refs:getCurrentUserIdLocked (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityManagerServiceTest.java | 267 mA11yms.getCurrentUserIdLocked(), mTestableContext, mA11yms); in setUp() 268 mA11yms.mUserStates.put(mA11yms.getCurrentUserIdLocked(), userState); in setUp() 286 mA11yms.getCurrentUserIdLocked()); in setupAccessibilityServiceConnection() 356 mA11yms.getCurrentUserIdLocked()); in testOnSystemActionsChanged() 453 mA11yms.getCurrentUserIdLocked()); in testOnMagnificationTransitionFailed_capabilitiesIsAll_fallBackToPreviousMode() 470 mA11yms.getCurrentUserIdLocked()); in testOnMagnificationTransitionSuccess_capabilitiesIsAll_inputFilterRefreshMode() 490 mA11yms.getCurrentUserIdLocked()); in testChangeMagnificationModeOnDefaultDisplay_capabilitiesIsAll_persistChangedMode() 507 mA11yms.getCurrentUserIdLocked()); in testChangeMagnificationModeOnDefaultDisplay_capabilitiesIsAll_persistChangedMode() 520 mA11yms.getCurrentUserIdLocked()); in testChangeMagnificationModeOnTestDisplay_capabilitiesIsAll_transitMode() 537 mA11yms.getCurrentUserIdLocked()); in testFollowTypingEnabled_defaultEnabledAndThenDisable_propagateToController() [all …]
|
D | AccessibilitySecurityPolicyTest.java | 454 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveProfileParent_userIdIsCurrentUser_returnCurrentUser() 465 when(mMockA11yUserManager.getCurrentUserIdLocked()).thenReturn(currentUserId); in resolveProfileParent_userIdNotCurrentUser_shouldGetProfileParent() 487 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveCallingUserId_callingParentIsCurrentUser_returnCurrentUser() 503 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveCallingUserId_callingParentNotCurrentUserAndNoPerm_shouldException() 523 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveCallingUserId_anotherUserIdWithCrossUserPermission_returnUserId() 541 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveCallingUserId_anotherUserIdWithCrossUserFullPermission_returnUserId() 559 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveCallingUserId_anotherUserIdWithoutCrossUserPermission_shouldException()
|
D | AbstractAccessibilityServiceConnectionTest.java | 191 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID); in setup() 601 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in getMagnificationScale_serviceNotBelongCurrentUser_returnNoScale() 616 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in getMagnificationRegion_serviceNotBelongCurrentUser_returnEmptyRegion() 642 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in getMagnificationCenterX_serviceNotBelongCurrentUser_returnZero() 654 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in getMagnificationCenterY_serviceNotBelongCurrentUser_returnZero() 686 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in resetMagnification_serviceNotBelongCurrentUser_returnFalse() 722 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in setMagnificationConfig_serviceNotBelongCurrentUser_returnFalse() 863 return mResolvedUserId == mSystemSupport.getCurrentUserIdLocked(); in hasRightsToCurrentUserLocked()
|
D | AccessibilityWindowManagerTest.java | 153 when(mMockA11yUserManager.getCurrentUserIdLocked()).thenReturn(USER_SYSTEM_ID); in setUp()
|
D | AccessibilityWindowManagerWithAccessibilityWindowTest.java | 169 when(mMockA11yUserManager.getCurrentUserIdLocked()).thenReturn(USER_SYSTEM_ID); in setUp()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilitySecurityPolicy.java | 93 int getCurrentUserIdLocked(); in getCurrentUserIdLocked() method 448 if (userId != mAccessibilityUserManager.getCurrentUserIdLocked()) { in resolveProfileParentLocked() 473 final int currentUserId = mAccessibilityUserManager.getCurrentUserIdLocked(); in resolveCallingUserIdEnforcingPermissionsLocked() 724 if (mAccessibilityUserManager.getCurrentUserIdLocked() != userId) { in onBoundServicesChangedLocked() 782 if (mAccessibilityUserManager.getCurrentUserIdLocked() != userId) { in onEnabledServicesChangedLocked()
|
D | AbstractAccessibilityServiceConnection.java | 288 int getCurrentUserIdLocked(); in getCurrentUserIdLocked() method 628 mSystemSupport.getCurrentUserIdLocked(), windowId); in getWindow() 684 mSystemSupport.getCurrentUserIdLocked(), this, resolvedWindowId); in findAccessibilityNodeInfosByViewId() 689 mSystemSupport.getCurrentUserIdLocked(), resolvedWindowId); in findAccessibilityNodeInfosByViewId() 760 mSystemSupport.getCurrentUserIdLocked(), this, resolvedWindowId); in findAccessibilityNodeInfosByText() 765 mSystemSupport.getCurrentUserIdLocked(), resolvedWindowId); in findAccessibilityNodeInfosByText() 837 mSystemSupport.getCurrentUserIdLocked(), this, resolvedWindowId); in findAccessibilityNodeInfoByAccessibilityId() 842 mSystemSupport.getCurrentUserIdLocked(), resolvedWindowId); in findAccessibilityNodeInfoByAccessibilityId() 916 mSystemSupport.getCurrentUserIdLocked(), this, resolvedWindowId); in findFocus() 921 mSystemSupport.getCurrentUserIdLocked(), resolvedWindowId); in findFocus() [all …]
|
D | AccessibilityWindowManager.java | 455 mAccessibilityUserManager.getCurrentUserIdLocked(), in onWindowsForAccessibilityChanged() 479 updateWindowsLocked(mAccessibilityUserManager.getCurrentUserIdLocked(), in onWindowsForAccessibilityChanged() 525 final int userId = mAccessibilityUserManager.getCurrentUserIdLocked(); in createWindowInfoListLocked() 667 mAccessibilityUserManager.getCurrentUserIdLocked(), token); in updateWindowsByWindowAttributesLocked() 805 updateWindowsLocked(mAccessibilityUserManager.getCurrentUserIdLocked(), windows); in clearWindowsLocked() 2157 mAccessibilityUserManager.getCurrentUserIdLocked(), windowId)); in clearAccessibilityFocusLocked()
|
D | AccessibilityServiceConnection.java | 325 == mSystemSupport.getCurrentUserIdLocked()) { in hasRightsToCurrentUserLocked()
|
D | AccessibilityManagerService.java | 601 public int getCurrentUserIdLocked() { in getCurrentUserIdLocked() method in AccessibilityManagerService 6239 if (userId != mManagerService.getCurrentUserIdLocked()) { in onSomePackagesChanged() 6275 if (userId != mManagerService.getCurrentUserIdLocked()) { in onPackageUpdateFinished() 6315 if (userId != mManagerService.getCurrentUserIdLocked()) { in onPackageRemoved() 6349 if (userId != mManagerService.getCurrentUserIdLocked()) { in onHandleForceStop()
|
/frameworks/base/services/ |
D | art-wear-profile | 3357 PLcom/android/server/accessibility/AccessibilityManagerService;->getCurrentUserIdLocked()I
|