• Home
  • Raw
  • Download

Lines Matching refs:locks

120   uint8_t locks[4];  in SetUp()  local
134 GetState(client.get(), &bootloader, &production, locks); in SetUp()
137 EXPECT_EQ(locks[BOOT], 0x00); in SetUp()
138 EXPECT_EQ(locks[CARRIER], 0x00); in SetUp()
139 EXPECT_EQ(locks[DEVICE], 0x00); in SetUp()
140 EXPECT_EQ(locks[OWNER], 0x00); in SetUp()
317 uint8_t locks[4]; in TEST_F() local
326 GetState(client.get(), NULL, NULL, locks); in TEST_F()
327 ASSERT_EQ(locks[CARRIER], 0x12); in TEST_F()
342 GetState(client.get(), NULL, NULL, locks); in TEST_F()
343 ASSERT_EQ(locks[CARRIER], 0x00); in TEST_F()
378 uint8_t locks[4]; in TEST_F() local
396 GetState(client.get(), &bootloader, &production, locks); in TEST_F()
399 ASSERT_EQ(locks[DEVICE], 0x34); in TEST_F()
405 GetState(client.get(), NULL, NULL, locks); in TEST_F()
406 ASSERT_EQ(locks[DEVICE], 0x34); in TEST_F()
412 GetState(client.get(), NULL, NULL, locks); in TEST_F()
413 ASSERT_EQ(locks[DEVICE], 0x00); in TEST_F()
423 uint8_t locks[4]; in TEST_F() local
433 GetState(client.get(), NULL, NULL, locks); in TEST_F()
434 ASSERT_EQ(locks[BOOT], 0x00); in TEST_F()
441 GetState(client.get(), NULL, NULL, locks); in TEST_F()
442 ASSERT_EQ(locks[BOOT], 0x12); in TEST_F()
447 GetState(client.get(), NULL, NULL, locks); in TEST_F()
448 ASSERT_EQ(locks[BOOT], 0x00); in TEST_F()
474 GetState(client.get(), NULL, NULL, locks); in TEST_F()
475 ASSERT_EQ(locks[CARRIER], 0x34); in TEST_F()
476 ASSERT_EQ(locks[BOOT], 0x56); in TEST_F()
504 GetState(client.get(), NULL, NULL, locks); in TEST_F()
505 ASSERT_EQ(locks[DEVICE], 0x78); in TEST_F()
506 ASSERT_EQ(locks[BOOT], 0x9A); in TEST_F()
526 uint8_t locks[4]; in TEST_F() local
539 GetState(client.get(), NULL, NULL, locks); in TEST_F()
540 ASSERT_EQ(locks[OWNER], 0x65); in TEST_F()
558 GetState(client.get(), NULL, NULL, locks); in TEST_F()
559 ASSERT_EQ(locks[OWNER], 0x65); in TEST_F()
565 GetState(client.get(), NULL, NULL, locks); in TEST_F()
566 ASSERT_EQ(locks[OWNER], 0x00); in TEST_F()
573 GetState(client.get(), NULL, NULL, locks); in TEST_F()
574 ASSERT_EQ(locks[BOOT], 0x43); in TEST_F()
584 uint8_t locks[4]; in TEST_F() local
609 GetState(client.get(), NULL, &production, locks); in TEST_F()
611 ASSERT_EQ(locks[OWNER], 0x11); in TEST_F()
612 ASSERT_EQ(locks[BOOT], 0x22); in TEST_F()
613 ASSERT_EQ(locks[CARRIER], 0x33); in TEST_F()
614 ASSERT_EQ(locks[DEVICE], 0x44); in TEST_F()
664 uint8_t locks[4]; in TEST_F() local
680 GetState(client.get(), &bootloader, &production, locks); in TEST_F()
683 ASSERT_EQ(locks[BOOT], 0x12); in TEST_F()
684 ASSERT_EQ(locks[DEVICE], 0x34); in TEST_F()
690 GetState(client.get(), &bootloader, &production, locks); in TEST_F()
693 ASSERT_EQ(locks[BOOT], 0x12); in TEST_F()
694 ASSERT_EQ(locks[DEVICE], 0x34); in TEST_F()
701 GetState(client.get(), &bootloader, &production, locks); in TEST_F()
704 ASSERT_EQ(locks[BOOT], 0x00); in TEST_F()
705 ASSERT_EQ(locks[DEVICE], 0x00); in TEST_F()
834 uint8_t locks[4]; in TEST_F() local
835 GetState(client.get(), nullptr, nullptr, locks); in TEST_F()
836 EXPECT_EQ(locks[DEVICE], 0x00); in TEST_F()