xref: /aosp_15_r20/prebuilts/sdk/35/module-lib/api/framework-sdksandbox.txt (revision 344a7f5ef16c479e7a7f54ee6567a9d112f9e72b)
1*344a7f5eSAndroid Build Coastguard Worker// Signature format: 2.0
2*344a7f5eSAndroid Build Coastguard Workerpackage android.app.sdksandbox {
3*344a7f5eSAndroid Build Coastguard Worker
4*344a7f5eSAndroid Build Coastguard Worker  public final class SdkSandboxManager {
5*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACTION_START_SANDBOXED_ACTIVITY = "android.app.sdksandbox.action.START_SANDBOXED_ACTIVITY";
6*344a7f5eSAndroid Build Coastguard Worker  }
7*344a7f5eSAndroid Build Coastguard Worker
8*344a7f5eSAndroid Build Coastguard Worker  public class SdkSandboxManagerFrameworkInitializer {
9*344a7f5eSAndroid Build Coastguard Worker    method public static void registerServiceWrappers();
10*344a7f5eSAndroid Build Coastguard Worker  }
11*344a7f5eSAndroid Build Coastguard Worker
12*344a7f5eSAndroid Build Coastguard Worker}
13*344a7f5eSAndroid Build Coastguard Worker
14*344a7f5eSAndroid Build Coastguard Workerpackage android.app.sdksandbox.sandboxactivity {
15*344a7f5eSAndroid Build Coastguard Worker
16*344a7f5eSAndroid Build Coastguard Worker  public interface ActivityContextInfo {
17*344a7f5eSAndroid Build Coastguard Worker    method public default int getContextFlags();
18*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.content.pm.ApplicationInfo getSdkApplicationInfo();
19*344a7f5eSAndroid Build Coastguard Worker  }
20*344a7f5eSAndroid Build Coastguard Worker
21*344a7f5eSAndroid Build Coastguard Worker  public abstract class SdkSandboxActivityAuthority {
22*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.sdksandbox.sandboxactivity.ActivityContextInfo getActivityContextInfo(@NonNull android.content.Intent);
23*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.app.sdksandbox.sandboxactivity.SdkSandboxActivityAuthority getInstance();
24*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isSdkSandboxActivityIntent(@NonNull android.content.Context, @Nullable android.content.Intent);
25*344a7f5eSAndroid Build Coastguard Worker  }
26*344a7f5eSAndroid Build Coastguard Worker
27*344a7f5eSAndroid Build Coastguard Worker}
28*344a7f5eSAndroid Build Coastguard Worker
29