/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbPortManager.java | 210 for (PortInfo portInfo : mPorts.values()) { in updateContaminantNotification() 211 contaminantStatus = portInfo.mUsbPortStatus.getContaminantDetectionStatus(); in updateContaminantNotification() 214 currentPortInfo = portInfo; in updateContaminantNotification() 316 final PortInfo portInfo = mPorts.get(portId); in getPortStatus() local 317 return portInfo != null ? portInfo.mUsbPortStatus : null; in getPortStatus() 326 final PortInfo portInfo = mPorts.get(portId); in isModeChangeSupported() local 327 return portInfo != null ? portInfo.mCanChangeMode : false; in isModeChangeSupported() 339 final PortInfo portInfo = mPorts.get(portId); in enableContaminantDetection() local 340 if (portInfo == null) { in enableContaminantDetection() 347 if (!portInfo.mUsbPort.supportsEnableContaminantPresenceDetection()) { in enableContaminantDetection() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | Signature.java | 177 PortInfo portInfo = entry.getValue(); in checkInputPortsConform() local 179 if (inputPort == null && portInfo.isRequired()) { in checkInputPortsConform() 198 PortInfo portInfo = entry.getValue(); in checkOutputPortsConform() local 200 if (outputPort == null && portInfo.isRequired()) { in checkOutputPortsConform() 221 private void addInputPort(String name, PortInfo portInfo) { in addInputPort() argument 228 mInputPorts.put(name, portInfo); in addInputPort() 231 private void addOutputPort(String name, PortInfo portInfo) { in addOutputPort() argument 238 mOutputPorts.put(name, portInfo); in addOutputPort()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecController.java | 1124 for (android.hardware.tv.hdmi.connection.HdmiPortInfo portInfo : hdmiPortInfos) { in nativeGetPortInfos() 1126 portInfo.portId, in nativeGetPortInfos() 1127 portInfo.type, in nativeGetPortInfos() 1128 portInfo.physicalAddress) in nativeGetPortInfos() 1129 .setCecSupported(portInfo.cecSupported) in nativeGetPortInfos() 1131 .setArcSupported(portInfo.arcSupported) in nativeGetPortInfos() 1132 .setEarcSupported(portInfo.eArcSupported) in nativeGetPortInfos() 1314 for (android.hardware.tv.cec.V1_0.HdmiPortInfo portInfo : hdmiPortInfos) { in nativeGetPortInfos() 1316 portInfo.portId, in nativeGetPortInfos() 1317 portInfo.type, in nativeGetPortInfos() [all …]
|
D | HdmiCecLocalDeviceSource.java | 95 HdmiPortInfo portInfo = mService.getPortInfo(portId); in onHotplug() local 96 if (portInfo != null && portInfo.getType() == HdmiPortInfo.PORT_OUTPUT) { in onHotplug()
|
D | HdmiCecNetwork.java | 935 HdmiPortInfo portInfo = getPortInfo(portId); in portIdToPath() local 936 if (portInfo == null) { in portIdToPath() 940 return portInfo.getAddress(); in portIdToPath() 980 void setPortInfo(List<HdmiPortInfo> portInfo) { in setPortInfo() argument 981 mPortInfo = portInfo; in setPortInfo()
|
D | HdmiCecLocalDeviceAudioSystem.java | 204 HdmiPortInfo portInfo = mService.getPortInfo(portId); in onHotplug() local 205 if (portInfo != null && portInfo.getType() == HdmiPortInfo.PORT_OUTPUT) { in onHotplug()
|
D | HdmiControlService.java | 1877 HdmiPortInfo portInfo = getPortInfo(portId); in onHotplug() local 1879 && portInfo != null && portInfo.getType() == HdmiPortInfo.PORT_OUTPUT) { in onHotplug()
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 811 C2InfoBuffer portInfo = streamInfo.asPort(true /* output */); in TEST_F() local 812 ASSERT_EQ(kParamIndexNumber1, portInfo.index().coreIndex()); in TEST_F() 813 ASSERT_TRUE(portInfo.index().forPort()); in TEST_F() 814 ASSERT_TRUE(portInfo.index().forOutput()); in TEST_F() 815 ASSERT_EQ(C2Param::INFO, portInfo.index().kind()); in TEST_F() 816 ASSERT_EQ(C2BufferData::LINEAR, portInfo.data().type()); in TEST_F() 817 ASSERT_EQ(1024, portInfo.data().linearBlocks()[0].offset()); in TEST_F() 818 ASSERT_EQ(kCapacity / 2, portInfo.data().linearBlocks()[0].size()); in TEST_F() 820 ASSERT_EQ(linearBlock->handle(), portInfo.data().linearBlocks()[0].handle()); in TEST_F() 821 ASSERT_EQ(linearPool->getAllocatorId(), portInfo.data().linearBlocks()[0].getAllocatorId()); in TEST_F()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccController.java | 2251 for (UiccPortInfo portInfo : info.getPorts()) { in isSimPortAvailable() 2252 if (portInfo == null || portInfo.getPortIndex() != portIndex) { in isSimPortAvailable() 2255 if (!portInfo.isActive()) { in isSimPortAvailable() 2278 if (TextUtils.isEmpty(portInfo.getIccId())) { in isSimPortAvailable() 2291 Phone phone = PhoneFactory.getPhone(portInfo.getLogicalSlotIndex()); in isSimPortAvailable() 2293 Log.e(TAG, "Invalid logical slot: " + portInfo.getLogicalSlotIndex()); in isSimPortAvailable()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RILUtils.java | 4368 int portCount = slotStatus.portInfo.length; in convertHalSlotStatus() 4372 simPortInfo.mIccId = slotStatus.portInfo[i].iccId; in convertHalSlotStatus() 4375 simPortInfo.mLogicalSlotIndex = slotStatus.portInfo[i].portActive in convertHalSlotStatus() 4376 ? slotStatus.portInfo[i].logicalSlotId : -1; in convertHalSlotStatus() 4377 simPortInfo.mPortActive = slotStatus.portInfo[i].portActive; in convertHalSlotStatus()
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 3851 for (UiccPortInfo portInfo : slotInfos[physicalSlotIndex].getPorts()) { in getLogicalSlotIndex() 3852 if (portInfo.getPortIndex() == portIndex) { in getLogicalSlotIndex() 3853 return portInfo.getLogicalSlotIndex(); in getLogicalSlotIndex() 7320 .filter(portInfo -> portInfo.isActive()).findFirst(); in getFirstActivePortIndex()
|