Home
last modified time | relevance | path

Searched refs:startWatchingMode (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/native/libs/permission/
DAppOpsManager.cpp141 void AppOpsManager::startWatchingMode(int32_t op, const String16& packageName, in startWatchingMode() function in android::AppOpsManager
145 service->startWatchingMode(op, packageName, callback); in startWatchingMode()
149 void AppOpsManager::startWatchingMode(int32_t op, const String16& packageName, int32_t flags, in startWatchingMode() function in android::AppOpsManager
DIAppOpsService.cpp108 virtual void startWatchingMode(int32_t op, const String16& packageName, in startWatchingMode() function in android::BpAppOpsService
253 startWatchingMode(op, packageName, callback); in onTransact()
/frameworks/native/libs/permission/include/binder/
DAppOpsManager.h179 void startWatchingMode(int32_t op, const String16& packageName,
181 void startWatchingMode(int32_t op, const String16& packageName, int32_t flags,
DIAppOpsService.h47 virtual void startWatchingMode(int32_t op, const String16& packageName,
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipAppOpsListener.kt63 mAppOpsManager.startWatchingMode( in <lambda>()
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DAppOpsRepository.kt42 startWatchingMode(op, app.packageName, listener) in <lambda>()
/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemAppOpsHelper.java49 mAppOps.startWatchingMode( in onSystemReady()
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/
DAppOpsRepositoryTest.kt53 startWatchingMode(eq(AppOpsManager.OP_MANAGE_MEDIA), eq(PACKAGE_NAME), any()) in <lambda>()
/frameworks/av/services/audiopolicy/service/
DAudioRecordClient.cpp118 mAppOpsManager.startWatchingMode(mAppOp, VALUE_OR_FATAL(aidl2legacy_string_view_String16( in onFirstRef()
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp504 MOCK_METHOD3(startWatchingMode, void(int32_t, const String16&, const sp<IAppOpsCallback>&));
525 ON_CALL(*this, startWatchingMode(_, _, _)) in initializeStartWatchingMode()
1460 EXPECT_CALL(*mAppOpsManager, startWatchingMode(_, _, _)).Times(1); in TEST_F()
1483 EXPECT_CALL(*mAppOpsManager, startWatchingMode(_, _, _)).Times(1); in TEST_F()
1511 EXPECT_CALL(*mAppOpsManager, startWatchingMode(_, _, _)).Times(1); in TEST_F()
1552 EXPECT_CALL(*mAppOpsManager, startWatchingMode(_, _, _)).Times(1); in TEST_F()
1593 EXPECT_CALL(*mAppOpsManager, startWatchingMode(_, _, _)).Times(1); in TEST_F()
1669 EXPECT_CALL(*mAppOpsManager, startWatchingMode(_, _, _)).Times(1); in TEST_F()
1692 EXPECT_CALL(*mAppOpsManager, startWatchingMode(_, _, _)).Times(0); in TEST_F()
1712 EXPECT_CALL(*mAppOpsManager, startWatchingMode(_, _, _)).Times(0); in TEST_F()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DSystemAppOpsHelperTest.java76 .startWatchingMode( in setUp()
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl57 void startWatchingMode(int op, String packageName, IAppOpsCallback callback); in startWatchingMode() method
/frameworks/base/services/incremental/
DServiceWrappers.cpp100 void startWatchingMode(int32_t op, const String16& packageName, in startWatchingMode() function in android::incremental::RealAppOpsManager
102 mAppOpsManager.startWatchingMode(op, packageName, callback); in startWatchingMode()
DServiceWrappers.h139 virtual void startWatchingMode(int32_t op, const String16& packageName,
/frameworks/base/services/core/java/com/android/server/am/
DAppPermissionTracker.java127 startWatchingMode(ops.toArray(new Integer[ops.size()])); in handleAppOpsInit()
363 private void startWatchingMode(@NonNull Integer[] ops) { in startWatchingMode() method in AppPermissionTracker
/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.cpp242 mAppOpsManager->startWatchingMode(AppOpsManager::OP_CAMERA, in startCameraOps()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/ui/
DInstallLaunch.kt323 appOpsManager!!.startWatchingMode( in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java282 iAppOps.startWatchingMode(code, TEST_APP_PACKAGE_NAME, watcher); in assertOpBlockedOnSuspend()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java260 appOpsService.startWatchingMode(getSwitchOp(perm.name), null, mAppOpsCallback); in onStart()
268 appOpsService.startWatchingMode(extraAppOp, null, mAppOpsCallback); in onStart()
299 appOpsService.startWatchingMode(appOpCode, null, mAppOpsCallback); in onStart()
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubClientBroker.java434 mAppOpsManager.startWatchingMode(AppOpsManager.OP_NONE, mPackage, this); in startMonitoringOpChanges()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java843 mAppOpsManager.startWatchingMode(
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerService.java539 mAppOpsManager.startWatchingMode(AppOpsManager.OPSTR_RECORD_AUDIO, in SoundTriggerSessionStub()
1724 mAppOpsManager.startWatchingMode(AppOpsManager.OPSTR_RECORD_AUDIO, in SessionImpl()
/frameworks/base/core/java/android/app/
DAppOpsManager.java8281 public void startWatchingMode(@NonNull String op, @Nullable String packageName, in startWatchingMode() method in AppOpsManager
8283 startWatchingMode(strOpToOp(op), packageName, callback); in startWatchingMode()
8295 public void startWatchingMode(@NonNull String op, @Nullable String packageName, int flags, in startWatchingMode() method in AppOpsManager
8297 startWatchingMode(strOpToOp(op), packageName, flags, callback); in startWatchingMode()
8312 public void startWatchingMode(int op, String packageName, final OnOpChangedListener callback) { in startWatchingMode() method in AppOpsManager
8313 startWatchingMode(op, packageName, 0, callback); in startWatchingMode()
8329 public void startWatchingMode(int op, String packageName, int flags, in startWatchingMode() method in AppOpsManager
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DHotwordDetectionConnection.java271 appOpsManager.startWatchingMode(AppOpsManager.OP_RECEIVE_SANDBOX_TRIGGER_AUDIO, in HotwordDetectionConnection()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAppStateTrackerImpl.java511 mAppOpsService.startWatchingMode(TARGET_OP, null, in onSystemServicesReady()

12