Home
last modified time | relevance | path

Searched refs:code (Results 1 – 15 of 15) 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.cpp263 if (touch_screen_allowed_ && ev.code == SYN_REPORT) { in OnInputEvent()
279 if (ev.code == REL_Y) { in OnInputEvent()
300 if (ev.code == ABS_MT_SLOT) { in OnInputEvent()
306 switch (ev.code) { in OnInputEvent()
325 if (ev.type == EV_KEY && ev.code <= KEY_MAX) { in OnInputEvent()
327 if (ev.code == BTN_TOUCH) { in OnInputEvent()
336 if (ev.code == BTN_TOUCH || ev.code == BTN_TOOL_FINGER) { in OnInputEvent()
341 ProcessKey(ev.code, ev.value); in OnInputEvent()
346 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/minui/include/minui/
Dminui.h166 using ev_set_key_callback = std::function<int(int code, int value)>;
167 using ev_set_sw_callback = std::function<int(int code, int value)>;
/bootable/recovery/fonts/
DREADME5 https://code.google.com/p/googlefontdirectory/source/browse/ofl/inconsolata/
/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/recovery/recovery_ui/include/recovery_ui/
Dui.h234 virtual int SetSwCallback(int code, int value) = 0;
Dscreen_ui.h249 int SetSwCallback(int code, int value) override;
/bootable/recovery/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.cpp576 static void log_failure_code(ErrorCode code, const std::string& update_package) { in log_failure_code() argument
580 "error: " + std::to_string(code), in log_failure_code()
/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,