Searched refs:mMockAppOpsManager (Results 1 – 5 of 5) sorted by relevance
121 @Mock private AppOpsManager mMockAppOpsManager; field in AccessibilitySecurityPolicyTest133 when(mMockContext.getSystemService(Context.APP_OPS_SERVICE)).thenReturn(mMockAppOpsManager); in setUp()547 verify(mMockAppOpsManager).noteOpNoThrow(AppOpsManager.OPSTR_BIND_ACCESSIBILITY_SERVICE, in canRegisterService_shouldCheckAppOps()569 verify(mMockAppOpsManager).noteOpNoThrow(AppOpsManager.OPSTR_ACCESS_ACCESSIBILITY, in checkAccessibilityAccess_shouldCheckAppOps()
60 @Mock private AppOpsManager mMockAppOpsManager; field in WifiAwareMetricsTest103 when(mMockContext.getSystemService(Context.APP_OPS_SERVICE)).thenReturn(mMockAppOpsManager); in setUp()
117 @Mock private AppOpsManager mMockAppOpsManager; field in WifiAwareStateManagerTest152 when(mMockContext.getSystemService(Context.APP_OPS_SERVICE)).thenReturn(mMockAppOpsManager); in setUp()158 when(mMockAppOpsManager.noteOp(eq(AppOpsManager.OP_FINE_LOCATION), anyInt(), in setUp()
108 return mMockAppOpsManager; in injectAppOpsManager()170 private AppOpsManager mMockAppOpsManager; field in AppStateTrackerTest236 when(mMockAppOpsManager.getPackagesForOps( in callStart()
107 @Mock private AppOpsManager mMockAppOpsManager; field in AccountManagerServiceTest149 when(mMockContext.getSystemService(Context.APP_OPS_SERVICE)).thenReturn(mMockAppOpsManager); in setUp()