Searched refs:shadowNum (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/base/msdp/device_status/utils/common/src/ |
H A D | drag_data_packer.cpp | 108 int32_t shadowNum = static_cast<int32_t>(shadowInfos.size()); in Marshalling() local 109 if (shadowNum > SHADOW_NUM_LIMIT) { in Marshalling() 110 …HILOGW("Only %{public}d shadowInfos allowed at most, now %{public}d", SHADOW_NUM_LIMIT, shadowNum); in Marshalling() 111 shadowNum = SHADOW_NUM_LIMIT; in Marshalling() 113 WRITEINT32(data, shadowNum, ERR_INVALID_VALUE); in Marshalling() 114 for (int32_t i = 0; i < shadowNum; i++) { in Marshalling() 126 int32_t shadowNum { 0 }; in UnMarshalling() local 127 READINT32(data, shadowNum, E_DEVICESTATUS_READ_PARCEL_ERROR); in UnMarshalling() 128 if (shadowNum <= 0 || shadowNum > SHADOW_NUM_LIMIT) { in UnMarshalling() 129 FI_HILOGE("Invalid shadowNum:%{public}d", shadowNum); in UnMarshalling() [all …]
|
/ohos5.0/base/msdp/device_status/test/unittest/intention/drag/include/ |
H A D | drag_manager_test.h | 32 bool hasCoordinateCorrected, int32_t shadowNum);
|
H A D | drag_server_test.h | 58 bool hasCoordinateCorrected, int32_t shadowNum);
|
/ohos5.0/base/msdp/device_status/test/unittest/intention/services/include/ |
H A D | intention_service_test.h | 77 bool hasCoordinateCorrected, int32_t shadowNum);
|
/ohos5.0/base/msdp/device_status/test/unittest/frameworks/src/ |
H A D | interaction_drag_drawing_test.cpp | 75 bool hasCoordinateCorrected, int32_t shadowNum); 143 int32_t pointerId, int32_t dragNum, bool hasCoordinateCorrected, int32_t shadowNum) in CreateDragData() argument 147 for (int32_t i = 0; i < shadowNum; i++) { in CreateDragData()
|
/ohos5.0/base/msdp/device_status/test/unittest/intention/services/src/ |
H A D | intention_service_test.cpp | 187 int32_t pointerId, int32_t dragNum, bool hasCoordinateCorrected, int32_t shadowNum) in CreateDragData() argument 191 for (int32_t i = 0; i < shadowNum; i++) { in CreateDragData()
|
/ohos5.0/base/msdp/device_status/test/unittest/intention/drag/src/ |
H A D | drag_server_test.cpp | 205 int32_t pointerId, int32_t dragNum, bool hasCoordinateCorrected, int32_t shadowNum) in CreateDragData() argument 209 for (int32_t i = 0; i < shadowNum; i++) { in CreateDragData()
|
H A D | drag_manager_test.cpp | 106 int32_t pointerId, int32_t dragNum, bool hasCoordinateCorrected, int32_t shadowNum) in CreateDragData() argument 110 for (int32_t i = 0; i < shadowNum; i++) { in CreateDragData()
|