1 /* 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 17 package android.app; 18 19 import com.android.internal.os.IResultReceiver; 20 import com.android.tools.layoutlib.annotations.LayoutlibDelegate; 21 22 import android.app.ActivityManager.MemoryInfo; 23 import android.app.ActivityManager.PendingIntentInfo; 24 import android.app.ActivityManager.ProcessErrorStateInfo; 25 import android.app.ActivityManager.RunningAppProcessInfo; 26 import android.app.ActivityManager.RunningServiceInfo; 27 import android.app.ActivityManager.RunningTaskInfo; 28 import android.app.ActivityTaskManager.RootTaskInfo; 29 import android.content.ComponentName; 30 import android.content.IIntentReceiver; 31 import android.content.IIntentSender; 32 import android.content.Intent; 33 import android.content.IntentFilter; 34 import android.content.LocusId; 35 import android.content.pm.ApplicationInfo; 36 import android.content.pm.IPackageDataObserver; 37 import android.content.pm.ParceledListSlice; 38 import android.content.pm.UserInfo; 39 import android.content.res.Configuration; 40 import android.graphics.Rect; 41 import android.net.Uri; 42 import android.os.Bundle; 43 import android.os.Debug; 44 import android.os.IBinder; 45 import android.os.IProgressListener; 46 import android.os.ParcelFileDescriptor; 47 import android.os.RemoteCallback; 48 import android.os.RemoteException; 49 import android.os.StrictMode.ViolationInfo; 50 import android.os.WorkSource; 51 52 import java.util.List; 53 54 public class ActivityManager_Delegate { 55 private static final IActivityManager sStubManager = new IActivityManager.Default(); 56 57 @LayoutlibDelegate getService()58 public static IActivityManager getService() { 59 return sStubManager; 60 } 61 } 62