blob: 1fe732e50bab6b357992957ac18c130c3087d00b [file] [log] [blame]
Shraddha Basantwanifdeb39f2022-05-17 14:45:34 +05301/*
2 * Copyright (C) 2022 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.hardware.cas;
18
19/**
20 * The Event Type for status change.
Venkatarama Avadhanib4eb99b2022-12-05 15:44:34 +053021 * @hide
Shraddha Basantwanifdeb39f2022-05-17 14:45:34 +053022 */
23@VintfStability
24@Backing(type="byte")
25enum StatusEvent {
26 /**
27 * The status of CAS plugin was changed due to physical module insertion or
28 * removal. Client must call enumeratePlugins to update plugins' status.
29 */
30 PLUGIN_PHYSICAL_MODULE_CHANGED,
31
32 /**
33 * The status of supported session number was changed due to physical module
34 * insertion or removal. Client must update session resource according to
35 * latest StatusMessage from the StatusEvent. The plugin supports unlimited
36 * session by default.
37 */
38 PLUGIN_SESSION_NUMBER_CHANGED,
39}