Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DOverrideValidatorImplTest.java19 import static com.android.internal.compat.OverrideAllowedState.ALLOWED;
117 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride()
119 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride()
121 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride()
123 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride()
125 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride()
160 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeReleaseApp_allowOverride()
162 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeReleaseApp_allowOverride()
164 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeReleaseApp_allowOverride()
166 .isEqualTo(new OverrideAllowedState(ALLOWED, -1, -1)); in getOverrideAllowedState_debugBuildAnyChangeReleaseApp_allowOverride()
[all …]
/frameworks/base/services/core/java/com/android/server/om/
DOverlayActorEnforcer.java79 return Pair.create(packageName, ActorState.ALLOWED); in getPackageNameForActor()
89 if (actorState == ActorState.ALLOWED) { in enforceActor()
110 return ActorState.ALLOWED; in isAllowedActor()
121 return ActorState.ALLOWED; in isAllowedActor()
137 return ActorState.ALLOWED; in isAllowedActor()
167 return ActorState.ALLOWED; in isAllowedActor()
176 if (actorUriState != ActorState.ALLOWED) { in isAllowedActor()
197 return ActorState.ALLOWED; in isAllowedActor()
208 ALLOWED, enumConstant
/frameworks/base/services/core/java/com/android/server/compat/
DOverrideValidatorImpl.java19 import static com.android.internal.compat.OverrideAllowedState.ALLOWED;
66 return new OverrideAllowedState(ALLOWED, -1, -1); in getOverrideAllowedState()
85 return new OverrideAllowedState(ALLOWED, appTargetSdk, minTargetSdk); in getOverrideAllowedState()
93 return new OverrideAllowedState(ALLOWED, appTargetSdk, minTargetSdk); in getOverrideAllowedState()
DCompatConfig.java335 if (allowedState.state == OverrideAllowedState.ALLOWED) { in getAllowedChangesAfterTargetSdkForPackage()
/frameworks/base/core/java/com/android/internal/compat/
DOverrideAllowedState.java32 ALLOWED,
46 public static final int ALLOWED = 0; field in OverrideAllowedState
108 case ALLOWED: in enforce()
165 case ALLOWED: in stateName()
/frameworks/base/telephony/common/android/telephony/
DLocationAccessPolicy.java47 ALLOWED, enumConstant
189 return LocationPermissionResult.ALLOWED; in appOpsModeToPermissionResult()
225 return LocationPermissionResult.ALLOWED; in checkAppLocationPermissionHelper()
270 return LocationPermissionResult.ALLOWED; in checkLocationPermission()
298 return LocationPermissionResult.ALLOWED; in checkLocationPermission()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkScanRequestTracker.java452 == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in receiveResult()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java2777 return locationResult == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in checkFineLocationAccess()
2795 return locationResult == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in checkCoarseLocationAccess()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java954 GlobalSettingsProto.MobileData.ALLOWED); in dumpProtoGlobalSettingsLocked()
/frameworks/base/cmds/statsd/src/
Datoms.proto9016 ALLOWED = 1; enumerator
9046 ALLOWED = 1; enumerator
9797 ALLOWED = 1; enumerator