Home
last modified time | relevance | path

Searched refs:key (Results 1 – 10 of 10) sorted by relevance

/bootable/recovery/
Dverifier.cpp388 RSAPublicKey* key = cert->rsa; in load_keys() local
390 &(key->len), &(key->n0inv), &(key->n[0])) != 3) { in load_keys()
393 if (key->len != RSANUMWORDS) { in load_keys()
394 LOGE("key length (%d) does not match expected size\n", key->len); in load_keys()
397 for (i = 1; i < key->len; ++i) { in load_keys()
398 if (fscanf(f, " , %u", &(key->n[i])) != 1) goto exit; in load_keys()
400 if (fscanf(f, " } , { %u", &(key->rr[0])) != 1) goto exit; in load_keys()
401 for (i = 1; i < key->len; ++i) { in load_keys()
402 if (fscanf(f, " , %u", &(key->rr[i])) != 1) goto exit; in load_keys()
406 LOGI("read key e=%d hash=%d\n", key->exponent, cert->hash_len); in load_keys()
[all …]
Dui.cpp235 int key = -1; in WaitKey() local
237 key = key_queue[0]; in WaitKey()
241 return key; in WaitKey()
262 bool RecoveryUI::IsKeyPressed(int key) { in IsKeyPressed() argument
264 int pressed = key_pressed[key]; in IsKeyPressed()
286 RecoveryUI::KeyAction RecoveryUI::CheckKey(int key, bool is_long_press) { in CheckKey() argument
293 if (key == KEY_VOLUMEUP && IsKeyPressed(KEY_POWER)) { in CheckKey()
311 if (key == KEY_POWER) { in CheckKey()
326 last_key = key; in CheckKey()
Ddevice.cpp51 int Device::HandleMenuKey(int key, int visible) { in HandleMenuKey() argument
56 switch (key) { in HandleMenuKey()
Dui.h75 virtual bool IsKeyPressed(int key);
90 virtual KeyAction CheckKey(int key, bool is_long_press);
97 virtual void KeyLongPress(int key);
Ddevice.h57 virtual int HandleMenuKey(int key, int visible);
Dscreen_ui.cpp575 int key = WaitKey(); in ShowFile() local
576 if (key == KEY_POWER || key == KEY_ENTER) { in ShowFile()
578 } else if (key == KEY_UP || key == KEY_VOLUMEUP) { in ShowFile()
Drecovery.cpp516 int key = ui->WaitKey(); in get_menu_selection() local
519 if (key == -1) { // ui_wait_key() timed out in get_menu_selection()
529 int action = device->HandleMenuKey(key, visible); in get_menu_selection()
865 print_property(const char *key, const char *name, void *cookie) { in print_property() argument
866 printf("%s=%s\n", key, name); in print_property()
/bootable/recovery/updater/
Dinstall.c923 char* key; in GetPropFn() local
924 key = Evaluate(state, argv[0]); in GetPropFn()
925 if (key == NULL) return NULL; in GetPropFn()
928 property_get(key, value, ""); in GetPropFn()
929 free(key); in GetPropFn()
944 char* key; in FileGetPropFn() local
945 if (ReadArgs(state, argv, 2, &filename, &key) < 0) { in FileGetPropFn()
1006 if (strcmp(key, line) != 0) continue; in FileGetPropFn()
1026 free(key); in FileGetPropFn()
/bootable/recovery/edify/
Dexpr.c372 NamedFunction key; in FindFunction() local
373 key.name = name; in FindFunction()
374 NamedFunction* nf = bsearch(&key, fn_table, fn_entries, in FindFunction()
/bootable/recovery/minui/
Dresources.cpp262 if (text[i].key && strcmp(text[i].key, "Frames") == 0 && text[i].text) { in res_create_multi_display_surface()