Exploit databaseDownload repository ZIP
GH-cd474985a1d611a2a689e02bc95daae0
satheesh575555/frameworks_base_aosp10_r33_cve-2022-20142
Sources for CVE-2022-20142
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files39
satheesh575555/frameworks_base_aosp10_r33_cve-2022-20142Revision 0b10dce4665c
- ↑..Parent directory
- ActivityCompat.java
- ActivityManagerWrapper.java
- ActivityOptionsCompat.java
- AssistDataReceiver.java
- BackgroundExecutor.java
- ChoreographerCompat.java
- ContextCompat.java
- DevicePolicyManagerWrapper.java
- DockedStackListenerCompat.java
- InputChannelCompat.java
- InputConsumerController.java
- InputMonitorCompat.java
- KeyguardManagerCompat.java
- LatencyTrackerCompat.java
- LauncherEventUtil.java
- MetricsLoggerCompat.java
- PackageManagerWrapper.java
- PinnedStackListenerForwarder.java
- QuickStepContract.java
- RecentsAnimationControllerCompat.java
- RecentsAnimationListener.java
- RemoteAnimationAdapterCompat.java
- RemoteAnimationDefinitionCompat.java
- RemoteAnimationRunnerCompat.java
- RemoteAnimationTargetCompat.java
- RotationWatcher.java
- StatsLogCompat.java
- SurfaceControlCompat.java
- SyncRtSurfaceTransactionApplierCompat.java
- SystemGestureExclusionListenerCompat.java
- TaskDescriptionCompat.java
- TaskInfoCompat.java
- TaskStackChangeListener.java
- TaskStackChangeListeners.java
- ThreadedRendererCompat.java
- TonalCompat.java
- TransactionCompat.java
- WindowCallbacksCompat.java
- WindowManagerWrapper.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationTargetCompat.java
Java · 3,185 bytes/*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
*/
package com.android.systemui.shared.system;
import android.app.WindowConfiguration;
import android.graphics.Point;
import android.graphics.Rect;
import android.view.RemoteAnimationTarget;
import android.view.SurfaceControl;
/**
* @see RemoteAnimationTarget
*/
public class RemoteAnimationTargetCompat {
public static final int MODE_OPENING = RemoteAnimationTarget.MODE_OPENING;
public static final int MODE_CLOSING = RemoteAnimationTarget.MODE_CLOSING;
public final int mode;
public static final int ACTIVITY_TYPE_UNDEFINED = WindowConfiguration.ACTIVITY_TYPE_UNDEFINED;
public static final int ACTIVITY_TYPE_STANDARD = WindowConfiguration.ACTIVITY_TYPE_STANDARD;
public static final int ACTIVITY_TYPE_HOME = WindowConfiguration.ACTIVITY_TYPE_HOME;
public static final int ACTIVITY_TYPE_RECENTS = WindowConfiguration.ACTIVITY_TYPE_RECENTS;
public static final int ACTIVITY_TYPE_ASSISTANT = WindowConfiguration.ACTIVITY_TYPE_ASSISTANT;
public final int activityType;
public final int taskId;
public final SurfaceControlCompat leash;
public final boolean isTranslucent;
public final Rect clipRect;
public final int prefixOrderIndex;
public final Point position;
public final Rect sourceContainerBounds;
public final boolean isNotInRecents;
public final Rect contentInsets;
private final SurfaceControl mStartLeash;
public RemoteAnimationTargetCompat(RemoteAnimationTarget app) {
taskId = app.taskId;
mode = app.mode;
leash = new SurfaceControlCompat(app.leash);
isTranslucent = app.isTranslucent;
clipRect = app.clipRect;
position = app.position;
sourceContainerBounds = app.sourceContainerBounds;
prefixOrderIndex = app.prefixOrderIndex;
isNotInRecents = app.isNotInRecents;
contentInsets = app.contentInsets;
activityType = app.windowConfiguration.getActivityType();
mStartLeash = app.startLeash;
}
public static RemoteAnimationTargetCompat[] wrap(RemoteAnimationTarget[] apps) {
final RemoteAnimationTargetCompat[] appsCompat =
new RemoteAnimationTargetCompat[apps.length];
for (int i = 0; i < apps.length; i++) {
appsCompat[i] = new RemoteAnimationTargetCompat(apps[i]);
}
return appsCompat;
}
/**
* @see SurfaceControl#release()
*/
public void release() {
leash.mSurfaceControl.release();
if (mStartLeash != null) {
mStartLeash.release();
}
}
}