/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayActorEnforcer.java | 76 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/ |
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 | 189 boolean allowed = (allowedState.state == OverrideAllowedState.ALLOWED); in recheckOverride()
|
D | CompatConfig.java | 558 if (allowedState.state == OverrideAllowedState.ALLOWED) { in getAllowedChangesSinceTargetSdkForPackage()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayActorEnforcerTests.kt | 61 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/ |
D | LocationAccessPolicy.java | 47 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/ |
D | device_logs_atoms.proto | 34 ALLOWED = 1; enumerator
|
/frameworks/base/services/foldables/devicestateprovider/src/com/android/server/policy/ |
D | BookStyleDeviceStatePolicy.java | 83 private static final Predicate<FoldableDeviceStateProvider> ALLOWED = p -> true; field in BookStyleDeviceStatePolicy 134 ALLOWED), in createConfiguration() field in BookStyleDeviceStatePolicy
|
D | FoldableDeviceStateProvider.java | 100 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/ |
D | NetworkScanRequestTracker.java | 472 == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in receiveResult()
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 4164 return locationResult == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in checkFineLocationAccess() 4193 return locationResult == LocationAccessPolicy.LocationPermissionResult.ALLOWED; in checkCoarseLocationAccess()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProtoDumpUtil.java | 945 GlobalSettingsProto.MobileData.ALLOWED); in dumpProtoGlobalSettingsLocked()
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 12934 ALLOWED = 1; enumerator 12964 ALLOWED = 1; enumerator 14894 ALLOWED = 1; enumerator
|