/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecMessage.java | 23 import com.android.server.hdmi.Constants.FeatureOpcode; 78 case Constants.MESSAGE_SET_AUDIO_VOLUME_LEVEL: in build() 80 case Constants.MESSAGE_REPORT_FEATURES: in build() 205 case Constants.MESSAGE_FEATURE_ABORT: in opcodeToString() 207 case Constants.MESSAGE_IMAGE_VIEW_ON: in opcodeToString() 209 case Constants.MESSAGE_TUNER_STEP_INCREMENT: in opcodeToString() 211 case Constants.MESSAGE_TUNER_STEP_DECREMENT: in opcodeToString() 213 case Constants.MESSAGE_TUNER_DEVICE_STATUS: in opcodeToString() 215 case Constants.MESSAGE_GIVE_TUNER_DEVICE_STATUS: in opcodeToString() 217 case Constants.MESSAGE_RECORD_ON: in opcodeToString() [all …]
|
D | HdmiCecLocalDevice.java | 44 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() 263 @Constants.HandleMessageResult 267 if (dest != mDeviceInfo.getLogicalAddress() && dest != Constants.ADDR_BROADCAST) { in dispatchMessage() 268 return Constants.NOT_HANDLED; in dispatchMessage() 273 return Constants.HANDLED; in dispatchMessage() 302 @Constants.HandleMessageResult [all …]
|
D | HdmiCecStandbyModeHandler.java | 89 Constants.ABORT_UNRECOGNIZED_OPCODE); 91 Constants.ABORT_NOT_IN_CORRECT_MODE); 92 private final CecMessageHandler mAborterRefused = new Aborter(Constants.ABORT_REFUSED); 100 addHandler(Constants.MESSAGE_USER_CONTROL_PRESSED, mUserControlProcessedHandler); in addCommonHandlers() 104 addHandler(Constants.MESSAGE_ACTIVE_SOURCE, mBystander); in addTvHandlers() 105 addHandler(Constants.MESSAGE_REQUEST_ACTIVE_SOURCE, mBystander); in addTvHandlers() 106 addHandler(Constants.MESSAGE_ROUTING_CHANGE, mBystander); in addTvHandlers() 107 addHandler(Constants.MESSAGE_ROUTING_INFORMATION, mBystander); in addTvHandlers() 108 addHandler(Constants.MESSAGE_SET_STREAM_PATH, mBystander); in addTvHandlers() 109 addHandler(Constants.MESSAGE_STANDBY, mBystander); in addTvHandlers() [all …]
|
D | HdmiCecMessageBuilder.java | 19 import com.android.server.hdmi.Constants.AudioCodec; 50 return HdmiCecMessage.build(src, dest, Constants.MESSAGE_FEATURE_ABORT, params); in buildFeatureAbortCommand() 61 return HdmiCecMessage.build(src, dest, Constants.MESSAGE_GIVE_PHYSICAL_ADDRESS); in buildGivePhysicalAddress() 72 return HdmiCecMessage.build(src, dest, Constants.MESSAGE_GIVE_OSD_NAME); in buildGiveOsdNameCommand() 83 return HdmiCecMessage.build(src, dest, Constants.MESSAGE_GIVE_DEVICE_VENDOR_ID); in buildGiveDeviceVendorIdCommand() 108 return HdmiCecMessage.build(src, Constants.ADDR_BROADCAST, in buildSetMenuLanguageCommand() 109 Constants.MESSAGE_SET_MENU_LANGUAGE, params); in buildSetMenuLanguageCommand() 128 return HdmiCecMessage.build(src, dest, Constants.MESSAGE_SET_OSD_NAME, params); in buildSetOsdNameCommand() 151 return HdmiCecMessage.build(src, Constants.ADDR_BROADCAST, in buildReportPhysicalAddressCommand() 152 Constants.MESSAGE_REPORT_PHYSICAL_ADDRESS, params); in buildReportPhysicalAddressCommand() [all …]
|
D | HdmiCecMessageValidator.java | 101 addValidationInfo(Constants.MESSAGE_ACTIVE_SOURCE, in addValidationInfo() 103 addValidationInfo(Constants.MESSAGE_INACTIVE_SOURCE, in addValidationInfo() 105 addValidationInfo(Constants.MESSAGE_REPORT_PHYSICAL_ADDRESS, in addValidationInfo() 107 addValidationInfo(Constants.MESSAGE_ROUTING_CHANGE, in addValidationInfo() 109 addValidationInfo(Constants.MESSAGE_ROUTING_INFORMATION, in addValidationInfo() 111 addValidationInfo(Constants.MESSAGE_SET_STREAM_PATH, in addValidationInfo() 113 addValidationInfo(Constants.MESSAGE_SYSTEM_AUDIO_MODE_REQUEST, in addValidationInfo() 118 addValidationInfo(Constants.MESSAGE_ABORT, in addValidationInfo() 120 addValidationInfo(Constants.MESSAGE_GET_CEC_VERSION, in addValidationInfo() 122 addValidationInfo(Constants.MESSAGE_GET_MENU_LANGUAGE, in addValidationInfo() [all …]
|
D | HdmiCecLocalDeviceAudioSystem.java | 21 import static com.android.server.hdmi.Constants.ALWAYS_SYSTEM_AUDIO_CONTROL_ON_POWER_ON; 22 import static com.android.server.hdmi.Constants.PROPERTY_SYSTEM_AUDIO_CONTROL_ON_POWER_ON; 23 import static com.android.server.hdmi.Constants.USE_LAST_STATE_SYSTEM_AUDIO_CONTROL_ON_POWER_ON; 48 import com.android.server.hdmi.Constants.AudioCodec; 190 boolean arcSupport = SystemProperties.getBoolean(Constants.PROPERTY_ARC_SUPPORT, true); in computeDeviceFeatures() 253 mService.setActiveSource(Constants.ADDR_INVALID, Constants.INVALID_PHYSICAL_ADDRESS, in onStandby() 259 Constants.PROPERTY_LAST_SYSTEM_AUDIO_CONTROL, in onStandby() 271 getDeviceInfo().getDeviceType(), Constants.ADDR_BROADCAST, in onAddressAllocated() 297 SystemProperties.getBoolean(Constants.PROPERTY_LAST_SYSTEM_AUDIO_CONTROL, true); in onAddressAllocated() 311 return Constants.ADDR_INVALID; in findKeyReceiverAddress() [all …]
|
D | HdmiUtils.java | 19 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; 35 import com.android.server.hdmi.Constants.AbortReason; 36 import com.android.server.hdmi.Constants.AudioCodec; 37 import com.android.server.hdmi.Constants.FeatureOpcode; 38 import com.android.server.hdmi.Constants.PathRelationship; 62 entry(Constants.ADDR_TV, Lists.newArrayList(HdmiDeviceInfo.DEVICE_TV)), 63 entry(Constants.ADDR_RECORDER_1, 65 entry(Constants.ADDR_RECORDER_2, [all …]
|
D | RequestSadAction.java | 62 mCecCodecsToQuery.add(Constants.AUDIO_CODEC_LPCM); in RequestSadAction() 67 mCecCodecsToQuery.add(Constants.AUDIO_CODEC_DD); in RequestSadAction() 72 mCecCodecsToQuery.add(Constants.AUDIO_CODEC_MPEG1); in RequestSadAction() 77 mCecCodecsToQuery.add(Constants.AUDIO_CODEC_MP3); in RequestSadAction() 82 mCecCodecsToQuery.add(Constants.AUDIO_CODEC_MPEG2); in RequestSadAction() 87 mCecCodecsToQuery.add(Constants.AUDIO_CODEC_AAC); in RequestSadAction() 92 mCecCodecsToQuery.add(Constants.AUDIO_CODEC_DTS); in RequestSadAction() 97 mCecCodecsToQuery.add(Constants.AUDIO_CODEC_ATRAC); in RequestSadAction() 102 mCecCodecsToQuery.add(Constants.AUDIO_CODEC_ONEBITAUDIO); in RequestSadAction() 107 mCecCodecsToQuery.add(Constants.AUDIO_CODEC_DDP); in RequestSadAction() [all …]
|
D | HdmiCecLocalDeviceSource.java | 28 import com.android.server.hdmi.Constants.LocalActivePort; 52 private int mRoutingPort = Constants.CEC_SWITCH_HOME; 62 protected int mLocalActivePort = Constants.CEC_SWITCH_HOME; 81 DevicePowerStatusAction action = DevicePowerStatusAction.create(this, Constants.ADDR_TV, in queryDisplayStatus() 114 getDeviceInfo().getLogicalAddress(), Constants.ADDR_BROADCAST)); in sendStandby() 119 getDeviceInfo().getLogicalAddress(), Constants.ADDR_TV)); in sendStandby() 123 getDeviceInfo().getLogicalAddress(), Constants.ADDR_AUDIO_SYSTEM)); in sendStandby() 136 OneTouchPlayAction action = OneTouchPlayAction.create(this, Constants.ADDR_TV, in oneTouchPlay() 160 sendUserControlPressedAndReleased(Constants.ADDR_TV, in toggleAndFollowTvPower() 177 sendUserControlPressedAndReleased(Constants.ADDR_TV, in toggleAndFollowTvPower() [all …]
|
D | CecMessageBuffer.java | 41 case Constants.MESSAGE_ACTIVE_SOURCE: in bufferMessage() 44 case Constants.MESSAGE_IMAGE_VIEW_ON: in bufferMessage() 45 case Constants.MESSAGE_TEXT_VIEW_ON: in bufferMessage() 48 case Constants.MESSAGE_SYSTEM_AUDIO_MODE_REQUEST: in bufferMessage() 51 case Constants.MESSAGE_ROUTING_CHANGE: in bufferMessage() 54 case Constants.MESSAGE_SET_STREAM_PATH: in bufferMessage() 80 if (!replaceMessageIfBuffered(message, Constants.MESSAGE_ACTIVE_SOURCE)) { in bufferActiveSource() 86 if (!replaceMessageIfBuffered(message, Constants.MESSAGE_IMAGE_VIEW_ON) in bufferImageOrTextViewOn() 87 && !replaceMessageIfBuffered(message, Constants.MESSAGE_TEXT_VIEW_ON)) { in bufferImageOrTextViewOn() 93 if (!replaceMessageIfBuffered(message, Constants.MESSAGE_SYSTEM_AUDIO_MODE_REQUEST)) { in bufferSystemAudioModeRequest() [all …]
|
D | ReportFeaturesMessage.java | 48 super(source, destination, Constants.MESSAGE_REPORT_FEATURES, params, OK); in ReportFeaturesMessage() 61 @Constants.RcProfile int rcProfile, in build() 73 if (rcProfile == Constants.RC_PROFILE_SOURCE) { in build() 74 for (@Constants.RcProfileSource Integer rcFeature : rcFeatures) { in build() 78 @Constants.RcProfileTv byte rcProfileTv = (byte) (rcFeatures.get(0) & 0xFFFF); in build() 92 int addressValidationResult = validateAddress(source, Constants.ADDR_BROADCAST); in build() 94 return new HdmiCecMessage(source, Constants.ADDR_BROADCAST, in build() 95 Constants.MESSAGE_REPORT_FEATURES, params, addressValidationResult); in build() 97 return new ReportFeaturesMessage(source, Constants.ADDR_BROADCAST, params, in build() 102 @Constants.DeviceType [all …]
|
D | HdmiCecLocalDevicePlayback.java | 107 getDeviceInfo().getDeviceType(), Constants.ADDR_BROADCAST, in onAddressAllocated() 121 buildAndSendSetOsdName(Constants.ADDR_TV); in onAddressAllocated() 128 getDeviceInfo().getLogicalAddress(), Constants.ADDR_AUDIO_SYSTEM), in onAddressAllocated() 183 return SystemProperties.getInt(Constants.PROPERTY_PREFERRED_ADDRESS_PLAYBACK, in getPreferredAddress() 184 Constants.ADDR_UNREGISTERED); in getPreferredAddress() 191 mService.writeStringSystemProperty(Constants.PROPERTY_PREFERRED_ADDRESS_PLAYBACK, in setPreferredAddress() 270 getDeviceInfo().getDeviceType(), Constants.ADDR_TV, in run() 294 mService.setActiveSource(Constants.ADDR_INVALID, Constants.INVALID_PHYSICAL_ADDRESS, in onStandby() 323 getDeviceInfo().getLogicalAddress(), Constants.ADDR_TV), in onStandby() 329 getDeviceInfo().getLogicalAddress(), Constants.ADDR_TV)); in onStandby() [all …]
|
D | HdmiCecLocalDeviceTv.java | 95 private int mSystemAudioVolume = Constants.UNKNOWN_VOLUME; 167 mPrevPortId = Constants.INVALID_PORT_ID; in HdmiCecLocalDeviceTv() 208 if (!mDelayedMessageBuffer.isBuffered(Constants.MESSAGE_ACTIVE_SOURCE)) { in onAddressAllocated() 244 return Constants.ADDR_TV; in getPreferredAddress() 255 @Constants.HandleMessageResult 260 return Constants.HANDLED; in dispatchMessage() 284 if (targetAddress == Constants.ADDR_INTERNAL) { in deviceSelect() 410 int oldPath = getActivePortId() != Constants.INVALID_PORT_ID in doManualPortSwitching() 411 && getActivePortId() != Constants.CEC_SWITCH_HOME in doManualPortSwitching() 452 return Constants.ADDR_INVALID; in findKeyReceiverAddress() [all …]
|
D | DeviceDiscoveryAction.java | 78 private int mPhysicalAddress = Constants.INVALID_PHYSICAL_ADDRESS; 79 private int mPortId = Constants.INVALID_PORT_ID; 80 private int mVendorId = Constants.VENDOR_ID_UNKNOWN; 158 }, Constants.POLL_ITERATION_REVERSE_ORDER in start() 159 | Constants.POLL_STRATEGY_REMOTES_DEVICES, HdmiConfig.DEVICE_POLLING_RETRY); in start() 186 return address >= Constants.ADDR_TV && address < Constants.ADDR_UNREGISTERED; in verifyValidLogicalAddress() 198 if (mayProcessMessageIfCached(address, Constants.MESSAGE_REPORT_PHYSICAL_ADDRESS)) { in queryPhysicalAddress() 226 if (mayProcessMessageIfCached(address, Constants.MESSAGE_SET_OSD_NAME)) { in queryOsdName() 250 if (mayProcessMessageIfCached(address, Constants.MESSAGE_DEVICE_VENDOR_ID)) { in queryVendorId() 274 if (mayProcessMessageIfCached(address, Constants.MESSAGE_REPORT_POWER_STATUS)) { in queryPowerStatus() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiUtilsTest.java | 126 new HdmiUtils.CodecSad(Constants.AUDIO_CODEC_LPCM, sad), in testEqualsCodecSad() 127 new HdmiUtils.CodecSad(Constants.AUDIO_CODEC_LPCM, sadString)) in testEqualsCodecSad() 129 new HdmiUtils.CodecSad(Constants.AUDIO_CODEC_LPCM, sadString + "01")) in testEqualsCodecSad() 130 .addEqualityGroup(new HdmiUtils.CodecSad(Constants.AUDIO_CODEC_DD, sadString)) in testEqualsCodecSad() 132 new HdmiUtils.CodecSad(Constants.AUDIO_CODEC_DD, sadString + "01")) in testEqualsCodecSad() 140 CodecSad expectedCodec1 = new CodecSad(Constants.AUDIO_CODEC_LPCM, "011a03"); in testEqualsDeviceConfig() 141 CodecSad expectedCodec2 = new CodecSad(Constants.AUDIO_CODEC_DD, "0d0506"); in testEqualsDeviceConfig() 142 CodecSad expectedCodec3 = new CodecSad(Constants.AUDIO_CODEC_LPCM, "010203"); in testEqualsDeviceConfig() 143 CodecSad expectedCodec4 = new CodecSad(Constants.AUDIO_CODEC_DD, "040506"); in testEqualsDeviceConfig() 177 CodecSad expectedCodec1 = new CodecSad(Constants.AUDIO_CODEC_LPCM, "011a03"); in parseSampleXML() [all …]
|
D | HdmiCecLocalDeviceTest.java | 21 import static com.android.server.hdmi.Constants.ADDR_AUDIO_SYSTEM; 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.MESSAGE_DEVICE_VENDOR_ID; 25 import static com.android.server.hdmi.Constants.MESSAGE_REPORT_PHYSICAL_ADDRESS; 231 Constants.MESSAGE_CEC_VERSION, in dispatchMessage_logicalAddressDoesNotMatch() 233 @Constants.HandleMessageResult int handleResult = mHdmiLocalDevice.dispatchMessage(msg); in dispatchMessage_logicalAddressDoesNotMatch() 234 assertEquals(Constants.NOT_HANDLED, handleResult); in dispatchMessage_logicalAddressDoesNotMatch() 243 @Constants.HandleMessageResult in handleGivePhysicalAddress_success() 249 assertEquals(Constants.HANDLED, handleResult); in handleGivePhysicalAddress_success() [all …]
|
D | RequestSadActionTest.java | 20 import static com.android.server.hdmi.Constants.ADDR_AUDIO_SYSTEM; 55 Arrays.asList(Constants.AUDIO_CODEC_LPCM, Constants.AUDIO_CODEC_DD, 56 Constants.AUDIO_CODEC_MPEG1, Constants.AUDIO_CODEC_MP3)); 58 Arrays.asList(Constants.AUDIO_CODEC_MPEG2, Constants.AUDIO_CODEC_AAC, 59 Constants.AUDIO_CODEC_DTS, Constants.AUDIO_CODEC_ATRAC)); 61 Arrays.asList(Constants.AUDIO_CODEC_ONEBITAUDIO, Constants.AUDIO_CODEC_DDP, 62 Constants.AUDIO_CODEC_DTSHD, Constants.AUDIO_CODEC_TRUEHD)); 64 Arrays.asList(Constants.AUDIO_CODEC_DST, Constants.AUDIO_CODEC_WMAPRO, 65 Constants.AUDIO_CODEC_MAX)); 155 mTvLogicalAddress, Constants.ADDR_AUDIO_SYSTEM, in noResponse_queryAgainOnce_emptyResult() [all …]
|
D | ArcInitiationActionFromAvrTest.java | 128 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in arcInitiation_initiated() 134 Constants.ADDR_TV, in arcInitiation_initiated() 135 Constants.ADDR_AUDIO_SYSTEM)); in arcInitiation_initiated() 143 mNativeWrapper.setMessageSendResult(Constants.MESSAGE_INITIATE_ARC, SendMessageResult.NACK); in arcInitiation_sendFailed() 147 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in arcInitiation_sendFailed() 160 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in arcInitiation_terminated() 165 Constants.ADDR_TV, in arcInitiation_terminated() 166 Constants.ADDR_AUDIO_SYSTEM)); in arcInitiation_terminated() 178 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in arcInitiation_abort() 184 Constants.ADDR_TV, in arcInitiation_abort() [all …]
|
D | ReportFeaturesMessageTest.java | 19 import static com.android.server.hdmi.Constants.ADDR_PLAYBACK_1; 20 import static com.android.server.hdmi.Constants.ADDR_TV; 78 Lists.newArrayList(HdmiDeviceInfo.DEVICE_TV), Constants.RC_PROFILE_TV, in build_basicTv_1_4() 79 Lists.newArrayList(Constants.RC_PROFILE_TV_NONE), in build_basicTv_1_4() 90 Lists.newArrayList(HdmiDeviceInfo.DEVICE_PLAYBACK), Constants.RC_PROFILE_TV, in build_basicPlayback_1_4() 91 Lists.newArrayList(Constants.RC_PROFILE_TV_NONE), in build_basicPlayback_1_4() 103 HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM), Constants.RC_PROFILE_TV, in build_basicPlaybackAudioSystem_1_4() 104 Lists.newArrayList(Constants.RC_PROFILE_TV_NONE), in build_basicPlaybackAudioSystem_1_4() 115 Lists.newArrayList(HdmiDeviceInfo.DEVICE_TV), Constants.RC_PROFILE_TV, in build_basicTv_2_0() 116 Lists.newArrayList(Constants.RC_PROFILE_TV_NONE), in build_basicTv_2_0() [all …]
|
D | HdmiCecAtomLoggingTest.java | 19 import static com.android.server.hdmi.Constants.ADDR_PLAYBACK_1; 20 import static com.android.server.hdmi.Constants.ADDR_TV; 21 import static com.android.server.hdmi.Constants.PATH_RELATIONSHIP_ANCESTOR; 215 Constants.ADDR_TV, in testMessageReported_writesAtom_userControlPressed() 216 Constants.ADDR_PLAYBACK_1, in testMessageReported_writesAtom_userControlPressed() 229 Constants.ADDR_TV, in testMessageReported_writesAtom_userControlPressed() 230 Constants.ADDR_PLAYBACK_1, in testMessageReported_writesAtom_userControlPressed() 231 Constants.MESSAGE_USER_CONTROL_PRESSED, in testMessageReported_writesAtom_userControlPressed() 241 Constants.ADDR_TV, in testMessageReported_writesAtom_userControlPressed_noParams() 242 Constants.ADDR_PLAYBACK_1, in testMessageReported_writesAtom_userControlPressed_noParams() [all …]
|
D | HdmiCecNetworkTest.java | 167 Constants.INVALID_PORT_ID); in physicalAddressToPort_pathInvalid() 175 .isEqualTo(Constants.CEC_SWITCH_HOME); in physicalAddressToPort_localDevice_weAreSourceDevice() 183 .isEqualTo(Constants.CEC_SWITCH_HOME); in physicalAddressToPort_localDevice_weAreTv() 214 int logicalAddress = Constants.ADDR_PLAYBACK_1; in cecDevices_tracking_logicalAddressOnly() 223 Constants.INVALID_PHYSICAL_ADDRESS); in cecDevices_tracking_logicalAddressOnly() 227 assertThat(cecDeviceInfo.getVendorId()).isEqualTo(Constants.VENDOR_ID_UNKNOWN); in cecDevices_tracking_logicalAddressOnly() 236 int logicalAddress = Constants.ADDR_PLAYBACK_1; in cecDevices_tracking_logicalAddressOnly_doesntNotifyAgain() 248 int logicalAddress = Constants.ADDR_PLAYBACK_1; in cecDevices_tracking_reportPhysicalAddress() 264 assertThat(cecDeviceInfo.getVendorId()).isEqualTo(Constants.VENDOR_ID_UNKNOWN); in cecDevices_tracking_reportPhysicalAddress() 274 int logicalAddress = Constants.ADDR_PLAYBACK_1; in cecDevices_tracking_updateDeviceInfo_sameDoesntNotify() [all …]
|
D | SetAudioVolumeLevelDiscoveryActionTest.java | 121 Constants.ADDR_TV, 0x0000, HdmiDeviceInfo.DEVICE_TV)); in setUp() 125 Constants.ADDR_TV, mTestCallback); in setUp() 134 mPlaybackLogicalAddress, Constants.ADDR_TV, in sendsSetAudioVolumeLevel() 135 Constants.AUDIO_VOLUME_STATUS_UNKNOWN); in sendsSetAudioVolumeLevel() 146 Constants.ADDR_TV, in noMatchingFeatureAbortReceived_actionSucceedsAndSetsFeatureSupported() 148 Constants.MESSAGE_GIVE_DECK_STATUS, in noMatchingFeatureAbortReceived_actionSucceedsAndSetsFeatureSupported() 149 Constants.ABORT_UNRECOGNIZED_OPCODE)); in noMatchingFeatureAbortReceived_actionSucceedsAndSetsFeatureSupported() 152 Constants.ADDR_AUDIO_SYSTEM, in noMatchingFeatureAbortReceived_actionSucceedsAndSetsFeatureSupported() 154 Constants.MESSAGE_SET_AUDIO_VOLUME_LEVEL, in noMatchingFeatureAbortReceived_actionSucceedsAndSetsFeatureSupported() 155 Constants.ABORT_UNRECOGNIZED_OPCODE)); in noMatchingFeatureAbortReceived_actionSucceedsAndSetsFeatureSupported() [all …]
|
D | HdmiCecLocalDeviceAudioSystemTest.java | 19 import static com.android.server.hdmi.Constants.ADDR_AUDIO_SYSTEM; 20 import static com.android.server.hdmi.Constants.ADDR_BROADCAST; 21 import static com.android.server.hdmi.Constants.ADDR_PLAYBACK_1; 22 import static com.android.server.hdmi.Constants.ADDR_TUNER_1; 23 import static com.android.server.hdmi.Constants.ADDR_TV; 61 ADDR_TV, ADDR_AUDIO_SYSTEM, new int[] {Constants.AUDIO_CODEC_LPCM}); 113 case Constants.PROPERTY_ARC_SUPPORT: in setUp() 204 .isEqualTo(Constants.HANDLED); in handleGiveAudioStatus_volume_10_mute_true() 218 .isEqualTo(Constants.HANDLED); in handleGiveSystemAudioModeStatus_originalOff() 228 .isEqualTo(Constants.ABORT_REFUSED); in handleRequestShortAudioDescriptor_featureDisabled() [all …]
|
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/ |
D | InitService.java | 19 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/packages/CredentialManager/src/com/android/credentialmanager/ |
D | CredentialSelectorViewModel.kt | 40 import com.android.credentialmanager.common.Constants 90 Log.d(Constants.LOG_TAG, "User cancelled, finishing the ui") in onUserCancel() 107 Log.d(Constants.LOG_TAG, "Silently finishing the ui") in silentlyFinishActivity() 129 Log.d(Constants.LOG_TAG, "Launching provider activity") in launchProviderUi() 132 entryIntent?.putExtra(Constants.IS_AUTO_SELECTED_KEY, uiState.isAutoSelectFlow) in launchProviderUi() 135 Log.w(Constants.LOG_TAG, "Unexpected biometric result exists when " + in launchProviderUi() 140 entryIntent?.putExtra(Constants.BIOMETRIC_AUTH_RESULT, in launchProviderUi() 143 entryIntent?.putExtra(Constants.BIOMETRIC_FRAMEWORK_OPTION, true) in launchProviderUi() 145 entryIntent?.putExtra(Constants.BIOMETRIC_AUTH_ERROR_CODE, in launchProviderUi() 147 entryIntent?.putExtra(Constants.BIOMETRIC_AUTH_ERROR_MESSAGE, in launchProviderUi() [all …]
|