Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/om/
DOverlayActorEnforcer.java76 return Pair.create(packageName, ActorState.ALLOWED); in getPackageNameForActor()
86 if (actorState == ActorState.ALLOWED) { in enforceActor()
110 return ActorState.ALLOWED; in isAllowedActor()
121 return ActorState.ALLOWED; in isAllowedActor()
131 return ActorState.ALLOWED; in isAllowedActor()
147 return ActorState.ALLOWED; in isAllowedActor()
177 return ActorState.ALLOWED; in isAllowedActor()
186 if (actorUriState != ActorState.ALLOWED) { in isAllowedActor()
202 return ActorState.ALLOWED; in isAllowedActor()
230 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.java189 boolean allowed = (allowedState.state == OverrideAllowedState.ALLOWED); in recheckOverride()
DCompatConfig.java558 if (allowedState.state == OverrideAllowedState.ALLOWED) { in getAllowedChangesSinceTargetSdkForPackage()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayActorEnforcerTests.kt61 val expectedState = testCase.state.takeUnless { type == Params.Type.ALLOWED } in <lambda>()
62 ?: ActorState.ALLOWED in <lambda>()
69 testCase.allowed.map { param(it, Params.Type.ALLOWED) } in <lambda>()
87 makeTestName(testCase, it.first, Params.Type.ALLOWED) in <lambda>()
253 ActorState.ALLOWED withCases { in <lambda>()
293 val resultSuffix = if (type == Params.Type.ALLOWED) "allowed" else "failed" in <lambda>()
310 if (params.type == Params.Type.ALLOWED) { in <lambda>()
312 assertThat(testState.toResult()).isNotEqualTo(ActorState.ALLOWED) in <lambda>()
336 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()
346 return LocationPermissionResult.ALLOWED; in checkLocationPermission()
/frameworks/proto_logging/stats/atoms/devicelogs/
Ddevice_logs_atoms.proto34 ALLOWED = 1; enumerator
/frameworks/base/services/foldables/devicestateprovider/src/com/android/server/policy/
DBookStyleDeviceStatePolicy.java83 private static final Predicate<FoldableDeviceStateProvider> ALLOWED = p -> true; field in BookStyleDeviceStatePolicy
134 ALLOWED), in createConfiguration() field in BookStyleDeviceStatePolicy
DFoldableDeviceStateProvider.java100 private static final Predicate<FoldableDeviceStateProvider> ALLOWED = p -> true; field in FoldableDeviceStateProvider
468 this(deviceState, predicate, ALLOWED); in DeviceStatePredicateWrapper()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkScanRequestTracker.java472 == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in receiveResult()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java4164 return locationResult == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in checkFineLocationAccess()
4193 return locationResult == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in checkCoarseLocationAccess()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java945 GlobalSettingsProto.MobileData.ALLOWED); in dumpProtoGlobalSettingsLocked()
/frameworks/proto_logging/stats/
Datoms.proto12934 ALLOWED = 1; enumerator
12964 ALLOWED = 1; enumerator
14894 ALLOWED = 1; enumerator