/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecMessage.java | 104 case Constants.MESSAGE_FEATURE_ABORT: 106 case Constants.MESSAGE_IMAGE_VIEW_ON: 108 case Constants.MESSAGE_TUNER_STEP_INCREMENT: 110 case Constants.MESSAGE_TUNER_STEP_DECREMENT: 112 case Constants.MESSAGE_TUNER_DEVICE_STATUS: 114 case Constants.MESSAGE_GIVE_TUNER_DEVICE_STATUS: 116 case Constants.MESSAGE_RECORD_ON: 118 case Constants.MESSAGE_RECORD_STATUS: 120 case Constants.MESSAGE_RECORD_OFF: 122 case Constants [all...] |
H A D | HdmiCecStandbyModeHandler.java | 85 Constants.ABORT_UNRECOGNIZED_OPCODE); 87 Constants.ABORT_NOT_IN_CORRECT_MODE); 88 private final CecMessageHandler mAborterRefused = new Aborter(Constants.ABORT_REFUSED); 99 addHandler(Constants.MESSAGE_IMAGE_VIEW_ON, mAutoOnHandler); 100 addHandler(Constants.MESSAGE_TEXT_VIEW_ON, mAutoOnHandler); 102 addHandler(Constants.MESSAGE_ACTIVE_SOURCE, mBystander); 103 addHandler(Constants.MESSAGE_REQUEST_ACTIVE_SOURCE, mBystander); 104 addHandler(Constants.MESSAGE_ROUTING_CHANGE, mBystander); 105 addHandler(Constants.MESSAGE_ROUTING_INFORMATION, mBystander); 106 addHandler(Constants [all...] |
H A D | HdmiCecMessageValidator.java | 70 addValidationInfo(Constants.MESSAGE_ACTIVE_SOURCE, 72 addValidationInfo(Constants.MESSAGE_INACTIVE_SOURCE, physicalAddressValidator, DEST_DIRECT); 73 addValidationInfo(Constants.MESSAGE_REPORT_PHYSICAL_ADDRESS, 75 addValidationInfo(Constants.MESSAGE_ROUTING_CHANGE, 77 addValidationInfo(Constants.MESSAGE_ROUTING_INFORMATION, 79 addValidationInfo(Constants.MESSAGE_SET_STREAM_PATH, 81 addValidationInfo(Constants.MESSAGE_SYSTEM_AUDIO_MODE_REQUEST, 86 addValidationInfo(Constants.MESSAGE_ABORT, noneValidator, DEST_DIRECT); 87 addValidationInfo(Constants.MESSAGE_GET_CEC_VERSION, noneValidator, DEST_DIRECT); 88 addValidationInfo(Constants [all...] |
H A D | HdmiCecMessageBuilder.java | 60 return buildCommand(src, dest, Constants.MESSAGE_FEATURE_ABORT, params); 71 return buildCommand(src, dest, Constants.MESSAGE_GIVE_PHYSICAL_ADDRESS); 82 return buildCommand(src, dest, Constants.MESSAGE_GIVE_OSD_NAME); 93 return buildCommand(src, dest, Constants.MESSAGE_GIVE_DEVICE_VENDOR_ID); 118 return buildCommand(src, Constants.ADDR_BROADCAST, 119 Constants.MESSAGE_SET_MENU_LANGUAGE, params); 138 return buildCommand(src, dest, Constants.MESSAGE_SET_OSD_NAME, params); 161 return buildCommand(src, Constants.ADDR_BROADCAST, 162 Constants.MESSAGE_REPORT_PHYSICAL_ADDRESS, params); 182 return buildCommand(src, Constants [all...] |
H A D | HdmiCecLocalDevice.java | 84 logicalAddress = Constants.ADDR_INVALID; 85 physicalAddress = Constants.INVALID_PHYSICAL_ADDRESS; 106 String logicalAddressString = (logicalAddress == Constants.ADDR_INVALID) 109 String physicalAddressString = (physicalAddress == Constants.INVALID_PHYSICAL_ADDRESS) 159 mAddress = Constants.ADDR_UNREGISTERED; 226 if (dest != mAddress && dest != Constants.ADDR_BROADCAST) { 241 case Constants.MESSAGE_ACTIVE_SOURCE: 243 case Constants.MESSAGE_INACTIVE_SOURCE: 245 case Constants.MESSAGE_REQUEST_ACTIVE_SOURCE: 247 case Constants [all...] |
H A D | DelayedMessageBuffer.java | 50 case Constants.MESSAGE_ACTIVE_SOURCE: 54 case Constants.MESSAGE_INITIATE_ARC: 55 case Constants.MESSAGE_SET_SYSTEM_AUDIO_MODE: 71 if (message.getOpcode() == Constants.MESSAGE_ACTIVE_SOURCE) { 115 if (message.getOpcode() == Constants.MESSAGE_ACTIVE_SOURCE 140 if (message.getOpcode() == Constants.MESSAGE_ACTIVE_SOURCE
|
H A D | HdmiMhlLocalDeviceStub.java | 12 Constants.INVALID_PHYSICAL_ADDRESS, Constants.INVALID_PORT_ID, -1, -1);
|
/frameworks/base/packages/Osu/src/com/android/anqp/ |
H A D | ANQPElement.java | 7 private final Constants.ANQPElementType mID; 9 protected ANQPElement(Constants.ANQPElementType id) { 13 public Constants.ANQPElementType getID() {
|
H A D | I18Name.java | 11 import static com.android.anqp.Constants.BYTE_MASK; 23 if (payload.remaining() < Constants.LANG_CODE_LENGTH + 1) { 27 if (nameLength < Constants.LANG_CODE_LENGTH) { 30 mLanguage = Constants.getTrimmedString(payload, 31 Constants.LANG_CODE_LENGTH, StandardCharsets.US_ASCII); 33 mText = Constants.getString(payload, nameLength - 34 Constants.LANG_CODE_LENGTH, StandardCharsets.UTF_8); 38 if (compoundString.length() < Constants.LANG_CODE_LENGTH) { 41 mLanguage = compoundString.substring(0, Constants.LANG_CODE_LENGTH); 42 mText = compoundString.substring(Constants [all...] |
H A D | HSOsuProvidersElement.java | 19 public HSOsuProvidersElement(Constants.ANQPElementType infoID, ByteBuffer payload) 23 mSSID = Constants.getPrefixedString(payload, 1, StandardCharsets.UTF_8); 24 int providerCount = payload.get() & Constants.BYTE_MASK;
|
H A D | HSIconFileElement.java | 12 import static com.android.anqp.Constants.BYTE_MASK; 13 import static com.android.anqp.Constants.SHORT_MASK; 28 public HSIconFileElement(Constants.ANQPElementType infoID, ByteBuffer payload) 38 mType = Constants.getPrefixedString(payload, 1, StandardCharsets.US_ASCII); 80 super(Constants.ANQPElementType.HSIconFile);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
H A D | ANQPElement.java | 7 private final Constants.ANQPElementType mID; 9 protected ANQPElement(Constants.ANQPElementType id) { 13 public Constants.ANQPElementType getID() {
|
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/utils/ |
H A D | Constants.java | 13 public class Constants { class
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/utils/ |
H A D | Constants.java | 13 public class Constants { class
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | AnqpEvent.java | 20 import com.android.server.wifi.hotspot2.anqp.Constants; 30 private static final Map<String, Constants.ANQPElementType> sWpsNames = new HashMap<>(); 33 sWpsNames.put("anqp_venue_name", Constants.ANQPElementType.ANQPVenueName); 34 sWpsNames.put("anqp_roaming_consortium", Constants.ANQPElementType.ANQPRoamingConsortium); 36 Constants.ANQPElementType.ANQPIPAddrAvailability); 37 sWpsNames.put("anqp_nai_realm", Constants.ANQPElementType.ANQPNAIRealm); 38 sWpsNames.put("anqp_3gpp", Constants.ANQPElementType.ANQP3GPPNetwork); 39 sWpsNames.put("anqp_domain_name", Constants.ANQPElementType.ANQPDomName); 40 sWpsNames.put("hs20_operator_friendly_name", Constants.ANQPElementType.HSFriendlyName); 41 sWpsNames.put("hs20_wan_metrics", Constants [all...] |
H A D | ANQPRequestManager.java | 23 import com.android.server.wifi.hotspot2.anqp.Constants; 70 private static final List<Constants.ANQPElementType> R1_ANQP_BASE_SET = Arrays.asList( 71 Constants.ANQPElementType.ANQPVenueName, 72 Constants.ANQPElementType.ANQPIPAddrAvailability, 73 Constants.ANQPElementType.ANQPNAIRealm, 74 Constants.ANQPElementType.ANQP3GPPNetwork, 75 Constants.ANQPElementType.ANQPDomName); 77 private static final List<Constants.ANQPElementType> R2_ANQP_BASE_SET = Arrays.asList( 78 Constants.ANQPElementType.HSFriendlyName, 79 Constants [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | Constants.java | 20 * Constants 22 public class Constants { class
|
/frameworks/base/core/java/android/os/health/ |
H A D | PackageHealthStats.java | 48 public static final HealthKeys.Constants CONSTANTS 49 = new HealthKeys.Constants(PackageHealthStats.class);
|
H A D | ServiceHealthStats.java | 49 public static final HealthKeys.Constants CONSTANTS 50 = new HealthKeys.Constants(ServiceHealthStats.class);
|
H A D | PidHealthStats.java | 79 public static final HealthKeys.Constants CONSTANTS = new HealthKeys.Constants(PidHealthStats.class);
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbPort.java | 19 import android.hardware.usb.V1_0.Constants; 37 public static final int MODE_NONE = Constants.PortMode.NONE; 45 public static final int MODE_DFP = Constants.PortMode.DFP; 54 public static final int MODE_UFP = Constants.PortMode.UFP; 65 public static final int MODE_DUAL = Constants.PortMode.DRP; 70 public static final int POWER_ROLE_NONE = Constants.PortPowerRole.NONE; 75 public static final int POWER_ROLE_SOURCE = Constants.PortPowerRole.SOURCE; 80 public static final int POWER_ROLE_SINK = Constants.PortPowerRole.SINK; 85 public static final int DATA_ROLE_NONE = Constants.PortDataRole.NONE; 90 public static final int DATA_ROLE_HOST = Constants [all...] |
/frameworks/base/core/java/android/os/ |
H A D | BatteryManager.java | 21 import android.hardware.health.V1_0.Constants; 132 public static final int BATTERY_STATUS_UNKNOWN = Constants.BATTERY_STATUS_UNKNOWN; 133 public static final int BATTERY_STATUS_CHARGING = Constants.BATTERY_STATUS_CHARGING; 134 public static final int BATTERY_STATUS_DISCHARGING = Constants.BATTERY_STATUS_DISCHARGING; 135 public static final int BATTERY_STATUS_NOT_CHARGING = Constants.BATTERY_STATUS_NOT_CHARGING; 136 public static final int BATTERY_STATUS_FULL = Constants.BATTERY_STATUS_FULL; 139 public static final int BATTERY_HEALTH_UNKNOWN = Constants.BATTERY_HEALTH_UNKNOWN; 140 public static final int BATTERY_HEALTH_GOOD = Constants.BATTERY_HEALTH_GOOD; 141 public static final int BATTERY_HEALTH_OVERHEAT = Constants.BATTERY_HEALTH_OVERHEAT; 142 public static final int BATTERY_HEALTH_DEAD = Constants [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
H A D | ANQPRequestManagerTest.java | 33 import com.android.server.wifi.hotspot2.anqp.Constants; 51 private static final List<Constants.ANQPElementType> R1_ANQP_WITHOUT_RC = Arrays.asList( 52 Constants.ANQPElementType.ANQPVenueName, 53 Constants.ANQPElementType.ANQPIPAddrAvailability, 54 Constants.ANQPElementType.ANQPNAIRealm, 55 Constants.ANQPElementType.ANQP3GPPNetwork, 56 Constants.ANQPElementType.ANQPDomName); 58 private static final List<Constants.ANQPElementType> R1_ANQP_WITH_RC = Arrays.asList( 59 Constants.ANQPElementType.ANQPVenueName, 60 Constants [all...] |
H A D | PasspointEventHandlerTest.java | 29 import com.android.server.wifi.hotspot2.anqp.Constants; 68 List<Constants.ANQPElementType> elementToRequest = 69 Arrays.asList(Constants.ANQPElementType.ANQPRoamingConsortium); 71 new HashSet<>(Arrays.asList(Constants.getANQPElementID( 72 Constants.ANQPElementType.ANQPRoamingConsortium))); 91 List<Constants.ANQPElementType> elementToRequest = 92 Arrays.asList(Constants.ANQPElementType.HSFriendlyName); 95 new HashSet<>(Arrays.asList(Constants.getHS20ElementID( 96 Constants.ANQPElementType.HSFriendlyName))); 114 List<Constants [all...] |
/frameworks/base/media/java/android/media/tv/ |
H A D | TvInputHardwareInfo.java | 23 import android.hardware.tv.input.V1_0.Constants; 41 public static final int TV_INPUT_TYPE_OTHER_HARDWARE = Constants.TV_INPUT_TYPE_OTHER; 42 public static final int TV_INPUT_TYPE_TUNER = Constants.TV_INPUT_TYPE_TUNER; 43 public static final int TV_INPUT_TYPE_COMPOSITE = Constants.TV_INPUT_TYPE_COMPOSITE; 44 public static final int TV_INPUT_TYPE_SVIDEO = Constants.TV_INPUT_TYPE_SVIDEO; 45 public static final int TV_INPUT_TYPE_SCART = Constants.TV_INPUT_TYPE_SCART; 46 public static final int TV_INPUT_TYPE_COMPONENT = Constants.TV_INPUT_TYPE_COMPONENT; 47 public static final int TV_INPUT_TYPE_VGA = Constants.TV_INPUT_TYPE_VGA; 48 public static final int TV_INPUT_TYPE_DVI = Constants.TV_INPUT_TYPE_DVI; 49 public static final int TV_INPUT_TYPE_HDMI = Constants [all...] |