/frameworks/native/libs/binder/ |
D | AppOpsManager.cpp | 139 void AppOpsManager::startWatchingMode(int32_t op, const String16& packageName, in startWatchingMode() function in android::AppOpsManager 143 service->startWatchingMode(op, packageName, callback); in startWatchingMode()
|
D | IAppOpsService.cpp | 97 virtual void startWatchingMode(int32_t op, const String16& packageName, in startWatchingMode() function in android::BpAppOpsService 229 startWatchingMode(op, packageName, callback); in onTransact()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipAppOpsListener.java | 84 mAppOpsManager.startWatchingMode(OP_PICTURE_IN_PICTURE, packageName, in registerAppOpsListener()
|
/frameworks/native/libs/binder/include/binder/ |
D | IAppOpsService.h | 46 virtual void startWatchingMode(int32_t op, const String16& packageName,
|
D | AppOpsManager.h | 158 void startWatchingMode(int32_t op, const String16& packageName,
|
/frameworks/base/services/incremental/test/ |
D | IncrementalServiceTest.cpp | 354 MOCK_METHOD3(startWatchingMode, void(int32_t, const String16&, const sp<IAppOpsCallback>&)); 366 ON_CALL(*this, startWatchingMode(_, _, _)) in initializeStartWatchingMode() 921 EXPECT_CALL(*mAppOpsManager, startWatchingMode(_, _, _)).Times(1); in TEST_F() 946 EXPECT_CALL(*mAppOpsManager, startWatchingMode(_, _, _)).Times(1); in TEST_F() 976 EXPECT_CALL(*mAppOpsManager, startWatchingMode(_, _, _)).Times(1); in TEST_F() 1000 EXPECT_CALL(*mAppOpsManager, startWatchingMode(_, _, _)).Times(0); in TEST_F() 1023 EXPECT_CALL(*mAppOpsManager, startWatchingMode(_, _, _)).Times(0); in TEST_F()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | AppOpsHelper.java | 74 mAppOps.startWatchingMode( in onSystemReady()
|
/frameworks/base/services/incremental/ |
D | ServiceWrappers.cpp | 95 void startWatchingMode(int32_t op, const String16& packageName, in startWatchingMode() function in android::incremental::RealAppOpsManager 97 mAppOpsManager.startWatchingMode(op, packageName, callback); in startWatchingMode()
|
D | ServiceWrappers.h | 109 …virtual void startWatchingMode(int32_t op, const String16& packageName, const sp<IAppOpsCallback>&…
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 46 void startWatchingMode(int op, String packageName, IAppOpsCallback callback); in startWatchingMode() method
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 183 appOpsService.startWatchingMode(getSwitchOp(perm.name), null, mAppOpsCallback); in onStart() 191 appOpsService.startWatchingMode(extraAppOp, null, mAppOpsCallback); in onStart() 222 appOpsService.startWatchingMode(appOpCode, null, mAppOpsCallback); in onStart()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraOfflineSessionClient.cpp | 188 mAppOpsManager->startWatchingMode(AppOpsManager::OP_CAMERA, in startCameraOps()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/ |
D | AppOpsHelperTest.java | 77 .startWatchingMode( in setUp()
|
/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/ |
D | WifiNetworkSuggestionsManagerTest.java | 1992 mInorder.verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), in testAddRemoveNetworkSuggestionsStartStopAppOpsWatch() 2038 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE_1), in testAppOpsChangeAfterSuggestionsAdd() 2087 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE_1), in testAppOpsChangeAfterConfigStoreLoad() 2136 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE_1), in testAppOpsChangeWrongUid() 2375 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), in testUserApprovalNotificationClickOnDisallowWhenGetScanResult() 2599 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), in testUserApprovalDialogClickOnDisallowWhenAddSuggestionsFromFgApp() 2794 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), in testUserApprovalNotificationClickOnDisallowWhenAddSuggestionsFromNonFgApp()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 6795 public void startWatchingMode(@NonNull String op, @Nullable String packageName, in startWatchingMode() method in AppOpsManager 6797 startWatchingMode(strOpToOp(op), packageName, callback); in startWatchingMode() 6809 public void startWatchingMode(@NonNull String op, @Nullable String packageName, int flags, in startWatchingMode() method in AppOpsManager 6811 startWatchingMode(strOpToOp(op), packageName, flags, callback); in startWatchingMode() 6826 public void startWatchingMode(int op, String packageName, final OnOpChangedListener callback) { in startWatchingMode() method in AppOpsManager 6827 startWatchingMode(op, packageName, 0, callback); in startWatchingMode() 6843 public void startWatchingMode(int op, String packageName, int flags, in startWatchingMode() method in AppOpsManager
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendPackagesTest.java | 584 iAppOps.startWatchingMode(code, TEST_APP_PACKAGE_NAME, watcher); in assertOpBlockedOnSuspend()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointManagerTest.java | 541 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE), in addRemoveSavedProviderWithValidUserCredential() 1838 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE), in verifyRemovingPasspointProfilesWhenAppIsDisabled() 1917 verify(mAppOpsManager, never()).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), in addRemoveSuggestionProvider()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppStateTracker.java | 442 mAppOpsService.startWatchingMode(TARGET_OP, null, in onSystemServicesReady()
|
D | StorageManagerService.java | 1992 mIAppOpsService.startWatchingMode(OP_REQUEST_INSTALL_PACKAGES, null, in servicesReady() 1994 mIAppOpsService.startWatchingMode(OP_LEGACY_STORAGE, null, mAppOpsCallback); in servicesReady()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointManager.java | 275 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 436 mAppOpsManager.startWatchingMode(AppOpsManager::OP_PLAY_AUDIO, mPackages[0], mOpCallback); in onFirstRef() 1997 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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManager.java | 773 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()
|