Home
last modified time | relevance | path

Searched refs:finishOp (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/errorprone/tests/res/android/app/
DAppOpsManager.java96 public void finishOp(int op) { in finishOp() method in AppOpsManager
100 public void finishOp(String op, int uid, String packageName) { in finishOp() method in AppOpsManager
104 public void finishOp(int op, int uid, String packageName) { in finishOp() method in AppOpsManager
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsActiveWatcherTest.java103 appOpsManager.finishOp(AppOpsManager.OP_CAMERA); in testWatchActiveOps()
131 appOpsManager.finishOp(AppOpsManager.OP_CAMERA); in testWatchActiveOps()
150 appOpsManager.finishOp(AppOpsManager.OP_CAMERA); in testWatchActiveOps()
195 appOpsManager.finishOp(getContext().getAttributionSource().getToken(), in testWatchActiveOpsForExternalDevice()
214 appOpsManager.finishOp(getContext().getAttributionSource().getToken(), in testWatchActiveOpsForExternalDevice()
229 appOpsManager.finishOp(AppOpsManager.OP_CAMERA); in testIsRunning()
DAppOpsStartedWatcherTest.java98 appOpsManager.finishOp(AppOpsManager.OP_FINE_LOCATION); in testWatchStartedOps()
120 appOpsManager.finishOp(AppOpsManager.OP_CAMERA); in testWatchStartedOps()
121 appOpsManager.finishOp(AppOpsManager.OP_FINE_LOCATION); in testWatchStartedOps()
159 appOpsManager.finishOp(getContext().getAttributionSource().getToken(), in testWatchStartedOpsForExternalDevice()
DAppOpsNotedWatcherTest.java148 appOpsManager.finishOp(getContext().getAttributionSource().getToken(), in testWatchNotedOpsForExternalDevice()
/frameworks/native/libs/permission/
DAppOpsManager.cpp129 void AppOpsManager::finishOp(int32_t op, int32_t uid, const String16& callingPackage) { in finishOp() function in android::AppOpsManager
130 finishOp(op, uid, callingPackage, {}); in finishOp()
133 void AppOpsManager::finishOp(int32_t op, int32_t uid, const String16& callingPackage, in finishOp() function in android::AppOpsManager
/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemAppOpsHelper.java78 public void finishOp(int appOp, CallerIdentity callerIdentity) { in finishOp() method in SystemAppOpsHelper
83 mAppOps.finishOp( in finishOp()
DAppOpsHelper.java73 public abstract void finishOp(int appOp, CallerIdentity callerIdentity); in finishOp() method in AppOpsHelper
/frameworks/native/libs/permission/include/binder/
DAppOpsManager.h176 void finishOp(int32_t op, int32_t uid, const String16& callingPackage);
177 void finishOp(int32_t op, int32_t uid, const String16& callingPackage,
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DSystemAppOpsHelperTest.java175 mHelper.finishOp(OP_MONITOR_LOCATION, identity); in testFinishOp()
176 verify(mAppOps).finishOp(OP_MONITOR_LOCATION, 1000, "mypackage", "myfeature"); in testFinishOp()
DFakeAppOpsHelper.java71 public void finishOp(int appOp, CallerIdentity callerIdentity) { in finishOp() method in FakeAppOpsHelper
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssVisibilityControl.java581 mAppOps.finishOp(AppOpsManager.OP_MONITOR_LOCATION, uid, proxyAppPkgName); in updateLocationIcon()
585 mAppOps.finishOp(AppOpsManager.OP_MONITOR_LOCATION, uid, proxyAppPkgName); in updateLocationIcon()
586 mAppOps.finishOp(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, uid, proxyAppPkgName); in updateLocationIcon()
DGnssMeasurementsProvider.java90 mAppOpsHelper.finishOp(OP_MONITOR_HIGH_POWER_LOCATION, getIdentity()); in onInactive()
DGnssLocationProvider.java1139 mAppOps.finishOp(AppOpsManager.OP_GPS, goneChain.getAttributionUid(), in updateClientUids()
1165 mAppOps.finishOp(AppOpsManager.OP_GPS, goneWork.getUid(i), in updateClientUids()
/frameworks/base/core/java/android/hardware/camera2/extension/
DCameraExtensionService.java70 mAppOpsService.finishOp(AppOpsManager.OPSTR_CAMERA, mUid, mPackageName, in finishCameraOperation()
/frameworks/base/services/core/java/com/android/server/wm/
DAsyncRotationController.java267 private void finishOp(WindowToken windowToken) { in finishOp() method in AsyncRotationController
315 finishOp(mTargetWindowTokens.keyAt(i)); in completeAll()
360 finishOp(token); in completeRotation()
DWindowState.java3176 mWmService.mAppOps.finishOp(mAppOp, getOwningUid(), getOwningPackage(), in resetAppOpsState()
3192 mWmService.mAppOps.finishOp(mAppOp, uid, packageName, null /* featureId */); in updateAppOpsState()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.cpp280 mAppOpsManager->finishOp(AppOpsManager::OP_CAMERA, mClientUid, in finishCameraOps()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DHotwordAudioStreamCopier.java287 mAppOpsManager.finishOp( in run()
/frameworks/base/core/java/android/app/
DAppOpsManager.java9791 public void finishOp(int op) { in finishOp() method in AppOpsManager
9792 finishOp(op, Process.myUid(), mContext.getOpPackageName(), null); in finishOp()
9798 public void finishOp(@NonNull String op, int uid, @NonNull String packageName) { in finishOp() method in AppOpsManager
9799 finishOp(strOpToOp(op), uid, packageName, null); in finishOp()
9808 public void finishOp(@NonNull String op, int uid, @NonNull String packageName, in finishOp() method in AppOpsManager
9810 finishOp(strOpToOp(op), uid, packageName, attributionTag); in finishOp()
9818 public void finishOp(int op, int uid, @NonNull String packageName) { in finishOp() method in AppOpsManager
9819 finishOp(op, uid, packageName, null); in finishOp()
9827 public void finishOp(int op, int uid, @NonNull String packageName, in finishOp() method in AppOpsManager
9829 finishOp(mContext.getAttributionSource().getToken(), op, uid, packageName, attributionTag); in finishOp()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1291 mAppOpsManager.finishOp( in prepareInternal()
2154 mAppOpsManager.finishOp(
2161 mAppOpsManager.finishOp(
4273 mAppOpsManager.finishOp( in notifyVpnManagerVpnStopped()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java426 mAppOps.finishOp(AppOpsManager.OP_WAKE_LOCK, ownerUid, packageName); in onWakeLockReleased()
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java472 mAppOpsHelper.finishOp(OP_MONITOR_LOCATION, getIdentity()); in onInactive()
543 mAppOpsHelper.finishOp(OP_MONITOR_HIGH_POWER_LOCATION, getIdentity()); in onHighPowerUsageChanged()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java1079 appOpsManager.finishOp(attributionSourceState.token, op, in finishDataDelivery()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorManagerService.java1201 mAppOps.finishOp(AppOpsManager.OP_VIBRATE, callerInfo.uid, callerInfo.opPkg); in finishAppOpModeLocked()
/frameworks/base/services/tests/VpnTests/java/com/android/server/connectivity/
DVpnTest.java1335 verify(mAppOps, after(100)).finishOp( in verifyPlatformVpnIsDeactivated()

12