1 /* 2 * Copyright (C) 2020 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.os; 18 19 import android.content.ComponentName; 20 import android.os.Bundle; 21 import android.content.pm.SignedPackageParcel; 22 23 /** 24 * Binder interface to query SystemConfig in the system server. 25 * {@hide} 26 */ 27 interface ISystemConfig { 28 /** 29 * @see SystemConfigManager#getDisabledUntilUsedPreinstalledCarrierApps 30 */ getDisabledUntilUsedPreinstalledCarrierApps()31 List<String> getDisabledUntilUsedPreinstalledCarrierApps(); 32 33 /** 34 * @see SystemConfigManager#getDisabledUntilUsedPreinstalledCarrierAssociatedApps 35 */ getDisabledUntilUsedPreinstalledCarrierAssociatedApps()36 Map getDisabledUntilUsedPreinstalledCarrierAssociatedApps(); 37 38 /** 39 * @see SystemConfigManager#getDisabledUntilUsedPreinstalledCarrierAssociatedAppEntries 40 */ getDisabledUntilUsedPreinstalledCarrierAssociatedAppEntries()41 Map getDisabledUntilUsedPreinstalledCarrierAssociatedAppEntries(); 42 43 /** 44 * @see SystemConfigManager#getSystemPermissionUids 45 */ getSystemPermissionUids(String permissionName)46 int[] getSystemPermissionUids(String permissionName); 47 48 /** 49 * @see SystemConfigManager#getEnabledComponentOverrides 50 */ getEnabledComponentOverrides(String packageName)51 List<ComponentName> getEnabledComponentOverrides(String packageName); 52 53 /** 54 * @see SystemConfigManager#getDefaultVrComponents 55 */ getDefaultVrComponents()56 List<ComponentName> getDefaultVrComponents(); 57 58 /** 59 * @see SystemConfigManager#getPreventUserDisablePackages 60 */ getPreventUserDisablePackages()61 List<String> getPreventUserDisablePackages(); 62 63 /** 64 * @see SystemConfigManager#getEnhancedConfirmationTrustedPackages 65 */ getEnhancedConfirmationTrustedPackages()66 List<SignedPackageParcel> getEnhancedConfirmationTrustedPackages(); 67 68 /** 69 * @see SystemConfigManager#getEnhancedConfirmationTrustedInstallers 70 */ getEnhancedConfirmationTrustedInstallers()71 List<SignedPackageParcel> getEnhancedConfirmationTrustedInstallers(); 72 } 73