Searched refs:OPSTR_WIFI_SCAN (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | AppOpEventCollectionTest.kt | 23 import android.app.AppOpsManager.OPSTR_WIFI_SCAN 97 appOpsManager.noteOp(OPSTR_WIFI_SCAN, myUid, myPackage, null, null) in ensureCorrectOpStr() 98 val opEntry = getOpEntry(myUid, myPackage, OPSTR_WIFI_SCAN)!! in ensureCorrectOpStr() 99 assertThat(opEntry.opStr).isEqualTo(OPSTR_WIFI_SCAN) in ensureCorrectOpStr() 107 appOpsManager.startOp(OPSTR_WIFI_SCAN, myUid, myPackage, null, null) in switchUidStateWhileOpsAreRunning() 108 appOpsManager.startOp(OPSTR_WIFI_SCAN, myUid, myPackage, null, null) in switchUidStateWhileOpsAreRunning() 113 assertThat(getOpEntry(myUid, myPackage, OPSTR_WIFI_SCAN)!! in switchUidStateWhileOpsAreRunning() 123 assertThat(getOpEntry(myUid, myPackage, OPSTR_WIFI_SCAN)!! in switchUidStateWhileOpsAreRunning() 128 appOpsManager.finishOp(OPSTR_WIFI_SCAN, myUid, myPackage, null) in switchUidStateWhileOpsAreRunning() 129 appOpsManager.finishOp(OPSTR_WIFI_SCAN, myUid, myPackage, null) in switchUidStateWhileOpsAreRunning() [all …]
|
D | AttributionTest.kt | 21 import android.app.AppOpsManager.OPSTR_WIFI_SCAN 69 appOpsManager.noteOp(OPSTR_WIFI_SCAN, appUid, APP_PKG, attribution, null) in noteForAttribution() 122 val beforeUpdate = getOpEntry(appUid, APP_PKG, OPSTR_WIFI_SCAN)!! in inheritNotedAppOpsOnUpgrade() 126 val afterUpdate = getOpEntry(appUid, APP_PKG, OPSTR_WIFI_SCAN)!! in inheritNotedAppOpsOnUpgrade() 158 val opEntry = getOpEntry(appUid, APP_PKG, OPSTR_WIFI_SCAN)!! in canUseUndeclaredAttributionTagButTreatedAsNull()
|
D | AppOpsTest.kt | 45 import android.app.AppOpsManager.OPSTR_WIFI_SCAN in <lambda>() 304 mAppOps.startWatchingActive(arrayOf(OPSTR_WIFI_SCAN), Executor { it.run() }, in <lambda>() 307 mAppOps.startOp(OPSTR_WIFI_SCAN, mMyUid, mOpPackageName, null, null) in <lambda>() 310 mAppOps.finishOp(OPSTR_WIFI_SCAN, Process.SHELL_UID, SHELL_PACKAGE_NAME, null) in <lambda>() 313 mAppOps.startOp(OPSTR_WIFI_SCAN, mMyUid, mOpPackageName, null, null) in <lambda>() 316 mAppOps.finishOp(OPSTR_WIFI_SCAN, Process.SHELL_UID, SHELL_PACKAGE_NAME, null) in <lambda>()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | AtomTests.java | 116 APP_OPS_ENUM_MAP.put(AppOpsManager.OPSTR_WIFI_SCAN, 10); in APP_OPS_ENUM_MAP.put() argument
|