Searched refs:audioPnpUevent (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/pnp_server/ |
H A D | audio_socket_thread.cpp | 140 switch (audioPnpUevent->switchState[0]) { in SetAudioPnpUevent() 198 if (audioPnpUevent == NULL) { in AudioAnalogHeadsetDetectDevice() 396 if (audioPnpUevent == NULL) { in AudioDpDetectDevice() 450 if (audioPnpUevent == NULL) { in AudioUsbHeadsetDetectDevice() 454 …if (audioPnpUevent->action == NULL || audioPnpUevent->devName == NULL || audioPnpUevent->subSystem… in AudioUsbHeadsetDetectDevice() 455 audioPnpUevent->devType == NULL) { in AudioUsbHeadsetDetectDevice() 482 audioEvent.name = audioPnpUevent->name; in AudioUsbHeadsetDetectDevice() 496 if (audioPnpUevent == nullptr) { in AudioMicBlockDevice() 539 &audioPnpUevent.action, &audioPnpUevent.devName, &audioPnpUevent.name, in AudioPnpUeventParse() 540 &audioPnpUevent.state, &audioPnpUevent.devType, &audioPnpUevent.subSystem, in AudioPnpUeventParse() [all …]
|
/ohos5.0/drivers/peripheral/audio/hal/hdi_binder/server/src/ |
H A D | hdf_audio_pnp_uevent.c | 445 if (audioPnpUevent == NULL) { in AudioUsbHeadsetDetectDevice() 450 …if (audioPnpUevent->action == NULL || audioPnpUevent->devName == NULL || audioPnpUevent->subSystem… in AudioUsbHeadsetDetectDevice() 451 audioPnpUevent->devType == NULL) { in AudioUsbHeadsetDetectDevice() 458 (strstr(audioPnpUevent->devName, BUS_USB_DIR) == NULL)) { in AudioUsbHeadsetDetectDevice() 463 if (!CheckAudioUsbDevice(audioPnpUevent->devName)) { in AudioUsbHeadsetDetectDevice() 469 if (!DeleteAudioUsbDevice(audioPnpUevent->devName)) { in AudioUsbHeadsetDetectDevice() 499 switch (audioPnpUevent->switchState[0]) { in SetAudioEventValue() 544 if (audioPnpUevent == NULL) { in AudioAnalogHeadsetDetectDevice() 586 &audioPnpUevent.action, &audioPnpUevent.devName, &audioPnpUevent.name, in AudioPnpUeventParse() 587 &audioPnpUevent.state, &audioPnpUevent.devType, &audioPnpUevent.subSystem, in AudioPnpUeventParse() [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/manager/pnp_server/ |
H A D | audio_socket_thread.h | 44 …int32_t SetAudioPnpServerEventValue(AudioEvent *audioEvent, struct AudioPnpUevent *audioPnpUevent); 45 static int32_t AudioAnalogHeadsetDetectDevice(struct AudioPnpUevent *audioPnpUevent); 52 static int32_t AudioUsbHeadsetDetectDevice(struct AudioPnpUevent *audioPnpUevent); 55 static int32_t AudioDpDetectDevice(struct AudioPnpUevent *audioPnpUevent); 56 static int32_t AudioMicBlockDevice(struct AudioPnpUevent *audioPnpUevent);
|