Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 109) sorted by relevance

12345

/hardware/bsp/intel/peripheral/libupm/src/at42qt1070/
Dat42qt1070.cxx159 AT42QT1070::getAVE(uint8_t key) in getAVE() argument
163 if (key > 6) { in getAVE()
167 value = readByte(REG_AVE0 + key); in getAVE()
174 AT42QT1070::setAVE(uint8_t key, uint8_t ave) in setAVE() argument
178 if (key > 6) { in setAVE()
195 value = readByte(REG_AVE0 + key); in setAVE()
198 writeByte(REG_AVE0 + key, value); in setAVE()
200 return getAVE(key); in setAVE()
204 AT42QT1070::getAKSGroup(uint8_t key) in getAKSGroup() argument
208 if (key > 6) { in getAKSGroup()
[all …]
Dat42qt1070.h230 uint8_t getAVE(uint8_t key);
239 uint8_t setAVE(uint8_t key, uint8_t ave);
247 uint8_t getAKSGroup(uint8_t key);
256 uint8_t setAKSGroup(uint8_t key, uint8_t group);
/hardware/libhardware_legacy/audio/
DA2dpAudioInterface.cpp138 String8 key; in setParameters() local
143 key = "bluetooth_enabled"; in setParameters()
144 if (param.get(key, value) == NO_ERROR) { in setParameters()
149 param.remove(key); in setParameters()
151 key = String8("A2dpSuspended"); in setParameters()
152 if (param.get(key, value) == NO_ERROR) { in setParameters()
157 param.remove(key); in setParameters()
175 String8 key; in getParameters() local
177 key = "bluetooth_enabled"; in getParameters()
178 if (param.get(key, value) == NO_ERROR) { in getParameters()
[all …]
DAudioHardwareGeneric.cpp273 String8 key = String8(AudioParameter::keyRouting); in setParameters() local
278 if (param.getInt(key, device) == NO_ERROR) { in setParameters()
280 param.remove(key); in setParameters()
293 String8 key = String8(AudioParameter::keyRouting); in getParameters() local
295 if (param.get(key, value) == NO_ERROR) { in getParameters()
296 param.addInt(key, (int)mDevice); in getParameters()
381 String8 key = String8(AudioParameter::keyRouting); in setParameters() local
386 if (param.getInt(key, device) == NO_ERROR) { in setParameters()
388 param.remove(key); in setParameters()
401 String8 key = String8(AudioParameter::keyRouting); in getParameters() local
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dstorage_manager.c40 unsigned int key; member
71 … inv_error_t (*save_func)(unsigned char *data), size_t size, unsigned int key) in inv_register_load_store() argument
76 if (key == ds.hd[kk].key) { in inv_register_load_store()
85 ds.hd[ds.num].key = key; in inv_register_load_store()
109 static int inv_find_entry(unsigned int key) in inv_find_entry() argument
113 if (key == ds.hd[kk].key) { in inv_find_entry()
139 if (hd->key != DEFAULT_KEY) in inv_load_mpl_states()
151 entry = inv_find_entry(hd->key); in inv_load_mpl_states()
192 hd->key = ds.hd[kk].key; in inv_save_mpl_states()
202 hd->key = DEFAULT_KEY; in inv_save_mpl_states()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dstorage_manager.c40 unsigned int key; member
71 … inv_error_t (*save_func)(unsigned char *data), size_t size, unsigned int key) in inv_register_load_store() argument
76 if (key == ds.hd[kk].key) { in inv_register_load_store()
85 ds.hd[ds.num].key = key; in inv_register_load_store()
109 static int inv_find_entry(unsigned int key) in inv_find_entry() argument
113 if (key == ds.hd[kk].key) { in inv_find_entry()
139 if (hd->key != DEFAULT_KEY) in inv_load_mpl_states()
151 entry = inv_find_entry(hd->key); in inv_load_mpl_states()
192 hd->key = ds.hd[kk].key; in inv_save_mpl_states()
202 hd->key = DEFAULT_KEY; in inv_save_mpl_states()
/hardware/qcom/audio/legacy/alsa_sound/
DALSAStreamOps.cpp191 String8 key = String8(AudioParameter::keyRouting); in setParameters() local
205 if (param.getInt(key, device) == NO_ERROR) { in setParameters()
220 param.remove(key); in setParameters()
224 key = String8(AudioParameter::keyHandleFm); in setParameters()
225 if (param.getInt(key, device) == NO_ERROR) { in setParameters()
231 param.remove(key); in setParameters()
243 String8 key = String8(AudioParameter::keyRouting); in getParameters() local
245 if (param.get(key, value) == NO_ERROR) { in getParameters()
246 param.addInt(key, (int)mDevices); in getParameters()
250 key = String8(AudioParameter::keyVoipCheck); in getParameters()
[all …]
DAudioHardwareALSA.cpp341 String8 key; in setParameters() local
349 key = String8(TTY_MODE_KEY); in setParameters()
350 if (param.get(key, value) == NO_ERROR) { in setParameters()
369 key = String8(FLUENCE_KEY); in setParameters()
370 if (param.get(key, value) == NO_ERROR) { in setParameters()
390 key = String8(INCALLMUSIC_KEY); in setParameters()
391 if (param.get(key, value) == NO_ERROR) { in setParameters()
411 key = String8(ANC_KEY); in setParameters()
412 if (param.get(key, value) == NO_ERROR) { in setParameters()
424 key = String8(AudioParameter::keyRouting); in setParameters()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/
Dads2gas_apple.pl136 while (($key, $value) = each(%register_aliases))
138 s/\b$key\b/$value/g;
210 while (($key, $value) = each(%macro_aliases))
212 $key =~ s/\$/\\\$/;
213 s/$key\b/$value/g;
/hardware/intel/img/hwcomposer/merrifield/common/observers/
DUeventObserver.cpp135 String8 key(event); in registerListener() local
136 if (mListeners.indexOfKey(key) >= 0) { in registerListener()
149 mListeners.add(key, listener); in registerListener()
195 String8 key; in onUevent() local
197 key = String8(msg); in onUevent()
198 if (mListeners.indexOfKey(key) >= 0) { in onUevent()
200 listener = mListeners.valueFor(key); in onUevent()
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/observers/
DUeventObserver.cpp135 String8 key(event); in registerListener() local
136 if (mListeners.indexOfKey(key) >= 0) { in registerListener()
149 mListeners.add(key, listener); in registerListener()
195 String8 key; in onUevent() local
197 key = String8(msg); in onUevent()
198 if (mListeners.indexOfKey(key) >= 0) { in onUevent()
200 listener = mListeners.valueFor(key); in onUevent()
/hardware/ti/omap4-aah/security/tf_crypto_sst/
Dlib_object.c60 key; member
87 nKey1 == pNode->key.nHandle; in libObjectKeyEqualNode()
92 &pNode->key.sStorageName, in libObjectKeyEqualNode()
97 uint32_t nLength2 = pNode->key.f.nFilenameLength; in libObjectKeyEqualNode()
103 &pNode->key.f.sFilename, in libObjectKeyEqualNode()
178 pNew->key.nHandle = 1; in libObjectAdd()
188 if (pLast->key.nHandle == LIB_OBJECT_HANDLE16_MAX) in libObjectAdd()
194 pNew->key.nHandle = pLast->key.nHandle + 1; in libObjectAdd()
208 if (pNode->key.nHandle > nFreeHandle) in libObjectAdd()
211 pNew->key.nHandle = nFreeHandle; in libObjectAdd()
/hardware/ti/omap4xxx/security/tf_crypto_sst/
Dlib_object.c60 key; member
87 nKey1 == pNode->key.nHandle; in libObjectKeyEqualNode()
92 &pNode->key.sStorageName, in libObjectKeyEqualNode()
97 uint32_t nLength2 = pNode->key.f.nFilenameLength; in libObjectKeyEqualNode()
103 &pNode->key.f.sFilename, in libObjectKeyEqualNode()
178 pNew->key.nHandle = 1; in libObjectAdd()
188 if (pLast->key.nHandle == LIB_OBJECT_HANDLE16_MAX) in libObjectAdd()
194 pNew->key.nHandle = pLast->key.nHandle + 1; in libObjectAdd()
208 if (pNode->key.nHandle > nFreeHandle) in libObjectAdd()
211 pNew->key.nHandle = nFreeHandle; in libObjectAdd()
/hardware/intel/common/libva/va/drm/
Dva_drm_utils.c33 const char *key; member
63 for (m = g_driver_name_map; m->key != NULL; m++) { in VA_DRM_GetDriverName()
65 strncmp(drm_version->name, m->key, m->key_len) == 0) in VA_DRM_GetDriverName()
/hardware/libhardware/tests/keymaster/
Dkeymaster_test.cpp408 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_P() local
455 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_P() local
524 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_F() local
560 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_F() local
619 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_F() local
641 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_F() local
676 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_F() local
679 sDevice->get_keypair_public(sDevice, key.get(), key.length(), in TEST_F()
695 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_F() local
698 sDevice->get_keypair_public(sDevice, key.get(), key.length(), in TEST_F()
[all …]
/hardware/libhardware/tests/input/evdev/
DInputMocks.h55 virtual bool hasKey(int32_t key) const override { return mKeys.count(key); } in hasKey() argument
69 void addKeys(I key, Is... keys) { in addKeys() argument
71 mKeys.insert(key); in addKeys()
82 virtual int32_t getKeyState(int32_t key) const override { return 0; } in getKeyState() argument
/hardware/libhardware_legacy/qemu/
Dqemu.c159 char key[PROPERTY_KEY_MAX]; in qemu_channel_open_tty() local
163 ret = snprintf(key, sizeof key, "ro.kernel.android.%s", name); in qemu_channel_open_tty()
164 if (ret >= (int)sizeof key) in qemu_channel_open_tty()
167 if (property_get(key, prop, "") == 0) { in qemu_channel_open_tty()
/hardware/bsp/intel/peripheral/libupm/src/sm130/
Dsm130.cxx250 bool SM130::authenticate(uint8_t block, KEY_TYPES_T keyType, string key) in authenticate() argument
257 if (key.empty()) in authenticate()
260 if (key.size() != 6) in authenticate()
269 key.clear(); in authenticate()
275 data += key; in authenticate()
538 bool SM130::writeKey(uint8_t eepromSector, KEY_TYPES_T keyType, string key) in writeKey() argument
553 if (key.size() != 6) in writeKey()
564 data += key; in writeKey()
/hardware/libhardware_legacy/include/hardware_legacy/
DIMountService.h51 …virtual int createSecureContainer(String16 id, int sizeMb, String16 fstype, String16 key, int owne…
54 virtual int mountSecureContainer(String16 id, String16 key, int ownerUid) = 0;
/hardware/libhardware/modules/radio/
Dradio_hal_tool.c131 radio_metadata_key_t key; in get_tuner_metadata() local
136 radio_metadata_get_at_index(info.metadata, i, &key, &type, &value, &size); in get_tuner_metadata()
139 "Type: %d\n", key, type); in get_tuner_metadata()
/hardware/libhardware/modules/input/evdev/
DInputHub.cpp105 virtual bool hasKey(int32_t key) const override;
113 virtual int32_t getKeyState(int32_t key) const override;
273 bool EvdevDeviceNode::hasKey(int32_t key) const { in hasKey()
274 if (key >= 0 && key <= KEY_MAX) { in hasKey()
275 return testBit(key, mKeyBitmask); in hasKey()
331 int32_t EvdevDeviceNode::getKeyState(int32_t key) const { in getKeyState()
332 if (key >= 0 && key <= KEY_MAX) { in getKeyState()
333 if (testBit(key, mKeyBitmask)) { in getKeyState()
337 return testBit(key, keyState) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getKeyState()
/hardware/libhardware/include/hardware/
Dkeymaster1.h66 int (*import_keypair)(const struct keymaster1_device* dev, const uint8_t* key,
396 const keymaster_key_blob_t* key);
452 const keymaster_key_blob_t* key,
Dkeymaster2.h277 const keymaster_key_blob_t* key);
333 const keymaster_key_blob_t* key,
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
Deapol.h81 unsigned char key[1]; /* Key (optional) */
181 uint8 key[EAPOL_WPA_MAX_KEY_SIZE];
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dminiopt.c65 memset(t->key, 0, MINIOPT_MAXKEY); in miniopt()
103 memcpy(t->key, p + 2, keylen); in miniopt()

12345