Home
last modified time | relevance | path

Searched refs:myAppOp (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DFakeAppOpsHelper.java45 AppOp myAppOp = getOp(packageName, appOp); in setAppOpAllowed() local
46 myAppOp.mAllowed = allowed; in setAppOpAllowed()
51 AppOp myAppOp = getOp(packageName, appOp); in isAppOpStarted() local
52 return myAppOp.mStarted; in isAppOpStarted()
56 AppOp myAppOp = getOp(packageName, appOp); in getAppOpNoteCount() local
57 return myAppOp.mNoteCount; in getAppOpNoteCount()
62 AppOp myAppOp = getOp(callerIdentity.getPackageName(), appOp); in startOpNoThrow() local
63 if (!myAppOp.mAllowed) { in startOpNoThrow()
66 Preconditions.checkState(!myAppOp.mStarted); in startOpNoThrow()
67 myAppOp.mStarted = true; in startOpNoThrow()
[all …]