Home
last modified time | relevance | path

Searched refs:openRet (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/base/hiviewdfx/hitrace/cmd/src/
H A Dhitrace_cmd.cpp666 auto openRet = g_traceCollector->OpenRecording(args); in HandleRecordingShortRaw() local
667 if (openRet.retCode != OHOS::HiviewDFX::UCollect::UcError::SUCCESS) { in HandleRecordingShortRaw()
670 openRet.retCode == OHOS::HiviewDFX::UCollect::UcError::TRACE_CALL_ERROR) { in HandleRecordingShortRaw()
704 auto openRet = g_traceCollector->OpenRecording(args); in HandleRecordingShortText() local
705 if (openRet.retCode != OHOS::HiviewDFX::UCollect::UcError::SUCCESS) { in HandleRecordingShortText()
736 auto openRet = g_traceCollector->OpenRecording(args); in HandleRecordingLongBegin() local
737 if (openRet.retCode != OHOS::HiviewDFX::UCollect::UcError::SUCCESS) { in HandleRecordingLongBegin()
783 auto openRet = g_traceCollector->OpenRecording(args); in HandleRecordingLongBeginRecord() local
784 if (openRet.retCode != OHOS::HiviewDFX::UCollect::UcError::SUCCESS) { in HandleRecordingLongBeginRecord()
819 auto openRet = g_traceCollector->OpenSnapshot(tagGroups); in HandleOpenSnapshot() local
[all …]
/ohos5.0/base/hiviewdfx/hiview/service/
H A Dhiview_service.cpp308 int32_t openRet = manager.OpenSnapshotTrace(tagGroups); in OpenSnapshotTrace() local
309 if (openRet != UCollect::UcError::SUCCESS) { in OpenSnapshotTrace()
313 ret.retCode = UCollect::UcError(openRet); in OpenSnapshotTrace()
330 int32_t openRet = manager.OpenRecordingTrace(tags); in OpenRecordingTrace() local
331 if (openRet != UCollect::UcError::SUCCESS) { in OpenRecordingTrace()
335 ret.retCode = UCollect::UcError(openRet); in OpenRecordingTrace()
/ohos5.0/base/hiviewdfx/hiview/test/unittest/unified_collection/client/
H A Dtrace_collector_client_test.cpp105 auto openRet = traceCollector->OpenSnapshot(tagGroups); variable
106 if (openRet.retCode == UcError::SUCCESS) {
128 auto openRet = traceCollector->OpenRecording(args); variable
129 if (openRet.retCode == UcError::SUCCESS) {
/ohos5.0/base/sensors/medical_sensor/services/medical_sensor/src/
H A Dmedical_dump.cpp209 bool openRet = DumpOpeningSensor(fd, sensors, clientInfo, args); in Dump() local
211 bool total = helpRet + listRet + channelRet + openRet + dataRet; in Dump()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_kv_syncer_test.cpp251 DBStatus openRet = OK; in GetKvStore() local
252 …g_mgr.GetKvStore(storeId, option, [&openRet, &delegate](DBStatus status, KvStoreNbDelegate *openDe… in GetKvStore()
253 openRet = status; in GetKvStore()
256 EXPECT_EQ(openRet, OK); in GetKvStore()
H A Ddistributeddb_cloud_kv_test.cpp217 DBStatus openRet = OK; in GetKvStore() local
218 …g_mgr.GetKvStore(storeId, option, [&openRet, &delegate](DBStatus status, KvStoreNbDelegate *openDe… in GetKvStore()
219 openRet = status; in GetKvStore()
222 EXPECT_EQ(openRet, OK); in GetKvStore()
1009 DBStatus openRet = OK; variable
1010 …g_mgr.GetKvStore(STORE_ID_4, option, [&openRet, &memoryDB1](DBStatus status, KvStoreNbDelegate *op… in __anon341701840d02()
1011 openRet = status; in __anon341701840d02()
1014 EXPECT_EQ(openRet, OK);
/ohos5.0/drivers/peripheral/input/udriver/src/
H A Dinput_device_manager.cpp689 auto openRet = OpenInputDevice(searchIndex->second.devPathNode); in OpenDevice() local
690 if (openRet > 0) { in OpenDevice()
691 AddToEpoll(mEpollId_, openRet); in OpenDevice()
695 __func__, openRet, strerror(errno)); in OpenDevice()
698 searchIndex->second.fd = openRet; in OpenDevice()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/cloudsync_fuzzer/
H A Dcloudsync_fuzzer.cpp361 DBStatus openRet = OK; in GetKvStore() local
363 …g_mgr.GetKvStore(storeId, option, [&openRet, &delegate](DBStatus status, KvStoreNbDelegate *openDe… in GetKvStore()
364 openRet = status; in GetKvStore()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ability_manager_service_third_test/
H A Dability_manager_service_third_test.cpp1102 auto openRet = abilityMs->OpenAtomicService(want, startOptions, nullptr, 1, userId); variable
1103 EXPECT_EQ(openRet, CHECK_PERMISSION_FAILED);
/ohos5.0/base/print/print_fwk/services/scan_service/src/
H A Dscan_service_ability.cpp1012 int32_t openRet = OpenScanner(scannerId); in OpScanOptionValue() local
1013 if (openRet != E_SCAN_NONE) { in OpScanOptionValue()
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dability_manager_stub.cpp3914 int32_t openRet = OpenAtomicService(*want, *options, callerToken, requestCode, userId); in OpenAtomicServiceInner() local
3915 if (openRet != ERR_OK) { in OpenAtomicServiceInner()
3917 return openRet; in OpenAtomicServiceInner()
3919 if (!reply.WriteInt32(openRet)) { in OpenAtomicServiceInner()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/
H A Daudio_policy_service.cpp9000 int32_t openRet = OpenPortAndInsertIOHandle(moduleName, moudleInfo); in LoadSplitModule() local
9001 if (openRet != 0) { in LoadSplitModule()
9002 AUDIO_ERR_LOG("open fail, OpenPortAndInsertIOHandle ret: %{public}d", openRet); in LoadSplitModule()
9004 return openRet; in LoadSplitModule()