Home
last modified time | relevance | path

Searched refs:startOpNoThrow (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/errorprone/tests/res/android/app/
DAppOpsManager.java67 public int startOpNoThrow(String op, int uid, String packageName) { in startOpNoThrow() method in AppOpsManager
71 public int startOpNoThrow(int op, int uid, String packageName) { in startOpNoThrow() method in AppOpsManager
75 public int startOpNoThrow(int op, int uid, String packageName, boolean startIfModeDefault) { in startOpNoThrow() method in AppOpsManager
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DSystemAppOpsHelperTest.java161 mAppOps).startOpNoThrow(eq(OP_MONITOR_LOCATION), eq(1000), eq("mypackage"), in testStartOp()
163 assertThat(mHelper.startOpNoThrow(OP_MONITOR_LOCATION, identity)).isTrue(); in testStartOp()
166 mAppOps).startOpNoThrow(eq(OP_MONITOR_LOCATION), eq(1000), eq("mypackage"), in testStartOp()
168 assertThat(mHelper.startOpNoThrow(OP_MONITOR_LOCATION, identity)).isFalse(); in testStartOp()
DFakeAppOpsHelper.java61 public boolean startOpNoThrow(int appOp, CallerIdentity callerIdentity) { in startOpNoThrow() method in FakeAppOpsHelper
/frameworks/native/libs/permission/
DAppOpsManager.cpp110 int32_t AppOpsManager::startOpNoThrow(int32_t op, int32_t uid, const String16& callingPackage, in startOpNoThrow() function in android::AppOpsManager
112 return startOpNoThrow(op, uid, callingPackage, startIfModeDefault, {}, in startOpNoThrow()
116 int32_t AppOpsManager::startOpNoThrow(int32_t op, int32_t uid, const String16& callingPackage, in startOpNoThrow() function in android::AppOpsManager
/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemAppOpsHelper.java60 public boolean startOpNoThrow(int appOp, CallerIdentity callerIdentity) { in startOpNoThrow() method in SystemAppOpsHelper
65 return mAppOps.startOpNoThrow( in startOpNoThrow()
DAppOpsHelper.java68 public abstract boolean startOpNoThrow(int appOp, CallerIdentity callerIdentity); in startOpNoThrow() method in AppOpsHelper
/frameworks/native/libs/permission/include/binder/
DAppOpsManager.h170 int32_t startOpNoThrow(int32_t op, int32_t uid, const String16& callingPackage,
172 int32_t startOpNoThrow(int32_t op, int32_t uid, const String16& callingPackage,
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsActiveWatcherTest.java183 appOpsManager.startOpNoThrow(getContext().getAttributionSource().getToken(), in testWatchActiveOpsForExternalDevice()
208 appOpsManager.startOpNoThrow(getContext().getAttributionSource().getToken(), in testWatchActiveOpsForExternalDevice()
DAppOpsStartedWatcherTest.java146 appOpsManager.startOpNoThrow(getContext().getAttributionSource().getToken(), in testWatchStartedOpsForExternalDevice()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssVisibilityControl.java575 if (mAppOps.startOpNoThrow(AppOpsManager.OP_MONITOR_LOCATION, uid, in updateLocationIcon()
579 if (mAppOps.startOpNoThrow(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, uid, in updateLocationIcon()
DGnssMeasurementsProvider.java84 mAppOpsHelper.startOpNoThrow(OP_MONITOR_HIGH_POWER_LOCATION, getIdentity()); in onActive()
DGnssLocationProvider.java1132 mAppOps.startOpNoThrow(AppOpsManager.OP_GPS, newChain.getAttributionUid(), in updateClientUids()
1157 mAppOps.startOpNoThrow(AppOpsManager.OP_GPS, in updateClientUids()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.cpp245 res = mAppOpsManager->startOpNoThrow(AppOpsManager::OP_CAMERA, in startCameraOps()
/frameworks/base/core/java/android/app/
DAppOpsManager.java9507 final int mode = startOpNoThrow(op, uid, packageName, startIfModeDefault, attributionTag, in startOp()
9519 public int startOpNoThrow(@NonNull String op, int uid, @NonNull String packageName) { in startOpNoThrow() method in AppOpsManager
9520 return startOpNoThrow(op, uid, packageName, null, null); in startOpNoThrow()
9529 public int startOpNoThrow(int op, int uid, String packageName) { in startOpNoThrow() method in AppOpsManager
9530 return startOpNoThrow(op, uid, packageName, false, null, null); in startOpNoThrow()
9539 public int startOpNoThrow(int op, int uid, String packageName, boolean startIfModeDefault) { in startOpNoThrow() method in AppOpsManager
9540 return startOpNoThrow(op, uid, packageName, startIfModeDefault, null, null); in startOpNoThrow()
9549 public int startOpNoThrow(@NonNull String op, int uid, @NonNull String packageName, in startOpNoThrow() method in AppOpsManager
9551 return startOpNoThrow(strOpToOp(op), uid, packageName, false, attributionTag, message); in startOpNoThrow()
9559 public int startOpNoThrow(int op, int uid, @NonNull String packageName, in startOpNoThrow() method in AppOpsManager
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DHotwordAudioStreamCopier.java227 && mAppOpsManager.startOpNoThrow( in run()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java289 mAppOps.startOpNoThrow(AppOpsManager.OP_WAKE_LOCK, ownerUid, packageName); in onWakeLockAcquired()
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java462 mAppOpsHelper.startOpNoThrow(OP_MONITOR_LOCATION, getIdentity()); in onActive()
541 mAppOpsHelper.startOpNoThrow(OP_MONITOR_HIGH_POWER_LOCATION, getIdentity()); in onHighPowerUsageChanged()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java1552 startedOpResult = appOpsManager.startOpNoThrow( in performOpTransaction()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java3166 final int mode = mWmService.mAppOps.startOpNoThrow(mAppOp, getOwningUid(), in initAppOpsState()
3196 final int mode = mWmService.mAppOps.startOpNoThrow(mAppOp, uid, packageName, in updateAppOpsState()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorManagerService.java1191 mAppOps.startOpNoThrow(AppOpsManager.OP_VIBRATE, callerInfo.uid, callerInfo.opPkg), in startAppOpModeLocked()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp4359 int32_t mode = mAppOpsManager->startOpNoThrow(AppOpsManager::OP_CAMERA, mClientUid, in startCameraStreamingOps()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt5101 method @Deprecated public int startOpNoThrow(@NonNull String, int, @NonNull String);
5102 …method public int startOpNoThrow(@NonNull String, int, @NonNull String, @Nullable String, @Nullabl…
/frameworks/base/boot/
Dboot-image-profile.txt1138 HSPLandroid/app/AppOpsManager;->startOpNoThrow(IILjava/lang/String;ZLjava/lang/String;Ljava/lang/St…
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt3818 Landroid/app/AppOpsManager;->startOpNoThrow(IILjava/lang/String;)I
3819 Landroid/app/AppOpsManager;->startOpNoThrow(IILjava/lang/String;Z)I

12