| /base/msdp/device_status/tools/vdev/json/ |
| D | simulate_raw_touchscreen_dragging.json | 5 { "type": 3, "code": 53, "value": 390 }, number 6 { "type": 3, "code": 54, "value": 1033 }, number 7 { "type": 3, "code": 57, "value": 0 }, number 8 { "type": 0, "code": 2, "value": 0 }, number 9 { "type": 1, "code": 330, "value": 1 }, number 10 { "type": 0, "code": 2, "value": 0 }, number 11 { "type": 0, "code": 0, "value": 0 }, number 12 { "type": 3, "code": 53, "value": 390 }, number 13 { "type": 3, "code": 54, "value": 1033 }, number 14 { "type": 3, "code": 57, "value": 0 }, number [all …]
|
| D | simulate_raw_mouse_dragging.json | 5 { "type": 4, "code": 4, "value": 30 }, number 6 { "type": 1, "code": 272, "value": 1 }, number 7 { "type": 0, "code": 0, "value": 0 }, number 8 { "type": 2, "code": 0, "value": 1 }, number 9 { "type": 2, "code": 1, "value": -3 }, number 10 { "type": 0, "code": 0, "value": 0 }, number 11 { "type": 2, "code": 0, "value": 2 }, number 12 { "type": 2, "code": 1, "value": -2 }, number 13 { "type": 0, "code": 0, "value": 0 }, number 14 { "type": 2, "code": 1, "value": -3 }, number [all …]
|
| D | simulate_raw_mouse_operation.json | 5 { "type": 4, "code": 4, "value": 30 }, number 6 { "type": 1, "code": 273, "value": 1 }, number 7 { "type": 0, "code": 0, "value": 0 }, number 8 { "type": 2, "code": 0, "value": 4 }, number 9 { "type": 2, "code": 1, "value": -3 }, number 10 { "type": 0, "code": 0, "value": 0 }, number 11 { "type": 2, "code": 0, "value": 2 }, number 12 { "type": 2, "code": 1, "value": -2 }, number 13 { "type": 0, "code": 0, "value": 0 }, number 14 { "type": 2, "code": 1, "value": -3 }, number [all …]
|
| D | simulate_raw_keyboard_clicks.json | 5 { "type": 4, "code": 4, "value": 30 }, number 6 { "type": 1, "code": 42, "value": 1 }, number 7 { "type": 0, "code": 0, "value": 0 }, number 8 { "type": 4, "code": 4, "value": 30 }, number 9 { "type": 1, "code": 35, "value": 1 }, number 10 { "type": 0, "code": 0, "value": 0 }, number 11 { "type": 4, "code": 4, "value": 30 }, number 12 { "type": 1, "code": 35, "value": 0 }, number 13 { "type": 0, "code": 0, "value": 0 }, number 14 { "type": 4, "code": 4, "value": 30 }, number [all …]
|
| /base/customization/enterprise_device_management/test/unittest/interface/inner_api/proxy/mock/src/ |
| D | enterprise_device_mgr_stub_mock.cpp | 35 int EnterpriseDeviceMgrStubMock::InvokeSendRequestGetEnterpriseInfo(uint32_t code, MessageParcel &d… in InvokeSendRequestGetEnterpriseInfo() argument 38 …LOG_(INFO) << "mock EnterpriseDeviceMgrStubMock InvokeSendRequestGetEnterpriseInfo code :" << code; in InvokeSendRequestGetEnterpriseInfo() 40 code_ = code; in InvokeSendRequestGetEnterpriseInfo() 46 int EnterpriseDeviceMgrStubMock::InvokeSendRequestEnableAdmin(uint32_t code, MessageParcel &data, M… in InvokeSendRequestEnableAdmin() argument 49 …GTEST_LOG_(INFO) << "mock EnterpriseDeviceMgrStubMock InvokeSendRequestEnableAdmin code :" << code; in InvokeSendRequestEnableAdmin() 50 code_ = code; in InvokeSendRequestEnableAdmin() 58 int EnterpriseDeviceMgrStubMock::InvokeSendRequestMapEnableAdminTwoSuc(uint32_t code, MessageParcel… in InvokeSendRequestMapEnableAdminTwoSuc() argument 61 …_(INFO) << "mock EnterpriseDeviceMgrStubMock InvokeSendRequestMapEnableAdminTwoSuc code :" << code; in InvokeSendRequestMapEnableAdminTwoSuc() 62 code_ = code; in InvokeSendRequestMapEnableAdminTwoSuc() 72 int EnterpriseDeviceMgrStubMock::InvokeSendRequestSetPolicy(uint32_t code, MessageParcel &data, Mes… in InvokeSendRequestSetPolicy() argument [all …]
|
| /base/account/os_account/services/accountmgr/include/appaccount/ |
| D | app_account_stub.h | 27 AppAccountStub *ptr, uint32_t code, MessageParcel &data, MessageParcel &reply); 32 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) override; 38 ErrCode ProcAddAccount(uint32_t code, MessageParcel &data, MessageParcel &reply); 39 ErrCode ProcAddAccountImplicitly(uint32_t code, MessageParcel &data, MessageParcel &reply); 40 ErrCode ProcCreateAccount(uint32_t code, MessageParcel &data, MessageParcel &reply); 41 ErrCode ProcCreateAccountImplicitly(uint32_t code, MessageParcel &data, MessageParcel &reply); 42 ErrCode ProcDeleteAccount(uint32_t code, MessageParcel &data, MessageParcel &reply); 43 ErrCode ProcGetAccountExtraInfo(uint32_t code, MessageParcel &data, MessageParcel &reply); 44 ErrCode ProcSetAccountExtraInfo(uint32_t code, MessageParcel &data, MessageParcel &reply); 45 ErrCode ProcSetAppAccess(uint32_t code, MessageParcel &data, MessageParcel &reply); [all …]
|
| /base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
| D | napi_init.cpp | 89 napi_value code = nullptr; in CreateAsyKeySpecItemCode() local 90 napi_create_object(env, &code); in CreateAsyKeySpecItemCode() 92 AddUint32Property(env, code, "DSA_P_BN", DSA_P_BN); in CreateAsyKeySpecItemCode() 93 AddUint32Property(env, code, "DSA_Q_BN", DSA_Q_BN); in CreateAsyKeySpecItemCode() 94 AddUint32Property(env, code, "DSA_G_BN", DSA_G_BN); in CreateAsyKeySpecItemCode() 95 AddUint32Property(env, code, "DSA_SK_BN", DSA_SK_BN); in CreateAsyKeySpecItemCode() 96 AddUint32Property(env, code, "DSA_PK_BN", DSA_PK_BN); in CreateAsyKeySpecItemCode() 98 AddUint32Property(env, code, "ECC_FP_P_BN", ECC_FP_P_BN); in CreateAsyKeySpecItemCode() 99 AddUint32Property(env, code, "ECC_A_BN", ECC_A_BN); in CreateAsyKeySpecItemCode() 100 AddUint32Property(env, code, "ECC_B_BN", ECC_B_BN); in CreateAsyKeySpecItemCode() [all …]
|
| /base/security/code_signature/ |
| D | README.md | 1 # Code Signature 5 …code signature component implements the code signing mechanism of OpenHarmony, which provides vali… 7 Architecture of the code signature component 11 The code signature component provides the following functions: 13 - Trusted certificate management: imports the device certificate and local code signing certificate… 14 - Code signing enabling: provides APIs in user mode to enable code signing of apps or code files du… 15 - Local code signing: runs the signing service on the device and provides interfaces to sign local … 16 - Code attribute setting: provides APIs for setting the code owner ID and initializing the XPM regi… 24 │ ├── code_sign_attr_utils # APIs for setting code signing attributes 25 │ ├── code_sign_utils # APIs for enabling code signing [all …]
|
| /base/powermgr/battery_lite/test/ |
| D | battery_test.js | 21 fail: function(data, code) { argument 22 console.log('fail to get battery Soc code:' + code + ', data: ' + data); 30 fail: function(data, code) { argument 31 console.log('fail to get battery ChargingStatus code:' + code + ', data: ' + data); 39 fail: function(data, code) { argument 40 console.log('fail to get battery HealthStatus code:' + code + ', data: ' + data); 48 fail: function(data, code) { argument 49 console.log('fail to get battery PluggedType code:' + code + ', data: ' + data); 57 fail: function(data, code) { argument 58 console.log('fail to get battery Voltage code:' + code + ', data: ' + data); [all …]
|
| /base/customization/enterprise_device_management/test/unittest/interface/inner_api/proxy/mock/include/ |
| D | enterprise_device_mgr_stub_mock.h | 44 …int InvokeSendRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &opt… in InvokeSendRequest() argument 46 GTEST_LOG_(INFO) << "mock EnterpriseDeviceMgrStubMock InvokeSendRequest code :" << code; in InvokeSendRequest() 47 code_ = code; in InvokeSendRequest() 52 int InvokeSendRequestGetEnterpriseInfo(uint32_t code, MessageParcel &data, MessageParcel &reply, 55 …int InvokeSendRequestEnableAdmin(uint32_t code, MessageParcel &data, MessageParcel &reply, Message… 57 …int InvokeSendRequestMapEnableAdminTwoSuc(uint32_t code, MessageParcel &data, MessageParcel &reply, 60 …int InvokeSendRequestSetPolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOp… 62 …int InvokeSendRequestGetPolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOp… 64 …int InvokeBoolSendRequestGetPolicy(uint32_t code, MessageParcel &data, MessageParcel &reply, Messa… 66 … int InvokeBoolSendRequestGetFirewallRule(uint32_t code, MessageParcel &data, MessageParcel &reply, [all …]
|
| /base/powermgr/thermal_manager/test/unittest/src/ |
| D | thermal_mock_stub_getdescriptor_test.cpp | 44 uint32_t code = 0; variable 50 …EXPECT_TRUE(E_GET_THERMAL_SERVICE_FAILED == actionStub->OnRemoteRequest(code, data, reply, option)… 53 …EXPECT_TRUE(E_GET_THERMAL_SERVICE_FAILED == levelStub->OnRemoteRequest(code, data, reply, option)); 56 … EXPECT_TRUE(E_GET_THERMAL_SERVICE_FAILED == tempStub->OnRemoteRequest(code, data, reply, option)); 85 * @tc.desc: stub OnRemoteRequest Invalid code 91 uint32_t code = 9999; variable 98 int32_t ret = actionStub->OnRemoteRequest(code, data, reply, option); 99 EXPECT_EQ(ret, IPC_STUB_UNKNOW_TRANS_ERR) << "ret: " << ret << " code: " << code; 103 ret = levelStub->OnRemoteRequest(code, data, reply, option); 104 EXPECT_EQ(ret, IPC_STUB_UNKNOW_TRANS_ERR) << "ret: " << ret << " code: " << code; [all …]
|
| D | thermal_mock_stub_test.cpp | 64 uint32_t code = 0; variable 70 EXPECT_EQ(E_GET_THERMAL_SERVICE_FAILED, actionStub->OnRemoteRequest(code, data, reply, option)); 73 EXPECT_EQ(E_GET_THERMAL_SERVICE_FAILED, levelStub->OnRemoteRequest(code, data, reply, option)); 76 EXPECT_EQ(E_GET_THERMAL_SERVICE_FAILED, tempStub->OnRemoteRequest(code, data, reply, option)); 91 for (uint32_t code = begin; code <= end; ++code) { variable 93 auto ret = g_service->OnRemoteRequest(code, g_data, g_reply, g_option); 108 uint32_t code = 0; variable 109 int32_t ret = g_service->OnRemoteRequest(code, g_data, g_reply, g_option); 110 EXPECT_EQ(ret, E_GET_THERMAL_SERVICE_FAILED) << "code: " << code << " ret:" << ret; 116 * @tc.desc: OnRemoteRequest Invalid code [all …]
|
| /base/telephony/cellular_call/interfaces/innerkits/ims/ |
| D | ims_call_callback_interface.h | 35 * ranging from {@code 0} to the maximum card slot index number supported by the device. 37 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure. 45 * ranging from {@code 0} to the maximum card slot index number supported by the device. 47 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure. 55 * ranging from {@code 0} to the maximum card slot index number supported by the device. 57 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure. 65 * ranging from {@code 0} to the maximum card slot index number supported by the device. 67 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure. 75 * ranging from {@code 0} to the maximum card slot index number supported by the device. 77 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure. [all …]
|
| /base/customization/enterprise_device_management/test/fuzztest/adminserviceinterface_fuzzer/ |
| D | admin_service_interface_fuzzer.cpp | 37 …for (uint32_t code = EdmInterfaceCode::ADD_DEVICE_ADMIN; code <= EdmInterfaceCode::AUTHORIZE_ADMIN… in LLVMFuzzerTestOneInput() local 40 CommonFuzzer::OnRemoteRequestFuzzerTest(code, data, size, parcel); in LLVMFuzzerTestOneInput() 42 uint32_t code = (CommonFuzzer::GetU32Data(data)) % 3100; in LLVMFuzzerTestOneInput() local 43 if (code == EdmInterfaceCode::RESET_FACTORY || code == EdmInterfaceCode::SHUTDOWN || in LLVMFuzzerTestOneInput() 44 code == EdmInterfaceCode::REBOOT || code == EdmInterfaceCode::USB_READ_ONLY || in LLVMFuzzerTestOneInput() 45 code == EdmInterfaceCode::DISABLED_HDC || code == EdmInterfaceCode::DISABLE_USB || in LLVMFuzzerTestOneInput() 46 code < MIN_INTERAFCE_CODE) { in LLVMFuzzerTestOneInput() 50 code = POLICY_FUNC_CODE(operateType, code); in LLVMFuzzerTestOneInput() 53 CommonFuzzer::OnRemoteRequestFuzzerTest(code, data, size, parcel); in LLVMFuzzerTestOneInput()
|
| /base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
| D | notification_manager_ffi.cpp | 29 auto code = NotificationManagerImpl::Publish(request); in FfiOHOSNotificationManagerPublish() local 31 return code; in FfiOHOSNotificationManagerPublish() 37 auto code = NotificationManagerImpl::Cancel(id, label); in FfiOHOSNotificationManagerCancel() local 39 return code; in FfiOHOSNotificationManagerCancel() 45 auto code = NotificationManagerImpl::CancelAll(); in FfiOHOSNotificationManagerCancelAll() local 47 return code; in FfiOHOSNotificationManagerCancelAll() 53 auto code = NotificationManagerImpl::AddSlot(type); in FfiOHOSNotificationManagerAddSlot() local 55 return code; in FfiOHOSNotificationManagerAddSlot() 61 RetDataBool ret = { .code = ERR_INVALID_INSTANCE_CODE, .data = 0 }; in FfiOHOSNotificationManagerIsNotificationEnabled() 65 ret.code = status; in FfiOHOSNotificationManagerIsNotificationEnabled() [all …]
|
| /base/time/time_service/framework/cj/src/ |
| D | system_date_time_ffi.cpp | 37 RetDataI64 ret = { .code = INVALID_DATA_ID, .data = 0 }; in FfiOHOSSysDateTimegetCurrentTime() 40 ret.code = state; in FfiOHOSSysDateTimegetCurrentTime() 44 ret.code = state; in FfiOHOSSysDateTimegetCurrentTime() 51 RetDataI64 ret = { .code = INVALID_DATA_ID, .data = 0 }; in FfiOHOSSysDateTimegetRealActiveTime() 54 ret.code = state; in FfiOHOSSysDateTimegetRealActiveTime() 58 ret.code = state; in FfiOHOSSysDateTimegetRealActiveTime() 65 RetDataI64 ret = { .code = INVALID_DATA_ID, .data = 0 }; in FfiOHOSSysDateTimegetRealTime() 68 ret.code = state; in FfiOHOSSysDateTimegetRealTime() 72 ret.code = state; in FfiOHOSSysDateTimegetRealTime() 79 RetDataI64 ret = { .code = INVALID_DATA_ID, .data = 0 }; in FfiOHOSSysDateTimeGetTime() [all …]
|
| /base/account/os_account/frameworks/account_iam/src/ |
| D | account_iam_callback_stub.cpp | 29 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest() argument 32 code, IPCSkeleton::GetCallingUid(), IPCSkeleton::GetCallingRealPid()); in OnRemoteRequest() 34 ACCOUNT_LOGE("check IDMCallbackStub descriptor failed! code %{public}u.", code); in OnRemoteRequest() 37 switch (code) { in OnRemoteRequest() 45 ACCOUNT_LOGW("remote request unhandled: %{public}d", code); in OnRemoteRequest() 46 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest() 89 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest() argument 92 code, IPCSkeleton::GetCallingUid(), IPCSkeleton::GetCallingRealPid()); in OnRemoteRequest() 94 ACCOUNT_LOGE("check GetCredInfoCallbackStub descriptor failed! code %{public}u.", code); in OnRemoteRequest() 97 switch (code) { in OnRemoteRequest() [all …]
|
| /base/account/os_account/services/accountmgr/src/appaccount/ |
| D | app_account_stub.cpp | 63 [] (AppAccountStub *ptr, uint32_t code, MessageParcel &data, MessageParcel &reply) { in __anon3a22a4710102() 64 return ptr->ProcAddAccount(code, data, reply); } in __anon3a22a4710102() 68 [] (AppAccountStub *ptr, uint32_t code, MessageParcel &data, MessageParcel &reply) { in __anon3a22a4710202() 69 return ptr->ProcAddAccountImplicitly(code, data, reply); } in __anon3a22a4710202() 73 [] (AppAccountStub *ptr, uint32_t code, MessageParcel &data, MessageParcel &reply) { in __anon3a22a4710302() 74 return ptr->ProcCreateAccount(code, data, reply); } in __anon3a22a4710302() 78 [] (AppAccountStub *ptr, uint32_t code, MessageParcel &data, MessageParcel &reply) { in __anon3a22a4710402() 79 return ptr->ProcCreateAccountImplicitly(code, data, reply); } in __anon3a22a4710402() 83 [] (AppAccountStub *ptr, uint32_t code, MessageParcel &data, MessageParcel &reply) { in __anon3a22a4710502() 84 return ptr->ProcDeleteAccount(code, data, reply); } in __anon3a22a4710502() [all …]
|
| /base/telephony/sms_mms/interfaces/innerkits/ |
| D | sms_service_manager_client.h | 45 * ranging from {@code 0} to the maximum card slot index number supported by the device. 46 * @return int32_t, returns {@code 0} if success. 53 * @return int32_t, returns {@code 0} if success. 61 * @return int32_t, returns {@code 0} if success. 69 * ranging from {@code 0} to the maximum card slot index number supported by the device. 75 * @return int32_t, returns {@code 0} if success. 85 * ranging from {@code 0} to the maximum card slot index number supported by the device. 93 * @return int32_t, returns {@code 0} if success. 102 * ranging from {@code 0} to the maximum card slot index number supported by the device. 104 * @return int32_t, returns {@code 0} if success. [all …]
|
| /base/telephony/cellular_call/services/common/include/ |
| D | supplement_request_cs.h | 30 * ranging from {@code 0} to the maximum card slot index number supported by the device. 32 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure. 40 * ranging from {@code 0} to the maximum card slot index number supported by the device. 44 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure. 52 * ranging from {@code 0} to the maximum card slot index number supported by the device. 54 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure. 62 * ranging from {@code 0} to the maximum card slot index number supported by the device. 65 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure. 73 * ranging from {@code 0} to the maximum card slot index number supported by the device. 76 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure. [all …]
|
| D | supplement_request_ims.h | 30 * ranging from {@code 0} to the maximum card slot index number supported by the device. 34 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure. 42 * ranging from {@code 0} to the maximum card slot index number supported by the device. 44 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure. 52 * ranging from {@code 0} to the maximum card slot index number supported by the device. 56 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure. 64 * ranging from {@code 0} to the maximum card slot index number supported by the device. 66 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure. 74 * ranging from {@code 0} to the maximum card slot index number supported by the device. 77 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure. [all …]
|
| /base/telephony/sms_mms/services/sms/include/ |
| D | sms_service.h | 43 * ranging from {@code 0} to the maximum card slot index number supported by 50 * @return Returns {@code 0} if send message success. 59 * ranging from {@code 0} to the maximum card slot index number supported by 68 * @return Returns {@code 0} if send message success. 78 * ranging from {@code 0} to the maximum card slot index number supported by 81 * @return Returns {@code 0} if set smsc success 88 * ranging from {@code 0} to the maximum card slot index number supported by 91 * @return Returns {@code 0} if get smsc success. 98 * ranging from {@code 0} to the maximum card slot index number supported by 103 * @return Returns {@code true} if add sim success; returns {@code false} [all …]
|
| /base/customization/enterprise_device_management/test/fuzztest/edmplugin_fuzzer/ |
| D | edm_plugin_fuzzer.cpp | 38 uint32_t code = (CommonFuzzer::GetU32Data(data)) % 60 + MAX_EDM_INTERFACE_CODE; in LLVMFuzzerTestOneInput() local 39 if (code == EdmInterfaceCode::RESET_FACTORY || code == EdmInterfaceCode::SHUTDOWN || in LLVMFuzzerTestOneInput() 40 code == EdmInterfaceCode::REBOOT || code == EdmInterfaceCode::USB_READ_ONLY || in LLVMFuzzerTestOneInput() 41 code == EdmInterfaceCode::DISABLED_HDC || code == EdmInterfaceCode::DISABLE_USB || in LLVMFuzzerTestOneInput() 42 code == EdmInterfaceCode::SET_WIFI_PROFILE) { in LLVMFuzzerTestOneInput() 45 code = POLICY_FUNC_CODE(operateType, code); in LLVMFuzzerTestOneInput() 48 CommonFuzzer::OnRemoteRequestFuzzerTest(code, data, size, parcel); in LLVMFuzzerTestOneInput()
|
| /base/security/code_signature/interfaces/innerkits/jit_code_sign/include/ |
| D | jit_buffer_integrity.h | 42 * @brief Create Jit Code signer of specific level 44 * @return error code, see errcode.h 52 * @brief Return whether Jit code signing is supported 62 * @param signer jit code signer 63 * @param tmpBuffer tmp buffer storing jit code 64 * @return error code, see errcode.h 75 * @param signer jit code signer 77 * @return error code, see errcode.h 88 * @param signer jit code signer 91 * @return error code, see errcode.h [all …]
|
| /base/update/updater/services/ui/driver/ |
| D | keys_input_device.cpp | 81 if (ev.code != KEY_POWER) { in PowerDownPress() 85 LOG(INFO) << "power down " << ev.code; in PowerDownPress() 98 if (ev.code == KEY_POWER) { in PowerVolumeDownPress() 100 } else if (ev.code == KEY_VOLUMEDOWN) { in PowerVolumeDownPress() 105 } else if (!down && (ev.code == KEY_POWER || ev.code == KEY_VOLUMEDOWN)) { in PowerVolumeDownPress() 112 if (ev.type != EV_KEY || ev.code > KEY_MAX) { in HandleKeyEvent() 115 if (ev.code == BTN_TOUCH || ev.code == BTN_TOOL_FINGER) { in HandleKeyEvent() 118 …if (ev.code == BTN_MOUSE || ev.code == BTN_LEFT || ev.code == BTN_RIGHT || ev.code == BTN_MIDDLE) { in HandleKeyEvent() 123 if (ev.code == KEY_VOLUMEDOWN || ev.code == KEY_VOLUMEUP || ev.code == KEY_POWER) { in HandleKeyEvent() 130 lastKeyId_ = ev.code; in HandleKeyEvent()
|