/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecMessageCache.java | 32 Constants.MESSAGE_SET_OSD_NAME, 33 Constants.MESSAGE_REPORT_PHYSICAL_ADDRESS, 34 Constants.MESSAGE_DEVICE_VENDOR_ID, 35 Constants.MESSAGE_CEC_VERSION,
|
H A D | NewDeviceAction.java | 70 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 D | DeviceDiscoveryAction.java | 72 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 D | SystemAudioActionFromAvr.java | 58 Constants.MESSAGE_SET_SYSTEM_AUDIO_MODE, Constants.ABORT_REFUSED));
|
H A D | RequestArcAction.java | 59 case Constants.MESSAGE_FEATURE_ABORT: 61 if (originalOpcode == Constants.MESSAGE_REQUEST_ARC_TERMINATION) { 65 } else if (originalOpcode == Constants.MESSAGE_REQUEST_ARC_INITIATION) {
|
H A D | HdmiCecController.java | 65 * {@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 D | HdmiCecLocalDevicePlayback.java | 47 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 D | HotplugDetectionAction.java | 47 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 D | SystemAudioAction.java | 120 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 D | TimerRecordingAction.java | 104 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 D | ANQPData.java | 22 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 D | PasspointEventHandler.java | 24 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 D | HardwarePropertiesManager.java | 22 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 D | IconInfo.java | 9 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 D | ProcessHealthStats.java | 71 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 D | RawByteElement.java | 31 public RawByteElement(Constants.ANQPElementType infoID, byte[] payload) { 42 public static RawByteElement parse(Constants.ANQPElementType infoID, ByteBuffer payload) {
|
H A D | ANQPParser.java | 58 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 D | GenericBlobElement.java | 13 public GenericBlobElement(Constants.ANQPElementType infoID, ByteBuffer payload) {
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A D | RawByteElementTest.java | 32 private static final Constants.ANQPElementType TEST_ELEMENT_ID = 33 Constants.ANQPElementType.HSOSUProviders;
|
H A D | ANQPParserTest.java | 263 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 D | AudioResamplerSinc.h | 80 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 D | AudioResamplerDyn.h | 60 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 D | ExpandedEAPMethod.java | 7 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 D | InformationElementUtil.java | 24 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 D | ANQPDataTest.java | 28 import com.android.server.wifi.hotspot2.anqp.Constants; 64 Map<Constants.ANQPElementType, ANQPElement> elements = data.getElements();
|