Home
last modified time | relevance | path

Searched refs:getpid (Results 1 – 25 of 410) sorted by relevance

12345678910>>...17

/ohos5.0/base/hiviewdfx/faultloggerd/test/moduletest/
H A Dfaultloggerd_module_test.cpp70 std::string cmd = "cat /proc/" + std::to_string(getpid()) + "/maps";
102 testRequest.pid = getpid();
136 testRequest.pid = getpid();
154 RequestSdkDump(getpid(), getpid());
155 int32_t pipeFd = RequestPipeFd(getpid(), FaultLoggerPipeType::PIPE_FD_READ_BUF);
157 int32_t ret = RequestDelPipeFd(getpid());
159 pipeFd = RequestPipeFd(getpid(), FaultLoggerPipeType::PIPE_FD_READ_BUF);
170 RequestSdkDump(getpid(), getpid());
171 int32_t pipeFd = RequestPipeFd(getpid(), -1);
173 pipeFd = RequestPipeFd(getpid(), FaultLoggerPipeType::PIPE_FD_DELETE);
[all …]
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/procinfo/
H A Dprocinfo_test.cpp50 ASSERT_EQ(getpid(), procInfo.pid);
76 ASSERT_TRUE(GetProcStatusByPid(getpid(), procInfo));
79 ASSERT_TRUE(GetTidsByPid(getpid(), tids, nstids));
81 ASSERT_TRUE(IsThreadInPid(getpid(), nstids[i]));
84 TidToNstid(getpid(), tids[i], nstid);
100 ASSERT_TRUE(TidToNstid(getpid(), gettid(), nstid));
114 ReadProcessStatus(result, getpid());
119 ReadProcessWchan(result, getpid(), false, true);
126 ReadProcessName(getpid(), result);
129 ReadThreadName(getpid(), result);
[all …]
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
H A Ddlp_callback_test.cpp177 getpid(), DEFAULT_USERID, DLP_MANAGER_APP, callback->AsObject());
181 getpid(), DEFAULT_USERID, DLP_MANAGER_APP, callback->AsObject());
231 getpid(), DEFAULT_USERID, DLP_MANAGER_APP, callback->AsObject());
260 getpid(), DEFAULT_USERID, DLP_MANAGER_APP, callback->AsObject());
278 getpid(), DEFAULT_USERID, DLP_MANAGER_APP, callback->AsObject());
296 getpid(), DEFAULT_USERID, DLP_MANAGER_APP, callback->AsObject());
314 getpid(), DEFAULT_USERID, DLP_MANAGER_APP, callback1->AsObject());
319 getpid(), DEFAULT_USERID, DLP_MANAGER_APP, callback2->AsObject());
370 getpid(), DEFAULT_USERID, DLP_MANAGER_APP, callback->AsObject());
432 getpid(), DEFAULT_USERID, DLP_MANAGER_APP, callback->AsObject());
[all …]
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/stream_manager_test/src/
H A Daudio_stream_manager_unit_test.cpp140 g_audioManagerInstance->UnregisterAudioRendererEventListener(getpid());
160 g_audioManagerInstance->UnregisterAudioRendererEventListener(getpid());
167 g_audioManagerInstance->UnregisterAudioRendererEventListener(getpid());
201 g_audioManagerInstance->UnregisterAudioRendererEventListener(getpid());
651 g_audioManagerInstance->UnregisterAudioRendererEventListener(getpid());
702 g_audioManagerInstance->UnregisterAudioRendererEventListener(getpid());
752 g_audioManagerInstance->UnregisterAudioRendererEventListener(getpid());
802 g_audioManagerInstance->UnregisterAudioRendererEventListener(getpid());
823 g_audioManagerInstance->UnregisterAudioCapturerEventListener(getpid());
843 g_audioManagerInstance->UnregisterAudioCapturerEventListener(getpid());
[all …]
/ohos5.0/drivers/peripheral/camera/hal_c/hdi_cif/include/
H A Dcamera.h48 pid_t pid = getpid(); \
57 pid_t pid = getpid(); \
66 pid_t pid = getpid(); \
75 pid_t pid = getpid(); \
84 pid_t pid = getpid(); \
/ohos5.0/foundation/resourceschedule/ffrt/test/ut/
H A Dqos_interface_test.cpp77 unsigned int uid = getpid();
91 unsigned int uid = getpid();
106 unsigned int uid = getpid();
118 unsigned int uid = getpid();
133 unsigned int uid = getpid();
/ohos5.0/base/hiviewdfx/faultloggerd/test/benchmarktest/unwindstack/
H A Dunwind_local_benchmark.cpp93 LOGU("++++++pid: %d", getpid()); in Run()
99 LOGU("------pid: %d", getpid()); in Run()
109 auto processMemory = unwindstack::Memory::CreateProcessMemory(getpid()); in BenchmarkUnwindStackLocal()
127 auto processMemory = unwindstack::Memory::CreateProcessMemoryCached(getpid()); in BenchmarkUnwindStackLocalCache()
145 auto processMemory = unwindstack::Memory::CreateProcessMemory(getpid()); in BenchmarkUnwindStackLocalFrames()
163 auto processMemory = unwindstack::Memory::CreateProcessMemoryCached(getpid()); in BenchmarkUnwindStackLocalFramesCache()
/ohos5.0/foundation/resourceschedule/qos_manager/test/unittest/phone/
H A Dqos_interface_test.cpp83 unsigned int pid = getpid();
97 unsigned int pid = getpid();
114 unsigned int pid = getpid();
130 unsigned int pid = getpid();
163 unsigned int pid = getpid();
185 unsigned int pid = getpid();
274 unsigned int pid = getpid();
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/fuzztest/rsrenderserviceconnectionstub_fuzzer/
H A Drsrenderserviceconnectionstub_fuzzer.cpp82 auto newPid = getpid(); in DoOnRemoteRequest()
115 auto newPid = getpid(); in DoSetScreenGamutMap()
149 auto newPid = getpid(); in DoGetScreenGamutMap()
183 auto newPid = getpid(); in DoGetScreenHDRCapability()
217 auto newPid = getpid(); in DoGetScreenType()
251 auto newPid = getpid(); in DoGetBitmap()
285 auto newPid = getpid(); in DoSetAppWindowNum()
319 auto newPid = getpid(); in DoShowWatermark()
355 auto newPid = getpid(); in DoSetScreenPowerStatus()
390 auto newPid = getpid(); in DoSetScreenActiveMode()
[all …]
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/volume_change_test/src/
H A Daudio_volume_change_unit_test.cpp109 … callBackSetResult = g_audioManagerInstance->RegisterVolumeKeyEventCallback(getpid(), appCallback);
121 g_audioManagerInstance->UnregisterVolumeKeyEventCallback(getpid());
145 … callBackSetResult = g_audioManagerInstance->RegisterVolumeKeyEventCallback(getpid(), appCallback);
157 g_audioManagerInstance->UnregisterVolumeKeyEventCallback(getpid());
180 … callBackSetResult = g_audioManagerInstance->RegisterVolumeKeyEventCallback(getpid(), appCallback);
192 g_audioManagerInstance->UnregisterVolumeKeyEventCallback(getpid());
/ohos5.0/base/hiviewdfx/faultloggerd/test/funchook/
H A Ddfx_exit_hook.c60 LOGF("%d send signal(%d) to %d", getpid(), sig, pid); in kill()
61 if ((sig == SIGKILL) && (pid == getpid())) { in kill()
76 LOGF("%d call exit with code %d", getpid(), code); in exit()
92 LOGF("%d call exit with code %d", getpid(), code); in _exit()
H A Ddfx_signal_hook.c82 LOGI("%d:%d pthread_sigmask signal(%d)\n", getpid(), gettid(), i); in pthread_sigmask()
101 LOGI("%d:%d sigprocmask signal(%d)\n", getpid(), gettid(), i); in sigprocmask()
115 LOGI("%d register signal handler for signal(%d)\n", getpid(), signum); in signal()
179 LOGI("%d call sigaction and signo is %d\n", getpid(), sig); in sigaction()
/ohos5.0/foundation/resourceschedule/frame_aware_sched/test/unittest/phone/
H A Drtg_interface_test.cpp105 int pid = getpid();
139 int pid = getpid();
153 int pid = getpid();
173 int pid = getpid();
212 int pid = getpid();
251 int pid = getpid();
285 int pid = getpid();
324 int pid = getpid();
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/local_handler/
H A Dlocal_handler_test.cpp112 GTEST_LOG_(INFO) << "process(" << getpid() << ") is ready to kill process(" << pid << ")";
137 GTEST_LOG_(INFO) << "process(" << getpid() << ") is ready to kill process(" << pid << ")";
162 GTEST_LOG_(INFO) << "process(" << getpid() << ") is ready to kill process(" << pid << ")";
187 GTEST_LOG_(INFO) << "process(" << getpid() << ") is ready to kill process(" << pid << ")";
213 GTEST_LOG_(INFO) << "process(" << getpid() << ") is ready to wait process(" << pid << ")";
238 GTEST_LOG_(INFO) << "process(" << getpid() << ") is ready to wait process(" << pid << ")";
264 GTEST_LOG_(INFO) << "process(" << getpid() << ") is ready to wait process(" << pid << ")";
435 GTEST_LOG_(INFO) << "process(" << getpid() << ") is ready to wait process(" << pid << ")";
/ohos5.0/base/global/i18n/services/src/
H A Di18n_service_ability_stub.cpp120 int pid = getpid(); in SetSystemLanguageInner()
140 int pid = getpid(); in SetSystemRegionInner()
160 int pid = getpid(); in SetSystemLocaleInner()
180 int pid = getpid(); in Set24HourClockInner()
200 int pid = getpid(); in SetUsingLocalDigitInner()
220 int pid = getpid(); in AddPreferredLanguageInner()
241 int pid = getpid(); in RemovePreferredLanguageInner()
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/signal_handler/
H A Dsignal_chain_test.cpp237 GTEST_LOG_(INFO) << "SignalChainTest001: pid:" << getpid();
262 GTEST_LOG_(INFO) << "SignalChainTest002: pid:" << getpid();
290 GTEST_LOG_(INFO) << "SignalChainTest003: pid:" << getpid();
328 GTEST_LOG_(INFO) << "SignalChainTest004: pid:" << getpid();
369 GTEST_LOG_(INFO) << "SignalChainTest005: pid:" << getpid();
425 GTEST_LOG_(INFO) << "SignalChainTest006: pid:" << getpid();
474 GTEST_LOG_(INFO) << "SignalChainTest007: pid:" << getpid();
530 GTEST_LOG_(INFO) << "SignalChainTest008: pid:" << getpid();
591 GTEST_LOG_(INFO) << "SignalChainTest009: pid:" << getpid();
/ohos5.0/base/startup/init/test/unittest/param/
H A Dwatcher_proxy_unittest.cpp276 test.TestAddRemoteWatcher(getpid(), watcherId);
287 test.TestAddRemoteWatcher(getpid(), watcherId);
299 test.TestAddRemoteWatcher(getpid(), watcherId);
308 test.TestAddRemoteWatcher(getpid(), watcherId);
319 test.TestAddRemoteWatcher(getpid(), watcherId);
329 test.TestAddRemoteWatcher(getpid(), watcherId);
340 test.TestAddRemoteWatcher(getpid(), watcherId);
351 test.TestAddRemoteWatcher(getpid(), watcherId);
373 test.TestAddRemoteWatcher(getpid(), watcherId);
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/process_dump/
H A Dprocess_dump_test.cpp68 std::shared_ptr<DfxProcess> process = DfxProcess::Create(getpid(), getpid());
102 std::shared_ptr<DfxProcess> process = DfxProcess::Create(getpid(), getpid());
121 std::shared_ptr<DfxProcess> process = DfxProcess::Create(getpid(), getpid());
137 pid_t pid = getpid();
/ohos5.0/foundation/resourceschedule/ffrt/src/eu/
H A Dqos_interface.cpp41 FFRT_LOGE("task %d belong to user %d open rtg node failed\n", getpid(), getuid()); in TrivalOpenRtgNode()
52 FFRT_LOGE("task %d belong to user %d open auth node failed\n", getpid(), getuid()); in TrivalOpenAuthCtrlNode()
64 getpid(), getuid(), fd, errno, strerror(errno)); in TrivalOpenQosCtrlNode()
266 FFRT_LOGE("qos leave failed for task %d\n", getpid()); in FFRTQosLeave()
307 FFRT_LOGE("set qos policy failed for task %d\n", getpid()); in QosPolicy()
325 … FFRT_LOGE("set thread ctrl data failed for task %d, this func is not enable in OHOS\n", getpid()); in FFRTThreadCtrl()
/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_radar/
H A Db_radar.cpp49 "PID", getpid(), in RecordDefaultFuncRes()
70 "PID", getpid(), in RecordBackupFuncRes()
91 "PID", getpid(), in RecordRestoreFuncRes()
112 "PID", getpid(), in RecordStatisticRes()
/ohos5.0/base/hiviewdfx/hiview/test/unittest/unified_collection/utility/
H A Dperf_collector_test.cpp45 vector<pid_t> selectPids = {getpid()};
67 vector<pid_t> selectPids = {getpid()};
90 vector<pid_t> selectPids = {getpid()};
122 vector<pid_t> selectPids = {getpid()};
147 vector<pid_t> selectPids = {getpid()};
/ohos5.0/base/notification/common_event_service/services/test/unittest/
H A Dcommon_event_hisysevent_test.cpp72 eventInfo.pid = getpid(); in HWTEST_F()
136 eventInfo.pid = getpid(); in HWTEST_F()
161 eventInfo.pid = getpid(); in HWTEST_F()
195 eventInfo.pid = getpid(); in HWTEST_F()
230 eventInfo.pid = getpid(); in HWTEST_F()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/session/
H A Dclient_trans_inner_socket_test.cpp55 int32_t pid = getpid();
75 int32_t pid = getpid();
93 int32_t pid = getpid();
/ohos5.0/base/powermgr/power_manager/test/unittest/src/interface_test/
H A Drunning_lock_test.cpp177 pid_t curPid = getpid();
199 pid_t curPid = getpid();
226 pid_t curPid = getpid();
251 pid_t curPid = getpid();
279 pid_t curPid = getpid();
369 pid_t curPid = getpid();
416 pid_t curPid = getpid();
440 pid_t curPid = getpid();
/ohos5.0/base/powermgr/power_manager/test/unittest/src/scenario_test/running_lock/
H A Drunning_lock_scenario_test.cpp47 pid_t curPid = getpid();
73 pid_t curPid = getpid();
111 pid_t curPid = getpid();
162 pid_t curPid = getpid();

12345678910>>...17