Home
last modified time | relevance | path

Searched refs:DEVICE_TYPE_DEFAULT (Results 1 - 24 of 24) sorted by relevance

/foundation/ability/ability_runtime/frameworks/js/napi/feature_ability/
H A Ddistribute_constants.h29 static constexpr int DEVICE_TYPE_DEFAULT = 0; member in OHOS::AppExecFwk::DistributeConstants
H A Ddistribute_req_param.h123 int deviceType_ = DistributeConstants::DEVICE_TYPE_DEFAULT;
H A Djs_feature_ability.cpp325 if (requestParam.GetDeviceType() == DistributeConstants::DEVICE_TYPE_DEFAULT) { in GetWant()
/foundation/ability/ability_runtime/frameworks/simulator/common/include/
H A Dconfiguration.h50 constexpr const char* DEVICE_TYPE_DEFAULT = "default"; member
/foundation/ability/ability_base/interfaces/kits/native/configuration/include/
H A Dconfiguration.h41 constexpr const char* DEVICE_TYPE_DEFAULT = "default"; member
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/
H A Daudio_device_manager.h172 DeviceType selectedMediaDefaultOutputDevice_ = DEVICE_TYPE_DEFAULT;
173 DeviceType selectedCallDefaultOutputDevice_ = DEVICE_TYPE_DEFAULT;
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
H A Djson_payload.c32 static const int DEVICE_TYPE_DEFAULT = 0; variable
45 item = cJSON_CreateNumber(DEVICE_TYPE_DEFAULT); in AddDeviceType()
205 if (dev->deviceType == DEVICE_TYPE_DEFAULT) { in ParseDeviceJsonData()
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_policy_service_unit_test/src/
H A Daudio_policy_service_second_unit_test.cpp438 deviceType = DeviceType::DEVICE_TYPE_DEFAULT; in HWTEST_F()
565 EXPECT_EQ(deviceType, DeviceType::DEVICE_TYPE_DEFAULT); in HWTEST_F()
581 EXPECT_EQ(deviceType, DeviceType::DEVICE_TYPE_DEFAULT); in HWTEST_F()
844 DeviceType inputDevice = DeviceType::DEVICE_TYPE_DEFAULT; in HWTEST_F()
845 DeviceType outputDevice = DeviceType::DEVICE_TYPE_DEFAULT; in HWTEST_F()
H A Daudio_policy_service_first_unit_test.cpp146 DEVICE_TYPE_DEFAULT,
1566 ret = GetServerPtr()->audioPolicyService_.HandleActiveDevice(DEVICE_TYPE_DEFAULT); in HWTEST_F()
1659 updatedDesc.deviceType_ = DEVICE_TYPE_DEFAULT; in HWTEST_F()
1759 updatedDesc.deviceType_ = DEVICE_TYPE_DEFAULT; in HWTEST_F()
/foundation/communication/bluetooth/frameworks/js/napi/src/connection/
H A Dnapi_bluetooth_connection.cpp721 int32_t deviceType = DeviceType::DEVICE_TYPE_DEFAULT; in ParseSetRemoteDeviceTypeParameters()
737 int32_t deviceType = DeviceType::DEVICE_TYPE_DEFAULT; in SetRemoteDeviceType()
760 int32_t deviceType = DeviceType::DEVICE_TYPE_DEFAULT; in GetRemoteDeviceType()
911 env, deviceType, static_cast<int>(DeviceType::DEVICE_TYPE_DEFAULT), "DEVICE_TYPE_DEFAULT"); in DeviceTypeInit()
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_interrupt_service_test/src/
H A Daudio_policy_server_unit_test.cpp190 DeviceType deviceType = DeviceType::DEVICE_TYPE_DEFAULT; in HWTEST()
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/
H A Daudio_effect.h268 {DEVICE_TYPE_DEFAULT, "DEVICE_TYPE_DEFAULT"},
H A Daudio_device_info.h167 DEVICE_TYPE_DEFAULT = 1000, enumerator
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_remote_device.cpp353 CHECK_AND_RETURN_LOG_RET(IsValidBluetoothRemoteDevice() && deviceType >= DeviceType::DEVICE_TYPE_DEFAULT && in SetDeviceCustomType()
/foundation/multimedia/audio_framework/frameworks/js/napi/common/
H A Dnapi_param_utils.h70 DEVICE_TYPE_DEFAULT
H A Dnapi_audio_enum.cpp181 {"DEFAULT", DEVICE_TYPE_DEFAULT},
1206 case DeviceType::DEVICE_TYPE_DEFAULT: in IsLegalInputArgumentDefaultOutputDeviceType()
/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Daudio_system_manager.cpp1255 case OHOS::AudioStandard::DEVICE_TYPE_DEFAULT: in GetPinValueFromType()
1330 type = DEVICE_TYPE_DEFAULT; in GetTypeValueFromPin()
1343 type = DEVICE_TYPE_DEFAULT; in GetTypeValueFromPin()
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/manager_test/src/
H A Daudio_manager_unit_test.cpp687 * @tc.desc : Test GetPinValueFromType interface. deviceType set to DEVICE_TYPE_DEFAULT,
692 DeviceType deviceType = DeviceType::DEVICE_TYPE_DEFAULT;
701 * @tc.desc : Test GetPinValueFromType interface. deviceType set to DEVICE_TYPE_DEFAULT,
706 DeviceType deviceType = DeviceType::DEVICE_TYPE_DEFAULT;
855 * @tc.desc : Test GetPinValueFromType interface. deviceType set to DEVICE_TYPE_DEFAULT,
860 DeviceType deviceType = DeviceType::DEVICE_TYPE_DEFAULT;
987 EXPECT_EQ(ret, DeviceType::DEVICE_TYPE_DEFAULT);
1047 EXPECT_EQ(ret, DeviceType::DEVICE_TYPE_DEFAULT);
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_def.h1522 DEVICE_TYPE_DEFAULT = 0, enumerator
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/
H A Daudio_device_manager.cpp1234 currDeviceType = DEVICE_TYPE_DEFAULT; in UpdateDefaultOutputDeviceWhenStopping()
1254 currDeviceType = DEVICE_TYPE_DEFAULT; in UpdateDefaultOutputDeviceWhenStopping()
H A Daudio_policy_service.cpp1652 if (deviceType != DeviceType::DEVICE_TYPE_DEFAULT) { in MoveToRemoteOutputDevice()
1817 if (deviceType != DeviceType::DEVICE_TYPE_DEFAULT) { in MoveToRemoteInputDevice()
2070 ReloadSourceForDeviceChange(DEVICE_TYPE_DEFAULT, deviceDescriptor.deviceType_, false); in OnPreferredOutputDeviceUpdated()
2080 ReloadSourceForDeviceChange(deviceType, DEVICE_TYPE_DEFAULT, false); in OnPreferredInputDeviceUpdated()
6734 return DeviceType::DEVICE_TYPE_DEFAULT; in GetDeviceTypeFromPin()
8003 if (realInputDevice == DEVICE_TYPE_DEFAULT) { in ReloadSourceForDeviceChange()
8010 if (realOutputDevice == DEVICE_TYPE_DEFAULT) { in ReloadSourceForDeviceChange()
8023 } else if (normalSourceOpened_ == SOURCE_TYPE_MIC && inputDevice == DEVICE_TYPE_DEFAULT) { in ReloadSourceForDeviceChange()
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Dbt_def.h1625 DEVICE_TYPE_DEFAULT = 0, enumerator
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/src/
H A Daudio_renderer.cpp1910 deviceType != DEVICE_TYPE_DEFAULT) { in SetDefaultOutputDevice()
/foundation/multimedia/audio_framework/frameworks/native/audioutils/test/unittest/
H A Daudio_utils_unit_test.cpp1025 DeviceType deviceType = DEVICE_TYPE_DEFAULT; in HWTEST()

Completed in 56 milliseconds