/hardware/interfaces/automotive/occupant_awareness/aidl/vts/functional/ |
D | VtsHalOccupantAwarenessV1_0TargetTest.cpp | 85 // Test that getCapabilityForRole() returns supported capabilities for the role. The test only 88 std::vector<Role> rolesToTest = {Role::FRONT_PASSENGER, Role::DRIVER, in TEST_P() 89 Role::ROW_2_PASSENGER_LEFT, Role::ROW_2_PASSENGER_CENTER, in TEST_P() 90 Role::ROW_2_PASSENGER_RIGHT, Role::ROW_3_PASSENGER_LEFT, in TEST_P() 91 Role::ROW_3_PASSENGER_CENTER, Role::ROW_3_PASSENGER_RIGHT, in TEST_P() 92 Role::FRONT_OCCUPANTS, Role::ROW_2_OCCUPANTS, in TEST_P() 93 Role::ROW_3_OCCUPANTS, Role::ALL_OCCUPANTS}; in TEST_P() 95 for (auto role : rolesToTest) { in TEST_P() local 97 EXPECT_OK(mOccupantAwarenessService->getCapabilityForRole(role, &capabilities)); in TEST_P() 105 mOccupantAwarenessService->getCapabilityForRole(Role::INVALID, &capabilities).isOk()); in TEST_P() [all …]
|
/hardware/interfaces/audio/core/all-versions/vts/functional/tests/ |
D | apm_config_b_205808571_7_0.xml | 62 …<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_FAST AUDIO_OUTPUT_FLAG_PRIMA… 66 <mixPort name="raw" role="source" 71 <mixPort name="haptics output" role="source"> 75 <mixPort name="deep_buffer" role="source" 80 …<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MM… 84 <mixPort name="hifi_playback" role="source" /> 85 <mixPort name="compress_passthrough" role="source" 88 <mixPort name="direct_pcm" role="source" 103 <mixPort name="compressed_offload" role="source" 151 <mixPort name="voice_tx" role="source"> [all …]
|
D | apm_config_b_205808571_6_0.xml | 62 …<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_PRIMA… 66 <mixPort name="raw" role="source" 71 <mixPort name="haptics output" role="source"> 75 <mixPort name="deep_buffer" role="source" 80 …<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_MM… 84 <mixPort name="hifi_playback" role="source" /> 85 <mixPort name="compress_passthrough" role="source" 88 <mixPort name="direct_pcm" role="source" 103 <mixPort name="compressed_offload" role="source" 151 <mixPort name="voice_tx" role="source"> [all …]
|
D | apm_config_b_204314749_7_0.xml | 57 <mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY"> 61 …<mixPort name="tunnel pcm" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_HW_AV_S… 65 <mixPort name="direct pcm" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT"> 69 <mixPort name="direct output" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT"> 72 …<mixPort name="tunnel direct output" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FL… 75 …<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MM… 80 <mixPort name="primary input" role="sink"> 85 …<mixPort name="tunnel a2dp" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_HW_AV_… 88 <mixPort name="direct a2dp" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT"> 91 <mixPort name="echo reference" role="sink"> [all …]
|
D | apm_config_with_vx_7_0.xml | 27 <mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY"> 31 <mixPort name="primary input" role="sink"> 41 … <devicePort tagName="Speaker" role="sink" type="AUDIO_DEVICE_OUT_SPEAKER" address=""> 52 <devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source"> 60 … <devicePort tagName="Ambient Mic" type="VX_GOOGLE_AUDIO_DEVICE_AMBIENT_MIC" role="source">
|
D | apm_config_with_vx.xml | 27 <mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY"> 31 <mixPort name="primary input" role="sink"> 41 … <devicePort tagName="Speaker" role="sink" type="AUDIO_DEVICE_OUT_SPEAKER" address=""> 52 <devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source"> 60 … <devicePort tagName="Ambient Mic" type="VX_GOOGLE_AUDIO_DEVICE_AMBIENT_MIC" role="source">
|
D | apm_config_no_vx_7_0.xml | 27 <mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY"> 31 <mixPort name="primary input" role="sink"> 38 … <devicePort tagName="Speaker" role="sink" type="AUDIO_DEVICE_OUT_SPEAKER" address=""> 49 <devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
D | apm_config_no_vx.xml | 27 <mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY"> 31 <mixPort name="primary input" role="sink"> 38 … <devicePort tagName="Speaker" role="sink" type="AUDIO_DEVICE_OUT_SPEAKER" address=""> 49 <devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | ValidateHal.cpp | 51 for (const auto& role : inputRoles) { in validateMemoryDesc() local 52 NN_RET_CHECK_GE(role.modelIndex, 0); in validateMemoryDesc() 53 NN_RET_CHECK_LT(static_cast<size_t>(role.modelIndex), preparedModels.size()); in validateMemoryDesc() 54 const auto& preparedModel = preparedModels[role.modelIndex]; in validateMemoryDesc() 59 NN_RET_CHECK_GE(role.ioIndex, 0); in validateMemoryDesc() 60 NN_RET_CHECK_LT(static_cast<size_t>(role.ioIndex), inputIndexes.size()); in validateMemoryDesc() 61 NN_RET_CHECK_GT(role.probability, 0.0f); in validateMemoryDesc() 62 NN_RET_CHECK_LE(role.probability, 1.0f); in validateMemoryDesc() 63 const auto [it, success] = roles.emplace(preparedModel.get(), IOType::INPUT, role.ioIndex); in validateMemoryDesc() 65 operands.push_back(model->main.operands[inputIndexes[role.ioIndex]]); in validateMemoryDesc() [all …]
|
/hardware/interfaces/usb/1.0/vts/functional/ |
D | VtsHalUsbV1_0TargetTest.cpp | 57 // Usb Hal will call this object upon role switch or port query. 86 // Callback method for the status of role switch operation. 148 // Status of the last role switch operation. 151 // Port role information of the last role switch operation. 154 // Flag to indicate the invocation of role switch callback. 198 struct PortRole role; in TEST_P() local 199 role.type = PortRoleType::DATA_ROLE; in TEST_P() 201 Return<void> ret = usb->switchRole("", role); in TEST_P() 209 * Test switching the power role of usb port. 211 * If there is atleast one usb port, a power role switch [all …]
|
/hardware/interfaces/usb/1.0/ |
D | types.hal | 33 * error value returned when role string is unrecognized. 39 * Denotes the Port role type. 44 * Denotes the data role of the port. 51 * Denotes the power role of the port. 60 * Or a dual role ports which can either can as a host or 69 * Indicates that the port does not have a data role. 70 * In case of DRP, the current data role of the port is only resolved 91 * Indicates that the port does not have a power role. 92 * In case of DRP, the current power role of the port is only resolved 137 * Used as a container to send port role information. [all …]
|
D | IUsb.hal | 23 * This function is used to change the port role of a specific port. 25 * This is function is asynchronous. The status of the role switch 29 * @param portName name of the port for which the role has to be changed 30 * @param role the new port role. 32 oneway switchRole(string portName, PortRole role);
|
/hardware/interfaces/usb/1.0/default/ |
D | Usb.cpp | 65 std::string convertRoletoString(PortRole role) { in convertRoletoString() argument 66 if (role.type == PortRoleType::POWER_ROLE) { in convertRoletoString() 67 if (role.role == static_cast<uint32_t> (PortPowerRole::SOURCE)) in convertRoletoString() 69 else if (role.role == static_cast<uint32_t> (PortPowerRole::SINK)) in convertRoletoString() 71 } else if (role.type == PortRoleType::DATA_ROLE) { in convertRoletoString() 72 if (role.role == static_cast<uint32_t> (PortDataRole::HOST)) in convertRoletoString() 74 if (role.role == static_cast<uint32_t> (PortDataRole::DEVICE)) in convertRoletoString() 76 } else if (role.type == PortRoleType::MODE) { in convertRoletoString() 77 if (role.role == static_cast<uint32_t> (PortMode::UFP)) in convertRoletoString() 79 if (role.role == static_cast<uint32_t> (PortMode::DFP)) in convertRoletoString() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/store/ |
D | VtsHalMediaOmxV1_0TargetStoreTest.cpp | 263 for (const IOmxStore::RoleInfo& role : roleList) { in TEST_P() local 265 const auto [roleIter, inserted] = roleKeys.insert(role.role); in TEST_P() 266 EXPECT_EQ(inserted, true) << "Role \"" << role.role << "\" has duplicates."; in TEST_P() 268 // Make sure role name follows expected format based on type and in TEST_P() 270 const char* role_name = ::android::GetComponentRole(role.isEncoder, role.type.c_str()); in TEST_P() 272 EXPECT_EQ(std::string(role_name), role.role) in TEST_P() 273 << "Role \"" << role.role << "\" does not match " in TEST_P() 274 << (role.isEncoder ? "an encoder " : "a decoder ") << "for media type \"" in TEST_P() 275 << role.type << "."; in TEST_P() 278 // Check the nodes for this role in TEST_P() [all …]
|
/hardware/interfaces/usb/aidl/android/hardware/usb/ |
D | IUsb.aidl | 84 * This function is used to change the port role of a specific port. 86 * The status of the role switch will be informed through IUsbCallback 89 * @param portName name of the port for which the role has to be changed 90 * @param role the new port role. 93 void switchRole(in String portName, in PortRole role, long transactionId); in switchRole() argument 109 * This function is used to reset the port role of a specific port.
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/images/ |
D | accelstruct.svg | 214 sodipodi:role="line" 225 sodipodi:role="line" 230 sodipodi:role="line" 235 sodipodi:role="line" 246 sodipodi:role="line" 251 sodipodi:role="line" 256 sodipodi:role="line" 267 sodipodi:role="line" 272 sodipodi:role="line" 277 sodipodi:role="line" [all …]
|
/hardware/interfaces/automotive/occupant_awareness/aidl/android/hardware/automotive/occupant_awareness/ |
D | OccupantDetection.aidl | 19 import android.hardware.automotive.occupant_awareness.Role; 31 * Role of the occupant (e.g., driver, passenger). 33 Role role;
|
/hardware/interfaces/automotive/occupant_awareness/aidl/mock/ |
D | DetectionGenerator.cpp | 44 occupantDetection.role = static_cast<Role>(currentRole); in GetNextDetections() 52 if (occupantDetection.role == Role::DRIVER) { in GetNextDetections()
|
D | OccupantAwareness.cpp | 68 ScopedAStatus OccupantAwareness::getCapabilityForRole(Role occupantRole, int32_t* capabilities) { in getCapabilityForRole() 76 if (occupantRole != Role::DRIVER) { in getCapabilityForRole() 87 ScopedAStatus OccupantAwareness::getState(Role occupantRole, int detectionCapability, in getState() 134 bool OccupantAwareness::isValidRole(Role occupantRole) { in isValidRole() 136 int allOccupants = static_cast<int>(Role::ALL_OCCUPANTS); in isValidRole() 137 return (occupantRole != Role::INVALID) && ((intVal & (~allOccupants)) == 0); in isValidRole()
|
D | OccupantAwareness.h | 38 using ::aidl::android::hardware::automotive::occupant_awareness::Role; 50 ndk::ScopedAStatus getCapabilityForRole(Role occupantRole, int32_t* capabilities) override; 51 ndk::ScopedAStatus getState(Role occupantRole, int detectionCapability, 58 bool isValidRole(Role occupantRole);
|
/hardware/interfaces/automotive/occupant_awareness/aidl/default/ |
D | OccupantAwareness.cpp | 58 ScopedAStatus OccupantAwareness::getCapabilityForRole(Role occupantRole, int32_t* capabilities) { in getCapabilityForRole() 68 ScopedAStatus OccupantAwareness::getState(Role occupantRole, int detectionCapability, in getState() 101 bool OccupantAwareness::isValidRole(Role occupantRole) { in isValidRole() 103 int allOccupants = static_cast<int>(Role::ALL_OCCUPANTS); in isValidRole() 104 return (occupantRole != Role::INVALID) && ((intVal & (~allOccupants)) == 0); in isValidRole()
|
D | OccupantAwareness.h | 33 using ::aidl::android::hardware::automotive::occupant_awareness::Role; 45 ndk::ScopedAStatus getCapabilityForRole(Role occupantRole, int32_t* capabilities) override; 46 ndk::ScopedAStatus getState(Role occupantRole, int detectionCapability, 53 bool isValidRole(Role occupantRole);
|
/hardware/interfaces/bluetooth/ranging/aidl/android/hardware/bluetooth/ranging/ |
D | BluetoothChannelSoundingParameters.aidl | 22 import android.hardware.bluetooth.ranging.Role; 46 * Role of the local device. 48 Role role;
|
/hardware/interfaces/usb/aidl/default/ |
D | Usb.cpp | 150 string convertRoletoString(PortRole role) { in convertRoletoString() argument 151 if (role.getTag() == PortRole::powerRole) { in convertRoletoString() 152 if (role.get<PortRole::powerRole>() == PortPowerRole::SOURCE) in convertRoletoString() 154 else if (role.get<PortRole::powerRole>() == PortPowerRole::SINK) in convertRoletoString() 156 } else if (role.getTag() == PortRole::dataRole) { in convertRoletoString() 157 if (role.get<PortRole::dataRole>() == PortDataRole::HOST) in convertRoletoString() 159 if (role.get<PortRole::dataRole>() == PortDataRole::DEVICE) in convertRoletoString() 161 } else if (role.getTag() == PortRole::mode) { in convertRoletoString() 162 if (role.get<PortRole::mode>() == PortMode::UFP) in convertRoletoString() 164 if (role.get<PortRole::mode>() == PortMode::DFP) in convertRoletoString() [all …]
|
/hardware/interfaces/usb/aidl/vts/ |
D | VtsAidlUsbTargetTest.cpp | 72 // Usb Hal will call this object upon role switch or port query. 100 // Callback method for the status of role switch operation. 223 // Status of the last role switch operation. 226 // Port role information of the last role switch operation. 229 // Flag to indicate the invocation of role switch callback. 337 PortRole role; in TEST_P() local 338 role.set<PortRole::powerRole>(PortPowerRole::SOURCE); in TEST_P() 340 const auto& ret = usb->switchRole("", role, transactionId); in TEST_P() 350 * Test switching the power role of usb port. 352 * If there is at least one usb port, a power role switch [all …]
|