/frameworks/native/libs/binder/ |
D | AppOpsManager.cpp | 126 void AppOpsManager::startWatchingMode(int32_t op, const String16& packageName, in startWatchingMode() function in android::AppOpsManager 130 service->startWatchingMode(op, packageName, callback); in startWatchingMode()
|
D | IAppOpsService.cpp | 89 virtual void startWatchingMode(int32_t op, const String16& packageName, in startWatchingMode() function in android::BpAppOpsService 201 startWatchingMode(op, packageName, callback); in onTransact()
|
/frameworks/native/libs/binder/include/binder/ |
D | IAppOpsService.h | 41 virtual void startWatchingMode(int32_t op, const String16& packageName,
|
D | AppOpsManager.h | 123 void startWatchingMode(int32_t op, const String16& packageName,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipAppOpsListener.java | 84 mAppOpsManager.startWatchingMode(OP_PICTURE_IN_PICTURE, packageName, in registerAppOpsListener()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 38 void startWatchingMode(int op, String packageName, IAppOpsCallback callback); in startWatchingMode() method
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 157 appOpsService.startWatchingMode(getSwitchOp(perm.name), null, appOpsListener); in onStart() 159 appOpsService.startWatchingMode(getSwitchOp(perm.name), null, appOpsListener); in onStart() 165 appOpsService.startWatchingMode(policy.resolveAppOp(), null, in onStart()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManagerTest.java | 1605 mInorder.verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), in testAddRemoveNetworkSuggestionsStartStopAppOpsWatch() 1652 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE_1), in testAppOpsChangeAfterSuggestionsAdd() 1701 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE_1), in testAppOpsChangeAfterConfigStoreLoad() 1751 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE_1), in testAppOpsChangeWrongUid() 1994 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), in testUserApprovalNotificationClickOnDisallowWhenGetScanResult() 2168 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), in testUserApprovalNotificationClickOnDisallowWhenAddSuggestions()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 4734 public void startWatchingMode(@NonNull String op, @Nullable String packageName, in startWatchingMode() method in AppOpsManager 4736 startWatchingMode(strOpToOp(op), packageName, callback); in startWatchingMode() 4748 public void startWatchingMode(@NonNull String op, @Nullable String packageName, int flags, in startWatchingMode() method in AppOpsManager 4750 startWatchingMode(strOpToOp(op), packageName, flags, callback); in startWatchingMode() 4765 public void startWatchingMode(int op, String packageName, final OnOpChangedListener callback) { in startWatchingMode() method in AppOpsManager 4766 startWatchingMode(op, packageName, 0, callback); in startWatchingMode() 4782 public void startWatchingMode(int op, String packageName, int flags, in startWatchingMode() method in AppOpsManager
|
/frameworks/base/media/java/android/media/ |
D | PlayerBase.java | 119 mAppOps.startWatchingMode(AppOpsManager.OP_PLAY_AUDIO, in baseRegisterPlayer()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointManagerTest.java | 644 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE), any( in addRemoveProviderWithValidUserCredential() 1695 verify(mAppOpsManager, never()).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), in verifyInstallEphemeralPasspointConfiguration() 1803 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE), in verifyRemovingPasspointProfilesWhenAppIsDisabled()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendPackagesTest.java | 582 iAppOps.startWatchingMode(code, TEST_APP_PACKAGE_NAME, watcher); in assertOpBlockedOnSuspend()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppStateTracker.java | 442 mAppOpsService.startWatchingMode(TARGET_OP, null, in onSystemServicesReady()
|
D | StorageManagerService.java | 1642 mIAppOpsService.startWatchingMode(OP_REQUEST_INSTALL_PACKAGES, null, mAppOpsCallback); in servicesReady() 1643 mIAppOpsService.startWatchingMode(OP_LEGACY_STORAGE, null, mAppOpsCallback); in servicesReady()
|
D | LocationManagerService.java | 319 mAppOps.startWatchingMode( in initializeLocked()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManager.java | 532 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointManager.java | 309 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 439 mAppOpsManager.startWatchingMode(AppOpsManager::OP_PLAY_AUDIO, mPackages[0], mOpCallback); in onFirstRef() 1963 mAppOpsManager.startWatchingMode(AppOpsManager::OP_RECORD_AUDIO, mPackage, mOpCallback); in onFirstRef()
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 595 mAppOps.startWatchingMode(AppOpsManager.OP_PLAY_AUDIO, in initAppOps()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 265 verify(mMockIAppOpsService).startWatchingMode( in callStart()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 1099 mAppOps.startWatchingMode(OP_SYSTEM_ALERT_WINDOW, null, opListener); in WindowManagerService() 1100 mAppOps.startWatchingMode(AppOpsManager.OP_TOAST_WINDOW, null, opListener); in WindowManagerService()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 2488 mAppOpsManager->startWatchingMode(AppOpsManager::OP_CAMERA, in startCameraOps()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 1708 public void startWatchingMode(int op, String packageName, IAppOpsCallback callback) { in startWatchingMode() method in AppOpsService
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 350 mAppOpsManager.startWatchingMode(AppOpsManager.OP_GET_ACCOUNTS, null, in AccountManagerService()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 2091 mAppOpsService.startWatchingMode(AppOpsManager.OP_RUN_IN_BACKGROUND, null, in setSystemProcess()
|