Lines Matching refs:decoded_payload

70   const GetInfoResponse* decoded_payload =  in TEST()  local
72 ASSERT_TRUE(decoded_payload); in TEST()
74 EXPECT_EQ(32768ULL, decoded_payload->total_size); in TEST()
75 EXPECT_EQ(4096ULL, decoded_payload->available_size); in TEST()
76 EXPECT_EQ(512ULL, decoded_payload->max_space_size); in TEST()
77 EXPECT_EQ(32U, decoded_payload->max_spaces); in TEST()
78 ASSERT_EQ(5U, decoded_payload->space_list.size()); in TEST()
79 EXPECT_EQ(0x1234U, decoded_payload->space_list[0]); in TEST()
80 EXPECT_EQ(0xffffffffU, decoded_payload->space_list[1]); in TEST()
81 EXPECT_EQ(0x32U, decoded_payload->space_list[2]); in TEST()
82 EXPECT_EQ(0x0U, decoded_payload->space_list[3]); in TEST()
83 EXPECT_EQ(0x1U, decoded_payload->space_list[4]); in TEST()
102 const CreateSpaceRequest* decoded_payload = in TEST() local
104 ASSERT_TRUE(decoded_payload); in TEST()
106 EXPECT_EQ(0x12345678U, decoded_payload->index); in TEST()
107 EXPECT_EQ(8ULL, decoded_payload->size); in TEST()
108 ASSERT_EQ(2UL, decoded_payload->controls.size()); in TEST()
109 EXPECT_EQ(NV_CONTROL_BOOT_WRITE_LOCK, decoded_payload->controls[0]); in TEST()
110 EXPECT_EQ(NV_CONTROL_WRITE_EXTEND, decoded_payload->controls[1]); in TEST()
111 const Blob& decoded_auth_value = decoded_payload->authorization_value; in TEST()
140 const GetSpaceInfoRequest* decoded_payload = in TEST() local
142 ASSERT_TRUE(decoded_payload); in TEST()
144 EXPECT_EQ(0x1234U, decoded_payload->index); in TEST()
164 const GetSpaceInfoResponse* decoded_payload = in TEST() local
166 ASSERT_TRUE(decoded_payload); in TEST()
168 EXPECT_EQ(256ULL, decoded_payload->size); in TEST()
169 ASSERT_EQ(3U, decoded_payload->controls.size()); in TEST()
170 EXPECT_EQ(NV_CONTROL_BOOT_WRITE_LOCK, decoded_payload->controls[0]); in TEST()
171 EXPECT_EQ(NV_CONTROL_BOOT_READ_LOCK, decoded_payload->controls[1]); in TEST()
172 EXPECT_EQ(NV_CONTROL_WRITE_EXTEND, decoded_payload->controls[2]); in TEST()
173 EXPECT_FALSE(decoded_payload->read_locked); in TEST()
174 EXPECT_TRUE(decoded_payload->write_locked); in TEST()
190 const DeleteSpaceRequest* decoded_payload = in TEST() local
192 ASSERT_TRUE(decoded_payload); in TEST()
194 EXPECT_EQ(0x1234U, decoded_payload->index); in TEST()
195 const Blob& decoded_auth_value = decoded_payload->authorization_value; in TEST()
253 const WriteSpaceRequest* decoded_payload = in TEST() local
255 ASSERT_TRUE(decoded_payload); in TEST()
257 EXPECT_EQ(0x1234U, decoded_payload->index); in TEST()
258 const Blob& decoded_buffer = decoded_payload->buffer; in TEST()
261 const Blob& decoded_auth_value = decoded_payload->authorization_value; in TEST()
293 const ReadSpaceRequest* decoded_payload = in TEST() local
295 ASSERT_TRUE(decoded_payload); in TEST()
297 EXPECT_EQ(0x1234U, decoded_payload->index); in TEST()
298 const Blob& decoded_auth_value = decoded_payload->authorization_value; in TEST()
317 const ReadSpaceResponse* decoded_payload = in TEST() local
319 ASSERT_TRUE(decoded_payload); in TEST()
320 const Blob& decoded_buffer = decoded_payload->buffer; in TEST()
338 const LockSpaceWriteRequest* decoded_payload = in TEST() local
340 ASSERT_TRUE(decoded_payload); in TEST()
342 EXPECT_EQ(0x1234U, decoded_payload->index); in TEST()
343 const Blob& decoded_auth_value = decoded_payload->authorization_value; in TEST()
375 const LockSpaceReadRequest* decoded_payload = in TEST() local
377 ASSERT_TRUE(decoded_payload); in TEST()
379 EXPECT_EQ(0x1234U, decoded_payload->index); in TEST()
380 const Blob& decoded_auth_value = decoded_payload->authorization_value; in TEST()