/hardware/interfaces/audio/aidl/default/usb/ |
D | UsbAlsaMixerControl.cpp | 32 void UsbAlsaMixerControl::setDeviceConnectionState(int card, bool masterMuted, float masterVolume, in setDeviceConnectionState() argument 34 LOG(DEBUG) << __func__ << ": card=" << card << ", connected=" << connected; in setDeviceConnectionState() 36 auto alsaMixer = std::make_shared<alsa::Mixer>(card); in setDeviceConnectionState() 43 mMixerControls.emplace(card, alsaMixer); in setDeviceConnectionState() 46 mMixerControls.erase(card); in setDeviceConnectionState() 78 ndk::ScopedAStatus UsbAlsaMixerControl::setVolumes(int card, const std::vector<float>& volumes) { in setVolumes() argument 79 auto alsaMixer = getAlsaMixer(card); in setVolumes() 81 LOG(ERROR) << __func__ << ": no mixer control found for card=" << card; in setVolumes() 87 std::shared_ptr<alsa::Mixer> UsbAlsaMixerControl::getAlsaMixer(int card) { in getAlsaMixer() argument 89 const auto it = mMixerControls.find(card); in getAlsaMixer()
|
D | UsbAlsaMixerControl.h | 35 void setDeviceConnectionState(int card, bool masterMuted, float masterVolume, bool connected); 42 ndk::ScopedAStatus setVolumes(int card, const std::vector<float>& volumes); 45 std::shared_ptr<alsa::Mixer> getAlsaMixer(int card);
|
/hardware/nxp/keymint/KM200/ |
D | service.cpp | 78 std::shared_ptr<JavacardSecureElement> card = in main() local 82 std::shared_ptr<JavacardSecureElement> card = in main() local 86 std::shared_ptr<JavacardSecureElement> card = in main() local 91 addService<JavacardKeyMintDevice>(card); in main() 93 addService<JavacardSharedSecret>(card); in main() 95 addService<JavacardRemotelyProvisionedComponentDevice>(card); in main()
|
D | JavacardSharedSecret.h | 20 explicit JavacardSharedSecret(shared_ptr<JavacardSecureElement> card) : card_(card) {} in JavacardSharedSecret() argument
|
D | JavacardRemotelyProvisionedComponentDevice.h | 37 shared_ptr<JavacardSecureElement> card) in JavacardRemotelyProvisionedComponentDevice() argument 38 : card_(card) {} in JavacardRemotelyProvisionedComponentDevice()
|
D | JavacardKeyMintOperation.h | 71 shared_ptr<JavacardSecureElement> card) in JavacardKeyMintOperation() argument 73 card_(card), opHandle_(opHandle) {} in JavacardKeyMintOperation()
|
/hardware/nxp/keymint/KM300/ |
D | service.cpp | 89 std::shared_ptr<JavacardSecureElement> card = in main() local 93 std::shared_ptr<JavacardSecureElement> card = in main() local 97 std::shared_ptr<JavacardSecureElement> card = in main() local 102 addService<JavacardKeyMintDevice>(card); in main() 104 addService<JavacardSharedSecret>(card); in main() 106 addService<JavacardRemotelyProvisionedComponentDevice>(card); in main()
|
D | JavacardSharedSecret.h | 40 … explicit JavacardSharedSecret(shared_ptr<JavacardSecureElement> card) : card_(std::move(card)) {} in JavacardSharedSecret() argument
|
D | JavacardRemotelyProvisionedComponentDevice.h | 57 explicit JavacardRemotelyProvisionedComponentDevice(shared_ptr<JavacardSecureElement> card) in JavacardRemotelyProvisionedComponentDevice() argument 58 : card_(std::move(card)) {} in JavacardRemotelyProvisionedComponentDevice()
|
D | JavacardKeyMintOperation.h | 93 shared_ptr<JavacardSecureElement> card) in JavacardKeyMintOperation() argument 95 card_(std::move(card)), opHandle_(opHandle) {} in JavacardKeyMintOperation()
|
/hardware/interfaces/radio/1.1/ |
D | IRadio.hal | 46 * Set SIM card power state. 47 * Request is equivalent to inserting or removing the card. 53 * @param powerUp POWER_DOWN if powering down the SIM card, 54 * POWER_UP if powering up the SIM card, 55 * POWER_UP_PASS_THROUGH if powering up the SIM card in pass through mode. 56 * When SIM card is in POWER_UP_PASS_THROUGH, the modem does not send any command to it 57 * (for example SELECT of MF, or TERMINAL CAPABILITY), and the SIM card is controlled 58 * completely by Telephony sending APDUs directly. The SIM card state must be 59 * RIL_CARDSTATE_PRESENT and the number of card apps will be 0. 61 * SIM card is absent. [all …]
|
/hardware/qcom/audio/hal/audio_extn/ |
D | usb.c | 200 static int usb_set_dev_id_mixer_ctl(unsigned int usb_usecase_type, int card, in usb_set_dev_id_mixer_ctl() argument 211 dev_token = (card << 16 ) | in usb_set_dev_id_mixer_ctl() 320 int card) in usb_get_capability() argument 347 card); in usb_get_capability() 516 int card) in usb_get_usbid() argument 525 card); in usb_get_usbid() 558 int card) in usb_get_device_playback_config() argument 563 if ((ret = usb_get_capability(USB_PLAYBACK, usb_card_info, card))) { in usb_get_device_playback_config() 568 usb_set_dev_id_mixer_ctl(USB_PLAYBACK, card, "USB_AUDIO_RX dev_token"); in usb_get_device_playback_config() 576 int card) in usb_get_device_capture_config() argument [all …]
|
D | audio_extn.h | 77 #define audio_extn_usb_add_device(device, card) (0) argument 78 #define audio_extn_usb_remove_device(device, card) (0) argument 93 void audio_extn_usb_add_device(audio_devices_t device, int card); 94 void audio_extn_usb_remove_device(audio_devices_t device, int card); 106 bool audio_extn_usb_alive(int card);
|
D | sndmonitor.c | 70 int card; member 130 static int add_new_sndcard(int card, int fd) in add_new_sndcard() argument 137 s->card = card; in add_new_sndcard() 143 ALOGV("card %d initial state %s %d", card, state, online); in add_new_sndcard() 415 ALOGV("card num %d, new state %s", s->card, rd_buf); in on_sndcard_state_update() 437 bool is_cpe = ((s->card >= CPE_MAGIC_NUM) && (s->card < SLPI_MAGIC_NUM)); in on_sndcard_state_update() 438 bool is_slpi = (s->card == SLPI_MAGIC_NUM); in on_sndcard_state_update() 444 s->card - (is_cpe ? CPE_MAGIC_NUM : (is_slpi ? SLPI_MAGIC_NUM : 0)), in on_sndcard_state_update()
|
D | maxxaudio.c | 408 static void ma_support_usb(bool enable, int card) in ma_support_usb() argument 417 ret = snprintf(path, sizeof(path), "/proc/asound/card%u/usbid", card); in ma_support_usb() 781 const int card = atoi(value); in audio_extn_ma_set_parameters() local 782 ma_support_usb(true, card); in audio_extn_ma_set_parameters() 795 const int card = atoi(value); in audio_extn_ma_set_parameters() local 796 ma_support_usb(false, card /*useless*/); in audio_extn_ma_set_parameters()
|
/hardware/interfaces/radio/config/1.0/ |
D | types.hal | 43 * standards, following electrical reset of the card's chip. The ATR conveys information about 44 * the communication parameters proposed by the card, and the card's nature and state. 52 * located in the SIM card at EFiccid (0x2FE2) as per ETSI 102.221. The ICCID is defined by
|
/hardware/ti/am57x/libhwcomposer/ |
D | display.h | 70 card(NULL), in KMSDisplay() 75 kms::Card* card; variable
|
D | display.cpp | 46 for (auto plane : kdisp->card->get_planes()) { in setup_composition_pipes() 91 int err = drmWaitVBlank(display->disp_link.card->fd(), &vblank); in vblank_kick() 168 planeProp->fb_info = new DRMFramebuffer(kdisp->card->fd(), handle, false); in update_display() 174 kms::AtomicReq req(*kdisp->card); in update_display()
|
D | hwc.cpp | 126 for (auto connector : hwc_dev->card->get_connectors()) { in get_connectors() 144 for (auto connector : hwc_dev->card->get_connectors()) { in get_connectors() 192 display->disp_link.card = hwc_dev->card; in init_primary_display() 238 display->disp_link.card = hwc_dev->card; in add_external_hdmi_display() 371 pfds.fd = hwc_dev->card->fd(), in hwc_drm_event_thread() 671 hwc_dev->card = new kms::Card(); in hwc_device_open()
|
D | hwc_dev.h | 45 kms::Card* card; member
|
/hardware/libhardware/modules/usbaudio/ |
D | audio_hal.c | 354 static bool parse_card_device_params(const char *kvpairs, int *card, int *device) in parse_card_device_params() argument 361 *card = -1; in parse_card_device_params() 366 *card = atoi(value); in parse_card_device_params() 376 return *card >= 0 && *device >= 0; in parse_card_device_params() 381 if (profile->card < 0 || profile->device < 0) { in device_get_parameters() 516 static void out_stream_find_mixer_volume_control(struct stream_out* out, int card) { in out_stream_find_mixer_volume_control() argument 517 out->mixer = mixer_open(card); in out_stream_find_mixer_volume_control() 519 ALOGI("%s, no mixer found for card=%d", __func__, card); in out_stream_find_mixer_volume_control() 614 device_info->profile.card = cards[i]; in stream_set_new_devices() 806 device_info->profile.card, device_info->profile.device); in start_output_stream() [all …]
|
/hardware/interfaces/cas/1.2/ |
D | types.hal | 32 * ERROR_CAS_NO_CARD is used to report no smart card for descrambling. 36 * ERROR_CAS_CARD_MUTE is used to report smart card is muted for 41 * ERROR_CAS_CARD_INVALID is used to report smart card isn't valid.
|
/hardware/google/pixel/vibrator/cs40l26/ |
D | Vibrator.h | 99 virtual bool getHapticAlsaDevice(int *card, int *device) = 0; 101 virtual bool setHapticPcmAmp(struct pcm **haptic_pcm, bool enable, int card, 237 bool findHapticAlsaDevice(int *card, int *device); 239 bool enableHapticPcmAmp(struct pcm **haptic_pcm, bool enable, int card, int device);
|
/hardware/google/pixel/vibrator/cs40l26/tests/ |
D | mocks.h | 46 MOCK_METHOD2(getHapticAlsaDevice, bool(int *card, int *device)); 47 MOCK_METHOD4(setHapticPcmAmp, bool(struct pcm **haptic_pcm, bool enable, int card, int device));
|
/hardware/interfaces/audio/aidl/default/alsa/ |
D | Utils.cpp | 45 mProfile->card = deviceProfile.card; in DeviceProxy() 172 return os << "<" << device.card << "," << device.device << ">"; in operator <<() 235 return DeviceProfile{.card = alsaAddress[0], in getDeviceProfile()
|