/bootable/recovery/install/ |
D | verifier.cpp | 199 for (const auto& key : keys) { in verify_file() local 200 switch (key.hash_len) { in verify_file() 261 for (const auto& key : keys) { in verify_file() local 264 switch (key.hash_len) { in verify_file() 279 if (key.key_type == Certificate::KEY_TYPE_RSA) { in verify_file() 280 if (!RSA_verify(hash_nid, hash, key.hash_len, sig_der.data(), sig_der.size(), in verify_file() 281 key.rsa.get())) { in verify_file() 288 } else if (key.key_type == Certificate::KEY_TYPE_EC && key.hash_len == SHA256_DIGEST_LENGTH) { in verify_file() 289 if (!ECDSA_verify(0, hash, key.hash_len, sig_der.data(), sig_der.size(), key.ec.get())) { in verify_file() 297 LOG(INFO) << "Unknown key type " << key.key_type; in verify_file()
|
D | install.cpp | 106 const std::string& key) { in get_value() argument 107 const auto& it = metadata.find(key); in get_value()
|
/bootable/recovery/recovery_ui/ |
D | ui.cpp | 488 int key = static_cast<int>(KeyError::TIMED_OUT); in WaitKey() local 490 key = key_queue[0]; in WaitKey() 493 return key; in WaitKey() 520 bool RecoveryUI::IsKeyPressed(int key) { in IsKeyPressed() argument 522 int pressed = key_pressed[key]; in IsKeyPressed() 549 RecoveryUI::KeyAction RecoveryUI::CheckKey(int key, bool is_long_press) { in CheckKey() argument 557 if ((key == KEY_VOLUMEUP || key == KEY_UP) && IsKeyPressed(KEY_POWER)) { in CheckKey() 575 if (key == KEY_POWER) { in CheckKey() 588 last_key = key; in CheckKey()
|
D | device.cpp | 74 int Device::HandleMenuKey(int key, bool visible) { in HandleMenuKey() argument 79 switch (key) { in HandleMenuKey()
|
D | screen_ui.cpp | 584 int key = WaitKey(); in CheckBackgroundTextImages() local 585 if (key == static_cast<int>(KeyError::INTERRUPTED)) break; in CheckBackgroundTextImages() 586 if (key == KEY_POWER || key == KEY_ENTER) { in CheckBackgroundTextImages() 588 } else if (key == KEY_UP || key == KEY_VOLUMEUP) { in CheckBackgroundTextImages() 591 } else if (key == KEY_DOWN || key == KEY_VOLUMEDOWN) { in CheckBackgroundTextImages() 1087 int key = WaitKey(); in ShowFile() local 1088 if (key == static_cast<int>(KeyError::INTERRUPTED)) return; in ShowFile() 1089 if (key == KEY_POWER || key == KEY_ENTER) { in ShowFile() 1091 } else if (key == KEY_UP || key == KEY_VOLUMEUP) { in ShowFile() 1205 int key = WaitKey(); in ShowMenu() local [all …]
|
/bootable/recovery/recovery_ui/include/recovery_ui/ |
D | ui.h | 114 virtual bool IsKeyPressed(int key); 133 virtual KeyAction CheckKey(int key, bool is_long_press); 138 virtual void KeyLongPress(int key);
|
D | device.h | 96 virtual int HandleMenuKey(int key, bool visible);
|
/bootable/recovery/ |
D | README.md | 115 key. The public key, defined via `PRODUCT_ADB_KEYS`, will be copied to `/adb_keys`. When starting 116 the host-side `adbd`, make sure the filename (or the directory) of the matching private key has been 119 $ export ADB_VENDOR_KEYS=/path/to/adb/private/key
|
D | recovery.cpp | 603 static void print_property(const char* key, const char* name, void* /* cookie */) { in print_property() argument 604 printf("%s=%s\n", key, name); in print_property()
|
/bootable/recovery/minui/ |
D | resources.cpp | 236 if (text[i].key && strcmp(text[i].key, "Frames") == 0 && text[i].text) { in res_create_multi_display_surface() 238 } else if (text[i].key && strcmp(text[i].key, "FPS") == 0 && text[i].text) { in res_create_multi_display_surface()
|
/bootable/recovery/tests/unit/ |
D | screen_ui_test.cpp | 308 int KeyHandler(int key, bool visible) const; 326 int TestableScreenRecoveryUI::KeyHandler(int key, bool) const { in KeyHandler() argument 327 KeyCode key_code = static_cast<KeyCode>(key); in KeyHandler()
|
/bootable/recovery/updater/ |
D | install.cpp | 568 std::string key; in GetPropFn() local 569 if (!Evaluate(state, argv[0], &key)) { in GetPropFn() 572 std::string value = android::base::GetProperty(key, ""); in GetPropFn() 594 const std::string& key = args[1]; in FileGetPropFn() local 619 if (key != str) continue; in FileGetPropFn()
|