Home
last modified time | relevance | path

Searched refs:Constants (Results 1 – 25 of 179) sorted by relevance

12345678

/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecMessage.java21 import com.android.server.hdmi.Constants.FeatureOpcode;
133 case Constants.MESSAGE_FEATURE_ABORT: in opcodeToString()
135 case Constants.MESSAGE_IMAGE_VIEW_ON: in opcodeToString()
137 case Constants.MESSAGE_TUNER_STEP_INCREMENT: in opcodeToString()
139 case Constants.MESSAGE_TUNER_STEP_DECREMENT: in opcodeToString()
141 case Constants.MESSAGE_TUNER_DEVICE_STATUS: in opcodeToString()
143 case Constants.MESSAGE_GIVE_TUNER_DEVICE_STATUS: in opcodeToString()
145 case Constants.MESSAGE_RECORD_ON: in opcodeToString()
147 case Constants.MESSAGE_RECORD_STATUS: in opcodeToString()
149 case Constants.MESSAGE_RECORD_OFF: in opcodeToString()
[all …]
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); in HdmiCecStandbyModeHandler()
100 addHandler(Constants.MESSAGE_TEXT_VIEW_ON, mAutoOnHandler); in HdmiCecStandbyModeHandler()
102 addHandler(Constants.MESSAGE_ACTIVE_SOURCE, mBystander); in HdmiCecStandbyModeHandler()
103 addHandler(Constants.MESSAGE_REQUEST_ACTIVE_SOURCE, mBystander); in HdmiCecStandbyModeHandler()
104 addHandler(Constants.MESSAGE_ROUTING_CHANGE, mBystander); in HdmiCecStandbyModeHandler()
105 addHandler(Constants.MESSAGE_ROUTING_INFORMATION, mBystander); in HdmiCecStandbyModeHandler()
106 addHandler(Constants.MESSAGE_SET_STREAM_PATH, mBystander); in HdmiCecStandbyModeHandler()
[all …]
DHdmiCecLocalDevice.java40 import com.android.server.hdmi.Constants.LocalActivePort;
108 logicalAddress = Constants.ADDR_INVALID; in invalidate()
109 physicalAddress = Constants.INVALID_PHYSICAL_ADDRESS; in invalidate()
135 (logicalAddress == Constants.ADDR_INVALID) in toString()
140 (physicalAddress == Constants.INVALID_PHYSICAL_ADDRESS) in toString()
190 mAddress = Constants.ADDR_UNREGISTERED; in HdmiCecLocalDevice()
253 @Constants.HandleMessageResult
257 if (dest != mAddress && dest != Constants.ADDR_BROADCAST) { in dispatchMessage()
258 return Constants.NOT_HANDLED; in dispatchMessage()
266 @Constants.HandleMessageResult
[all …]
DHdmiCecMessageBuilder.java22 import com.android.server.hdmi.Constants.AudioCodec;
66 return buildCommand(src, dest, Constants.MESSAGE_FEATURE_ABORT, params); in buildFeatureAbortCommand()
77 return buildCommand(src, dest, Constants.MESSAGE_GIVE_PHYSICAL_ADDRESS); in buildGivePhysicalAddress()
88 return buildCommand(src, dest, Constants.MESSAGE_GIVE_OSD_NAME); in buildGiveOsdNameCommand()
99 return buildCommand(src, dest, Constants.MESSAGE_GIVE_DEVICE_VENDOR_ID); in buildGiveDeviceVendorIdCommand()
124 return buildCommand(src, Constants.ADDR_BROADCAST, in buildSetMenuLanguageCommand()
125 Constants.MESSAGE_SET_MENU_LANGUAGE, params); in buildSetMenuLanguageCommand()
144 return buildCommand(src, dest, Constants.MESSAGE_SET_OSD_NAME, params); in buildSetOsdNameCommand()
167 return buildCommand(src, Constants.ADDR_BROADCAST, in buildReportPhysicalAddressCommand()
168 Constants.MESSAGE_REPORT_PHYSICAL_ADDRESS, params); in buildReportPhysicalAddressCommand()
[all …]
DHdmiCecMessageValidator.java70 addValidationInfo(Constants.MESSAGE_ACTIVE_SOURCE, in HdmiCecMessageValidator()
72 addValidationInfo(Constants.MESSAGE_INACTIVE_SOURCE, physicalAddressValidator, DEST_DIRECT); in HdmiCecMessageValidator()
73 addValidationInfo(Constants.MESSAGE_REPORT_PHYSICAL_ADDRESS, in HdmiCecMessageValidator()
75 addValidationInfo(Constants.MESSAGE_ROUTING_CHANGE, in HdmiCecMessageValidator()
77 addValidationInfo(Constants.MESSAGE_ROUTING_INFORMATION, in HdmiCecMessageValidator()
79 addValidationInfo(Constants.MESSAGE_SET_STREAM_PATH, in HdmiCecMessageValidator()
81 addValidationInfo(Constants.MESSAGE_SYSTEM_AUDIO_MODE_REQUEST, in HdmiCecMessageValidator()
86 addValidationInfo(Constants.MESSAGE_ABORT, noneValidator, DEST_DIRECT); in HdmiCecMessageValidator()
87 addValidationInfo(Constants.MESSAGE_GET_CEC_VERSION, noneValidator, DEST_DIRECT); in HdmiCecMessageValidator()
88 addValidationInfo(Constants.MESSAGE_GET_MENU_LANGUAGE, in HdmiCecMessageValidator()
[all …]
DHdmiCecLocalDeviceAudioSystem.java18 import static com.android.server.hdmi.Constants.ALWAYS_SYSTEM_AUDIO_CONTROL_ON_POWER_ON;
19 import static com.android.server.hdmi.Constants.PROPERTY_SYSTEM_AUDIO_CONTROL_ON_POWER_ON;
20 import static com.android.server.hdmi.Constants.USE_LAST_STATE_SYSTEM_AUDIO_CONTROL_ON_POWER_ON;
44 import com.android.server.hdmi.Constants.AudioCodec;
182 if (SystemProperties.getBoolean(Constants.PROPERTY_ARC_SUPPORT, true)) { in getDeviceFeatures()
183 deviceFeatures.add(Constants.DEVICE_FEATURE_SOURCE_SUPPORTS_ARC_RX); in getDeviceFeatures()
233 mService.setActiveSource(Constants.ADDR_INVALID, Constants.INVALID_PHYSICAL_ADDRESS, in onStandby()
239 Constants.PROPERTY_LAST_SYSTEM_AUDIO_CONTROL, in onStandby()
251 getDeviceInfo().getDeviceType(), Constants.ADDR_BROADCAST, in onAddressAllocated()
269 SystemProperties.getBoolean(Constants.PROPERTY_LAST_SYSTEM_AUDIO_CONTROL, true); in onAddressAllocated()
[all …]
DHdmiUtils.java19 import static com.android.server.hdmi.Constants.ADDR_BACKUP_1;
20 import static com.android.server.hdmi.Constants.ADDR_BACKUP_2;
21 import static com.android.server.hdmi.Constants.ADDR_TV;
33 import com.android.server.hdmi.Constants.AbortReason;
34 import com.android.server.hdmi.Constants.AudioCodec;
35 import com.android.server.hdmi.Constants.FeatureOpcode;
36 import com.android.server.hdmi.Constants.PathRelationship;
63 put(Constants.ADDR_TV, Lists.newArrayList(HdmiDeviceInfo.DEVICE_TV));
64 put(Constants.ADDR_RECORDER_1,
66 put(Constants.ADDR_RECORDER_2,
[all …]
DHdmiCecLocalDevicePlayback.java75 getDeviceInfo().getDeviceType(), Constants.ADDR_BROADCAST, in onAddressAllocated()
85 buildAndSendSetOsdName(Constants.ADDR_TV); in onAddressAllocated()
91 mAddress, Constants.ADDR_AUDIO_SYSTEM), new SendMessageCallback() { in onAddressAllocated()
109 return SystemProperties.getInt(Constants.PROPERTY_PREFERRED_ADDRESS_PLAYBACK, in getPreferredAddress()
110 Constants.ADDR_UNREGISTERED); in getPreferredAddress()
117 mService.writeStringSystemProperty(Constants.PROPERTY_PREFERRED_ADDRESS_PLAYBACK, in setPreferredAddress()
141 mService.setActiveSource(Constants.ADDR_INVALID, Constants.INVALID_PHYSICAL_ADDRESS, in onStandby()
163 HdmiCecMessageBuilder.buildStandby(mAddress, Constants.ADDR_TV)); in onStandby()
168 Constants.ADDR_BROADCAST)); in onStandby()
180 HdmiCecMessageBuilder.buildStandby(mAddress, Constants.ADDR_BROADCAST)); in onStandby()
[all …]
/frameworks/base/media/java/android/media/tv/tuner/frontend/
DFrontendSettings.java23 import android.hardware.tv.tuner.V1_0.Constants;
47 public static final int TYPE_UNDEFINED = Constants.FrontendType.UNDEFINED;
51 public static final int TYPE_ANALOG = Constants.FrontendType.ANALOG;
55 public static final int TYPE_ATSC = Constants.FrontendType.ATSC;
59 public static final int TYPE_ATSC3 = Constants.FrontendType.ATSC3;
63 public static final int TYPE_DVBC = Constants.FrontendType.DVBC;
67 public static final int TYPE_DVBS = Constants.FrontendType.DVBS;
71 public static final int TYPE_DVBT = Constants.FrontendType.DVBT;
75 public static final int TYPE_ISDBS = Constants.FrontendType.ISDBS;
79 public static final int TYPE_ISDBS3 = Constants.FrontendType.ISDBS3;
[all …]
DAtsc3FrontendSettings.java23 import android.hardware.tv.tuner.V1_0.Constants;
48 Constants.FrontendAtsc3Bandwidth.UNDEFINED;
52 public static final int BANDWIDTH_AUTO = Constants.FrontendAtsc3Bandwidth.AUTO;
57 Constants.FrontendAtsc3Bandwidth.BANDWIDTH_6MHZ;
62 Constants.FrontendAtsc3Bandwidth.BANDWIDTH_7MHZ;
67 Constants.FrontendAtsc3Bandwidth.BANDWIDTH_8MHZ;
83 public static final int MODULATION_UNDEFINED = Constants.FrontendAtsc3Modulation.UNDEFINED;
87 public static final int MODULATION_AUTO = Constants.FrontendAtsc3Modulation.AUTO;
91 public static final int MODULATION_MOD_QPSK = Constants.FrontendAtsc3Modulation.MOD_QPSK;
95 public static final int MODULATION_MOD_16QAM = Constants.FrontendAtsc3Modulation.MOD_16QAM;
[all …]
DDvbtFrontendSettings.java23 import android.hardware.tv.tuner.V1_0.Constants;
50 Constants.FrontendDvbtTransmissionMode.UNDEFINED;
54 public static final int TRANSMISSION_MODE_AUTO = Constants.FrontendDvbtTransmissionMode.AUTO;
58 public static final int TRANSMISSION_MODE_2K = Constants.FrontendDvbtTransmissionMode.MODE_2K;
62 public static final int TRANSMISSION_MODE_8K = Constants.FrontendDvbtTransmissionMode.MODE_8K;
66 public static final int TRANSMISSION_MODE_4K = Constants.FrontendDvbtTransmissionMode.MODE_4K;
70 public static final int TRANSMISSION_MODE_1K = Constants.FrontendDvbtTransmissionMode.MODE_1K;
74 public static final int TRANSMISSION_MODE_16K = Constants.FrontendDvbtTransmissionMode.MODE_16K;
78 public static final int TRANSMISSION_MODE_32K = Constants.FrontendDvbtTransmissionMode.MODE_32K;
83 android.hardware.tv.tuner.V1_1.Constants.FrontendDvbtTransmissionMode.MODE_8K_E;
[all …]
DAnalogFrontendSettings.java23 import android.hardware.tv.tuner.V1_0.Constants;
48 public static final int SIGNAL_TYPE_UNDEFINED = Constants.FrontendAnalogType.UNDEFINED;
52 public static final int SIGNAL_TYPE_AUTO = Constants.FrontendAnalogType.AUTO;
56 public static final int SIGNAL_TYPE_PAL = Constants.FrontendAnalogType.PAL;
60 public static final int SIGNAL_TYPE_PAL_M = Constants.FrontendAnalogType.PAL_M;
64 public static final int SIGNAL_TYPE_PAL_N = Constants.FrontendAnalogType.PAL_N;
68 public static final int SIGNAL_TYPE_PAL_60 = Constants.FrontendAnalogType.PAL_60;
72 public static final int SIGNAL_TYPE_NTSC = Constants.FrontendAnalogType.NTSC;
76 public static final int SIGNAL_TYPE_NTSC_443 = Constants.FrontendAnalogType.NTSC_443;
80 public static final int SIGNAL_TYPE_SECAM = Constants.FrontendAnalogType.SECAM;
[all …]
DDvbsFrontendSettings.java24 import android.hardware.tv.tuner.V1_0.Constants;
51 android.hardware.tv.tuner.V1_1.Constants.FrontendDvbsScanType.UNDEFINED;
57 android.hardware.tv.tuner.V1_1.Constants.FrontendDvbsScanType.DIRECT;
63 android.hardware.tv.tuner.V1_1.Constants.FrontendDvbsScanType.DISEQC;
69 android.hardware.tv.tuner.V1_1.Constants.FrontendDvbsScanType.UNICABLE;
75 android.hardware.tv.tuner.V1_1.Constants.FrontendDvbsScanType.JESS;
91 public static final int MODULATION_UNDEFINED = Constants.FrontendDvbsModulation.UNDEFINED;
95 public static final int MODULATION_AUTO = Constants.FrontendDvbsModulation.AUTO;
99 public static final int MODULATION_MOD_QPSK = Constants.FrontendDvbsModulation.MOD_QPSK;
103 public static final int MODULATION_MOD_8PSK = Constants.FrontendDvbsModulation.MOD_8PSK;
[all …]
DIsdbs3FrontendSettings.java23 import android.hardware.tv.tuner.V1_0.Constants;
48 public static final int MODULATION_UNDEFINED = Constants.FrontendIsdbs3Modulation.UNDEFINED;
52 public static final int MODULATION_AUTO = Constants.FrontendIsdbs3Modulation.AUTO;
56 public static final int MODULATION_MOD_BPSK = Constants.FrontendIsdbs3Modulation.MOD_BPSK;
60 public static final int MODULATION_MOD_QPSK = Constants.FrontendIsdbs3Modulation.MOD_QPSK;
64 public static final int MODULATION_MOD_8PSK = Constants.FrontendIsdbs3Modulation.MOD_8PSK;
68 public static final int MODULATION_MOD_16APSK = Constants.FrontendIsdbs3Modulation.MOD_16APSK;
72 public static final int MODULATION_MOD_32APSK = Constants.FrontendIsdbs3Modulation.MOD_32APSK;
86 public static final int CODERATE_UNDEFINED = Constants.FrontendIsdbs3Coderate.UNDEFINED;
90 public static final int CODERATE_AUTO = Constants.FrontendIsdbs3Coderate.AUTO;
[all …]
DDvbcFrontendSettings.java23 import android.hardware.tv.tuner.V1_0.Constants;
50 public static final int MODULATION_UNDEFINED = Constants.FrontendDvbcModulation.UNDEFINED;
54 public static final int MODULATION_AUTO = Constants.FrontendDvbcModulation.AUTO;
58 public static final int MODULATION_MOD_16QAM = Constants.FrontendDvbcModulation.MOD_16QAM;
62 public static final int MODULATION_MOD_32QAM = Constants.FrontendDvbcModulation.MOD_32QAM;
66 public static final int MODULATION_MOD_64QAM = Constants.FrontendDvbcModulation.MOD_64QAM;
70 public static final int MODULATION_MOD_128QAM = Constants.FrontendDvbcModulation.MOD_128QAM;
74 public static final int MODULATION_MOD_256QAM = Constants.FrontendDvbcModulation.MOD_256QAM;
85 public static final int OUTER_FEC_UNDEFINED = Constants.FrontendDvbcOuterFec.UNDEFINED;
90 Constants.FrontendDvbcOuterFec.OUTER_FEC_NONE;
[all …]
DDtmbFrontendSettings.java50 android.hardware.tv.tuner.V1_1.Constants.FrontendDtmbBandwidth.UNDEFINED;
55 android.hardware.tv.tuner.V1_1.Constants.FrontendDtmbBandwidth.AUTO;
60 android.hardware.tv.tuner.V1_1.Constants.FrontendDtmbBandwidth.BANDWIDTH_6MHZ;
65 android.hardware.tv.tuner.V1_1.Constants.FrontendDtmbBandwidth.BANDWIDTH_8MHZ;
80 android.hardware.tv.tuner.V1_1.Constants.FrontendDtmbTimeInterleaveMode.UNDEFINED;
85 android.hardware.tv.tuner.V1_1.Constants.FrontendDtmbTimeInterleaveMode.AUTO;
90 android.hardware.tv.tuner.V1_1.Constants.FrontendDtmbTimeInterleaveMode.TIMER_INT_240;
95 android.hardware.tv.tuner.V1_1.Constants.FrontendDtmbTimeInterleaveMode.TIMER_INT_720;
112 android.hardware.tv.tuner.V1_1.Constants.FrontendDtmbGuardInterval.UNDEFINED;
117 android.hardware.tv.tuner.V1_1.Constants.FrontendDtmbGuardInterval.AUTO;
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiUtilsTest.java130 CodecSad expectedCodec1 = new CodecSad(Constants.AUDIO_CODEC_LPCM, "011a03"); in parseSampleXML()
131 CodecSad expectedCodec2 = new CodecSad(Constants.AUDIO_CODEC_DD, "0d0506"); in parseSampleXML()
132 CodecSad expectedCodec3 = new CodecSad(Constants.AUDIO_CODEC_LPCM, "010203"); in parseSampleXML()
133 CodecSad expectedCodec4 = new CodecSad(Constants.AUDIO_CODEC_DD, "040506"); in parseSampleXML()
181 assertThat(HdmiUtils.pathRelationship(0x1234, Constants.INVALID_PHYSICAL_ADDRESS)) in pathRelationship_unknown()
182 .isEqualTo(Constants.PATH_RELATIONSHIP_UNKNOWN); in pathRelationship_unknown()
183 assertThat(HdmiUtils.pathRelationship(Constants.INVALID_PHYSICAL_ADDRESS, 0x1234)) in pathRelationship_unknown()
184 .isEqualTo(Constants.PATH_RELATIONSHIP_UNKNOWN); in pathRelationship_unknown()
185 assertThat(HdmiUtils.pathRelationship(Constants.INVALID_PHYSICAL_ADDRESS, in pathRelationship_unknown()
186 Constants.INVALID_PHYSICAL_ADDRESS)) in pathRelationship_unknown()
[all …]
DHdmiCecLocalDeviceTest.java20 import static com.android.server.hdmi.Constants.ADDR_AUDIO_SYSTEM;
21 import static com.android.server.hdmi.Constants.ADDR_BROADCAST;
22 import static com.android.server.hdmi.Constants.ADDR_PLAYBACK_1;
23 import static com.android.server.hdmi.Constants.ADDR_TV;
24 import static com.android.server.hdmi.Constants.ADDR_UNREGISTERED;
25 import static com.android.server.hdmi.Constants.MESSAGE_DEVICE_VENDOR_ID;
26 import static com.android.server.hdmi.Constants.MESSAGE_REPORT_PHYSICAL_ADDRESS;
216 Constants.MESSAGE_CEC_VERSION, in dispatchMessage_logicalAddressDoesNotMatch()
218 @Constants.HandleMessageResult int handleResult = mHdmiLocalDevice.dispatchMessage(msg); in dispatchMessage_logicalAddressDoesNotMatch()
219 assertEquals(Constants.NOT_HANDLED, handleResult); in dispatchMessage_logicalAddressDoesNotMatch()
[all …]
DHdmiCecMessageBuilderTest.java18 import static com.android.server.hdmi.Constants.ADDR_AUDIO_SYSTEM;
19 import static com.android.server.hdmi.Constants.ADDR_PLAYBACK_1;
20 import static com.android.server.hdmi.Constants.ADDR_TV;
59 new int[] {Constants.AUDIO_CODEC_AAC, Constants.AUDIO_CODEC_LPCM}); in buildRequestShortAudioDescriptor()
108 Lists.newArrayList(HdmiDeviceInfo.DEVICE_TV), Constants.RC_PROFILE_TV, in buildReportFeatures_basicTv_1_4()
109 Lists.newArrayList(Constants.RC_PROFILE_TV_NONE), Collections.emptyList()); in buildReportFeatures_basicTv_1_4()
118 Lists.newArrayList(HdmiDeviceInfo.DEVICE_PLAYBACK), Constants.RC_PROFILE_TV, in buildReportFeatures_basicPlayback_1_4()
119 Lists.newArrayList(Constants.RC_PROFILE_TV_NONE), Collections.emptyList()); in buildReportFeatures_basicPlayback_1_4()
129 HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM), Constants.RC_PROFILE_TV, in buildReportFeatures_basicPlaybackAudioSystem_1_4()
130 Lists.newArrayList(Constants.RC_PROFILE_TV_NONE), Collections.emptyList()); in buildReportFeatures_basicPlaybackAudioSystem_1_4()
[all …]
/frameworks/base/media/java/android/media/tv/tuner/
DTunerUtils.java20 import android.hardware.tv.tuner.V1_0.Constants;
40 return Constants.DemuxTsFilterType.UNDEFINED; in getFilterSubtype()
42 return Constants.DemuxTsFilterType.SECTION; in getFilterSubtype()
44 return Constants.DemuxTsFilterType.PES; in getFilterSubtype()
46 return Constants.DemuxTsFilterType.TS; in getFilterSubtype()
48 return Constants.DemuxTsFilterType.AUDIO; in getFilterSubtype()
50 return Constants.DemuxTsFilterType.VIDEO; in getFilterSubtype()
52 return Constants.DemuxTsFilterType.PCR; in getFilterSubtype()
54 return Constants.DemuxTsFilterType.RECORD; in getFilterSubtype()
56 return Constants.DemuxTsFilterType.TEMI; in getFilterSubtype()
[all …]
DLnb.java23 import android.hardware.tv.tuner.V1_0.Constants;
51 public static final int VOLTAGE_NONE = Constants.LnbVoltage.NONE;
55 public static final int VOLTAGE_5V = Constants.LnbVoltage.VOLTAGE_5V;
59 public static final int VOLTAGE_11V = Constants.LnbVoltage.VOLTAGE_11V;
63 public static final int VOLTAGE_12V = Constants.LnbVoltage.VOLTAGE_12V;
67 public static final int VOLTAGE_13V = Constants.LnbVoltage.VOLTAGE_13V;
71 public static final int VOLTAGE_14V = Constants.LnbVoltage.VOLTAGE_14V;
75 public static final int VOLTAGE_15V = Constants.LnbVoltage.VOLTAGE_15V;
79 public static final int VOLTAGE_18V = Constants.LnbVoltage.VOLTAGE_18V;
83 public static final int VOLTAGE_19V = Constants.LnbVoltage.VOLTAGE_19V;
[all …]
/frameworks/base/media/java/android/media/tv/tuner/filter/
DRecordSettings.java22 import android.hardware.tv.tuner.V1_0.Constants;
60 public static final int TS_INDEX_FIRST_PACKET = Constants.DemuxTsIndex.FIRST_PACKET;
65 Constants.DemuxTsIndex.PAYLOAD_UNIT_START_INDICATOR;
70 Constants.DemuxTsIndex.CHANGE_TO_NOT_SCRAMBLED;
75 Constants.DemuxTsIndex.CHANGE_TO_EVEN_SCRAMBLED;
80 Constants.DemuxTsIndex.CHANGE_TO_ODD_SCRAMBLED;
85 Constants.DemuxTsIndex.DISCONTINUITY_INDICATOR;
90 Constants.DemuxTsIndex.RANDOM_ACCESS_INDICATOR;
94 public static final int TS_INDEX_PRIORITY_INDICATOR = Constants.DemuxTsIndex.PRIORITY_INDICATOR;
98 public static final int TS_INDEX_PCR_FLAG = Constants.DemuxTsIndex.PCR_FLAG;
[all …]
DAvSettings.java22 import android.hardware.tv.tuner.V1_1.Constants;
49 public static final int VIDEO_STREAM_TYPE_UNDEFINED = Constants.VideoStreamType.UNDEFINED;
53 public static final int VIDEO_STREAM_TYPE_RESERVED = Constants.VideoStreamType.RESERVED;
57 public static final int VIDEO_STREAM_TYPE_MPEG1 = Constants.VideoStreamType.MPEG1;
61 public static final int VIDEO_STREAM_TYPE_MPEG2 = Constants.VideoStreamType.MPEG2;
65 public static final int VIDEO_STREAM_TYPE_MPEG4P2 = Constants.VideoStreamType.MPEG4P2;
69 public static final int VIDEO_STREAM_TYPE_AVC = Constants.VideoStreamType.AVC;
73 public static final int VIDEO_STREAM_TYPE_HEVC = Constants.VideoStreamType.HEVC;
77 public static final int VIDEO_STREAM_TYPE_VC1 = Constants.VideoStreamType.VC1;
81 public static final int VIDEO_STREAM_TYPE_VP8 = Constants.VideoStreamType.VP8;
[all …]
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/
DInitService.java19 import static com.android.frameworks.perftests.am.util.Constants.COMMAND_ACQUIRE_CONTENT_PROVIDER;
20 import static com.android.frameworks.perftests.am.util.Constants.COMMAND_BIND_SERVICE;
21 import static com.android.frameworks.perftests.am.util.Constants.COMMAND_RELEASE_CONTENT_PROVIDER;
22 import static com.android.frameworks.perftests.am.util.Constants.COMMAND_SEND_BROADCAST;
23 import static com.android.frameworks.perftests.am.util.Constants.COMMAND_START_ACTIVITY;
24 import static com.android.frameworks.perftests.am.util.Constants.COMMAND_STOP_ACTIVITY;
25 import static com.android.frameworks.perftests.am.util.Constants.COMMAND_UNBIND_SERVICE;
48 import com.android.frameworks.perftests.am.util.Constants;
81 if (msg.what == Constants.MSG_DEFAULT) { in handleMessage()
85 sendResult(mCallback, Constants.REPLY_COMMAND_RESULT, msg.arg1, msg.arg2, null); in handleMessage()
[all …]
/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java22 import android.hardware.usb.V1_0.Constants;
49 public static final int POWER_ROLE_NONE = Constants.PortPowerRole.NONE;
54 public static final int POWER_ROLE_SOURCE = Constants.PortPowerRole.SOURCE;
59 public static final int POWER_ROLE_SINK = Constants.PortPowerRole.SINK;
72 public static final int DATA_ROLE_NONE = Constants.PortDataRole.NONE;
77 public static final int DATA_ROLE_HOST = Constants.PortDataRole.HOST;
82 public static final int DATA_ROLE_DEVICE = Constants.PortDataRole.DEVICE;
95 public static final int MODE_NONE = Constants.PortMode.NONE;
103 public static final int MODE_DFP = Constants.PortMode.DFP;
111 public static final int MODE_UFP = Constants.PortMode.UFP;
[all …]

12345678