Home
last modified time | relevance | path

Searched refs:operate (Results 1 - 13 of 13) sorted by relevance

/foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/example/
H A Doh_audio_session_manager_test.cpp55 void LogicPathCheck(int operate, OH_AudioSession_DeactivatedCallback callback);
56 void PlayCheck(int operate, OH_AudioSession_DeactivatedCallback callback);
284 void SessionNdkTest::LogicPathCheck(int operate, OH_AudioSession_DeactivatedCallback callback) in LogicPathCheck() argument
286 switch (operate) { in LogicPathCheck()
318 void SessionNdkTest::PlayCheck(int operate, OH_AudioSession_DeactivatedCallback callback) in PlayCheck() argument
320 switch (operate) { in PlayCheck()
383 int operate; in main() local
390 std::cin >> operate; in main() local
392 if (operate == CASE_EXIT) { in main()
396 g_sessionNdkTest->LogicPathCheck(operate, callbac in main()
[all...]
/foundation/communication/netmanager_base/services/netmanagernative/include/manager/
H A Dbandwidth_manager.h116 int32_t SetGlobalAlert(Operate operate, int64_t bytes);
117 int32_t SetCostlyAlert(Operate operate, const std::string &iface, int64_t bytes);
/foundation/multimedia/player_framework/frameworks/js/soundpool/include/
H A Dsoundpool_napi.h143 void ErrorCallback(int32_t errCode, const std::string &operate, const std::string &add = "");
161 void SoundPoolAsyncSignError(int32_t errCode, const std::string &operate,
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Dbandwidth_manager.cpp245 int32_t BandwidthManager::SetGlobalAlert(Operate operate, int64_t bytes) in SetGlobalAlert() argument
247 NETNATIVE_LOG_D("BandwidthManager SetGlobalAlert: operate=%{public}d, bytes=%{public}" PRId64, operate, bytes); in SetGlobalAlert()
251 if (operate == OP_SET) { in SetGlobalAlert()
272 int32_t BandwidthManager::SetCostlyAlert(Operate operate, const std::string &iface, int64_t bytes) in SetCostlyAlert() argument
274 NETNATIVE_LOG_D("BandwidthManager SetCostlyAlert: operate=%{public}d, iface=%{public}s, bytes=%{public}" PRId64, in SetCostlyAlert()
275 operate, iface.c_str(), bytes); in SetCostlyAlert()
279 if (operate == OP_SET) { in SetCostlyAlert()
/foundation/multimedia/player_framework/frameworks/js/avscreen_capture/
H A Davscreen_capture_napi.h141 void ErrorCallback(int32_t errCode, const std::string &operate, const std::string &add = "");
163 void AVScreenCaptureSignError(int32_t errCode, const std::string &operate,
H A Davscreen_capture_napi.cpp176 RetInfo GetReturnInfo(int32_t errCode, const std::string &operate, const std::string &param, in GetReturnInfo() argument
180 operate.c_str(), param.c_str(), errCode); in GetReturnInfo()
187 message = MSExtErrorAPI9ToString(err, operate, "") + add; in GetReturnInfo()
814 void AVScreenCaptureNapi::ErrorCallback(int32_t errCode, const std::string &operate, const std::string &add)
816 MEDIA_LOGE("failed to %{public}s, errCode = %{public}d", operate.c_str(), errCode);
821 std::string msg = MSExtErrorAPI9ToString(err, operate, "") + add;
953 void AVScreenCaptureAsyncContext::AVScreenCaptureSignError(int32_t errCode, const std::string &operate,
956 RetInfo retInfo = GetReturnInfo(errCode, operate, param, add);
/foundation/multimedia/player_framework/frameworks/js/avtranscoder/
H A Davtranscoder_napi.cpp211 RetInfo GetReturnRet(int32_t errCode, const std::string &operate, const std::string &param, const std::string &add = "") in GetReturnRet() argument
213 MEDIA_LOGE("failed to %{public}s, param %{public}s, errCode = %{public}d", operate.c_str(), param.c_str(), errCode); in GetReturnRet()
220 message = MSExtErrorAPI9ToString(err, operate, "") + add; in GetReturnRet()
761 void AVTransCoderNapi::ErrorCallback(int32_t errCode, const std::string &operate, const std::string &add) in ErrorCallback() argument
763 MEDIA_LOGE("failed to %{public}s, errCode = %{public}d", operate.c_str(), errCode); in ErrorCallback()
768 std::string msg = MSExtErrorAPI9ToString(err, operate, "") + add; in ErrorCallback()
904 void AVTransCoderAsyncContext::AVTransCoderSignError(int32_t errCode, const std::string &operate, in AVTransCoderSignError() argument
907 RetInfo retInfo = GetReturnRet(errCode, operate, param, add); in AVTransCoderSignError()
H A Davtranscoder_napi.h203 void ErrorCallback(int32_t errCode, const std::string &operate, const std::string &add = "");
232 void AVTransCoderSignError(int32_t errCode, const std::string &operate,
/foundation/multimedia/player_framework/frameworks/js/soundpool/src/
H A Dsoundpool_napi.cpp813 void SoundPoolNapi::ErrorCallback(int32_t errCode, const std::string &operate, const std::string &add) in ErrorCallback() argument
815 MEDIA_LOGE("failed to %{public}s, errCode = %{public}d", operate.c_str(), errCode); in ErrorCallback()
820 std::string msg = MSExtErrorAPI9ToString(err, operate, "") + add; in ErrorCallback()
869 RetInfo GetRetInfo(int32_t errCode, const std::string &operate, const std::string &param, const std::string &add = "") in GetRetInfo() argument
871 MEDIA_LOGE("failed to %{public}s, param %{public}s, errCode = %{public}d", operate.c_str(), param.c_str(), errCode); in GetRetInfo()
885 message = MSExtErrorAPI9ToString(err, operate, "") + add; in GetRetInfo()
892 void SoundPoolAsyncContext::SoundPoolAsyncSignError(int32_t errCode, const std::string &operate, in SoundPoolAsyncSignError() argument
895 RetInfo retInfo = GetRetInfo(errCode, operate, param, add); in SoundPoolAsyncSignError()
/foundation/deviceprofile/device_info_manager/services/core/include/utils/
H A Dprofile_cache.h79 const std::unordered_map<std::string, SwitchFlag>& switchServiceMap, const std::string& operate);
/foundation/multimedia/player_framework/frameworks/js/avrecorder/
H A Davrecorder_napi.h369 void ErrorCallback(int32_t errCode, const std::string &operate, const std::string &add = "");
431 void AVRecorderSignError(int32_t errCode, const std::string &operate,
H A Davrecorder_napi.cpp208 RetInfo GetRetInfo(int32_t errCode, const std::string &operate, const std::string &param, const std::string &add = "") in GetRetInfo() argument
210 MEDIA_LOGE("failed to %{public}s, param %{public}s, errCode = %{public}d", operate.c_str(), param.c_str(), errCode); in GetRetInfo()
224 message = MSExtErrorAPI9ToString(err, operate, "") + add; in GetRetInfo()
2227 void AVRecorderNapi::ErrorCallback(int32_t errCode, const std::string &operate, const std::string &add)
2229 MEDIA_LOGE("failed to %{public}s, errCode = %{public}d", operate.c_str(), errCode);
2234 std::string msg = MSExtErrorAPI9ToString(err, operate, "") + add;
2460 void AVRecorderAsyncContext::AVRecorderSignError(int32_t errCode, const std::string &operate,
2463 RetInfo retInfo = GetRetInfo(errCode, operate, param, add);
/foundation/deviceprofile/device_info_manager/services/core/src/utils/
H A Dprofile_cache.cpp600 const std::unordered_map<std::string, SwitchFlag>& switchServiceMap, const std::string& operate) in IsSwitchValid()
608 if (operate == SWITCH_OPERATE_PUT) { in IsSwitchValid()
599 IsSwitchValid(const CharacteristicProfile& charProfile, const std::unordered_map<std::string, SwitchFlag>& switchServiceMap, const std::string& operate) IsSwitchValid() argument

Completed in 15 milliseconds