Home
last modified time | relevance | path

Searched refs:IsDeviceChanged (Results 1 - 4 of 4) sorted by relevance

/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/include/
H A Daudio_capturer_private.h86 bool IsDeviceChanged(DeviceInfo &newDeviceInfo);
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/unittest/capturer_test/src/
H A Daudio_capturer_unit_test.cpp1902 * @tc.name : Test IsDeviceChanged API via different device type.
1904 * @tc.desc : Test IsDeviceChanged API via device type DEVICE_TYPE_INVALID, return true because different device types.
1932 bool isChanged = audioCapturer->IsDeviceChanged(newDeviceInfo); in HWTEST()
1940 * @tc.name : Test IsDeviceChanged API via same device type.
1942 * @tc.desc : Test IsDeviceChanged API via same device, return false.
1952 bool isChanged = audioCapturer->IsDeviceChanged(newDeviceInfo); in HWTEST()
1960 * @tc.name : Test IsDeviceChanged API via lots of calls.
1962 * @tc.desc : Test IsDeviceChanged API 200 times.
1973 bool isChanged = audioCapturer->IsDeviceChanged(newDeviceInfo); in HWTEST()
H A Daudio_capturer_extra_unit_test.cpp1440 bool isDeviceChanged = audioCapturerPrivate->IsDeviceChanged(deviceInfo); in HWTEST()
1444 isDeviceChanged = audioCapturerPrivate->IsDeviceChanged(deviceInfo); in HWTEST()
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/src/
H A Daudio_capturer.cpp956 bool AudioCapturerPrivate::IsDeviceChanged(DeviceInfo &newDeviceInfo) in IsDeviceChanged() function in OHOS::AudioStandard::AudioCapturerPrivate
1370 CHECK_AND_RETURN_LOG(capturer_->IsDeviceChanged(deviceInfo), "Device not change, no need callback."); in NotifyAudioCapturerDeviceChange()

Completed in 8 milliseconds