Home
last modified time | relevance | path

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

12

/frameworks/native/libs/binder/
DAppOpsManager.cpp126 void AppOpsManager::startWatchingMode(int32_t op, const String16& packageName, in startWatchingMode() function in android::AppOpsManager
130 service->startWatchingMode(op, packageName, callback); in startWatchingMode()
DIAppOpsService.cpp89 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/
DIAppOpsService.h41 virtual void startWatchingMode(int32_t op, const String16& packageName,
DAppOpsManager.h123 void startWatchingMode(int32_t op, const String16& packageName,
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipAppOpsListener.java84 mAppOpsManager.startWatchingMode(OP_PICTURE_IN_PICTURE, packageName, in registerAppOpsListener()
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl38 void startWatchingMode(int op, String packageName, IAppOpsCallback callback); in startWatchingMode() method
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java157 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/
DWifiNetworkSuggestionsManagerTest.java1605 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/
DAppOpsManager.java4734 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/
DPlayerBase.java119 mAppOps.startWatchingMode(AppOpsManager.OP_PLAY_AUDIO, in baseRegisterPlayer()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java644 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/
DSuspendPackagesTest.java582 iAppOps.startWatchingMode(code, TEST_APP_PACKAGE_NAME, watcher); in assertOpBlockedOnSuspend()
/frameworks/base/services/core/java/com/android/server/
DAppStateTracker.java442 mAppOpsService.startWatchingMode(TARGET_OP, null, in onSystemServicesReady()
DStorageManagerService.java1642 mIAppOpsService.startWatchingMode(OP_REQUEST_INSTALL_PACKAGES, null, mAppOpsCallback); in servicesReady()
1643 mIAppOpsService.startWatchingMode(OP_LEGACY_STORAGE, null, mAppOpsCallback); in servicesReady()
DLocationManagerService.java319 mAppOps.startWatchingMode( in initializeLocked()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java532 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java309 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()
/frameworks/av/services/audioflinger/
DTracks.cpp439 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/
DCamera.java595 mAppOps.startWatchingMode(AppOpsManager.OP_PLAY_AUDIO, in initAppOps()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java265 verify(mMockIAppOpsService).startWatchingMode( in callStart()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java1099 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/
DCameraService.cpp2488 mAppOpsManager->startWatchingMode(AppOpsManager::OP_CAMERA, in startCameraOps()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java1708 public void startWatchingMode(int op, String packageName, IAppOpsCallback callback) { in startWatchingMode() method in AppOpsService
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java350 mAppOpsManager.startWatchingMode(AppOpsManager.OP_GET_ACCOUNTS, null, in AccountManagerService()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java2091 mAppOpsService.startWatchingMode(AppOpsManager.OP_RUN_IN_BACKGROUND, null, in setSystemProcess()

12