Robert Horvath | c113e39 | 2020-03-12 15:32:24 +0100 | [diff] [blame] | 1 | // Signature format: 2.0 |
| 2 | package com.android.libraries.tv.tvsystem.display { |
| 3 | |
| 4 | public final class DeviceProductInfo { |
Kriti Dang | b309e35 | 2021-02-25 18:11:34 +0100 | [diff] [blame] | 5 | ctor @Deprecated public DeviceProductInfo(String, String, String, Integer, com.android.libraries.tv.tvsystem.display.DeviceProductInfo.ManufactureDate, int[]); |
| 6 | method public int getConnectionToSinkType(); |
Robert Horvath | c113e39 | 2020-03-12 15:32:24 +0100 | [diff] [blame] | 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(); |
Kriti Dang | b309e35 | 2021-02-25 18:11:34 +0100 | [diff] [blame] | 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 |
Robert Horvath | c113e39 | 2020-03-12 15:32:24 +0100 | [diff] [blame] | 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 | |
Robert Horvath | 74cb65d | 2020-05-13 17:11:35 +0200 | [diff] [blame] | 36 | package 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 | |
Robert Horvath | 2de9247 | 2020-03-13 11:41:50 +0100 | [diff] [blame] | 45 | package 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 | |