Home
last modified time | relevance | path

Searched refs:inputId (Results 1 – 6 of 6) sorted by relevance

/base/security/device_auth/services/frameworks/src/os_account_adapter/
Dos_account_adapter.cpp26 int32_t DevAuthGetRealOsAccountLocalId(int32_t inputId) in DevAuthGetRealOsAccountLocalId() argument
28 if (inputId == ANY_OS_ACCOUNT) { in DevAuthGetRealOsAccountLocalId()
44 } else if (inputId >= 0) { in DevAuthGetRealOsAccountLocalId()
45 LOGI("[Account]: Use input os account! [Id]: %d", inputId); in DevAuthGetRealOsAccountLocalId()
46 return inputId; in DevAuthGetRealOsAccountLocalId()
48 LOGE("[Account]: The input os account is invalid! [Id]: %d", inputId); in DevAuthGetRealOsAccountLocalId()
/base/security/device_auth/test/unittest/tdd_framework/common/src/
Dos_account_adapter_mock.c19 int32_t DevAuthGetRealOsAccountLocalId(int32_t inputId) in DevAuthGetRealOsAccountLocalId() argument
21 return inputId; in DevAuthGetRealOsAccountLocalId()
/base/security/device_auth/test/unittest/deviceauth/source/
Dos_account_adapter_mock.c19 int32_t DevAuthGetRealOsAccountLocalId(int32_t inputId) in DevAuthGetRealOsAccountLocalId() argument
21 return inputId; in DevAuthGetRealOsAccountLocalId()
/base/security/device_auth/services/frameworks/src/os_account_adapter_mock/
Dos_account_adapter_mock.cpp19 int32_t DevAuthGetRealOsAccountLocalId(int32_t inputId) in DevAuthGetRealOsAccountLocalId() argument
21 (void)inputId; in DevAuthGetRealOsAccountLocalId()
/base/security/device_auth/services/frameworks/inc/os_account_adapter/
Dos_account_adapter.h25 int32_t DevAuthGetRealOsAccountLocalId(int32_t inputId);
/base/msdp/device_status/services/device_manager/src/
Ddevice.cpp133 struct input_id inputId; in QueryDeviceInfo() local
134 rc = ioctl(fd_, EVIOCGID, &inputId); in QueryDeviceInfo()
138 bus_ = inputId.bustype; in QueryDeviceInfo()
139 product_ = inputId.product; in QueryDeviceInfo()
140 vendor_ = inputId.vendor; in QueryDeviceInfo()
141 version_ = inputId.version; in QueryDeviceInfo()