/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayActorEnforcer.java | 77 return Pair.create(packageName, ActorState.ALLOWED); in getPackageNameForActor() 87 if (actorState == ActorState.ALLOWED) { in enforceActor() 111 return ActorState.ALLOWED; in isAllowedActor() 122 return ActorState.ALLOWED; in isAllowedActor() 132 return ActorState.ALLOWED; in isAllowedActor() 148 return ActorState.ALLOWED; in isAllowedActor() 178 return ActorState.ALLOWED; in isAllowedActor() 187 if (actorUriState != ActorState.ALLOWED) { in isAllowedActor() 203 return ActorState.ALLOWED; in isAllowedActor() 231 ALLOWED enumConstant
|
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/ |
D | OverrideValidatorImplTest.java | 19 import static com.android.internal.compat.OverrideAllowedState.ALLOWED; 124 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride() 126 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride() 128 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride() 130 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride() 132 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride() 167 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeReleaseApp_allowOverride() 169 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeReleaseApp_allowOverride() 171 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeReleaseApp_allowOverride() 173 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeReleaseApp_allowOverride() [all …]
|
/frameworks/base/core/java/com/android/internal/compat/ |
D | OverrideAllowedState.java | 32 ALLOWED, 47 public static final int ALLOWED = 0; field in OverrideAllowedState 113 case ALLOWED: in enforce() 171 case ALLOWED: in stateName()
|
/frameworks/base/services/core/java/com/android/server/compat/ |
D | OverrideValidatorImpl.java | 23 import static com.android.internal.compat.OverrideAllowedState.ALLOWED; 109 return new OverrideAllowedState(ALLOWED, -1, -1); in getOverrideAllowedStateInternal() 132 return new OverrideAllowedState(ALLOWED, -1, -1); in getOverrideAllowedStateInternal() 141 return new OverrideAllowedState(ALLOWED, appTargetSdk, maxTargetSdk); in getOverrideAllowedStateInternal() 149 return new OverrideAllowedState(ALLOWED, appTargetSdk, maxTargetSdk); in getOverrideAllowedStateInternal()
|
D | CompatChange.java | 190 boolean allowed = (allowedState.state == OverrideAllowedState.ALLOWED); in recheckOverride()
|
D | CompatConfig.java | 464 if (allowedState.state == OverrideAllowedState.ALLOWED) { in getAllowedChangesSinceTargetSdkForPackage()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayActorEnforcerTests.kt | 63 val expectedState = testCase.state.takeUnless { type == Params.Type.ALLOWED } in <lambda>() 64 ?: ActorState.ALLOWED in <lambda>() 71 testCase.allowed.map { param(it, Params.Type.ALLOWED) } in <lambda>() 89 makeTestName(testCase, it.first, Params.Type.ALLOWED) in <lambda>() 263 ActorState.ALLOWED withCases { in <lambda>() 295 val resultSuffix = if (type == Params.Type.ALLOWED) "allowed" else "failed" in <lambda>() 312 if (params.type == Params.Type.ALLOWED) { in <lambda>() 314 assertThat(testState.toResult()).isNotEqualTo(ActorState.ALLOWED) in <lambda>() 338 ALLOWED in <lambda>()
|
/frameworks/base/telephony/common/android/telephony/ |
D | LocationAccessPolicy.java | 47 ALLOWED, enumConstant 235 return LocationPermissionResult.ALLOWED; in appOpsModeToPermissionResult() 271 return LocationPermissionResult.ALLOWED; in checkAppLocationPermissionHelper() 316 return LocationPermissionResult.ALLOWED; in checkLocationPermission() 344 return LocationPermissionResult.ALLOWED; in checkLocationPermission()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NetworkScanRequestTracker.java | 458 == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in receiveResult()
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 3231 return locationResult == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in checkFineLocationAccess() 3257 return locationResult == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in checkCoarseLocationAccess()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProtoDumpUtil.java | 944 GlobalSettingsProto.MobileData.ALLOWED); in dumpProtoGlobalSettingsLocked()
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 10452 ALLOWED = 1; enumerator 10482 ALLOWED = 1; enumerator 12227 ALLOWED = 1; enumerator
|