1// Signature format: 2.0 2package com.android.libraries.tv.tvsystem.display { 3 4 public final class DeviceProductInfo { 5 ctor @Deprecated public DeviceProductInfo(String, String, String, Integer, com.android.libraries.tv.tvsystem.display.DeviceProductInfo.ManufactureDate, int[]); 6 method public int getConnectionToSinkType(); 7 method public com.android.libraries.tv.tvsystem.display.DeviceProductInfo.ManufactureDate getManufactureDate(); 8 method public String getManufacturerPnpId(); 9 method public Integer getModelYear(); 10 method public String getName(); 11 method public String getProductId(); 12 method @Deprecated public int[] getRelativeAddress(); 13 field public static final int CONNECTION_TO_SINK_BUILT_IN = 1; // 0x1 14 field public static final int CONNECTION_TO_SINK_DIRECT = 2; // 0x2 15 field public static final int CONNECTION_TO_SINK_TRANSITIVE = 3; // 0x3 16 field public static final int CONNECTION_TO_SINK_UNKNOWN = 0; // 0x0 17 } 18 19 public static class DeviceProductInfo.ManufactureDate { 20 ctor public DeviceProductInfo.ManufactureDate(Integer, Integer); 21 method public Integer getWeek(); 22 method public Integer getYear(); 23 } 24 25 public final class DisplayCompatUtil { 26 method public static com.android.libraries.tv.tvsystem.display.DeviceProductInfo getDeviceProductInfo(android.view.Display); 27 method public static boolean isMinimalPostProcessingSupported(android.view.Display); 28 } 29 30 public final class WindowCompatUtil { 31 method public static void setPreferMinimalPostProcessing(android.view.Window, boolean); 32 } 33 34} 35 36package com.android.libraries.tv.tvsystem.pm { 37 38 public final class TvPackageInstaller { 39 ctor public TvPackageInstaller(android.content.pm.PackageManager); 40 method @RequiresPermission(android.Manifest.permission.DELETE_PACKAGES) public void uninstallExistingPackage(@NonNull String, android.content.IntentSender); 41 } 42 43} 44 45package com.android.libraries.tv.tvsystem.user { 46 47 public interface ITvUserManager { 48 method @Nullable public android.os.UserHandle createManagedProfile(@NonNull String, @Nullable String[]) throws android.os.UserManager.UserOperationException; 49 method @Nullable public android.graphics.Bitmap getUserIcon(); 50 method @NonNull public String getUserName(); 51 method @NonNull public java.util.List<android.os.UserHandle> getUserProfiles(boolean); 52 method public boolean isManagedProfile(); 53 method public void setUserIcon(@NonNull android.graphics.Bitmap); 54 method public void setUserName(@Nullable String); 55 } 56 57 public final class TvUserManager implements com.android.libraries.tv.tvsystem.user.ITvUserManager { 58 ctor public TvUserManager(android.content.Context); 59 method public android.os.UserHandle createManagedProfile(@NonNull String, @Nullable String[]); 60 method @Nullable public android.graphics.Bitmap getUserIcon(); 61 method @NonNull public String getUserName(); 62 method @NonNull public java.util.List<android.os.UserHandle> getUserProfiles(boolean); 63 method public boolean isManagedProfile(); 64 method public void setUserIcon(@NonNull android.graphics.Bitmap); 65 method public void setUserName(@Nullable String); 66 } 67 68} 69 70