/frameworks/base/services/core/java/com/android/server/am/ |
D | UidRecord.java | 180 @GuardedBy(anyOf = {"mService", "mProcLock"}) 195 @GuardedBy(anyOf = {"mService", "mProcLock"}) 205 @GuardedBy(anyOf = {"mService", "mProcLock"}) 225 @GuardedBy(anyOf = {"mService", "mProcLock"}) 230 @GuardedBy(anyOf = {"mService", "mProcLock"}) 242 @GuardedBy(anyOf = {"mService", "mProcLock"}) 252 @GuardedBy(anyOf = {"mService", "mProcLock"}) 262 @GuardedBy(anyOf = {"mService", "mProcLock"}) 275 @GuardedBy(anyOf = {"mService", "mProcLock"}) 283 @GuardedBy(anyOf = {"mService", "mProcLock"}) [all …]
|
D | ProcessStateRecord.java | 495 @GuardedBy(anyOf = {"mService", "mProcLock"}) 505 @GuardedBy(anyOf = {"mService", "mProcLock"}) 516 @GuardedBy(anyOf = {"mService", "mProcLock"}) 526 @GuardedBy(anyOf = {"mService", "mProcLock"}) 531 @GuardedBy(anyOf = {"mService", "mProcLock"}) 556 @GuardedBy(anyOf = {"mService", "mProcLock"}) 566 @GuardedBy(anyOf = {"mService", "mProcLock"}) 577 @GuardedBy(anyOf = {"mService", "mProcLock"}) 587 @GuardedBy(anyOf = {"mService", "mProcLock"}) 598 @GuardedBy(anyOf = {"mService", "mProcLock"}) [all …]
|
D | ActiveUids.java | 69 @GuardedBy(anyOf = {"mService", "mProcLock"}) 74 @GuardedBy(anyOf = {"mService", "mProcLock"}) 79 @GuardedBy(anyOf = {"mService", "mProcLock"}) 84 @GuardedBy(anyOf = {"mService", "mProcLock"}) 89 @GuardedBy(anyOf = {"mService", "mProcLock"}) 94 @GuardedBy(anyOf = {"mService", "mProcLock"})
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 2664 @RequiresPermission(anyOf = {android.Manifest.permission.MANAGE_USERS, 2688 @RequiresPermission(anyOf = {android.Manifest.permission.MANAGE_USERS, 2706 @RequiresPermission(anyOf = {android.Manifest.permission.MANAGE_USERS, 2754 @RequiresPermission(anyOf = { 2770 @RequiresPermission(anyOf = { 2804 @RequiresPermission(anyOf = { 2860 @RequiresPermission(anyOf = { 2897 @RequiresPermission(anyOf = { 2914 @RequiresPermission(anyOf = { 2935 @RequiresPermission(anyOf = { [all …]
|
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/ |
D | RequiresPermissionChecker.java | 22 import static com.google.errorprone.matchers.Matchers.anyOf; 100 anyOf( 104 private static final Matcher<MethodTree> LOCAL_INTERNALS = anyOf( 226 final Set<String> anyOf = new HashSet<>(); field in RequiresPermissionChecker.ParsedRequiresPermission 229 return allOf.isEmpty() && anyOf.isEmpty(); in isEmpty() 240 if (perm.anyOf.isEmpty()) { in containsAll() 243 for (String anyPerm : perm.anyOf) { in containsAll() 244 if (allOf.contains(anyPerm) || anyOf.contains(anyPerm)) { in containsAll() 256 return allOf.equals(other.allOf) && anyOf.equals(other.anyOf); in equals() 268 if (!anyOf.isEmpty()) { in toString() [all …]
|
D | CompatChangeChecker.java | 23 import static com.google.errorprone.matchers.Matchers.anyOf; 62 private static final Matcher<ExpressionTree> LEGACY_VERSION_CODE = anyOf( 104 private static final Matcher<ExpressionTree> BOOLEAN_OPERATOR = anyOf( 109 private static final Matcher<BinaryTree> INVALID = anyOf(
|
D | TargetSdkChecker.java | 22 import static com.google.errorprone.matchers.Matchers.anyOf; 69 private static final Matcher<BinaryTree> INVALID_OLD_BEHAVIOR = anyOf( 73 private static final Matcher<BinaryTree> INVALID_NEW_BEHAVIOR = anyOf(
|
/frameworks/base/tools/lint/global/checks/src/main/java/com/google/android/lint/aidl/ |
D | EnforcePermissionFix.kt | 53 val anyOf: Boolean, constant in com.google.android.lint.aidl.EnforcePermissionFix 91 if (anyOf) "anyOf" else "allOf" 157 val anyOf = getAnnotationBooleanValue(annotation, "anyOf") ?: false constant 219 val anyOf = getAnnotationBooleanValue(permissionMethodAnnotation, "anyOf") ?: false constant 292 val currentAnyOf = getAnnotationBooleanValue(currentAnnotation, "anyOf") ?: false 385 override val message: String = "anyOf/allOf permission methods cannot be mixed"
|
/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/service/ |
D | SharedConnectivityService.java | 93 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, in onBind() 106 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, in onBind() 119 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, in onBind() 132 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, in onBind() 144 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, in onBind() 169 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, in onBind() 182 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, in onBind() 195 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, in onBind() 216 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, in onBind() 230 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, in onBind() [all …]
|
/frameworks/base/media/java/android/media/ |
D | AudioDeviceVolumeManager.java | 149 @RequiresPermission(anyOf = { android.Manifest.permission.MODIFY_AUDIO_ROUTING, 206 @RequiresPermission(anyOf = { android.Manifest.permission.MODIFY_AUDIO_ROUTING, 232 @RequiresPermission(anyOf = { android.Manifest.permission.MODIFY_AUDIO_ROUTING, 257 @RequiresPermission(anyOf = { android.Manifest.permission.MODIFY_AUDIO_ROUTING, 284 @RequiresPermission(anyOf = { android.Manifest.permission.MODIFY_AUDIO_ROUTING, 302 @RequiresPermission(anyOf = { android.Manifest.permission.MODIFY_AUDIO_ROUTING, 363 @RequiresPermission(anyOf = { 380 @RequiresPermission(anyOf = { 397 @RequiresPermission(anyOf = { 421 @RequiresPermission(anyOf = {
|
/frameworks/base/core/java/android/content/pm/ |
D | ServiceInfo.java | 205 anyOf = { 228 anyOf = { 260 anyOf = { 318 anyOf = { 345 anyOf = { 369 anyOf = {
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/util/kotlin/ |
D | BooleanFlowOperatorsTest.kt | 27 import com.android.systemui.util.kotlin.BooleanFlowOperators.anyOf 84 val result by collectLastValue(anyOf(TRUE, TRUE)) in or_allTrue_returnsTrue() 91 val result by collectLastValue(anyOf(FALSE, TRUE, FALSE)) in or_anyTrue_returnsTrue() 98 val result by collectLastValue(anyOf(FALSE, FALSE, FALSE)) in or_allFalse_returnsFalse() 107 val values by collectValues(anyOf(flow1, flow2)) in or_onlyEmitsWhenValueChanges()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/ |
D | BooleanFlowOperators.kt | 63 fun anyOf(vararg flows: Flow<Boolean>): Flow<Boolean> = flows.asIterable().any() in <lambda>() method 69 fun Array<Flow<Boolean>>.any(): Flow<Boolean> = anyOf(*this) in <lambda>() 82 fun noneOf(vararg flows: Flow<Boolean>): Flow<Boolean> = not(anyOf(*flows)) in <lambda>()
|
/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/app/ |
D | SharedConnectivityManager.java | 356 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, 394 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, 451 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, 478 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, 503 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, 528 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, 551 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, 573 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, 596 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, 619 @RequiresPermission(anyOf = {android.Manifest.permission.NETWORK_SETTINGS, [all …]
|
/frameworks/base/core/java/android/service/oemlock/ |
D | IOemLockService.aidl | 38 @EnforcePermission(anyOf = {"READ_OEM_UNLOCK_STATE", "OEM_UNLOCK_STATE"}) 40 @EnforcePermission(anyOf = {"READ_OEM_UNLOCK_STATE", "OEM_UNLOCK_STATE"})
|
/frameworks/base/tests/EnforcePermission/aidl/android/tests/enforcepermission/ |
D | IProtected.aidl | 50 @EnforcePermission(anyOf={"ACCESS_WIFI_STATE", "VIBRATE"}) 53 @EnforcePermission(anyOf={"INTERNET", "VIBRATE"})
|
/frameworks/base/core/java/android/content/om/ |
D | OverlayManager.java | 169 @RequiresPermission(anyOf = { 204 @RequiresPermission(anyOf = { 275 @RequiresPermission(anyOf = { 298 @RequiresPermission(anyOf = {
|
/frameworks/base/core/java/android/app/ |
D | VrManager.java | 71 @RequiresPermission(anyOf = { 100 @RequiresPermission(anyOf = { 124 @RequiresPermission(anyOf = { 140 @RequiresPermission(anyOf = {
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsMmTelManager.java | 257 @RequiresPermission(anyOf = { 357 @RequiresPermission(anyOf = { 430 @RequiresPermission(anyOf = { 608 @RequiresPermission(anyOf = { 679 @RequiresPermission(anyOf = { 732 @RequiresPermission(anyOf = { 787 @RequiresPermission(anyOf = { 1001 @RequiresPermission(anyOf = { 1079 @RequiresPermission(anyOf = { 1172 @RequiresPermission(anyOf = { [all …]
|
/frameworks/base/core/java/android/content/rollback/ |
D | RollbackManager.java | 80 @RequiresPermission(anyOf = { 110 @RequiresPermission(anyOf = { 198 @RequiresPermission(anyOf = {
|
/frameworks/base/core/java/android/net/ |
D | PacProxyManager.java | 56 @RequiresPermission(anyOf = { 80 @RequiresPermission(anyOf = { 99 @RequiresPermission(anyOf = {
|
D | NetworkScoreManager.java | 251 @RequiresPermission(anyOf = {android.Manifest.permission.SCORE_NETWORKS, 328 @RequiresPermission(anyOf = {android.Manifest.permission.SCORE_NETWORKS, 350 @RequiresPermission(anyOf = {android.Manifest.permission.SCORE_NETWORKS, 368 @RequiresPermission(anyOf = {android.Manifest.permission.SCORE_NETWORKS,
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | AudioManagerRouteController.java | 117 anyOf = { 146 anyOf = { 161 anyOf = { 228 anyOf = { 263 anyOf = { 276 anyOf = { 286 anyOf = { 587 anyOf = {
|
/frameworks/base/errorprone/tests/java/com/google/errorprone/bugpatterns/android/ |
D | RequiresPermissionCheckerTest.java | 48 Collection<String> anyOf) { in build() argument 51 res.anyOf.addAll(anyOf); in build()
|
/frameworks/base/location/java/android/location/ |
D | LocationManager.java | 857 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION}) 881 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION}) 908 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION}) 941 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION}) 975 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION}) 1020 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION}) 1067 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION}) 1104 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION}) 1139 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION}) 1173 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION}) [all …]
|