Home
last modified time | relevance | path

Searched refs:GameModeInfo (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/app/
DGameModeInfo.java54 public final class GameModeInfo implements Parcelable { class
56 public static final @NonNull Creator<GameModeInfo> CREATOR = new Creator<GameModeInfo>() {
58 public GameModeInfo createFromParcel(Parcel in) {
59 return new GameModeInfo(in);
63 public GameModeInfo[] newArray(int size) {
64 return new GameModeInfo[size];
83 public GameModeInfo.Builder setAvailableGameModes( in setAvailableGameModes()
93 public GameModeInfo.Builder setOverriddenGameModes( in setOverriddenGameModes()
103 public GameModeInfo.Builder setActiveGameMode( in setActiveGameMode()
113 public GameModeInfo.Builder setDownscalingAllowed(boolean allowed) { in setDownscalingAllowed()
[all …]
DIGameManagerService.aidl20 import android.app.GameModeInfo;
40 GameModeInfo getGameModeInfo(String packageName, int userId); in getGameModeInfo()
DGameModeInfo.aidl22 parcelable GameModeInfo;
DGameManager.java178 public @Nullable GameModeInfo getGameModeInfo(@NonNull String packageName) { in getGameModeInfo()
/frameworks/base/core/tests/GameManagerTests/src/android/app/
DGameModeInfoTest.java51 GameModeInfo gameModeInfo = new GameModeInfo.Builder() in testParcelable()
74 GameModeInfo newGameModeInfo = new GameModeInfo(parcel); in testParcelable()
DGameManagerTests.java86 GameModeInfo gameModeInfo = mGameManager.getGameModeInfo(mPackageName); in testUpdateCustomGameModeConfiguration()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameManagerServiceTests.java57 import android.app.GameModeInfo;
691 GameModeInfo info = gameManagerService.getGameModeInfo(mPackageName, USER_ID_1); in checkReportedAvailableGameModes()
706 GameModeInfo info = gameManagerService.getGameModeInfo(mPackageName, USER_ID_1); in checkReportedOverriddenGameModes()
1357 GameModeInfo gameModeInfo = gameManagerService.getGameModeInfo(mPackageName, USER_ID_1); in testGetGameModeInfoWithAllGameModes()
1385 GameModeInfo gameModeInfo = gameManagerService.getGameModeInfo(mPackageName, USER_ID_1); in testGetGameModeInfoWithBatteryMode()
1406 GameModeInfo gameModeInfo = gameManagerService.getGameModeInfo(mPackageName, USER_ID_1); in testGetGameModeInfoWithPerformanceMode()
1425 GameModeInfo gameModeInfo = gameManagerService.getGameModeInfo(mPackageName, USER_ID_1); in testGetGameModeInfoWithDefaultGameModes()
1443 GameModeInfo gameModeInfo = gameManagerService.getGameModeInfo(mPackageName, USER_ID_1); in testGetGameModeInfoWithAllGameModesOverridden_noDeviceConfig()
1458 GameModeInfo gameModeInfo = gameManagerService.getGameModeInfo(mPackageName, USER_ID_1); in testGetGameModeInfoWithAllGameModesOverridden_allDeviceConfig()
1468 GameModeInfo gameModeInfo) { in verifyAllModesOverriddenAndInterventionsAvailable()
[all …]
/frameworks/proto_logging/stats/atoms/agif/
Dagif_atoms.proto83 message GameModeInfo { message
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerService.java44 import android.app.GameModeInfo;
1113 public GameModeInfo getGameModeInfo(@NonNull String packageName, @UserIdInt int userId) {
1130 GameModeInfo.Builder gameModeInfoBuilder = new GameModeInfo.Builder()
1148 return new GameModeInfo.Builder()
/frameworks/base/core/api/
Dsystem-current.txt917 …sion(android.Manifest.permission.MANAGE_GAME_MODE) public android.app.GameModeInfo getGameModeInfo…
939 public final class GameModeInfo implements android.os.Parcelable {
940 ctor @Deprecated public GameModeInfo(int, @NonNull int[]);
949 …field @NonNull public static final android.os.Parcelable.Creator<android.app.GameModeInfo> CREATOR;
952 public static final class GameModeInfo.Builder {
953 ctor public GameModeInfo.Builder();
954 method @NonNull public android.app.GameModeInfo build();
955 method @NonNull public android.app.GameModeInfo.Builder setActiveGameMode(@NonNull int);
956 method @NonNull public android.app.GameModeInfo.Builder setAvailableGameModes(@NonNull int[]);
957 method @NonNull public android.app.GameModeInfo.Builder setDownscalingAllowed(boolean);
[all …]
/frameworks/proto_logging/stats/
Datoms.proto1436 agif.GameModeInfo game_mode_info = 10165 [(module) = "framework"];