1edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/*
2edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project * Copyright (C) 2008 The Android Open Source Project
3edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project *
4edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project * Licensed under the Apache License, Version 2.0 (the "License");
5edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project * you may not use this file except in compliance with the License.
6edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project * You may obtain a copy of the License at
7edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project *
8edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project *      http://www.apache.org/licenses/LICENSE-2.0
9edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project *
10edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project * Unless required by applicable law or agreed to in writing, software
11edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project * distributed under the License is distributed on an "AS IS" BASIS,
12edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project * See the License for the specific language governing permissions and
14edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project * limitations under the License.
15edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project */
16edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
17208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian// All static variables go here, to control initialization and
18208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian// destruction order in the library.
19edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
20208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian#include <utils/threads.h>
21edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
22c5b2c0bf8007562536b822eb060fc54a01f8e08bMathias Agopian#include <binder/IBinder.h>
23c5b2c0bf8007562536b822eb060fc54a01f8e08bMathias Agopian#include <binder/ProcessState.h>
24c5b2c0bf8007562536b822eb060fc54a01f8e08bMathias Agopian#include <binder/IPermissionController.h>
25c5b2c0bf8007562536b822eb060fc54a01f8e08bMathias Agopian#include <binder/IServiceManager.h>
26edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
27edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectnamespace android {
28edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
29002e1e58dfe19dd3e49a59c6827cbf51573941a2Mathias Agopian// For TextStream.cpp
30002e1e58dfe19dd3e49a59c6827cbf51573941a2Mathias Agopianextern Vector<int32_t> gTextBuffers;
31002e1e58dfe19dd3e49a59c6827cbf51573941a2Mathias Agopian
32208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian// For ProcessState.cpp
33208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopianextern Mutex gProcessMutex;
34208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopianextern sp<ProcessState> gProcess;
35edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
367e790af756d7891cb1cf1374bb283a8fbcbe6b49Dianne Hackborn// For IServiceManager.cpp
37208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopianextern Mutex gDefaultServiceManagerLock;
38208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopianextern sp<IServiceManager> gDefaultServiceManager;
39208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopianextern sp<IPermissionController> gPermissionController;
40edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
41208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian}   // namespace android
42