Searched refs:SCAN_PACKAGE_NAME (Results 1 – 1 of 1) sorted by relevance
160 private static final String SCAN_PACKAGE_NAME = "scanPackage"; field in WifiServiceImplTest1129 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), SCAN_PACKAGE_NAME); in testStartScanFailureAppOpsIgnored()1130 assertFalse(mWifiServiceImpl.startScan(SCAN_PACKAGE_NAME)); in testStartScanFailureAppOpsIgnored()1131 verify(mScanRequestProxy, never()).startScan(Process.myUid(), SCAN_PACKAGE_NAME); in testStartScanFailureAppOpsIgnored() local1141 .enforceCanAccessScanResults(SCAN_PACKAGE_NAME, Process.myUid()); in testStartScanFailureInCanAccessScanResultsPermission()1142 assertFalse(mWifiServiceImpl.startScan(SCAN_PACKAGE_NAME)); in testStartScanFailureInCanAccessScanResultsPermission()1143 verify(mScanRequestProxy, never()).startScan(Process.myUid(), SCAN_PACKAGE_NAME); in testStartScanFailureInCanAccessScanResultsPermission() local1154 assertFalse(mWifiServiceImpl.startScan(SCAN_PACKAGE_NAME)); in testStartScanFailureInRunWithScissors()1155 verify(mScanRequestProxy, never()).startScan(Process.myUid(), SCAN_PACKAGE_NAME); in testStartScanFailureInRunWithScissors() local1165 assertFalse(mWifiServiceImpl.startScan(SCAN_PACKAGE_NAME)); in testStartScanFailureFromScanRequestProxy()[all …]