Exploit databaseDownload repository ZIP
GH-31c028f5638c2b362488617d5ac6548b
pvharmo2/gha-lab-360f77d0d4
Sources for CVE-2026-39866
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files20
pvharmo2/gha-lab-360f77d0d4Revision 8f24b3d2bc38
- ↑..Parent directory
- actioncorner/
- smartspace/
- ActivityManagerKt.kt
- ActivityManagerWrapper.java
- BlurUtils.java
- DevicePolicyManagerWrapper.java
- InputChannelCompat.java
- InputConsumerController.java
- InputMonitorCompat.java
- InteractionJankMonitorWrapper.java
- PackageManagerWrapper.java
- PeopleProviderUtils.java
- QuickStepContract.java
- RecentsAnimationControllerCompat.java
- RecentsAnimationListener.java
- SurfaceViewRequestReceiver.java
- SurfaceViewRequestUtils.java
- TaskStackChangeListener.java
- TaskStackChangeListeners.java
- UncaughtExceptionPreHandlerManager.kt
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
systemUI/shared/src/com/android/systemui/shared/system/SurfaceViewRequestUtils.java
Java · 2,367 bytes/*
* Copyright (C) 2020 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.annotation.Nullable;
import android.os.Bundle;
import android.os.IBinder;
import android.view.SurfaceControl;
import android.view.SurfaceView;
/** Util class that wraps a SurfaceView request into a bundle. */
public class SurfaceViewRequestUtils {
private static final String KEY_HOST_TOKEN = "host_token";
private static final String KEY_SURFACE_CONTROL = "surface_control";
private static final String KEY_DISPLAY_ID = "display_id";
/** Creates a SurfaceView based bundle that stores the input host token and surface control. */
public static Bundle createSurfaceBundle(SurfaceView surfaceView) {
Bundle bundle = new Bundle();
bundle.putBinder(KEY_HOST_TOKEN, surfaceView.getHostToken());
bundle.putParcelable(KEY_SURFACE_CONTROL, surfaceView.getSurfaceControl());
bundle.putInt(KEY_DISPLAY_ID, surfaceView.getDisplay().getDisplayId());
return bundle;
}
/**
* Retrieves the SurfaceControl from a bundle created by
* {@link #createSurfaceBundle(SurfaceView)}.
*/
public static SurfaceControl getSurfaceControl(Bundle bundle) {
return bundle.getParcelable(KEY_SURFACE_CONTROL);
}
/**
* Retrieves the input token from a bundle created by {@link #createSurfaceBundle(SurfaceView)}.
*/
public static @Nullable IBinder getHostToken(Bundle bundle) {
return bundle.getBinder(KEY_HOST_TOKEN);
}
/**
* Retrieves the display id from a bundle created by {@link #createSurfaceBundle(SurfaceView)}.
*/
public static int getDisplayId(Bundle bundle) {
return bundle.getInt(KEY_DISPLAY_ID);
}
private SurfaceViewRequestUtils() {}
}