/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 32 import android.app.AppOpsManager; 58 private AppOpsManager mAppOpsManager; 72 getContext().addMockSystemService(AppOpsManager.class, mAppOpsManager); in setUp() 92 new int[]{AppOpsManager.OP_RECORD_AUDIO, AppOpsManager.OP_FINE_LOCATION}, in addCallback_includedCode() 95 AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, true); in addCallback_includedCode() 96 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in addCallback_includedCode() 97 AppOpsManager.MODE_ALLOWED); in addCallback_includedCode() 98 verify(mCallback).onActiveStateChanged(AppOpsManager.OP_RECORD_AUDIO, in addCallback_includedCode() 104 mController.addCallback(new int[]{AppOpsManager.OP_FINE_LOCATION}, mCallback); in addCallback_notIncludedCode() 106 AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, true); in addCallback_notIncludedCode() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsActiveWatcherTest.java | 30 import android.app.AppOpsManager; 31 import android.app.AppOpsManager.OnOpActiveChangedListener; 59 final AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in testWatchActiveOps() 60 appOpsManager.startWatchingActive(new int[] {AppOpsManager.OP_CAMERA, in testWatchActiveOps() 61 AppOpsManager.OP_RECORD_AUDIO}, listener); in testWatchActiveOps() 64 appOpsManager.startOp(AppOpsManager.OP_CAMERA); in testWatchActiveOps() 68 .times(1)).onOpActiveChanged(eq(AppOpsManager.OP_CAMERA), in testWatchActiveOps() 78 assertThat(appOpsManager.isOperationActive(AppOpsManager.OP_CAMERA, in testWatchActiveOps() 82 appOpsManager.finishOp(AppOpsManager.OP_CAMERA); in testWatchActiveOps() 86 .times(1)).onOpActiveChanged(eq(AppOpsManager.OP_CAMERA), in testWatchActiveOps() [all …]
|
D | AppOpsNotedWatcherTest.java | 20 import android.app.AppOpsManager; 21 import android.app.AppOpsManager.OnOpNotedListener; 54 final AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in testWatchNotedOps() 55 appOpsManager.startWatchingNoted(new int[]{AppOpsManager.OP_FINE_LOCATION, in testWatchNotedOps() 56 AppOpsManager.OP_CAMERA}, listener); in testWatchNotedOps() 59 appOpsManager.noteOp(AppOpsManager.OP_FINE_LOCATION, Process.myUid(), in testWatchNotedOps() 61 appOpsManager.noteOp(AppOpsManager.OP_CAMERA, Process.myUid(), in testWatchNotedOps() 67 .times(1)).onOpNoted(eq(AppOpsManager.OP_FINE_LOCATION), in testWatchNotedOps() 69 eq(AppOpsManager.MODE_ALLOWED)); in testWatchNotedOps() 71 .times(1)).onOpNoted(eq(AppOpsManager.OP_CAMERA), in testWatchNotedOps() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSubInfoControllerTest.java | 30 import android.app.AppOpsManager; 42 private AppOpsManager mAppOsMgr; 63 mAppOsMgr = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in setUp() 73 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOpNoThrow( in setUp() 74 eq(AppOpsManager.OPSTR_READ_DEVICE_IDENTIFIERS), anyInt(), eq(TAG)); in setUp() 121 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetDeviceIdWithOutPermission() 122 eq(AppOpsManager.OP_READ_PHONE_STATE), anyInt(), eq(TAG)); in testGetDeviceIdWithOutPermission() 142 doReturn(AppOpsManager.MODE_ALLOWED).when(mAppOsMgr).noteOp( in testGetDeviceIdWithOutPermission() 143 eq(AppOpsManager.OP_READ_PHONE_STATE), anyInt(), eq(TAG)); in testGetDeviceIdWithOutPermission() 197 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetNaiWithOutPermission() [all …]
|
D | SmsPermissionsTest.java | 23 import android.app.AppOpsManager; 50 private AppOpsManager mMockAppOps; 107 AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), PACKAGE)) in testCheckCallingSendTextPermissions_persist_noAppOps() 108 .thenReturn(AppOpsManager.MODE_ERRORED); in testCheckCallingSendTextPermissions_persist_noAppOps() 122 AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), PACKAGE)) in testCheckCallingSendTextPermissions_noPersist_grantViaCarrierApp() 123 .thenReturn(AppOpsManager.MODE_ERRORED); in testCheckCallingSendTextPermissions_noPersist_grantViaCarrierApp() 164 AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), PACKAGE)) in testCheckCallingSendTextPermissions_noPersist_noAppOps() 165 .thenReturn(AppOpsManager.MODE_ERRORED); in testCheckCallingSendTextPermissions_noPersist_noAppOps()
|
D | TelephonyPermissionsTest.java | 28 import android.app.AppOpsManager; 65 private AppOpsManager mMockAppOps; 96 .thenReturn(AppOpsManager.MODE_ERRORED); in setUp() 98 AppOpsManager.MODE_ERRORED); in setUp() 130 when(mMockAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, UID, PACKAGE)) in testCheckReadPhoneState_hasPermissionAndAppOp() 131 .thenReturn(AppOpsManager.MODE_ALLOWED); in testCheckReadPhoneState_hasPermissionAndAppOp() 170 when(mMockAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, UID, PACKAGE)) in testCheckReadPhoneStateOnAnyActiveSub_hasPermissionAndAppOp() 171 .thenReturn(AppOpsManager.MODE_ALLOWED); in testCheckReadPhoneStateOnAnyActiveSub_hasPermissionAndAppOp() 205 when(mMockAppOps.noteOp(AppOpsManager.OP_WRITE_SMS, UID, PACKAGE)) in testCheckReadPhoneNumber_defaultSmsApp() 206 .thenReturn(AppOpsManager.MODE_ALLOWED); in testCheckReadPhoneNumber_defaultSmsApp() [all …]
|
/frameworks/native/libs/binder/ |
D | AppOpsManager.cpp | 32 const int APP_OPS_MANAGER_UNAVAILABLE_MODE = AppOpsManager::MODE_ALLOWED; 34 const int APP_OPS_MANAGER_UNAVAILABLE_MODE = AppOpsManager::MODE_IGNORED; 52 AppOpsManager::AppOpsManager() in AppOpsManager() function in android::AppOpsManager 58 sp<IAppOpsService> AppOpsManager::getService() { return NULL; } in getService() 60 sp<IAppOpsService> AppOpsManager::getService() in getService() 88 int32_t AppOpsManager::checkOp(int32_t op, int32_t uid, const String16& callingPackage) in checkOp() 96 int32_t AppOpsManager::checkAudioOpNoThrow(int32_t op, int32_t usage, int32_t uid, in checkAudioOpNoThrow() 104 int32_t AppOpsManager::noteOp(int32_t op, int32_t uid, const String16& callingPackage) { in noteOp() 111 int32_t AppOpsManager::startOpNoThrow(int32_t op, int32_t uid, const String16& callingPackage, in startOpNoThrow() 119 void AppOpsManager::finishOp(int32_t op, int32_t uid, const String16& callingPackage) { in finishOp() [all …]
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.aidl | 19 parcelable AppOpsManager.PackageOps; 20 parcelable AppOpsManager.OpEntry; 22 parcelable AppOpsManager.HistoricalOp; 23 parcelable AppOpsManager.HistoricalOps; 24 parcelable AppOpsManager.HistoricalPackageOps; 25 parcelable AppOpsManager.HistoricalUidOps;
|
D | AppOpsManager.java | 79 public class AppOpsManager { class 481 public static final int OP_FLAGS_ALL_TRUSTED = AppOpsManager.OP_FLAG_SELF 482 | AppOpsManager.OP_FLAG_UNTRUSTED_PROXY 483 | AppOpsManager.OP_FLAG_TRUSTED_PROXIED; 1768 AppOpsManager.MODE_ALLOWED, // COARSE_LOCATION 1769 AppOpsManager.MODE_ALLOWED, // FINE_LOCATION 1770 AppOpsManager.MODE_ALLOWED, // GPS 1771 AppOpsManager.MODE_ALLOWED, // VIBRATE 1772 AppOpsManager.MODE_ALLOWED, // READ_CONTACTS 1773 AppOpsManager.MODE_ALLOWED, // WRITE_CONTACTS [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 33 import android.app.AppOpsManager; 76 @Mock private AppOpsManager mMockAppOps; 189 mWifiScanAllowApps = AppOpsManager.MODE_ALLOWED; in testCanReadPeersMacAddressCurrentUserAndAllPermissions() 212 mWifiScanAllowApps = AppOpsManager.MODE_ALLOWED; in testCanReadPeersMacAddressCurrentProfileAndAllPermissions() 256 mWifiScanAllowApps = AppOpsManager.MODE_ALLOWED; in testenforceCanAccessScanResults_UserOrProfileNotCurrent() 278 mWifiScanAllowApps = AppOpsManager.MODE_ALLOWED; in testCannotAccessScanResults_NoInteractAcrossUsersFullPermission() 301 mWifiScanAllowApps = AppOpsManager.MODE_ALLOWED; in testLegacyForegroundAppWithOtherPermissionsDenied() 328 mAllowCoarseLocationApps = AppOpsManager.MODE_ALLOWED; in testLegacyAppHasLocationAndAllPermissions() 329 mWifiScanAllowApps = AppOpsManager.MODE_ALLOWED; in testLegacyAppHasLocationAndAllPermissions() 375 mWifiScanAllowApps = AppOpsManager.MODE_ALLOWED; in testCannotAccessScanResults_LocationModeDisabled() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | RcsPermissions.java | 20 import android.app.AppOpsManager; 31 checkOp(context, uid, callingPackage, AppOpsManager.OP_READ_SMS); in checkReadPermissions() 37 checkOp(context, uid, callingPackage, AppOpsManager.OP_WRITE_SMS); in checkWritePermissions() 52 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkOp() 56 if (mode != AppOpsManager.MODE_ALLOWED) { in checkOp() 58 AppOpsManager.opToName(op) + " not allowed for " + callingPackage); in checkOp()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 21 import android.app.AppOpsManager; 180 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkReadPhoneState() 181 return appOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, uid, callingPackage) in checkReadPhoneState() 182 == AppOpsManager.MODE_ALLOWED; in checkReadPhoneState() 228 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkReadPhoneStateOnAnyActiveSub() 229 return appOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, uid, callingPackage) == in checkReadPhoneStateOnAnyActiveSub() 230 AppOpsManager.MODE_ALLOWED; in checkReadPhoneStateOnAnyActiveSub() 330 AppOpsManager appOpsManager = (AppOpsManager) context.getSystemService( in checkReadDeviceIdentifiers() 333 if (appOpsManager.noteOpNoThrow(AppOpsManager.OPSTR_READ_DEVICE_IDENTIFIERS, uid, in checkReadDeviceIdentifiers() 334 callingPackage) == AppOpsManager.MODE_ALLOWED) { in checkReadDeviceIdentifiers() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationApps.java | 19 import android.app.AppOpsManager; 52 AppOpsManager.OP_MONITOR_LOCATION, 53 AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 57 AppOpsManager.OP_FINE_LOCATION, 58 AppOpsManager.OP_COARSE_LOCATION, 79 AppOpsManager aoManager = in getAppList() 80 (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in getAppList() 81 List<AppOpsManager.PackageOps> appOps = aoManager.getPackagesForOps(LOCATION_REQUEST_OPS); in getAppList() 92 AppOpsManager.PackageOps ops = appOps.get(i); in getAppList() 106 final String permission = AppOpsManager.opToPermission(op); in getAppList() [all …]
|
D | RecentLocationAccesses.java | 19 import android.app.AppOpsManager; 52 public static final int TRUSTED_STATE_FLAGS = AppOpsManager.OP_FLAG_SELF 53 | AppOpsManager.OP_FLAG_UNTRUSTED_PROXY 54 | AppOpsManager.OP_FLAG_TRUSTED_PROXIED; 58 AppOpsManager.OP_FINE_LOCATION, 59 AppOpsManager.OP_COARSE_LOCATION, 86 AppOpsManager aoManager = in getAppList() 87 (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in getAppList() 88 List<AppOpsManager.PackageOps> appOps = aoManager.getPackagesForOps(LOCATION_OPS); in getAppList() 99 AppOpsManager.PackageOps ops = appOps.get(i); in getAppList() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | MmsServiceBroker.java | 20 import android.app.AppOpsManager; 74 private volatile AppOpsManager mAppOpsManager = null; 297 private AppOpsManager getAppOpsManager() { in getAppOpsManager() 299 mAppOpsManager = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in getAppOpsManager() 337 if (getAppOpsManager().noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), in sendMessage() 338 callingPkg) != AppOpsManager.MODE_ALLOWED) { in sendMessage() 356 if (getAppOpsManager().noteOp(AppOpsManager.OP_RECEIVE_MMS, Binder.getCallingUid(), in downloadMessage() 357 callingPkg) != AppOpsManager.MODE_ALLOWED) { in downloadMessage() 378 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in importTextMessage() 379 callingPkg) != AppOpsManager.MODE_ALLOWED) { in importTextMessage() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsPermissions.java | 21 import android.app.AppOpsManager; 41 private final AppOpsManager mAppOps; 43 public SmsPermissions(Phone phone, Context context, AppOpsManager appOps) { in SmsPermissions() 114 return mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), callingPackage) in checkCallingCanSendSms() 115 == AppOpsManager.MODE_ALLOWED; in checkCallingCanSendSms() 127 return mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), callingPackage) in checkCallingOrSelfCanSendSms() 128 == AppOpsManager.MODE_ALLOWED; in checkCallingOrSelfCanSendSms()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipAppOpsListener.java | 19 import static android.app.AppOpsManager.MODE_ALLOWED; 20 import static android.app.AppOpsManager.OP_PICTURE_IN_PICTURE; 22 import android.app.AppOpsManager; 23 import android.app.AppOpsManager.OnOpChangedListener; 38 private AppOpsManager mAppOpsManager; 41 private AppOpsManager.OnOpChangedListener mAppOpsChangedListener = new OnOpChangedListener() { 69 mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in PipAppOpsListener()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 19 import static android.app.AppOpsManager.MAX_PRIORITY_UID_STATE; 20 import static android.app.AppOpsManager.MIN_PRIORITY_UID_STATE; 21 import static android.app.AppOpsManager.OP_FLAGS_ALL; 22 import static android.app.AppOpsManager.OP_NONE; 23 import static android.app.AppOpsManager.OP_PLAY_AUDIO; 24 import static android.app.AppOpsManager.UID_STATE_BACKGROUND; 25 import static android.app.AppOpsManager.UID_STATE_CACHED; 26 import static android.app.AppOpsManager.UID_STATE_FOREGROUND; 27 import static android.app.AppOpsManager.UID_STATE_FOREGROUND_SERVICE; 28 import static android.app.AppOpsManager.UID_STATE_FOREGROUND_SERVICE_LOCATION; [all …]
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | OverlayControl.java | 20 import android.app.AppOpsManager; 35 private final @NonNull AppOpsManager mAppOpsManager; 38 mAppOpsManager = context.getSystemService(AppOpsManager.class); in OverlayControl() 51 mAppOpsManager.setUserRestrictionForUser(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, !allowed, in setOverlayAllowed() 53 mAppOpsManager.setUserRestrictionForUser(AppOpsManager.OP_TOAST_WINDOW, !allowed, in setOverlayAllowed()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsAccessTest.java | 24 import android.app.AppOpsManager; 52 @Mock private AppOpsManager mAppOps; 80 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, false); in testCheckAccessLevel_hasCarrierPrivileges() 91 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, false); in testCheckAccessLevel_isDeviceOwner() 102 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, false); in testCheckAccessLevel_isProfileOwner() 113 setHasAppOpsPermission(AppOpsManager.MODE_ALLOWED, false); in testCheckAccessLevel_hasAppOpsBitAllowed() 124 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, true); in testCheckAccessLevel_hasAppOpsBitDefault_grantedPermission() 135 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, false); in testCheckAccessLevel_hasReadHistoryPermission() 146 setHasAppOpsPermission(AppOpsManager.MODE_ERRORED, true); in testCheckAccessLevel_deniedAppOpsBit() 157 setHasAppOpsPermission(AppOpsManager.MODE_DEFAULT, false); in testCheckAccessLevel_deniedAppOpsBit_deniedPermission() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/ |
D | RecentLocationAppsTest.java | 8 import android.app.AppOpsManager; 9 import android.app.AppOpsManager.OpEntry; 10 import android.app.AppOpsManager.PackageOps; 51 private AppOpsManager mAppOpsManager; 104 AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, in testGetAppList_shouldNotShowAndroidOS() 142 AppOpsManager.OP_MONITOR_LOCATION, in createTestPackageOpsList() 160 accessTimes.put(AppOpsManager.makeKey(AppOpsManager.UID_STATE_TOP, in createOpEntryWithTime() 161 AppOpsManager.OP_FLAG_SELF), time); in createOpEntryWithTime() 163 durations.put(AppOpsManager.makeKey(AppOpsManager.UID_STATE_TOP, in createOpEntryWithTime() 164 AppOpsManager.OP_FLAG_SELF), duration); in createOpEntryWithTime() [all …]
|
D | RecentLocationAccessesTest.java | 9 import android.app.AppOpsManager; 10 import android.app.AppOpsManager.OpEntry; 11 import android.app.AppOpsManager.PackageOps; 50 private AppOpsManager mAppOpsManager; 107 AppOpsManager.OP_FINE_LOCATION, in testGetAppList_shouldNotShowAndroidOS() 144 AppOpsManager.OP_FINE_LOCATION, in createTestPackageOpsList() 161 accessTimes.put(AppOpsManager.makeKey(AppOpsManager.UID_STATE_BACKGROUND, in createOpEntryWithTime() 162 AppOpsManager.OP_FLAG_SELF), time); in createOpEntryWithTime() 164 return new OpEntry(op, false, AppOpsManager.MODE_ALLOWED, accessTimes, null /*durations*/, in createOpEntryWithTime()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | LocationControllerImpl.java | 23 import android.app.AppOpsManager; 55 = new int[] {AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION}; 59 private AppOpsManager mAppOpsManager; 78 mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in LocationControllerImpl() 154 List<AppOpsManager.PackageOps> packages in areActiveHighPowerLocationRequests() 160 AppOpsManager.PackageOps packageOp = packages.get(packageInd); in areActiveHighPowerLocationRequests() 161 List<AppOpsManager.OpEntry> opEntries = packageOp.getOps(); in areActiveHighPowerLocationRequests() 165 AppOpsManager.OpEntry opEntry = opEntries.get(opInd); in areActiveHighPowerLocationRequests() 168 if (opEntry.getOp() == AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION) { in areActiveHighPowerLocationRequests()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 20 import android.app.AppOpsManager; 47 private final AppOpsManager mAppOps; 59 mAppOps = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in WifiPermissionsUtil() 170 boolean isAppOpAllowed = noteAppOpAllowed(AppOpsManager.OP_FINE_LOCATION, pkgName, uid); in checkCallersLocationPermission() 172 isAppOpAllowed = noteAppOpAllowed(AppOpsManager.OP_COARSE_LOCATION, pkgName, uid); in checkCallersLocationPermission() 209 if (!checkAppOpAllowed(AppOpsManager.OP_FINE_LOCATION, pkgName, uid)) { in checkCallersFineLocationPermission() 213 if (!noteAppOpAllowed(AppOpsManager.OP_FINE_LOCATION, pkgName, uid)) { in checkCallersFineLocationPermission() 383 return noteAppOpAllowed(AppOpsManager.OP_WIFI_SCAN, pkgName, uid); in isScanAllowedbyApps() 416 return mAppOps.noteOp(op, uid, pkgName) == AppOpsManager.MODE_ALLOWED; in noteAppOpAllowed() 420 return mAppOps.checkOp(op, uid, pkgName) == AppOpsManager.MODE_ALLOWED; in checkAppOpAllowed() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 21 import android.app.AppOpsManager; 52 AppOpsManager.OnOpActiveChangedListener, 53 AppOpsManager.OnOpNotedListener, Dumpable { 60 private final AppOpsManager mAppOps; 71 AppOpsManager.OP_CAMERA, 72 AppOpsManager.OP_SYSTEM_ALERT_WINDOW, 73 AppOpsManager.OP_RECORD_AUDIO, 74 AppOpsManager.OP_COARSE_LOCATION, 75 AppOpsManager.OP_FINE_LOCATION 81 mAppOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in AppOpsControllerImpl() [all …]
|