Searched refs:opState (Results 1 – 2 of 2) sorted by relevance
95 String opState = getOpState(packageName, opStr); in getOpMode() local96 if (opState.contains(" allow")) { in getOpMode()98 } else if (opState.contains(" deny")) { in getOpMode()100 } else if (opState.contains(" ignore")) { in getOpMode()102 } else if (opState.contains(" default")) { in getOpMode()105 throw new IllegalStateException("Unexpected app op mode returned " + opState); in getOpMode()
69 val opState = getOpState(packageName, opStr) in getOpMode() constant71 opState.contains(" allow") -> MODE_ALLOWED in getOpMode()72 opState.contains(" deny") -> MODE_ERRORED in getOpMode()73 opState.contains(" ignore") -> MODE_IGNORED in getOpMode()74 opState.contains(" default") -> MODE_DEFAULT in getOpMode()75 else -> throw IllegalStateException("Unexpected app op mode returned $opState") in getOpMode()