Searched refs:appOpMode (Results 1 – 6 of 6) sorted by relevance
220 int appOpMode = context.getSystemService(AppOpsManager.class) in checkAppLocationPermissionHelper() local223 if (appOpMode == AppOpsManager.MODE_ALLOWED) { in checkAppLocationPermissionHelper()232 return appOpsModeToPermissionResult(appOpMode); in checkAppLocationPermissionHelper()
548 final int appOpMode = appOpsManager.unsafeCheckOpRawNoThrow(appOpCode, uid, in resetAppOpPermissionsIfNotRequestedForUid() local550 if (appOpMode != defaultAppOpMode) { in resetAppOpPermissionsIfNotRequestedForUid()715 int appOpMode; in addPermissionAppOp() local723 appOpMode = shouldGrantBackgroundAppOp ? MODE_ALLOWED : MODE_FOREGROUND; in addPermissionAppOp()725 appOpMode = MODE_ALLOWED; in addPermissionAppOp()728 appOpMode = MODE_IGNORED; in addPermissionAppOp()733 switch (appOpMode) { in addPermissionAppOp()
473 final int appOpMode = mAppOpsManager.noteOpNoThrow(appOpCode, in handleUnknownSources() local475 switch (appOpMode) { in handleUnknownSources()487 Log.e(TAG, "Invalid app op mode " + appOpMode in handleUnknownSources()
455 int32_t appOpMode = mService->sAppOpsManager.noteOp(iter->second, mUid, in noteOpIfRequired() local457 success = (appOpMode == AppOpsManager::MODE_ALLOWED); in noteOpIfRequired()
1805 const int32_t appOpMode = sAppOpsManager.checkOp(opCode, in canAccessSensor() local1807 bool appOpAllowed = appOpMode == AppOpsManager::MODE_ALLOWED; in canAccessSensor()
1704 int appOpMode = checkOperation(AppOpsManager.OP_REQUEST_INSTALL_PACKAGES, in systemReady()1706 switch (appOpMode) { in systemReady()