/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareServiceImpl.java | 216 mWifiPermissionsUtil.checkPackage(uid, callingPackage); in enableInstantCommunicationMode() 252 mWifiPermissionsUtil.checkPackage(uid, callingPackage); in resetPairedDevices() 263 mWifiPermissionsUtil.checkPackage(uid, callingPackage); in removePairedDevice() 277 mWifiPermissionsUtil.checkPackage(uid, callingPackage); in getPairedDevices() 285 mWifiPermissionsUtil.checkPackage(uid, callingPackage); in setOpportunisticModeEnabled() 305 mWifiPermissionsUtil.checkPackage(uid, callingPackage); in isOpportunisticModeEnabled() 318 mWifiPermissionsUtil.checkPackage(uid, callingPackage); in connect() 508 mWifiPermissionsUtil.checkPackage(uid, callingPackage); in publish() 572 mWifiPermissionsUtil.checkPackage(uid, callingPackage); in subscribe()
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | LocationPermissionChecker.java | 156 checkPackage(uid, pkgName); in checkLocationPermissionInternal() 260 private void checkPackage(int uid, String pkgName) in checkPackage() method in LocationPermissionChecker 265 mAppOpsManager.checkPackage(uid, pkgName); in checkPackage()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 925 mWifiPermissionsUtil.checkPackage(callingUid, packageName); in startScan() 1156 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in enforceChangePermission() 1277 mWifiPermissionsUtil.checkPackage(callingUid, packageName); in setWifiEnabled() 1703 mWifiPermissionsUtil.checkPackage(callingUid, packageName); in startSoftAp() 1755 mWifiPermissionsUtil.checkPackage(callingUid, packageName); in startTetheredHotspot() 1790 mWifiPermissionsUtil.checkPackage(callingUid, packageName); in startTetheredHotspotRequest() 2740 mWifiPermissionsUtil.checkPackage(uid, packageName); in startLocalOnlyHotspot() 3005 mWifiPermissionsUtil.checkPackage(uid, packageName); in setWifiApConfiguration() 3036 mWifiPermissionsUtil.checkPackage(uid, packageName); in setSoftApConfiguration() 3065 mWifiPermissionsUtil.checkPackage(callingUid, packageName); in setScanAlwaysAvailable() [all …]
|
D | ScanRequestProxy.java | 467 mAppOps.checkPackage(callingUid, packageName); in getPackageImportance()
|
D | WifiNetworkFactory.java | 741 mAppOpsManager.checkPackage( in isRequestWithWifiNetworkSpecifierValid()
|
D | WifiNetworkSuggestionsManager.java | 497 mAppOps.checkPackage(mUid, mPackageName); in onOpChanged()
|
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/ |
D | BtPermissionUtils.java | 259 private static void checkPackage(AppOpsManager appOpsManager, String packageName) { in checkPackage() method in BtPermissionUtils 267 appOpsManager.checkPackage(callingUid, packageName); in checkPackage() 330 checkPackage(appOpsManager, source.getPackageName()); in checkBluetoothPermissions()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 221 checkPackage(uid, packageName); in enforceNearbyDevicesPermission() 569 checkPackage(uid, pkgName); in enforceCanAccessScanResults() 644 checkPackage(uid, pkgName); in enforceCanAccessScanResultsForWifiScanner() 687 checkPackage(uid, pkgName); in checkCanAccessWifiDirect() 722 public void checkPackage(int uid, String pkgName) throws SecurityException { in checkPackage() method in WifiPermissionsUtil 726 mAppOps.checkPackage(uid, pkgName); in checkPackage()
|
/packages/modules/Bluetooth/service/tests/src/com/android/server/bluetooth/ |
D | BluetoothServiceBinderTest.java | 181 verify(mAppOpsManager).checkPackage(anyInt(), eq(TAG)); in enableNoAutoConnect() 408 verify(mAppOpsManager).checkPackage(anyInt(), eq(TAG)); in checkHardDenied() 421 verify(mAppOpsManager).checkPackage(anyInt(), eq(TAG)); in checkGranted()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TelecomServiceImplTest.java | 302 doNothing().when(mAppOpsManager).checkPackage(anyInt(), anyString()); in testGetDefaultOutgoingPhoneAccount() 326 doNothing().when(mAppOpsManager).checkPackage(anyInt(), anyString()); in testGroupIdIsClearedWhenPermissionIsMissing() 349 doNothing().when(mAppOpsManager).checkPackage(anyInt(), anyString()); in testGroupIdIsNotCleared() 377 doNothing().when(mAppOpsManager).checkPackage(anyInt(), anyString()); in testGetDefaultOutgoingPhoneAccountSucceedsIfCallerIsSimCallManager() 410 doNothing().when(mAppOpsManager).checkPackage(anyInt(), anyString()); in testGetDefaultOutgoingPhoneAccountFailure() 1163 doNothing().when(mAppOpsManager).checkPackage(anyInt(), anyString()); in testAddNewIncomingCall() 1186 doNothing().when(mAppOpsManager).checkPackage(anyInt(), anyString()); in testAddNewIncomingFlagDisabledNoEarlyBinding() 1204 doNothing().when(mAppOpsManager).checkPackage(anyInt(), anyString()); in testAddNewIncomingCallEarlyBindingForNoCallFilterCalls() 1222 doNothing().when(mAppOpsManager).checkPackage(anyInt(), anyString()); in testAddNewIncomingCallEarlyBindingNotEnableForNonWatchDevices() 1241 doNothing().when(mAppOpsManager).checkPackage(anyInt(), anyString()); in testAddNewIncomingCallEarlyBindingNotEnableForPhoneAccountHasCallFilters() [all …]
|
D | ComponentContextFixture.java | 732 }).when(mAppOpsManager).checkPackage(anyInt(), anyString());
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 2860 .checkPackage(Binder.getCallingUid(), callingPackage); in updateServiceLocationWithPackageName() 3394 .checkPackage(Binder.getCallingUid(), callingPackage); in getCellLocation() 3487 .checkPackage(Binder.getCallingUid(), callingPackage); in getNeighboringCellInfo() 3535 .checkPackage(Binder.getCallingUid(), callingPackage); in getAllCellInfo() 3596 .checkPackage(Binder.getCallingUid(), callingPackage); in requestCellInfoUpdateInternal() 3728 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in getMeidForSlot() 4172 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in requestNumberVerification() 4232 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in getVisualVoicemailSettings() 4257 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in getVisualVoicemailPackageName() 4278 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in enableVisualVoicemailSmsFilter() [all …]
|
D | CarrierConfigLoader.java | 1773 appOps.checkPackage(callingUid, requestingPackage); in enforceCallerIsSystemOrRequestingPackage()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 1590 verify(mMockAppOps).checkPackage(uid1, TEST_PACKAGE_NAME); in testEnforceNearbyDevicesPermission_RenounceLocationBypassLocationCheck() 1632 verify(mMockAppOps).checkPackage(mUid, TEST_PACKAGE_NAME); in testEnforceNearbyDevicesPermission_LocationCheckDisavowPass() 1671 verify(mMockAppOps).checkPackage(mUid, TEST_PACKAGE_NAME); in testEnforceNearbyDevicesPermission_LocationCheckWithoutDisavowPass() 1708 verify(mMockAppOps).checkPackage(mUid, TEST_PACKAGE_NAME); in testEnforceNearbyDevicesPermission_BypassCheckWithPrivilegedPermission() 1756 .when(mMockAppOps).checkPackage(mUid, TEST_PACKAGE_NAME);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomServiceImpl.java | 1630 mAppOpsManager.checkPackage( 1716 mAppOpsManager.checkPackage( 1761 mAppOpsManager.checkPackage( 1816 mAppOpsManager.checkPackage( 3328 mAppOpsManager.checkPackage( 3361 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage);
|
D | ConnectionServiceWrapper.java | 987 mAppOpsManager.checkPackage(Binder.getCallingUid(), in addExistingConnection() 1222 mAppOpsManager.checkPackage(Binder.getCallingUid(), in onPhoneAccountChanged()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 1863 .when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testAddLocalServiceFailureWhenChannelUpdateWrongPkgName() 1878 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testAddLocalServiceFailureWhenCallerPermissionDenied() 1901 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in verifyAddLocalService() 1934 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testAddLocalServiceFailureWhenNativeCallFailure() 1972 .when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testConnectWithConfigValidAsGroupFailureWhenChannelUpdateWrongPkgName() 1987 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testConnectWithConfigValidAsGroupFailureWhenPermissionDenied() 2077 .when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testCreateGroupWithConfigValidAsGroupFailureWhenChannelUpdateWrongPkgName() 2094 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testCreateGroupWithConfigValidAsGroupFailureWhenPermissionDenied() 2190 .when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testDiscoverPeersFailureWhenChannelUpdateWrongPkgName() 2205 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testDiscoverPeersFailureWhenPermissionDenied() [all …]
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | LocationPermissionCheckerTest.java | 123 .when(mMockAppOps).checkPackage(mUid, TEST_PKG_NAME); in setupMocks()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/ |
D | TransitionalScanHelper.java | 1145 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in startScan() 1228 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in registerPiAndStartScan()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | LocalCallingIdentity.java | 262 .checkPackage(uid, packageNameUnchecked); in getPackageNameInternal()
|
/packages/modules/Permission/service/java/com/android/role/ |
D | RoleService.java | 482 mAppOpsManager.checkPackage(getCallingUid(), packageName); in isRoleHeldAsUser()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/ |
D | RttServiceImpl.java | 553 mWifiPermissionsUtil.checkPackage(uid, callingPackage); in startRanging()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointManager.java | 265 mAppOps.checkPackage(mUid, mPackageName); in onOpChanged()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkFactoryTest.java | 445 doThrow(new SecurityException()).when(mAppOpsManager).checkPackage(anyInt(), anyString()); in testHandleAcceptNetworkRequestFromWithInvalidWifiNetworkSpecifier() 459 doThrow(new SecurityException()).when(mAppOpsManager).checkPackage(anyInt(), anyString()); in testRejectNetworkRequestWithWifiNetworkSpecifierTofuEnabled()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 2460 mWifiPermissionsUtil.checkPackage(message.sendingUid, pkgName); in processMessageImpl() 5853 mWifiPermissionsUtil.checkPackage(uid, packageName); in checkNearbyDevicesPermission()
|