113014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown/*
213014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown * Copyright (C) 2014 The Android Open Source Project
313014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown *
413014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown * Licensed under the Apache License, Version 2.0 (the "License");
513014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown * you may not use this file except in compliance with the License.
613014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown * You may obtain a copy of the License at
713014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown *
813014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown *      http://www.apache.org/licenses/LICENSE-2.0
913014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown *
1013014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown * Unless required by applicable law or agreed to in writing, software
1113014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown * distributed under the License is distributed on an "AS IS" BASIS,
1213014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown * See the License for the specific language governing permissions and
1413014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown * limitations under the License.
1513014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown */
1613014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown
1713014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brownpackage android.app;
1813014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown
1913014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown/**
2013014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown * Activity manager local system service interface.
2113014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown *
2213014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown * @hide Only for use within the system server.
2313014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown */
2413014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brownpublic abstract class ActivityManagerInternal {
2513014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown    // Called by the power manager.
26fbe96706bb9754f9ea3f6345f32e058a45ad10b4Jeff Brown    public abstract void onWakefulnessChanged(int wakefulness);
27fbe96706bb9754f9ea3f6345f32e058a45ad10b4Jeff Brown
28810c052d9b117217152c2a609ccec056a2a61d1ePrimiano Tucci    public abstract int startIsolatedProcess(String entryPoint, String[] mainArgs,
29810c052d9b117217152c2a609ccec056a2a61d1ePrimiano Tucci            String processName, String abiOverride, int uid, Runnable crashHandler);
3013014b5fe5967b3c7e232ffaf81581ed178e6df6Jeff Brown}
31