Searched refs:cparams (Results 1 - 25 of 37) sorted by relevance

12

/external/vboot_reference/firmware/lib/include/
H A Dvboot_kernel.h26 void VbApiKernelFree(VbCommonParams *cparams);
31 uint32_t VbTryLoadKernel(VbCommonParams *cparams, LoadKernelParams *p,
52 int VbUserConfirms(VbCommonParams *cparams, uint32_t confirm_flags);
57 VbError_t VbBootNormal(VbCommonParams *cparams, LoadKernelParams *p);
62 VbError_t VbBootDeveloper(VbCommonParams *cparams, LoadKernelParams *p);
67 VbError_t VbBootRecovery(VbCommonParams *cparams, LoadKernelParams *p);
72 VbError_t VbEcSoftwareSync(int devidx, VbCommonParams *cparams);
H A Dload_firmware_fw.h26 int LoadFirmware(VbCommonParams *cparams, VbSelectFirmwareParams *fparams,
H A Dvboot_audio.h18 VbAudioContext *VbAudioOpen(VbCommonParams *cparams);
H A Dvboot_display.h15 VbError_t VbDisplayScreenFromGBB(VbCommonParams *cparams, uint32_t screen,
17 VbError_t VbDisplayScreen(VbCommonParams *cparams, uint32_t screen, int force,
19 VbError_t VbDisplayDebugInfo(VbCommonParams *cparams, VbNvContext *vncptr);
20 VbError_t VbCheckDisplayKey(VbCommonParams *cparams, uint32_t key,
48 VbError_t VbGetLocalizationCount(VbCommonParams *cparams, uint32_t *count);
/external/vboot_reference/firmware/lib/
H A Dregion-init.c20 VbError_t VbRegionReadData(VbCommonParams *cparams, argument
25 if (region == VB_REGION_GBB && cparams->gbb_data) {
26 if (offset + size > cparams->gbb_size)
28 Memcpy(buf, cparams->gbb_data + offset, size);
34 ret = VbExRegionRead(cparams, region, offset, size, buf);
45 VbError_t VbGbbReadHeader_static(VbCommonParams *cparams, argument
48 return VbRegionReadData(cparams, VB_REGION_GBB, 0,
H A Dregion-fw.c20 static VbError_t VbGbbReadKey(VbCommonParams *cparams, uint32_t offset, argument
27 ret = VbRegionReadData(cparams, VB_REGION_GBB, offset,
37 ret = VbRegionReadData(cparams, VB_REGION_GBB, offset, size, key);
47 VbError_t VbGbbReadRootKey(VbCommonParams *cparams, VbPublicKey **keyp) argument
49 return VbGbbReadKey(cparams, cparams->gbb->rootkey_offset, keyp);
52 VbError_t VbGbbReadRecoveryKey(VbCommonParams *cparams, VbPublicKey **keyp) argument
54 return VbGbbReadKey(cparams, cparams->gbb->recovery_key_offset, keyp);
H A Dvboot_api_firmware.c20 VbError_t VbSelectFirmware(VbCommonParams *cparams, argument
24 (VbSharedDataHeader *)cparams->shared_data_blob;
31 cparams->gbb = NULL;
32 cparams->bmp = NULL;
49 cparams->gbb = VbExMalloc(sizeof(*cparams->gbb));
50 retval = VbGbbReadHeader_static(cparams, cparams->gbb);
53 VbExFree(cparams->gbb);
54 cparams
[all...]
H A Dregion-kernel.c20 static VbError_t VbRegionReadGbb(VbCommonParams *cparams, uint32_t offset, argument
23 return VbRegionReadData(cparams, VB_REGION_GBB, offset, size, buf);
26 VbError_t VbGbbReadBmpHeader(VbCommonParams *cparams, BmpBlockHeader *hdr_ret) argument
31 if (!cparams)
33 if (!cparams->bmp) {
34 GoogleBinaryBlockHeader *gbb = cparams->gbb;
40 ret = VbRegionReadGbb(cparams, gbb->bmpfv_offset,
58 cparams->bmp = hdr;
61 *hdr_ret = *cparams->bmp;
65 VbError_t VbRegionReadHWID(VbCommonParams *cparams, cha argument
96 VbGbbReadImage(VbCommonParams *cparams, uint32_t localization, uint32_t screen_index, uint32_t image_num, ScreenLayout *layout, ImageInfo *image_info, char **image_datap, uint32_t *image_data_sizep) argument
172 VbRegionCheckVersion(VbCommonParams *cparams) argument
[all...]
H A Dvboot_api_kernel.c71 uint32_t VbTryLoadKernel(VbCommonParams *cparams, LoadKernelParams *p, argument
123 retval = LoadKernel(p, cparams);
154 int VbUserConfirms(VbCommonParams *cparams, uint32_t confirm_flags) argument
157 (VbSharedDataHeader *)cparams->shared_data_blob;
167 if (VbWantShutdown(cparams->gbb->flags))
211 VbCheckDisplayKey(cparams, key, &vnc);
220 VbError_t VbBootNormal(VbCommonParams *cparams, LoadKernelParams *p) argument
224 return VbTryLoadKernel(cparams, p, VB_DISK_FLAG_FIXED);
227 VbError_t VbBootDeveloper(VbCommonParams *cparams, LoadKernelParams *p) argument
229 GoogleBinaryBlockHeader *gbb = cparams
450 VbBootRecovery(VbCommonParams *cparams, LoadKernelParams *p) argument
633 VbEcSoftwareSync(int devidx, VbCommonParams *cparams) argument
954 VbApiKernelFree(VbCommonParams *cparams) argument
967 VbSelectAndLoadKernel(VbCommonParams *cparams, VbSelectAndLoadKernelParams *kparams) argument
[all...]
H A Dvboot_firmware.c31 void VbUpdateFirmwareBodyHash(VbCommonParams *cparams, uint8_t *data, argument
35 (VbLoadFirmwareInternal*)cparams->vboot_context;
41 int LoadFirmware(VbCommonParams *cparams, VbSelectFirmwareParams *fparams, argument
45 (VbSharedDataHeader *)cparams->shared_data_blob;
46 GoogleBinaryBlockHeader *gbb = cparams->gbb;
66 retval = VbGbbReadRootKey(cparams, &root_key);
88 cparams->vboot_context = lfi;
236 cparams,
311 cparams->vboot_context = NULL;
H A Dvboot_display.c23 VbError_t VbGetLocalizationCount(VbCommonParams *cparams, uint32_t *count) argument
31 ret = VbGbbReadBmpHeader(cparams, &hdr);
140 VbError_t VbDisplayScreenFromGBB(VbCommonParams *cparams, uint32_t screen, argument
155 ret = VbGbbReadBmpHeader(cparams, &hdr);
223 ret = VbGbbReadImage(cparams, localization, screen_index,
267 VbRegionReadHWID(cparams, hwid, sizeof(hwid));
298 VbRegionCheckVersion(cparams);
305 VbError_t VbDisplayScreen(VbCommonParams *cparams, uint32_t screen, argument
328 if (VBERROR_SUCCESS == VbDisplayScreenFromGBB(cparams, screen,
503 VbError_t VbDisplayDebugInfo(VbCommonParams *cparams, VbNvContex argument
628 VbCheckDisplayKey(VbCommonParams *cparams, uint32_t key, VbNvContext *vncptr) argument
[all...]
/external/vboot_reference/firmware/include/
H A Dregion.h23 * @param cparams Vboot common parameters
30 VbError_t VbRegionReadData(VbCommonParams *cparams,
37 * @param cparams Vboot common parameters
39 void VbRegionCheckVersion(VbCommonParams *cparams);
44 * @param cparams Vboot common parameters
52 VbError_t VbRegionReadHWID(VbCommonParams *cparams, char *hwid,
H A Dgbb_access.h24 * @param cparams Vboot common parameters
27 VbError_t VbGbbReadHeader_static(VbCommonParams *cparams,
33 * @param cparams Vboot common parameters
38 VbError_t VbGbbReadRootKey(VbCommonParams *cparams,
44 * @param cparams Vboot common parameters
49 VbError_t VbGbbReadRecoveryKey(VbCommonParams *cparams,
55 * @param cparams Vboot common parameters
59 VbError_t VbGbbReadBmpHeader(VbCommonParams *cparams,
67 * @param cparams Vboot common parameters
77 VbError_t VbGbbReadImage(VbCommonParams *cparams,
[all...]
/external/vboot_reference/tests/
H A Dvboot_display_tests.c24 static VbCommonParams cparams; variable
58 Memset(&cparams, 0, sizeof(cparams));
59 cparams.shared_data_size = sizeof(shared_data);
60 cparams.shared_data_blob = shared_data;
61 cparams.gbb_data = gbb;
62 cparams.gbb_size = sizeof(gbb_data);
68 cparams.gbb = VbExMalloc(sizeof(*gbb));
76 memcpy(cparams.gbb, gbb, sizeof(*gbb));
109 VbRegionReadHWID(&cparams, hwi
[all...]
H A Dvboot_audio_tests.c32 static VbCommonParams cparams; variable
63 Memset(&cparams, 0, sizeof(cparams));
64 cparams.gbb_data = &gbb;
65 cparams.gbb = &gbb;
115 a = VbAudioOpen(&cparams);
125 a = VbAudioOpen(&cparams);
133 a = VbAudioOpen(&cparams);
142 a = VbAudioOpen(&cparams);
152 a = VbAudioOpen(&cparams);
[all...]
H A Dvboot_api_kernel2_tests.c24 static VbCommonParams cparams; variable
53 Memset(&cparams, 0, sizeof(cparams));
54 cparams.shared_data_size = sizeof(shared_data);
55 cparams.shared_data_blob = shared_data;
56 cparams.gbb_data = &gbb;
57 cparams.gbb = &gbb;
178 uint32_t VbTryLoadKernel(VbCommonParams *cparams, LoadKernelParams *p, argument
184 VbError_t VbDisplayScreen(VbCommonParams *cparams, uint32_t screen, int force, argument
207 TEST_EQ(VbUserConfirms(&cparams,
[all...]
H A Dvboot_api_kernel4_tests.c24 static VbCommonParams cparams; variable
40 Memset(&cparams, 0, sizeof(cparams));
41 cparams.shared_data_size = sizeof(shared_data);
42 cparams.shared_data_blob = shared_data;
43 cparams.gbb_data = &gbb;
44 cparams.gbb_size = sizeof(gbb);
80 VbError_t VbEcSoftwareSync(int devidx, VbCommonParams *cparams) argument
103 VbError_t VbBootNormal(VbCommonParams *cparams, LoadKernelParams *p) argument
113 VbError_t VbBootDeveloper(VbCommonParams *cparams, LoadKernelParam argument
123 VbBootRecovery(VbCommonParams *cparams, LoadKernelParams *p) argument
[all...]
H A Dvboot_kernel_tests.c64 static VbCommonParams cparams; variable
137 memset(&cparams, '\0', sizeof(cparams));
138 cparams.gbb = gbb;
139 cparams.gbb_data = gbb;
140 cparams.gbb_size = sizeof(gbb_data);
532 TEST_EQ(LoadKernel(&lkp, &cparams), VBERROR_INVALID_PARAMETER,
537 TEST_EQ(LoadKernel(&lkp, &cparams), VBERROR_INVALID_PARAMETER,
542 TEST_EQ(LoadKernel(&lkp, &cparams), VBERROR_INVALID_PARAMETER,
547 TEST_EQ(LoadKernel(&lkp, &cparams), VBERROR_NO_KERNEL_FOUN
[all...]
H A Dvboot_region_tests.c23 static VbCommonParams cparams; variable
52 Memset(&cparams, 0, sizeof(cparams));
53 cparams.shared_data_size = sizeof(shared_data);
54 cparams.shared_data_blob = shared_data;
134 VbError_t VbExRegionRead(VbCommonParams *cparams, argument
173 int LoadFirmware(VbCommonParams *cparams, VbSelectFirmwareParams *fparams, argument
176 TEST_PTR_NEQ(cparams->gbb, NULL, " GBB allocated");
186 TEST_EQ(VbSelectFirmware(&cparams, &fparams), VBERROR_SUCCESS,
189 TEST_PTR_EQ(cparams
[all...]
H A Dvboot_api_firmware_tests.c25 static VbCommonParams cparams; variable
48 Memset(&cparams, 0, sizeof(cparams));
49 cparams.shared_data_size = sizeof(shared_data);
50 cparams.shared_data_blob = shared_data;
55 cparams.gbb_data = &gbb;
56 cparams.gbb_size = sizeof(gbb);
57 cparams.gbb = &gbb;
125 int LoadFirmware(VbCommonParams* cparams, VbSelectFirmwareParams* fparams, argument
139 TEST_EQ(VbSelectFirmware(&cparams,
[all...]
H A Dvboot_api_devmode_tests.c133 static VbCommonParams cparams; variable
152 Memset(&cparams, 0, sizeof(cparams));
153 cparams.shared_data_size = sizeof(shared_data);
154 cparams.shared_data_blob = shared_data;
155 cparams.gbb_data = &gbb;
156 cparams.gbb = &gbb;
299 VbError_t VbBootDeveloper(VbCommonParams* cparams, LoadKernelParams* p);
315 (void) VbBootDeveloper(&cparams, &lkparams);
H A Dvboot_api_kernel3_tests.c24 static VbCommonParams cparams; variable
53 Memset(&cparams, 0, sizeof(cparams));
54 cparams.shared_data_size = sizeof(shared_data);
55 cparams.shared_data_blob = shared_data;
56 cparams.gbb_data = &gbb;
183 VbError_t VbDisplayScreen(VbCommonParams *cparams, uint32_t screen, int force, argument
196 TEST_EQ(VbEcSoftwareSync(0, &cparams), retval, desc);
H A Dvboot_firmware_tests.c22 static VbCommonParams cparams; variable
46 Memset(&cparams, 0, sizeof(cparams));
47 cparams.shared_data_blob = shared_data;
48 cparams.gbb_data = gbb_data;
49 cparams.gbb_size = sizeof(gbb_data);
50 cparams.gbb = gbb;
161 VbError_t VbExHashFirmwareBody(VbCommonParams* cparams, argument
172 cparams, digest_expect_ptr,
174 VbUpdateFirmwareBodyHash(cparams, digest_expect_pt
[all...]
/external/vboot_reference/firmware/stub/
H A Dvboot_api_stub_region.c16 VbError_t VbExRegionRead(VbCommonParams *cparams, argument
/external/apache-http/src/org/apache/http/impl/client/
H A DClientParamsStack.java106 * @param cparams client parameters, or <code>null</code>
110 public ClientParamsStack(HttpParams aparams, HttpParams cparams, argument
113 clientParams = cparams;
143 * @param cparams client parameters, or <code>null</code>
148 HttpParams aparams, HttpParams cparams,
151 (cparams != null) ? cparams : stack.getClientParams(),
147 ClientParamsStack(ClientParamsStack stack, HttpParams aparams, HttpParams cparams, HttpParams rparams, HttpParams oparams) argument

Completed in 248 milliseconds

12