Home
last modified time | relevance | path

Searched refs:code (Results 1 – 21 of 21) sorted by relevance

/bootable/recovery/minui/
Devents.cpp289 for (int code = 0; code <= SW_MAX; code++) { in ev_sync_sw_state() local
290 if (test_bit(code, sw_bits)) { in ev_sync_sw_state()
291 set_sw_cb(code, 1); in ev_sync_sw_state()
318 for (int code = 0; code <= KEY_MAX; code++) { in ev_sync_key_state() local
319 if (test_bit(code, key_bits)) { in ev_sync_key_state()
320 set_key_cb(code, 1); in ev_sync_key_state()
/bootable/recovery/recovery_ui/
Dui.cpp289 if (touch_screen_allowed_ && ev.code == SYN_REPORT) { in OnInputEvent()
305 if (ev.code == REL_Y) { in OnInputEvent()
326 if (ev.code == ABS_MT_SLOT) { in OnInputEvent()
332 switch (ev.code) { in OnInputEvent()
351 if (ev.type == EV_KEY && ev.code <= KEY_MAX) { in OnInputEvent()
353 if (ev.code == BTN_TOUCH) { in OnInputEvent()
362 if (ev.code == BTN_TOUCH || ev.code == BTN_TOOL_FINGER) { in OnInputEvent()
367 ProcessKey(ev.code, ev.value); in OnInputEvent()
372 SetSwCallback(ev.code, ev.value); in OnInputEvent()
Dscreen_ui.cpp1381 int ScreenRecoveryUI::SetSwCallback(int code, int value) { in SetSwCallback() argument
1383 if (code > SW_MAX) { return -1; } in SetSwCallback()
1384 if (code != SW_LID) { return 0; } in SetSwCallback()
/bootable/recovery/fonts/
DREADME5 https://code.google.com/p/googlefontdirectory/source/browse/ofl/inconsolata/
/bootable/recovery/minui/include/minui/
Dminui.h169 using ev_set_key_callback = std::function<int(int code, int value)>;
170 using ev_set_sw_callback = std::function<int(int code, int value)>;
/bootable/recovery/tests/unit/
Duncrypt_test.cpp123 int code = 0; in SetupOrClearBcb() local
124 ASSERT_TRUE(android::base::WriteFully(sockfd, &code, sizeof(int))); in SetupOrClearBcb()
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/
DUpdateManager.java301 PrepareUpdateService.startService(context, config, mHandler, (code, payloadSpec) -> { in applyUpdate()
302 if (code != PrepareUpdateService.RESULT_CODE_SUCCESS) { in applyUpdate()
303 Log.e(TAG, "PrepareUpdateService failed, result code is " + code); in applyUpdate()
/bootable/recovery/uncrypt/
Duncrypt.cpp700 int code; in main() local
701 if (android::base::ReadFully(socket_fd, &code, 4)) { in main()
702 LOG(INFO) << " received " << code << ", exiting now"; in main()
/bootable/libbootloader/gbl/libfdt/src/
Dlib.rs44 fn map_result(code: core::ffi::c_int) -> Result<core::ffi::c_int> { in map_result()
45 match code { in map_result()
/bootable/libbootloader/gbl/libefi/src/
Dlib.rs96 pub fn is_efi_err(&self, code: EfiStatus) -> bool { in is_efi_err()
97 *self == code.into() in is_efi_err()
121 fn map_efi_err(code: EfiStatus) -> EfiResult<()> { in map_efi_err()
122 match code { in map_efi_err()
124 _ => Err(code.into()), in map_efi_err()
/bootable/recovery/recovery_ui/include/recovery_ui/
Dui.h238 virtual int SetSwCallback(int code, int value) = 0;
Dscreen_ui.h249 int SetSwCallback(int code, int value) override;
/bootable/deprecated-ota/applypatch/
DNOTICE25 1. Redistributions of source code must retain the above copyright
/bootable/recovery/
DREADME.md68 Although `/system/bin/adbd` is built from the same code base as the one in the normal boot, only a
84 specific `/init.rc`, whose source code is at `bootable/recovery/etc/init.rc`.
DNOTICE40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
69 communication on electronic mailing lists, source code control systems,
Drecovery.cpp577 static void log_failure_code(ErrorCode code, const std::string& update_package) { in log_failure_code() argument
581 "error: " + std::to_string(code), in log_failure_code()
/bootable/deprecated-ota/
DNOTICE40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
69 communication on electronic mailing lists, source code control systems,
/bootable/libbootloader/libxbc/
DCOPYING28 including but not limited to software source code, documentation
33 not limited to compiled object code, generated documentation,
57 communication on electronic mailing lists, source code control systems,
/bootable/libbootloader/
DLICENSE28 including but not limited to software source code, documentation
33 not limited to compiled object code, generated documentation,
57 communication on electronic mailing lists, source code control systems,
/bootable/libbootloader/gbl/toolchain/
DBUILD162 # final step of linking Rust executables, but may also be used for compiling mixed C/C++ code.
450 "code-model": "medium",
/bootable/libbootloader/gbl/docs/
DEFI_ANDROID_BOOT_PROTOCOL.md118 * The class, subclass and protocol code in the USB interface descriptor should be