Searched refs:mAppOpsManager (Results 1 – 6 of 6) sorted by relevance
34 private AppOpsManager mAppOpsManager; field in TestActivity46 mAppOpsManager = getSystemService(AppOpsManager.class); in onCreate()65 if (AppOpsManager.MODE_ALLOWED == mAppOpsManager.checkOpNoThrow( in updateText()
57 private AppOpsManager mAppOpsManager; field in ThirdPartyInCallServiceAppOpsPermissionTest70 mAppOpsManager = mContext.getSystemService(AppOpsManager.class); in setUp()200 invokeMethodWithShellPermissionsNoReturn(mAppOpsManager, in setInCallServiceAppOpsPermission()
71 private AppOpsManager mAppOpsManager; field in NearbyDevicesRenouncePermissionTest106 mAppOpsManager = getApplicationContext().getSystemService(AppOpsManager.class); in setUp()107 mAppOpsManager.setOnOpNotedCallback(getApplicationContext().getMainExecutor(), in setUp()143 mAppOpsManager.setOnOpNotedCallback(null, null); in tearDown()
69 private final AppOpsManager mAppOpsManager = mContext.getSystemService(AppOpsManager.class); field in CrossProfileAppsPermissionToInteractTest208 mAppOpsManager.setMode(AppOpsManager.OPSTR_INTERACT_ACROSS_PROFILES, in setAppOpOnCurrentProfile()229 mAppOpsManager.setMode(AppOpsManager.OPSTR_INTERACT_ACROSS_PROFILES, in setAppOpOnAllProfiles()
76 private AppOpsManager mAppOpsManager; field in SuspendPackagesTest95 mAppOpsManager = mContext.getSystemService(AppOpsManager.class); in setUp()260 () -> mAppOpsManager.checkOpNoThrow(op, testUid, TEST_APP_PACKAGE_NAME)); in assertOpDisallowed()
111 private final AppOpsManager mAppOpsManager = sContext.getSystemService(AppOpsManager.class); field in ExactAlarmsTest213 mAppOpsManager.setUidMode(AppOpsManager.OPSTR_SCHEDULE_EXACT_ALARM, uid, mode); in setAppOp()