Home
last modified time | relevance | path

Searched refs:nonSystemSurfaceNodeCreateCnt_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/command/
H A Drs_command_verify_helper.cpp32 if (nonSystemSurfaceNodeCreateCnt_.count(pid) == 0) { in RegisterNonSystemPid()
33 nonSystemSurfaceNodeCreateCnt_[pid] = 0; in RegisterNonSystemPid()
40 if (nonSystemSurfaceNodeCreateCnt_.find(pid) != nonSystemSurfaceNodeCreateCnt_.end()) { in AddSurfaceNodeCreateCnt()
41 if (nonSystemSurfaceNodeCreateCnt_[pid] < SURFACENODE_CREAET_LIMIT) { in AddSurfaceNodeCreateCnt()
42 nonSystemSurfaceNodeCreateCnt_[pid]++; in AddSurfaceNodeCreateCnt()
50 if (nonSystemSurfaceNodeCreateCnt_.find(pid) != nonSystemSurfaceNodeCreateCnt_.end()) { in SubSurfaceNodeCreateCnt()
51 if (nonSystemSurfaceNodeCreateCnt_[pid] > 0) { in SubSurfaceNodeCreateCnt()
52 nonSystemSurfaceNodeCreateCnt_[pid]--; in SubSurfaceNodeCreateCnt()
60 nonSystemSurfaceNodeCreateCnt_.erase(pid); in RemoveCntWithPid()
66 if ((nonSystemSurfaceNodeCreateCnt_.find(pid) != nonSystemSurfaceNodeCreateCnt_.end())) { in IsSurfaceNodeCreateCommandVaild()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/command/
H A Drs_command_verify_helper.h45 std::unordered_map<pid_t, uint32_t> nonSystemSurfaceNodeCreateCnt_; variable