Searched refs:dScreenMapRelation (Results 1 - 4 of 4) sorted by relevance
/foundation/distributedhardware/distributed_screen/services/common/utils/src/ |
H A D | dscreen_maprelation.cpp | 67 void to_json(json &j, const DScreenMapRelation &dScreenMapRelation) in to_json() argument 71 to_json(displayRectJson, dScreenMapRelation.displayRect_); in to_json() 72 to_json(screenRectJson, dScreenMapRelation.screenRect_); in to_json() 74 {KEY_DISPLAY_ID, dScreenMapRelation.displayId_}, in to_json() 75 {KEY_SCREEN_ID, dScreenMapRelation.screenId_}, in to_json() 81 void from_json(const json &j, DScreenMapRelation &dScreenMapRelation) in from_json() argument 87 dScreenMapRelation.displayId_ = j[KEY_DISPLAY_ID].get<uint64_t>(); in from_json() 88 dScreenMapRelation.screenId_ = j[KEY_SCREEN_ID].get<uint64_t>(); in from_json() 93 from_json(j.at(KEY_DISPLAY_RECT), dScreenMapRelation.displayRect_); in from_json() 94 from_json(j.at(KEY_SCREEN_RECT), dScreenMapRelation in from_json() [all...] |
/foundation/distributedhardware/distributed_screen/services/common/test/unittest/utils/ |
H A D | dscreen_maprelation_test.cpp | 108 DScreenMapRelation dScreenMapRelation; in HWTEST_F() local 109 dScreenMapRelation.SetDisplayId(displayId); in HWTEST_F() 110 dScreenMapRelation.SetScreenId(screenId); in HWTEST_F() 111 dScreenMapRelation.SetDisplayRect(displayRect); in HWTEST_F() 112 dScreenMapRelation.SetScreenRect(screenRect); in HWTEST_F() 113 to_json(j, dScreenMapRelation); in HWTEST_F() 133 DScreenMapRelation dScreenMapRelation; in HWTEST_F() local 134 dScreenMapRelation.SetDisplayId(displayId); in HWTEST_F() 135 dScreenMapRelation.SetScreenId(screenId); in HWTEST_F() 136 dScreenMapRelation in HWTEST_F() [all...] |
/foundation/distributedhardware/distributed_screen/services/common/utils/include/ |
H A D | dscreen_maprelation.h | 49 friend void to_json(json &j, const DScreenMapRelation &dScreenMapRelation); 50 friend void from_json(const json &j, DScreenMapRelation &dScreenMapRelation); 57 void to_json(const json &j, const DScreenMapRelation &dScreenMapRelation); 58 void from_json(const json &j, DScreenMapRelation &dScreenMapRelation);
|
/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sinkservice/screenregionmgr/2.0/src/ |
H A D | screenregion_test.cpp | 339 DScreenMapRelation dScreenMapRelation; in HWTEST_F() local 340 dScreenMapRelation.SetScreenRect(screenRect); in HWTEST_F() 341 contentJson[KEY_MAPRELATION] = dScreenMapRelation; in HWTEST_F() 376 DScreenMapRelation dScreenMapRelation; in HWTEST_F() local
|
Completed in 3 milliseconds