Home
last modified time | relevance | path

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

/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpsTest.kt46 import android.app.AppOpsManager.OPSTR_WRITE_CALENDAR in <lambda>()
97 AppOpsManager.OPSTR_WRITE_CALENDAR in <lambda>()
155 setOpMode(mOpPackageName, OPSTR_WRITE_CALENDAR, MODE_ALLOWED) in <lambda>()
156 assertEquals(MODE_ALLOWED, mAppOps.noteOp(OPSTR_WRITE_CALENDAR, in <lambda>()
158 assertEquals(MODE_ALLOWED, mAppOps.noteOpNoThrow(OPSTR_WRITE_CALENDAR, in <lambda>()
160 assertEquals(MODE_ALLOWED, mAppOps.unsafeCheckOp(OPSTR_WRITE_CALENDAR, in <lambda>()
162 assertEquals(MODE_ALLOWED, mAppOps.unsafeCheckOpNoThrow(OPSTR_WRITE_CALENDAR, in <lambda>()
165 setOpMode(mOpPackageName, OPSTR_WRITE_CALENDAR, MODE_IGNORED) in <lambda>()
166 assertEquals(MODE_IGNORED, mAppOps.noteOp(OPSTR_WRITE_CALENDAR, in <lambda>()
168 assertEquals(MODE_IGNORED, mAppOps.noteOpNoThrow(OPSTR_WRITE_CALENDAR, in <lambda>()
[all …]
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java115 APP_OPS_ENUM_MAP.put(AppOpsManager.OPSTR_WRITE_CALENDAR, 9); in APP_OPS_ENUM_MAP.put() argument