Home
last modified time | relevance | path

Searched refs:ALLOWED (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/om/
DOverlayActorEnforcer.java77 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/
DOverrideValidatorImplTest.java19 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/
DOverrideAllowedState.java32 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/
DOverrideValidatorImpl.java23 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()
DCompatChange.java190 boolean allowed = (allowedState.state == OverrideAllowedState.ALLOWED); in recheckOverride()
DCompatConfig.java464 if (allowedState.state == OverrideAllowedState.ALLOWED) { in getAllowedChangesSinceTargetSdkForPackage()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayActorEnforcerTests.kt63 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/
DLocationAccessPolicy.java47 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/
DNetworkScanRequestTracker.java458 == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in receiveResult()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java3231 return locationResult == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in checkFineLocationAccess()
3257 return locationResult == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in checkCoarseLocationAccess()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java944 GlobalSettingsProto.MobileData.ALLOWED); in dumpProtoGlobalSettingsLocked()
/frameworks/proto_logging/stats/
Datoms.proto10452 ALLOWED = 1; enumerator
10482 ALLOWED = 1; enumerator
12227 ALLOWED = 1; enumerator