/hardware/google/gfxstream/ |
D | .gitignore | 34 /qapi/qapi-builtin-types.[ch] 35 /qapi/qapi-builtin-visit.[ch] 36 /qapi/qapi-commands-block-core.[ch] 37 /qapi/qapi-commands-block.[ch] 38 /qapi/qapi-commands-char.[ch] 39 /qapi/qapi-commands-common.[ch] 40 /qapi/qapi-commands-crypto.[ch] 41 /qapi/qapi-commands-introspect.[ch] 42 /qapi/qapi-commands-migration.[ch] 43 /qapi/qapi-commands-misc.[ch] [all …]
|
/hardware/nxp/uwb/halimpl/hal/ |
D | phNxpUwbCalib.cc | 24 static tHAL_UWB_STATUS sr1xx_apply_calibration(extcal_param_id_t id, const uint8_t ch, const uint8_… 29 tHAL_UWB_STATUS phNxpUwbCalib_apply_calibration(extcal_param_id_t id, const uint8_t ch, const uint8… in phNxpUwbCalib_apply_calibration() argument 30 return sr1xx_apply_calibration(id, ch, data, data_len); in phNxpUwbCalib_apply_calibration() 65 static tHAL_UWB_STATUS sr1xx_apply_calibration(extcal_param_id_t id, const uint8_t ch, const uint8_… in sr1xx_apply_calibration() argument 93 return sr1xx_set_calibration(ch, tlv); in sr1xx_apply_calibration() 97 if (!ch || data_len < 1 || !data[0] || (data[0] * 3) != (data_len - 1)) { in sr1xx_apply_calibration() 109 return sr1xx_set_calibration(ch, tlv); in sr1xx_apply_calibration() 113 if (!ch || data_len < 1 || !data[0] || (data[0] * 5) != (data_len - 1)) { in sr1xx_apply_calibration() 125 return sr1xx_set_calibration(ch, tlv); in sr1xx_apply_calibration()
|
D | phNxpUciHal_ext.cc | 562 for (auto ch : cal_channels) { in extcal_do_ant_delay() local 573 std::snprintf(key, sizeof(key), "cal.ant%u.ch%u.ant_delay", ant_id, ch); in extcal_do_ant_delay() 591 …et = nxpucihal_ctrl.uwb_chip->apply_calibration(EXTCAL_PARAM_RX_ANT_DELAY, ch, entries.data(), ent… in extcal_do_ant_delay() 593 NXPLOG_UCIHAL_E("Failed to apply RX_ANT_DELAY for channel %u", ch); in extcal_do_ant_delay() 607 for (auto ch : cal_channels) { in extcal_do_tx_power() local 617 std::snprintf(key, sizeof(key), "cal.ant%u.ch%u.tx_power", ant_id, ch); in extcal_do_tx_power() 635 …tHAL_UWB_STATUS ret = nxpucihal_ctrl.uwb_chip->apply_calibration(EXTCAL_PARAM_TX_POWER, ch, entrie… in extcal_do_tx_power() 637 NXPLOG_UCIHAL_E("Failed to apply TX_POWER for channel %u", ch); in extcal_do_tx_power() 844 uint8_t ch = 0; in phNxpUciHal_handle_set_app_config() local 874 ch = p_data[i + 2]; in phNxpUciHal_handle_set_app_config() [all …]
|
/hardware/interfaces/tests/trie/1.0/default/ |
D | Trie.cpp | 70 for (char ch : str) { in addString() local 74 [&](const TrieEdge& edge) { return ch == edge.character; }); in addString() 79 it->character = ch; in addString() 92 for (char ch : str) { in containsString() local 96 [&](const TrieEdge& edge) { return ch == edge.character; }); in containsString()
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | arec.c | 387 int rec_raw(const char *fg, const char *device, int rate, int ch, in rec_raw() argument 408 count = rate * ch * 2; in rec_raw() 414 ch, rate, 16, format); in rec_raw() 421 return record_file(rate, ch, fd, count, flag, device); in rec_raw() 424 int rec_wav(const char *fg, const char *device, int rate, int ch, const char *fn) in rec_wav() argument 448 hdr.num_channels = ch; in rec_wav() 451 hdr.byte_rate = (rate * ch * hdr.bits_per_sample) / 8; in rec_wav() 452 hdr.block_align = ( hdr.bits_per_sample * ch ) / 8; in rec_wav() 459 count = rate * ch * 2; in rec_wav() 474 hdr.num_channels = ch; in rec_wav() [all …]
|
D | aplay.c | 472 int play_raw(const char *fg, int rate, int ch, const char *device, const char *fn) in play_raw() argument 494 fn, get_format_desc(format), ch ); in play_raw() 495 return play_file(rate, ch, fd, flag, device, 0); in play_raw() 498 int play_wav(const char *fg, int rate, int ch, const char *device, const char *fn) in play_wav() argument 517 hdr.num_channels = ch; in play_wav() 545 hdr.num_channels = ch; in play_wav() 563 int ch = 2; in main() local 608 ch = (int)strtol(optarg, NULL, 0); in main() 658 rc = play_wav(mmap, rate, ch, device, filename); in main() 660 rc = play_raw(mmap, rate, ch, device, filename); in main() [all …]
|
D | alsaucm_test.c | 89 char ch; in alsaucm_test_cmd_svr() local 95 read_count = read(fd, &ch, 1); in alsaucm_test_cmd_svr() 104 if (ch != '\n') { in alsaucm_test_cmd_svr() 105 strlcat(cmdstr, &ch , (2+strlen(cmdstr))); in alsaucm_test_cmd_svr()
|
/hardware/nxp/secure_element/snxxx/ese-clients/src/ |
D | eSEClient.cpp | 63 SESTATUS ESE_ChannelInit(IChannel* ch); 146 SESTATUS ESE_ChannelInit(IChannel* ch) { in ESE_ChannelInit() argument 147 ch->open = SE_Open; in ESE_ChannelInit() 148 ch->close = SE_Close; in ESE_ChannelInit() 149 ch->transceive = SE_Transmit; in ESE_ChannelInit() 150 ch->transceiveRaw = SE_Transmit; in ESE_ChannelInit() 151 ch->doeSE_Reset = SE_Reset; in ESE_ChannelInit() 152 ch->doeSE_JcopDownLoadReset = SE_JcopDownLoadReset; in ESE_ChannelInit() 153 ch->getInterfaceInfo = SE_getInterfaceInfo; in ESE_ChannelInit()
|
/hardware/google/aemu/base/ |
D | PathUtils.cpp | 49 bool PathUtils::isDirSeparator(int ch, HostType hostType) { in isDirSeparator() argument 50 return (ch == '/') || (hostType == HOST_WIN32 && ch == '\\'); in isDirSeparator() 54 bool PathUtils::isPathSeparator(int ch, HostType hostType) { in isPathSeparator() argument 55 return (hostType == HOST_POSIX && ch == ':') || in isPathSeparator() 56 (hostType == HOST_WIN32 && ch == ';'); in isPathSeparator() 68 int ch = path[0]; in rootPrefixSize() local 69 if ((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z')) in rootPrefixSize()
|
/hardware/interfaces/audio/core/all-versions/default/util/ |
D | CoreUtils.cpp | 76 for (size_t ch = 0; ch < micInfo->channelMapping.size(); ch++) { in microphoneInfoFromHal() local 77 micInfo->channelMapping[ch] = AudioMicrophoneChannelMapping(halMicInfo.channel_mapping[ch]); in microphoneInfoFromHal() 117 size_t ch; in microphoneInfoToHal() local 118 for (ch = 0; ch < micInfo.channelMapping.size() && ch < AUDIO_CHANNEL_COUNT_MAX; ch++) { in microphoneInfoToHal() 119 halMicInfo->channel_mapping[ch] = in microphoneInfoToHal() 120 static_cast<audio_microphone_channel_mapping_t>(micInfo.channelMapping[ch]); in microphoneInfoToHal() 122 for (; ch < AUDIO_CHANNEL_COUNT_MAX; ch++) { in microphoneInfoToHal() 123 halMicInfo->channel_mapping[ch] = AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED; in microphoneInfoToHal()
|
/hardware/knowles/athletico/sound_trigger_hal/tests/ |
D | plugin_status_test.c | 54 int ch; in main() local 64 ch = getopt_long (argc, argv, "sei:n:d:rb:", in main() 68 if (ch == -1) in main() 71 switch (ch) { in main()
|
D | setparamblk_test.c | 133 int ch; in main() local 142 ch = getopt_long(argc, argv, "sckhf:p:i:b:m:r:", in main() 146 if (ch == -1) in main() 149 switch (ch) { in main()
|
/hardware/qcom/sm8150/gps/utils/ |
D | loc_misc_utils.cpp | 263 float cr = 0.0, sr = 0.0, cp = 0.0, sp = 0.0, ch = 0.0, sh = 0.0; in Euler2Dcm() local 269 ch = cosf(euler[2]); in Euler2Dcm() 272 dcm[0][0] = cp * ch; in Euler2Dcm() 273 dcm[0][1] = (sp*sr*ch) - (cr*sh); in Euler2Dcm() 274 dcm[0][2] = (cr*sp*ch) + (sh*sr); in Euler2Dcm() 277 dcm[1][1] = (sr*sp*sh) + (cr*ch); in Euler2Dcm() 278 dcm[1][2] = (cr*sp*sh) - (sr*ch); in Euler2Dcm()
|
/hardware/qcom/sm7250/gps/utils/ |
D | loc_misc_utils.cpp | 263 float cr = 0.0, sr = 0.0, cp = 0.0, sp = 0.0, ch = 0.0, sh = 0.0; in Euler2Dcm() local 269 ch = cosf(euler[2]); in Euler2Dcm() 272 dcm[0][0] = cp * ch; in Euler2Dcm() 273 dcm[0][1] = (sp*sr*ch) - (cr*sh); in Euler2Dcm() 274 dcm[0][2] = (cr*sp*ch) + (sh*sr); in Euler2Dcm() 277 dcm[1][1] = (sr*sp*sh) + (cr*ch); in Euler2Dcm() 278 dcm[1][2] = (cr*sp*sh) - (sr*ch); in Euler2Dcm()
|
/hardware/google/pixel/vibrator/cs40l26/ |
D | Vibrator.cpp | 60 #define VETRACE(i, s, d, ch) \ argument 61 auto e_trace_ = std::make_unique<EffectTrace>(i, s, d, ch); \ 535 DspMemChunk ch(WAVEFORM_COMPOSE, FF_CUSTOM_DATA_LEN_MAX_COMP); in compose() local 536 const uint8_t header_count = ch.size(); in compose() 540 ch.constructComposeSegment(0 /*amplitude*/, 0 /*index*/, 0 /*repeat*/, 0 /*flags*/, in compose() 585 ch.constructComposeSegment(effectVolLevel, effectIndex, 0 /*repeat*/, 0 /*flags*/, in compose() 589 ch.flush(); in compose() 590 if (ch.updateNSection(size) < 0) { in compose() 595 if (header_count == ch.size()) { in compose() 602 return performEffect(WAVEFORM_MAX_INDEX /*ignored*/, VOLTAGE_SCALE_MAX /*ignored*/, &ch, in compose() [all …]
|
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
D | hw_ar3k.c | 246 hci_command_hdr *ch = (void *)cmd; in load_hci_ps_hdr() local 248 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in load_hci_ps_hdr() 250 ch->plen = len + PS_HDR_LEN; in load_hci_ps_hdr() 390 hci_command_hdr *ch = (void *)ptr; in set_cntrlr_baud() local 396 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in set_cntrlr_baud() 398 ch->plen = 2; in set_cntrlr_baud() 431 #define __is_delim(ch) ((ch) == ':') argument 682 hci_command_hdr *ch = (void *)cmd; in write_bdaddr() local 686 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in write_bdaddr() 688 ch->plen = 10; in write_bdaddr() [all …]
|
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
D | hw_ar3k.c | 250 hci_command_hdr *ch = (void *)cmd; in load_hci_ps_hdr() local 252 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in load_hci_ps_hdr() 254 ch->plen = len + PS_HDR_LEN; in load_hci_ps_hdr() 394 hci_command_hdr *ch = (void *)ptr; in set_cntrlr_baud() local 400 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in set_cntrlr_baud() 402 ch->plen = 2; in set_cntrlr_baud() 435 #define __is_delim(ch) ((ch) == ':') argument 686 hci_command_hdr *ch = (void *)cmd; in write_bdaddr() local 690 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in write_bdaddr() 692 ch->plen = 10; in write_bdaddr() [all …]
|
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
D | hw_ar3k.c | 246 hci_command_hdr *ch = (void *)cmd; in load_hci_ps_hdr() local 248 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in load_hci_ps_hdr() 250 ch->plen = len + PS_HDR_LEN; in load_hci_ps_hdr() 390 hci_command_hdr *ch = (void *)ptr; in set_cntrlr_baud() local 396 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in set_cntrlr_baud() 398 ch->plen = 2; in set_cntrlr_baud() 431 #define __is_delim(ch) ((ch) == ':') argument 682 hci_command_hdr *ch = (void *)cmd; in write_bdaddr() local 686 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in write_bdaddr() 688 ch->plen = 10; in write_bdaddr() [all …]
|
/hardware/qcom/bt/msm8998/libbt-vendor/src/ |
D | hw_ar3k.c | 252 hci_command_hdr *ch = (void *)cmd; in load_hci_ps_hdr() local 254 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in load_hci_ps_hdr() 256 ch->plen = len + PS_HDR_LEN; in load_hci_ps_hdr() 396 hci_command_hdr *ch = (void *)ptr; in set_cntrlr_baud() local 402 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in set_cntrlr_baud() 404 ch->plen = 2; in set_cntrlr_baud() 437 #define __is_delim(ch) ((ch) == ':') argument 688 hci_command_hdr *ch = (void *)cmd; in write_bdaddr() local 692 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in write_bdaddr() 694 ch->plen = 10; in write_bdaddr() [all …]
|
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/ |
D | hw_ar3k.c | 248 hci_command_hdr *ch = (void *)cmd; in load_hci_ps_hdr() local 250 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in load_hci_ps_hdr() 252 ch->plen = len + PS_HDR_LEN; in load_hci_ps_hdr() 392 hci_command_hdr *ch = (void *)ptr; in set_cntrlr_baud() local 398 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in set_cntrlr_baud() 400 ch->plen = 2; in set_cntrlr_baud() 433 #define __is_delim(ch) ((ch) == ':') argument 684 hci_command_hdr *ch = (void *)cmd; in write_bdaddr() local 688 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in write_bdaddr() 690 ch->plen = 10; in write_bdaddr() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/ |
D | QCameraHAL3MainTestContext.cpp | 277 char ch = '0'; in hal3appPrintMenu() local 287 std::cin >> ch; in hal3appPrintMenu() 288 } while(!(ch >= '1' && ch <= '9')); in hal3appPrintMenu() 289 choice = ch -'0'; in hal3appPrintMenu()
|
/hardware/google/aemu/base/include/aemu/base/files/ |
D | PathUtils.h | 136 static bool isDirSeparator(int ch, HostType hostType); 139 static bool isDirSeparator(int ch) { in isDirSeparator() argument 140 return isDirSeparator(ch, HOST_TYPE); in isDirSeparator() 144 static bool isPathSeparator(int ch, HostType hostType); 147 static bool isPathSeparator(int ch) { in isPathSeparator() argument 148 return isPathSeparator(ch, HOST_TYPE); in isPathSeparator()
|
/hardware/interfaces/broadcastradio/common/utils2x/ |
D | Utils.cpp | 240 auto ch = static_cast<char>(val & 0xFF); in isValid() local 242 expect((ch >= '0' && ch <= '9') || (ch >= 'A' && ch <= 'Z'), in isValid() 402 for (char ch : name) { in make_hdradio_station_name() local 403 if (!std::isalnum(ch, loc)) continue; in make_hdradio_station_name() 404 shortName.push_back(std::toupper(ch, loc)); in make_hdradio_station_name()
|
/hardware/nxp/uwb/halimpl/hal/sr200/ |
D | NxpUwbChipSr200.cc | 26 …tHAL_UWB_STATUS apply_calibration(extcal_param_id_t id, const uint8_t ch, const uint8_t *data, siz… 152 NxpUwbChipSr200::apply_calibration(extcal_param_id_t id, const uint8_t ch, in apply_calibration() argument 155 return phNxpUwbCalib_apply_calibration(id, ch, data, data_len); in apply_calibration()
|
/hardware/interfaces/broadcastradio/common/utilsaidl/src/ |
D | UtilsV2.cpp | 70 char ch = static_cast<char>(val & 0xFF); in isValidV2() local 72 expect((ch >= '0' && ch <= '9') || (ch >= 'A' && ch <= 'Z'), in isValidV2()
|