Searched refs:Constants (Results 26 - 50 of 120) sorted by relevance

12345

/frameworks/base/services/core/java/com/android/server/hdmi/
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...]
H A DSystemAudioActionFromAvr.java58 Constants.MESSAGE_SET_SYSTEM_AUDIO_MODE, Constants.ABORT_REFUSED));
H A DRequestArcAction.java59 case Constants.MESSAGE_FEATURE_ABORT:
61 if (originalOpcode == Constants.MESSAGE_REQUEST_ARC_TERMINATION) {
65 } else if (originalOpcode == Constants.MESSAGE_REQUEST_ARC_INITIATION) {
H A DHdmiCecController.java65 * {@link Constants#ADDR_UNREGISTERED}, it means that
89 return HdmiUtils.getTypeFromAddress(address) == Constants.ADDR_AUDIO_SYSTEM;
160 * If sets {@link Constants#ADDR_UNREGISTERED}, scans
185 if (preferredAddress == Constants.ADDR_UNREGISTERED) {
194 int logicalAddress = Constants.ADDR_UNREGISTERED;
198 if (curAddress != Constants.ADDR_UNREGISTERED
413 int strategy = pickStrategy & Constants.POLL_STRATEGY_MASK;
416 case Constants.POLL_STRATEGY_SYSTEM_AUDIO:
419 case Constants.POLL_STRATEGY_REMOTES_DEVICES:
425 int iterationStrategy = pickStrategy & Constants
[all...]
H A DHdmiCecLocalDevicePlayback.java47 SystemProperties.getBoolean(Constants.PROPERTY_WAKE_ON_HOTPLUG, true);
50 SystemProperties.getBoolean(Constants.PROPERTY_SET_MENU_LANGUAGE, false);
90 return SystemProperties.getInt(Constants.PROPERTY_PREFERRED_ADDRESS_PLAYBACK,
91 Constants.ADDR_UNREGISTERED);
98 SystemProperties.set(Constants.PROPERTY_PREFERRED_ADDRESS_PLAYBACK,
111 OneTouchPlayAction action = OneTouchPlayAction.create(this, Constants.ADDR_TV,
130 DevicePowerStatusAction action = DevicePowerStatusAction.create(this, Constants.ADDR_TV,
174 HdmiCecMessageBuilder.buildStandby(mAddress, Constants.ADDR_TV));
179 HdmiCecMessageBuilder.buildStandby(mAddress, Constants.ADDR_BROADCAST));
206 if (SystemProperties.getBoolean(Constants
[all...]
H A DHotplugDetectionAction.java47 private static final int NUM_OF_ADDRESS = Constants.ADDR_SPECIFIC_USE
48 - Constants.ADDR_TV + 1;
134 }, Constants.POLL_ITERATION_IN_ORDER
135 | Constants.POLL_STRATEGY_REMOTES_DEVICES, HdmiConfig.HOTPLUG_DETECTION_RETRY);
146 }, Constants.POLL_ITERATION_IN_ORDER
147 | Constants.POLL_STRATEGY_SYSTEM_AUDIO, HdmiConfig.HOTPLUG_DETECTION_RETRY);
158 if (index == Constants.ADDR_AUDIO_SYSTEM) {
173 if (!removed.get(Constants.ADDR_AUDIO_SYSTEM)) {
H A DSystemAudioAction.java120 return param != Constants.INVALID_PHYSICAL_ADDRESS
121 ? param : Constants.PATH_INTERNAL;
146 if (cmd.getOpcode() == Constants.MESSAGE_FEATURE_ABORT
148 == Constants.MESSAGE_SYSTEM_AUDIO_MODE_REQUEST) {
154 if (cmd.getOpcode() != Constants.MESSAGE_SET_SYSTEM_AUDIO_MODE
H A DTimerRecordingAction.java104 case Constants.MESSAGE_TIMER_STATUS:
106 case Constants.MESSAGE_FEATURE_ABORT:
131 case Constants.MESSAGE_SET_DIGITAL_TIMER: // fall through
132 case Constants.MESSAGE_SET_ANALOG_TIMER: // fall through
133 case Constants.MESSAGE_SET_EXTERNAL_TIMER: // fall through
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DANQPData.java22 import com.android.server.wifi.hotspot2.anqp.Constants;
39 private final Map<Constants.ANQPElementType, ANQPElement> mANQPElements;
42 public ANQPData(Clock clock, Map<Constants.ANQPElementType, ANQPElement> anqpElements) {
56 public Map<Constants.ANQPElementType, ANQPElement> getElements() {
H A DPasspointEventHandler.java24 import com.android.server.wifi.hotspot2.anqp.Constants;
51 Map<Constants.ANQPElementType, ANQPElement> anqpElements);
80 public boolean requestANQP(long bssid, List<Constants.ANQPElementType> elements) {
144 List<Constants.ANQPElementType> querySet) {
147 for (Constants.ANQPElementType elementType : querySet) {
148 Integer id = Constants.getANQPElementID(elementType);
152 id = Constants.getHS20ElementID(elementType);
/frameworks/base/core/java/android/os/
H A DHardwarePropertiesManager.java22 import android.hardware.thermal.V1_0.Constants;
63 public static final int DEVICE_TEMPERATURE_CPU = Constants.TemperatureType.CPU;
66 public static final int DEVICE_TEMPERATURE_GPU = Constants.TemperatureType.GPU;
69 public static final int DEVICE_TEMPERATURE_BATTERY = Constants.TemperatureType.BATTERY;
72 public static final int DEVICE_TEMPERATURE_SKIN = Constants.TemperatureType.SKIN;
/frameworks/base/packages/Osu/src/com/android/anqp/
H A DIconInfo.java9 import static com.android.anqp.Constants.SHORT_MASK;
30 mLanguage = Constants.getTrimmedString(payload,
31 Constants.LANG_CODE_LENGTH, StandardCharsets.US_ASCII);
32 mIconType = Constants.getPrefixedString(payload, 1, StandardCharsets.US_ASCII);
33 mFileName = Constants.getPrefixedString(payload, 1, StandardCharsets.UTF_8);
/frameworks/base/core/java/android/os/health/
H A DProcessHealthStats.java71 public static final HealthKeys.Constants CONSTANTS = new HealthKeys.Constants(ProcessHealthStats.class);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
H A DRawByteElement.java31 public RawByteElement(Constants.ANQPElementType infoID, byte[] payload) {
42 public static RawByteElement parse(Constants.ANQPElementType infoID, ByteBuffer payload) {
H A DANQPParser.java58 public static ANQPElement parseElement(Constants.ANQPElementType infoID, ByteBuffer payload)
89 public static ANQPElement parseHS20Element(Constants.ANQPElementType infoID,
128 Constants.ANQPElementType hs20ID = Constants.mapHS20Element(subType);
H A DGenericBlobElement.java13 public GenericBlobElement(Constants.ANQPElementType infoID, ByteBuffer payload) {
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DRawByteElementTest.java32 private static final Constants.ANQPElementType TEST_ELEMENT_ID =
33 Constants.ANQPElementType.HSOSUProviders;
H A DANQPParserTest.java263 ANQPParser.parseElement(Constants.ANQPElementType.ANQPVenueName, buffer));
285 ANQPParser.parseElement(Constants.ANQPElementType.ANQPIPAddrAvailability, buffer));
301 ANQPParser.parseElement(Constants.ANQPElementType.ANQPDomName, buffer));
318 ANQPParser.parseElement(Constants.ANQPElementType.ANQPRoamingConsortium, buffer));
335 ANQPParser.parseElement(Constants.ANQPElementType.ANQPNAIRealm, buffer));
356 ANQPParser.parseElement(Constants.ANQPElementType.ANQP3GPPNetwork, buffer));
369 ANQPParser.parseElement(Constants.ANQPElementType.ANQPVendorSpec, buffer);
392 Constants.HS_FRIENDLY_NAME, hsFriendlyNameBytes);
394 Constants.ANQPElementType.ANQPVendorSpec, ByteBuffer.wrap(data)));
416 ANQPParser.parseHS20Element(Constants
[all...]
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerSinc.h80 struct Constants { struct in class:android::AudioResamplerSinc
90 static Constants highQualityConstants;
91 static Constants veryHighQualityConstants;
92 const Constants *mConstants; // points to appropriate set of coefficient parameters
H A DAudioResamplerDyn.h60 class Constants { // stores the filter constants. class in class:android::AudioResamplerDyn
62 Constants() : function in class:android::AudioResamplerDyn::Constants
112 void createKaiserFir(Constants &c, double stopBandAtten,
124 Constants mConstants; // current set of coefficient parameters
/frameworks/base/packages/Osu/src/com/android/anqp/eap/
H A DExpandedEAPMethod.java7 import static com.android.anqp.Constants.BYTE_MASK;
8 import static com.android.anqp.Constants.INT_MASK;
9 import static com.android.anqp.Constants.SHORT_MASK;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DInformationElementUtil.java24 import com.android.server.wifi.hotspot2.anqp.Constants;
44 int eid = data.get() & Constants.BYTE_MASK;
45 int elementLength = data.get() & Constants.BYTE_MASK;
147 stationCount = data.getShort() & Constants.SHORT_MASK;
148 channelUtilization = data.get() & Constants.BYTE_MASK;
149 capacity = data.getShort() & Constants.SHORT_MASK;
218 channelMode = ie.bytes[0] & Constants.BYTE_MASK;
219 centerFreqIndex1 = ie.bytes[1] & Constants.BYTE_MASK;
220 centerFreqIndex2 = ie.bytes[2] & Constants.BYTE_MASK;
234 int anOptions = data.get() & Constants
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DANQPDataTest.java28 import com.android.server.wifi.hotspot2.anqp.Constants;
64 Map<Constants.ANQPElementType, ANQPElement> elements = data.getElements();

Completed in 2106 milliseconds

12345