Home
last modified time | relevance | path

Searched refs:fb (Results 1 – 25 of 141) sorted by relevance

123456

/system/core/fastboot/fuzzy_fastboot/
Dmain.cpp101 bool PartitionHash(FastBootDriver* fb, const std::string& part, std::string* hash, int* retcode, in PartitionHash() argument
111 if ((ret = fb->RawCommand(cmd, &resp, &info)) != SUCCESS) { in PartitionHash()
114 cmd.c_str(), fb->RCString(ret).c_str()); in PartitionHash()
188 if (fb->GetVar("partition-type:super", &partition_type) == SUCCESS) { in TEST_F()
190 EXPECT_EQ(fb->GetVar("is-logical:super", &is_logical), SUCCESS) in TEST_F()
194 EXPECT_EQ(fb->GetVar("super-partition-name", &super_name), SUCCESS) in TEST_F()
205 EXPECT_EQ(fb->GetVar("has-slot:system", &has_slot), SUCCESS) << "getvar has-slot:system failed"; in TEST_F()
211 ASSERT_EQ(fb->GetVar("current-slot", &current_slot), SUCCESS) in TEST_F()
219 EXPECT_EQ(fb->GetVar(is_logical_cmd_system, &is_logical), SUCCESS) in TEST_F()
222 EXPECT_EQ(fb->GetVar(is_logical_cmd_vendor, &is_logical), SUCCESS) in TEST_F()
[all …]
Dfixtures.cpp101 fb->GetVar("is-userspace", &value); in UserSpaceFastboot()
107 return fb->DownloadCommand(size, response, info); in DownloadCommand()
111 return fb->SendBuffer(buf); in SendBuffer()
116 return fb->HandleResponse(response, info, dsize); in HandleResponse()
146 fb = std::unique_ptr<FastBootDriver>(new FastBootDriver(std::move(transport), {}, true)); in SetUp()
148 fb->GetVar("current-slot", &initial_slot); in SetUp()
154 fb->SetActive(initial_slot); in TearDown()
158 fb.reset(); in TearDown()
197 fb.reset(); in ReconnectFastbootDevice()
203 fb = std::unique_ptr<FastBootDriver>(new FastBootDriver(std::move(transport), {}, true)); in ReconnectFastbootDevice()
[all …]
/system/core/fastboot/
Dfastboot_test.cpp23 FastBootTool fb; in TEST() local
27 fb.ParseOsPatchLevel(&hdr, "2018-01-05"); in TEST()
31 EXPECT_DEATH(fb.ParseOsPatchLevel(&hdr, "2018"), "should be YYYY-MM-DD"); in TEST()
32 EXPECT_DEATH(fb.ParseOsPatchLevel(&hdr, "2018-01"), "should be YYYY-MM-DD"); in TEST()
33 EXPECT_DEATH(fb.ParseOsPatchLevel(&hdr, "2128-01-05"), "year out of range"); in TEST()
34 EXPECT_DEATH(fb.ParseOsPatchLevel(&hdr, "2018-13-05"), "month out of range"); in TEST()
38 FastBootTool fb; in TEST() local
42 fb.ParseOsVersion(&hdr, "1.2.3"); in TEST()
47 fb.ParseOsVersion(&hdr, "1.2"); in TEST()
52 fb.ParseOsVersion(&hdr, "1"); in TEST()
[all …]
Dtask_test.cpp175 fastboot::MockFastbootDriver fb; in TEST_F() local
176 fp->fb = &fb; in TEST_F()
178 EXPECT_CALL(fb, RebootTo(_, _, _)).Times(1); in TEST_F()
179 EXPECT_CALL(fb, Reboot(_, _)).Times(1); in TEST_F()
180 EXPECT_CALL(fb, WaitForDisconnect()).Times(2); in TEST_F()
198 fastboot::MockFastbootDriver fb; in TEST_F() local
199 fp->fb = &fb; in TEST_F()
202 ON_CALL(fb, GetVar("super-partition-name", _, _)) in TEST_F()
243 fastboot::MockFastbootDriver fb; in TEST_F() local
244 fp->fb = &fb; in TEST_F()
[all …]
Dtask.cpp89 fp_->fb->WaitForDisconnect(); in Run()
92 fp_->fb->RebootTo("recovery"); in Run()
93 fp_->fb->WaitForDisconnect(); in Run()
95 fp_->fb->RebootTo("bootloader"); in Run()
96 fp_->fb->WaitForDisconnect(); in Run()
98 fp_->fb->Reboot(); in Run()
99 fp_->fb->WaitForDisconnect(); in Run()
169 if (!supports_AB(fp->fb)) { in Initialize()
191 if (fp->fb->GetVar("super-partition-name", &super_name) != fastboot::SUCCESS) { in Initialize()
196 if (fp->fb->GetVar("partition-size:" + super_name, &partition_size_str) != fastboot::SUCCESS) { in Initialize()
[all …]
Dfastboot.cpp113 fastboot::FastBootDriver* fb = nullptr; variable
215 fprintf(stderr, "FAILED (%s)\n", fb->Error().c_str()); in Epilog()
825 if (fb->GetVar(var, &var_value) != fastboot::SUCCESS) { in CheckRequirement()
827 fprintf(stderr, "Could not getvar for '%s' (%s)\n\n", var.c_str(), fb->Error().c_str()); in CheckRequirement()
905 if (fb->GetVar("has-slot:" + partition_name, &has_slot) != fastboot::SUCCESS || in HandlePartitionExists()
924 if (fb->GetVar("product", &cur_product) != fastboot::SUCCESS) { in CheckRequirements()
925 fprintf(stderr, "getvar:product FAILED (%s)\n", fb->Error().c_str()); in CheckRequirements()
961 if (fb->GetVar(var, &value) != fastboot::SUCCESS) { in DisplayVarOrError()
963 fprintf(stderr, "FAILED (%s)\n", fb->Error().c_str()); in DisplayVarOrError()
1003 static uint64_t get_uint_var(const char* var_name, fastboot::IFastBootDriver* fb) { in get_uint_var() argument
[all …]
Dmain.cpp32 FastBootTool fb; in main() local
33 return fb.Main(argc, argv); in main()
/system/teeui/libteeui/example/
Dphys_button_example.cpp128 FrameBuffer fb; in renderUIIntoBuffer() local
129 fb.left_ = x; in renderUIIntoBuffer()
130 fb.top_ = y; in renderUIIntoBuffer()
131 fb.width_ = w; in renderUIIntoBuffer()
132 fb.height_ = h; in renderUIIntoBuffer()
133 fb.buffer_ = buffer; in renderUIIntoBuffer()
134 fb.size_in_elements_ = buffer_size_in_elements_not_bytes; in renderUIIntoBuffer()
135 fb.lineStride_ = lineStride; in renderUIIntoBuffer()
138 [&fb](uint32_t x, uint32_t y, Color color) -> Error { return fb.drawPixel(x, y, color); }); in renderUIIntoBuffer()
Dtouch_button_example.cpp165 FrameBuffer fb; in renderUIIntoBuffer() local
166 fb.left_ = x; in renderUIIntoBuffer()
167 fb.top_ = y; in renderUIIntoBuffer()
168 fb.width_ = w; in renderUIIntoBuffer()
169 fb.height_ = h; in renderUIIntoBuffer()
170 fb.buffer_ = buffer; in renderUIIntoBuffer()
171 fb.size_in_elements_ = buffer_size_in_elements_not_bytes; in renderUIIntoBuffer()
172 fb.lineStride_ = lineStride; in renderUIIntoBuffer()
175 [&fb](uint32_t x, uint32_t y, Color color) -> Error { return fb.drawPixel(x, y, color); }); in renderUIIntoBuffer()
/system/extras/tests/framebuffer/
Dfb_test.c52 static int get_framebuffer(struct simple_fb *fb, unsigned bpp) in get_framebuffer() argument
96 fb->width = vi.xres; in get_framebuffer()
97 fb->height = vi.yres; in get_framebuffer()
98 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer()
99 fb->data = bits; in get_framebuffer()
100 fb->bpp = vi.bits_per_pixel; in get_framebuffer()
102 fb++; in get_framebuffer()
104 fb->width = vi.xres; in get_framebuffer()
105 fb->height = vi.yres; in get_framebuffer()
106 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer()
[all …]
DAndroid.bp11 name: "test-fb-refresh",
22 name: "test-fb-simple",
/system/ca-certificates/files/
Dab59055e.057 3d:72:7a:eb:a5:fb:59:4e:a7:eb:95:8c:22:39:79:
62 66:31:41:df:3f:fb:c5:06:ef:1b:b6:7e:1a:46:36:
73 82:ec:9d:11:df:c2:02:fb:1a:3b:d1:ed:20:9a:ef:
75 de:b8:bc:d1:2f:9c:fb:0f:d0:2b:ed:1b:76:b9:e4:
97 ab:3b:d6:fb:78:66:4e:36:7d:f9:e9:92:e9:04:de:fd:49:63:
98 fc:6d:fb:14:71:93:67:2f:47:4a:b7:b9:ff:1e:2a:73:70:46:
114 c7:fb:7d:d1:66:31:22:cc:86:00:7e:66:83:0c:42:f4:bd:34:
116 f6:fb:58:44:99:14:ae:aa:0b:93:69:a0:29:25:4a:a5:cb:2b:
Dc559d742.047 00:ce:de:fd:a6:fb:ec:ec:14:34:3c:07:06:5a:6c:
65 84:b5:98:a3:d5:fb:73:c1:57:61:dd:28:56:75:13:
74 11:51:39:5e:d9:fb:67:ad:d5:5b:11:9d:32:9a:1b:
76 36:cb:88:61:fb:1e:b7:d0:cb:ee:16:fb:d3:a6:4c:
104 2d:e9:1e:b4:e0:48:06:a2:fc:67:af:1f:22:02:73:fb:20:0a:
109 65:99:20:21:a8:a3:bc:fb:18:96:bb:52:6f:0c:ed:83:51:4c:
113 be:5c:16:d1:ef:99:ad:c0:1f:fb:cb:ae:bc:38:22:06:26:64:
D6187b673.063 e1:0e:de:d9:10:8e:16:fb:b7:f7:a8:f7:c7:e5:02:
64 07:98:8f:36:08:95:e7:e2:37:96:0d:36:75:9e:fb:
93 10:59:d3:21:97:7e:e7:4c:71:fb:b2:d2:60:ad:39:a8:0b:ea:
104 ca:08:6a:a5:95:e3:15:a1:f7:a4:ed:c9:2c:5f:a5:fb:ff:ac:
107 4c:39:07:ce:cc:47:a4:52:95:2b:ba:b8:fb:ad:d2:33:53:7d:
109 07:8d:e7:8d:33:90:e7:23:9f:fb:50:9c:79:6c:46:d5:b4:15:
110 b3:96:6e:7e:9b:0c:96:3a:b8:52:2d:3f:d6:5b:e1:fb:08:c2:
112 1f:dc:3b:8d:76:f2:2d:e8:8d:75:df:17:33:6c:3d:53:fb:7b:
D85cde254.043 84:5b:d5:74:fb:6b:5f:c5:89:a5:10:52:89:46:55:
47 6d:53:4c:62:af:cd:1f:0b:63:bb:3a:9d:fb:fc:79:
49 99:ca:d4:0e:75:cc:37:fb:8b:89:c1:59:f1:62:7f:
69 31:f6:0e:b5:0c:bb:b7:e2:37:7f:22:ba:00:a3:0e:7b:52:fb:
78 f9:36:74:5e:25:a1:f5:66:05:2e:7f:39:15:a9:2a:fb:50:8b:
Dcb1c3204.051 67:3f:22:3a:1e:75:01:7d:ef:fb:5c:67:8c:c9:cc:
57 9b:d1:fb:31:7f:8f:e0:5f:e1:b1:3f:0f:8e:16:49:
94 71:a5:0e:ce:e4:e9:bf:3f:38:d5:89:5a:c4:02:61:fb:4c:c5:
99 1c:eb:33:d0:cf:86:60:c9:da:fb:80:2f:9e:4c:60:84:78:3d:
100 21:64:d6:fb:41:1f:18:0f:e7:c9:75:71:bd:bd:5c:de:34:87:
111 25:1f:9a:9a:80:9e:4b:2a:3f:fb:a3:9a:fe:73:32:71:c2:9e:
121 2c:f1:c4:de:43:68:08:6a:5f:3b:f0:76:63:fb:cc:06:2c:a6:
D1ec40989.037 5a:4b:bd:5a:fb:4f:8a:5b:fa:65:e5
53 cd:a7:2a:ce:54:fb:b8:e2:c0:7c:47:ce:60:7c:3f:
82 fb:3a:63
97 54:30:7c:ad:19:d5:1d:68:6f:fb:14:42:d8:8d:0e:f3:b5:d1:
105 12:f1:c1:39:e3:e5:f5:f8:d6:4a:dd:34:cd:fb:6f:c1:4f:e3:
108 a0:80:07:b6:1d:ca:ad:6d:ea:41:11:7e:2d:74:93:fb:c2:bc:
120 64:ef:ff:67:47:88:58:25:2f:3e:86:07:bd:fb:a8:e5:82:a8:
D9591a472.051 47:91:68:f8:27:67:50:33:1d:a1:a6:fb:e0:e5:43:
61 33:5b:c7:a1:fb:27:2a:a1:b4:9a:91:8c:91:d3:3a:
65 22:fb:d4:89:ad:ba:ce:47:97:47:55:7b:8f:45:c8:
99 c7:6e:11:3f:e6:e3:16:91:84:fb:6d:84:7f:34:74:ad:89:a7:
107 6d:1e:1d:d3:fa:ec:fb:f4:45:1d:13:6d:cf:f7:59:e5:22:27:
113 af:34:98:ca:64:83:fb:13:57:d1:c1:f0:3c:7a:8c:a5:c1:fd:
115 56:fb:ac:2a:2e:70:be:66:c4:0c:84:ef:e5:8b:f3:93:01:f8:
D9576d26b.047 73:9e:35:c2:71:55:7e:81:fb:ab:46:50:e0:c1:7c:
54 bc:e8:e5:e1:66:d6:d2:fb:03:b4:41:65:c9:10:ae:
58 51:54:fb:5e:92:18:1b:04:5a:68:c6:c9:c4:fa:b7:
77 7a:28:40:be:a2:16:1f:df:e4:37:1f:11:73:fb:90:
98 f0:fd:d3:b2:5e:75:1f:99:95:a8:ac:f6:da:e1:c5:31:7b:fb:
101 dc:83:5b:64:0e:cb:b5:bc:d6:4f:c1:7c:3c:6e:8d:13:6d:fb:
108 38:53:38:36:3b:cf:6c:e9:f9:6b:0e:d0:fb:04:e8:4f:77:d7:
Dcbb3f32b.019 14:03:f5:ab:fb:37:8b:17:40:5b:e2:43:b2:a5:d1:c4
49 0c:02:36:c2:fd:ac:74:32:4e:e1:fb:1c:80:88:a3:cc:fb:d7:
Db7db1890.048 d2:32:c6:c3:ab:06:bf:fc:fb:bf:f3:ad:7d:92:62:
72 fb:6d:79:59:f2:84:22:52:ae:0f:cc:fb:7c:3b:e7:6a:ca:47:
76 e5:8e:b2:53:cc:49:ce:bc:30:fe:7b:0e:33:90:fb:ed:d2:14:
Dab5346f4.047 71:fd:28:3e:53:fb:04:d8:2d:d7:65:1d:4a:1b:fa:
52 80:09:6d:b6:b3:6f:77:6f:35:08:50:fb:02:87:c5:
66 43:ab:4c:2e:2b:6e:7a:70:af:16:0e:e3:02:6c:fb:42:e6:18:
68 4a:fb:8c:88:50:5f:95:1c:bf:ed:ab:22:b5:65:b3:85:ba:9e:
D5a3f0ff8.042 98:d3:a9:bf:c1:e6:8a:5d:3b:87:fb:bb:88:ce:0d:
51 77:de:b5:e9:fb:67:6d:41:e9:bc:39:bd:32:d9:62:
83 3f:84:8d:55:b7:e8:e5:ac:d5:f1:f5:19:56:a6:5a:fb:90:1c:
85 30:12:a0:c5:33:15:05:b9:0d:fb:c7:05:76:e3:d8:4a:8d:fc:
D7a819ef2.067 1f:fb:9a:9f:e2:51:cc:3a:53:0c:48:e6:0e:bd:c9:
80 5b:88:c9:5e:fb:cc:61:dc:8b:33:77:d3:44:32:35:
81 09:62:04:92:16:10:d8:9e:27:47:fb:3b:21:e3:f8:
101 81:e6:7c:b4:c9:0d:0b:72:53:f8:76:07:07:41:47:96:0c:fb:
106 39:c1:e2:fb:0a:a8:15:2c:7d:4d:7a:63:c6:6c:97:44:3c:d2:
112 fb:f8:97:b0:94:5b:eb:fd:d2:6f:f1:77:68:0d:35:64:23:ac:
/system/ca-certificates/wfa_certs/files/
D21125ccd.061 b5:b6:6e:8a:34:fb:69:29:10:55:0a:8a:a7:38:db:
74 fb:45:fe:6d:4d:d1:b4:4a:23:b1:56:d3:93:58:83:
81 e6:54:fb
99 35:a1:0b:79:c3:fb:c2:19:e4:f8:f2:3b:ce:4e:9e:80:67:42:
101 07:b7:29:d8:3b:1c:7c:9e:7f:ef:e2:c8:b6:13:04:91:fb:11:
108 80:c1:e3:4e:be:41:fb:ac:42:7b:ce:d1:a6:11:51:72:73:7f:
112 ce:6e:fb:36:6d:e0:12:73:e2:00:1a:44:66:e9:e2:be:2c:93:

123456