Searched refs:Constants (Results 1 - 25 of 117) sorted by relevance

12345

/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecMessage.java104 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 DHdmiCecStandbyModeHandler.java85 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 DHdmiCecMessageValidator.java70 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 DHdmiCecMessageBuilder.java60 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 DSetArcTransmissionStateAction.java84 case Constants.SEND_RESULT_SUCCESS:
85 case Constants.SEND_RESULT_BUSY:
86 case Constants.SEND_RESULT_FAILURE:
91 case Constants.SEND_RESULT_NAK:
122 if (opcode == Constants.MESSAGE_FEATURE_ABORT) {
124 if (originalOpcode == Constants.MESSAGE_REPORT_ARC_INITIATED) {
H A DHdmiCecLocalDevice.java84 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 DDelayedMessageBuffer.java50 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 DHdmiMhlLocalDeviceStub.java12 Constants.INVALID_PHYSICAL_ADDRESS, Constants.INVALID_PORT_ID, -1, -1);
H A DHdmiCecMessageCache.java32 Constants.MESSAGE_SET_OSD_NAME,
33 Constants.MESSAGE_REPORT_PHYSICAL_ADDRESS,
34 Constants.MESSAGE_DEVICE_VENDOR_ID,
35 Constants.MESSAGE_CEC_VERSION,
H A DNewDeviceAction.java70 mVendorId = Constants.UNKNOWN_VENDOR_ID;
84 if (mayProcessCommandIfCached(mDeviceLogicalAddress, Constants.MESSAGE_SET_OSD_NAME)) {
108 if (opcode == Constants.MESSAGE_SET_OSD_NAME) {
116 } else if (opcode == Constants.MESSAGE_FEATURE_ABORT) {
118 if (requestOpcode == Constants.MESSAGE_GIVE_OSD_NAME) {
124 if (opcode == Constants.MESSAGE_DEVICE_VENDOR_ID) {
129 } else if (opcode == Constants.MESSAGE_FEATURE_ABORT) {
131 if (requestOpcode == Constants.MESSAGE_GIVE_DEVICE_VENDOR_ID) {
157 Constants.MESSAGE_DEVICE_VENDOR_ID)) {
H A DDeviceDiscoveryAction.java72 private int mPhysicalAddress = Constants.INVALID_PHYSICAL_ADDRESS;
73 private int mPortId = Constants.INVALID_PORT_ID;
74 private int mVendorId = Constants.UNKNOWN_VENDOR_ID;
121 }, Constants.POLL_ITERATION_REVERSE_ORDER
122 | Constants.POLL_STRATEGY_REMOTES_DEVICES, HdmiConfig.DEVICE_POLLING_RETRY);
142 return address >= Constants.ADDR_TV && address < Constants.ADDR_UNREGISTERED;
154 if (mayProcessMessageIfCached(address, Constants.MESSAGE_REPORT_PHYSICAL_ADDRESS)) {
177 if (mayProcessMessageIfCached(address, Constants.MESSAGE_SET_OSD_NAME)) {
201 if (mayProcessMessageIfCached(address, Constants
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
H A DANQPElement.java7 private final Constants.ANQPElementType mID;
9 protected ANQPElement(Constants.ANQPElementType id) {
13 public Constants.ANQPElementType getID() {
H A DCapabilityListElement.java11 private final Constants.ANQPElementType[] mCapabilities;
13 public CapabilityListElement(Constants.ANQPElementType infoID, ByteBuffer payload)
18 mCapabilities = new Constants.ANQPElementType[payload.remaining() / Constants.BYTES_IN_SHORT];
22 int capID = payload.getShort() & Constants.SHORT_MASK;
23 Constants.ANQPElementType capability = Constants.mapANQPElement(capID);
30 public Constants.ANQPElementType[] getCapabilities() {
H A DHSCapabilityListElement.java13 private final Constants.ANQPElementType[] mCapabilities;
15 public HSCapabilityListElement(Constants.ANQPElementType infoID, ByteBuffer payload)
19 mCapabilities = new Constants.ANQPElementType[payload.remaining()];
23 int capID = payload.get() & Constants.BYTE_MASK;
24 Constants.ANQPElementType capability = Constants.mapHS20Element(capID);
32 public Constants.ANQPElementType[] getCapabilities() {
H A DANQPFactory.java18 private static final Constants.ANQPElementType[] BaseANQPSet = new Constants.ANQPElementType[]{
19 Constants.ANQPElementType.ANQPVenueName,
20 Constants.ANQPElementType.ANQPNwkAuthType,
21 Constants.ANQPElementType.ANQPRoamingConsortium,
22 Constants.ANQPElementType.ANQPIPAddrAvailability,
23 Constants.ANQPElementType.ANQPNAIRealm,
24 Constants.ANQPElementType.ANQP3GPPNetwork,
25 Constants.ANQPElementType.ANQPDomName
28 private static final Constants
[all...]
H A DTestDriver.java22 private static final Constants.ANQPElementType[] QueryElements = {
23 Constants.ANQPElementType.ANQPCapabilityList,
24 Constants.ANQPElementType.ANQPVenueName,
25 Constants.ANQPElementType.ANQPEmergencyNumber,
26 Constants.ANQPElementType.ANQPNwkAuthType,
27 Constants.ANQPElementType.ANQPRoamingConsortium,
28 Constants.ANQPElementType.ANQPIPAddrAvailability,
29 Constants.ANQPElementType.ANQPNAIRealm,
30 Constants.ANQPElementType.ANQP3GPPNetwork,
31 Constants
[all...]
H A DHSOsuProvidersElement.java19 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 DI18Name.java8 import static com.android.server.wifi.anqp.Constants.BYTE_MASK;
28 String language = Constants.getString(payload, LANG_CODE_LENGTH, StandardCharsets.US_ASCII);
30 mText = Constants.getString(payload, nameLength - LANG_CODE_LENGTH, StandardCharsets.UTF_8);
H A DEmergencyNumberElement.java15 public EmergencyNumberElement(Constants.ANQPElementType infoID, ByteBuffer payload)
22 mNumbers.add(Constants.getPrefixedString(payload, 1, StandardCharsets.UTF_8));
H A DGenericStringElement.java13 public GenericStringElement(Constants.ANQPElementType infoID, ByteBuffer payload) throws ProtocolException {
15 mText = Constants.getString(payload, payload.remaining(), StandardCharsets.UTF_8);
H A DHSConnectionCapabilityElement.java29 mProtocol = payload.get() & Constants.BYTE_MASK;
30 mPort = payload.getShort() & Constants.SHORT_MASK;
31 int statusNumber = payload.get() & Constants.BYTE_MASK;
59 public HSConnectionCapabilityElement(Constants.ANQPElementType infoID, ByteBuffer payload)
H A DHSIconFileElement.java7 import static com.android.server.wifi.anqp.Constants.BYTE_MASK;
8 import static com.android.server.wifi.anqp.Constants.SHORT_MASK;
23 public HSIconFileElement(Constants.ANQPElementType infoID, ByteBuffer payload)
33 mType = Constants.getPrefixedString(payload, 1, StandardCharsets.US_ASCII);
H A DHSWanMetricsElement.java6 import static com.android.server.wifi.anqp.Constants.BYTE_MASK;
7 import static com.android.server.wifi.anqp.Constants.INT_MASK;
8 import static com.android.server.wifi.anqp.Constants.SHORT_MASK;
28 public HSWanMetricsElement(Constants.ANQPElementType infoID, ByteBuffer payload)
H A DIconInfo.java8 import static com.android.server.wifi.anqp.Constants.SHORT_MASK;
29 mLocale = Locale.forLanguageTag(Constants.getString(payload, 3, StandardCharsets.US_ASCII));
30 mIconType = Constants.getPrefixedString(payload, 1, StandardCharsets.US_ASCII);
31 mFileName = Constants.getPrefixedString(payload, 1, StandardCharsets.UTF_8);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DSupplicantBridge.java10 import com.android.server.wifi.anqp.Constants;
36 private static final Map<String, Constants.ANQPElementType> sWpsNames = new HashMap<>();
39 sWpsNames.put("anqp_venue_name", Constants.ANQPElementType.ANQPVenueName);
40 sWpsNames.put("anqp_network_auth_type", Constants.ANQPElementType.ANQPNwkAuthType);
41 sWpsNames.put("anqp_roaming_consortium", Constants.ANQPElementType.ANQPRoamingConsortium);
43 Constants.ANQPElementType.ANQPIPAddrAvailability);
44 sWpsNames.put("anqp_nai_realm", Constants.ANQPElementType.ANQPNAIRealm);
45 sWpsNames.put("anqp_3gpp", Constants.ANQPElementType.ANQP3GPPNetwork);
46 sWpsNames.put("anqp_domain_name", Constants.ANQPElementType.ANQPDomName);
47 sWpsNames.put("hs20_operator_friendly_name", Constants
[all...]

Completed in 165 milliseconds

12345