Home
last modified time | relevance | path

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

12

/frameworks/native/libs/binder/
DAppOpsManager.cpp139 void AppOpsManager::startWatchingMode(int32_t op, const String16& packageName, in startWatchingMode() function in android::AppOpsManager
143 service->startWatchingMode(op, packageName, callback); in startWatchingMode()
DIAppOpsService.cpp97 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/
DPipAppOpsListener.java84 mAppOpsManager.startWatchingMode(OP_PICTURE_IN_PICTURE, packageName, in registerAppOpsListener()
/frameworks/native/libs/binder/include/binder/
DIAppOpsService.h46 virtual void startWatchingMode(int32_t op, const String16& packageName,
DAppOpsManager.h158 void startWatchingMode(int32_t op, const String16& packageName,
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp354 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/
DAppOpsHelper.java74 mAppOps.startWatchingMode( in onSystemReady()
/frameworks/base/services/incremental/
DServiceWrappers.cpp95 void startWatchingMode(int32_t op, const String16& packageName, in startWatchingMode() function in android::incremental::RealAppOpsManager
97 mAppOpsManager.startWatchingMode(op, packageName, callback); in startWatchingMode()
DServiceWrappers.h109 …virtual void startWatchingMode(int32_t op, const String16& packageName, const sp<IAppOpsCallback>&…
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl46 void startWatchingMode(int op, String packageName, IAppOpsCallback callback); in startWatchingMode() method
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java183 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/
DCameraOfflineSessionClient.cpp188 mAppOpsManager->startWatchingMode(AppOpsManager::OP_CAMERA, in startCameraOps()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
DAppOpsHelperTest.java77 .startWatchingMode( in setUp()
/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/
DWifiNetworkSuggestionsManagerTest.java1992 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/
DAppOpsManager.java6795 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/
DSuspendPackagesTest.java584 iAppOps.startWatchingMode(code, TEST_APP_PACKAGE_NAME, watcher); in assertOpBlockedOnSuspend()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java541 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/
DAppStateTracker.java442 mAppOpsService.startWatchingMode(TARGET_OP, null, in onSystemServicesReady()
DStorageManagerService.java1992 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/
DPasspointManager.java275 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()
/frameworks/av/services/audioflinger/
DTracks.cpp436 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/
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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java773 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()

12