1/*
2 * Copyright (C) 2014 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 */
16package android.media;
17
18import com.android.server.LocalServices;
19
20/**
21 * Class for system services to access extra AudioManager functionality. The
22 * AudioService is responsible for registering an implementation with
23 * {@link LocalServices}.
24 *
25 * @hide
26 */
27public abstract class AudioManagerInternal {
28
29    public abstract void adjustSuggestedStreamVolumeForUid(int streamType, int direction,
30            int flags,
31            String callingPackage, int uid);
32
33    public abstract void adjustStreamVolumeForUid(int streamType, int direction, int flags,
34            String callingPackage, int uid);
35
36    public abstract void setStreamVolumeForUid(int streamType, int direction, int flags,
37            String callingPackage, int uid);
38}
39