Remove CommunalSource related AIDL interfaces.

This changelist removes the CommunalSource AIDL interfaces that are no longer used.

Bug: 216515830
Test: manual
Change-Id: I82f96e1b30da7eb46145e46cbe629135cc342c8e
This commit is contained in:
Bryce Lee
2022-01-26 13:40:56 -08:00
parent 37e95f0bf1
commit f57d17639a
3 changed files with 0 additions and 97 deletions

View File

@@ -1,33 +0,0 @@
/*
* Copyright (C) 2021 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.communal;
import com.android.systemui.shared.communal.ICommunalSource;
/**
* An interface, implemented by SystemUI, for hosting a shared, communal surface on the lock
* screen. Clients declare themselves sources (as defined by ICommunalSource). ICommunalHost is
* meant only for the input of said sources. The lifetime scope and interactions that follow after
* are bound to source.
*/
oneway interface ICommunalHost {
/**
* Invoked to specify the CommunalSource that should be consulted for communal surfaces to be
* displayed.
*/
void setSource(in ICommunalSource source) = 1;
}

View File

@@ -1,34 +0,0 @@
/*
* Copyright (C) 2021 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.communal;
import com.android.systemui.shared.communal.ICommunalSurfaceCallback;
/**
* An interface, implemented by clients of CommunalHost, to provide communal surfaces for SystemUI.
* The associated binder proxy will be retained by SystemUI and called on-demand when a communal
* surface is needed (either new instantiation or update).
*/
oneway interface ICommunalSource {
/**
* Called by the CommunalHost when a new communal surface is needed. The provided arguments
* match the arguments necessary to construct a SurfaceControlViewHost for producing a
* SurfacePackage to return.
*/
void getCommunalSurface(in IBinder hostToken, in int width, in int height, in int displayId,
in ICommunalSurfaceCallback callback) = 1;
}

View File

@@ -1,30 +0,0 @@
/*
* Copyright (C) 2021 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.communal;
import android.view.SurfaceControlViewHost.SurfacePackage;
/**
* An interface for receiving the result of a surface request. ICommunalSurfaceCallback is
* implemented by the CommunalHost (SystemUI) to process the results of a new communal surface.
*/
interface ICommunalSurfaceCallback {
/**
* Invoked when the CommunalSurface has generated the SurfacePackage to be displayed.
*/
void onSurface(in SurfacePackage surfacePackage) = 1;
}