Searched refs:supportedModes (Results 1 – 6 of 6) sorted by relevance
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ |
D | ParserUtils.java | 204 int supportedModes, Utils utils) { in getAllowedProvisioningModes() argument 205 if (supportedModes == DEFAULT_EXTRA_PROVISIONING_SUPPORTED_MODES) { in getAllowedProvisioningModes() 210 validateSupportedModes(supportedModes); in getAllowedProvisioningModes() 212 if (utils.containsBinaryFlags(supportedModes, FLAG_SUPPORTED_MODES_ORGANIZATION_OWNED)) { in getAllowedProvisioningModes() 216 if (utils.containsBinaryFlags(supportedModes, FLAG_SUPPORTED_MODES_PERSONALLY_OWNED)) { in getAllowedProvisioningModes() 220 supportedModes, FLAG_SUPPORTED_MODES_PERSONALLY_OWNED)) { in getAllowedProvisioningModes() 223 } else if (utils.containsBinaryFlags(supportedModes, FLAG_SUPPORTED_MODES_DEVICE_OWNER)) { in getAllowedProvisioningModes() 239 + supportedModes); in getAllowedProvisioningModes() 253 public void validateSupportedModes(int supportedModes) { in validateSupportedModes() argument 254 if (!ALLOWED_COMBINATIONS.contains(supportedModes)) { in validateSupportedModes() [all …]
|
D | ExtrasProvisioningDataParser.java | 641 int supportedModes = getIntExtraFromLongName(intent, in getInitiatorRequestedProvisioningModes() local 644 mParserUtils.validateSupportedModes(supportedModes); in getInitiatorRequestedProvisioningModes() 645 return supportedModes; in getInitiatorRequestedProvisioningModes()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/ |
D | ResolutionSelectionFragmentTest.java | 185 Display.Mode[] supportedModes) { in createResolutionSelectionFragmentWith() argument 186 return createResolutionSelectionFragmentWith(supportedModes, null); in createResolutionSelectionFragmentWith() 190 Display.Mode[] supportedModes, Display.Mode userPreferredMode) { in createResolutionSelectionFragmentWith() argument 192 doReturn(supportedModes).when(display).getSupportedModes(); in createResolutionSelectionFragmentWith() 193 Display.Mode systemPreferredMode = supportedModes[0]; in createResolutionSelectionFragmentWith()
|
D | DisplaySoundFragmentTest.java | 78 Display.Mode[] supportedModes, Display.Mode userPreferredMode, in createDisplaySoundFragmentWith() argument 81 doReturn(supportedModes).when(display).getSupportedModes(); in createDisplaySoundFragmentWith()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/ |
D | DisplaySoundUtils.java | 101 Display.Mode[] supportedModes = display.getSupportedModes(); in doesCurrentModeNotSupportDvBecauseLimitedTo4k30() local 107 return is4k60HzMode && isDolbyVisionSupported(supportedModes) in doesCurrentModeNotSupportDvBecauseLimitedTo4k30()
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | Api2Camera.java | 871 private int getNextMode(int currentMode, int[] supportedModes) { in getNextMode() argument 873 for (int m : supportedModes) { in getNextMode() 882 return supportedModes[0]; in getNextMode()
|