/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsUidStateTrackerTest.java | 20 import static android.app.AppOpsManager.MODE_FOREGROUND; 129 assertEquals(MODE_IGNORED, mIntf.evalMode(UID, OP_RECORD_AUDIO, MODE_FOREGROUND)); in testNoCapability() 130 assertEquals(MODE_IGNORED, mIntf.evalMode(UID, OP_CAMERA, MODE_FOREGROUND)); in testNoCapability() 131 assertEquals(MODE_IGNORED, mIntf.evalMode(UID, OP_COARSE_LOCATION, MODE_FOREGROUND)); in testNoCapability() 132 assertEquals(MODE_IGNORED, mIntf.evalMode(UID, OP_FINE_LOCATION, MODE_FOREGROUND)); in testNoCapability() 134 mIntf.evalMode(UID, OP_RECEIVE_EXPLICIT_USER_INTERACTION_AUDIO, MODE_FOREGROUND)); in testNoCapability() 144 assertEquals(MODE_ALLOWED, mIntf.evalMode(UID, OP_RECORD_AUDIO, MODE_FOREGROUND)); in testForegroundWithMicrophoneCapability() 146 mIntf.evalMode(UID, OP_RECEIVE_EXPLICIT_USER_INTERACTION_AUDIO, MODE_FOREGROUND)); in testForegroundWithMicrophoneCapability() 148 assertEquals(MODE_IGNORED, mIntf.evalMode(UID, OP_CAMERA, MODE_FOREGROUND)); in testForegroundWithMicrophoneCapability() 149 assertEquals(MODE_IGNORED, mIntf.evalMode(UID, OP_COARSE_LOCATION, MODE_FOREGROUND)); in testForegroundWithMicrophoneCapability() [all …]
|
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/ |
D | AppOpModes.kt | 26 const val MODE_FOREGROUND = AppOpsManager.MODE_FOREGROUND constant
|
D | AppOpService.kt | 45 import com.android.server.permission.access.appop.AppOpModes.MODE_FOREGROUND in <lambda>() 242 MODE_FOREGROUND in <lambda>() 345 if (mode == AppOpsManager.MODE_FOREGROUND) { in <lambda>() 351 if (getUidMode(uid, deviceId, op) == AppOpsManager.MODE_FOREGROUND) { in <lambda>() 362 if (mode == AppOpsManager.MODE_FOREGROUND) { in <lambda>() 368 if (getPackageMode(packageName, op, userId) == AppOpsManager.MODE_FOREGROUND) { in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsUidStateTrackerImpl.java | 28 import static android.app.AppOpsManager.MODE_FOREGROUND; 133 if (mode != MODE_FOREGROUND) { in evalMode() 188 return evalMode(uid, OP_NONE, MODE_FOREGROUND) == MODE_ALLOWED; in isUidInForeground()
|
D | AppOpsCheckingServiceImpl.java | 20 import static android.app.AppOpsManager.MODE_FOREGROUND; 341 if (modes.valueAt(i) == MODE_FOREGROUND) { in getForegroundOps() 363 if (modes.valueAt(i) == MODE_FOREGROUND) { in getForegroundOps()
|
D | AppOpsService.java | 34 import static android.app.AppOpsManager.MODE_FOREGROUND; 1480 == AppOpsManager.MODE_FOREGROUND) { in onUidStateChanged() 1504 == AppOpsManager.MODE_FOREGROUND) { in onUidStateChanged() 2295 && mode != AppOpsManager.MODE_FOREGROUND; in updatePermissionRevokedCompat() 6507 if (mode != MODE_ALLOWED && mode != MODE_FOREGROUND) {
|
/frameworks/base/core/java/android/app/ |
D | ForegroundServiceTypePolicy.java | 21 import static android.app.AppOpsManager.MODE_FOREGROUND; 1192 case MODE_FOREGROUND: in checkPermission() 1228 return (mode == MODE_ALLOWED || (allowWhileInUse && mode == MODE_FOREGROUND)) in checkPermission()
|
D | AppOpsManager.java | 394 MODE_FOREGROUND 441 public static final int MODE_FOREGROUND = 4; field in AppOpsManager 3272 return AppOpsManager.MODE_FOREGROUND; in opToDefaultMode() 9352 return mode == AppOpsManager.MODE_FOREGROUND ? AppOpsManager.MODE_ALLOWED : mode; in checkOpNoThrow()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 22 import static android.app.AppOpsManager.MODE_FOREGROUND; 961 appOpMode = shouldGrantBackgroundAppOp ? MODE_ALLOWED : MODE_FOREGROUND; in addPermissionAppOp() 975 case MODE_FOREGROUND: in addPermissionAppOp() 1086 setUidMode(opCode, uid, MODE_FOREGROUND, packageName); in setUidModeForeground()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 488 case AppOpsManager.MODE_FOREGROUND: in checkCallingOrSelfUseIccAuthWithDeviceIdentifier()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveServices.java | 3496 case AppOpsManager.MODE_FOREGROUND: return FrameworkStatsLog in modeToEnum()
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 5915 MODE_FOREGROUND = 3; // Allow-while-in-use (or allowed-one-time) enumerator
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/base/core/api/ |
D | current.txt | 5117 field public static final int MODE_FOREGROUND = 4; // 0x4
|