Home
last modified time | relevance | path

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

12

/hardware/ti/wlan/mac80211/ti-utils/
Dplt.c45 struct nlattr *key; in plt_power_mode() local
62 key = nla_nest_start(msg, NL80211_ATTR_TESTDATA); in plt_power_mode()
63 if (!key) { in plt_power_mode()
71 nla_nest_end(msg, key); in plt_power_mode()
87 struct nlattr *key; in plt_tune_channel() local
98 key = nla_nest_start(msg, NL80211_ATTR_TESTDATA); in plt_tune_channel()
99 if (!key) { in plt_tune_channel()
109 nla_nest_end(msg, key); in plt_tune_channel()
125 struct nlattr *key; in plt_ref_point() local
137 key = nla_nest_start(msg, NL80211_ATTR_TESTDATA); in plt_ref_point()
[all …]
Dmisc_cmds.c26 struct nlattr *key; in handle_push_nvs() local
50 key = nla_nest_start(msg, NL80211_ATTR_TESTDATA); in handle_push_nvs()
51 if (!key) { in handle_push_nvs()
58 nla_nest_end(msg, key); in handle_push_nvs()
88 struct nlattr *key;
94 key = nla_nest_start(msg, NL80211_ATTR_TESTDATA);
95 if (!key)
101 nla_nest_end(msg, key);
/hardware/libhardware_legacy/audio/
DA2dpAudioInterface.cpp137 String8 key; in setParameters() local
142 key = "bluetooth_enabled"; in setParameters()
143 if (param.get(key, value) == NO_ERROR) { in setParameters()
148 param.remove(key); in setParameters()
150 key = String8("A2dpSuspended"); in setParameters()
151 if (param.get(key, value) == NO_ERROR) { in setParameters()
156 param.remove(key); in setParameters()
174 String8 key; in getParameters() local
176 key = "bluetooth_enabled"; in getParameters()
177 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/libsensors_iio/software/core/mllite/
Dstorage_manager.c36 unsigned int key; member
67 … inv_error_t (*save_func)(unsigned char *data), size_t size, unsigned int key) in inv_register_load_store() argument
72 if (key == ds.hd[kk].key) { in inv_register_load_store()
81 ds.hd[ds.num].key = key; in inv_register_load_store()
105 static int inv_find_entry(unsigned int key) in inv_find_entry() argument
109 if (key == ds.hd[kk].key) { in inv_find_entry()
133 if (hd->key != DEFAULT_KEY) in inv_load_mpl_states()
145 entry = inv_find_entry(hd->key); in inv_load_mpl_states()
186 hd->key = ds.hd[kk].key; in inv_save_mpl_states()
196 hd->key = DEFAULT_KEY; in inv_save_mpl_states()
Dstorage_manager.h19 size_t size, unsigned int key);
/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/invensense/mlsdk/mllite/
Dmldl.h136 inv_error_t inv_get_mpu_memory(unsigned short key,
139 inv_error_t inv_set_mpu_memory(unsigned short key,
151 inv_error_t inv_get_mpu_memory_original(unsigned short key,
154 void inv_set_get_address(unsigned short (*func) (unsigned short key));
155 unsigned short inv_dl_get_address(unsigned short key);
156 uint_fast8_t inv_dmpkey_supported(unsigned short key);
DdmpDefault.c305 static unsigned short inv_setup_dmpGetAddress(unsigned short key) in inv_setup_dmpGetAddress() argument
312 keys[ kk ].key = kk; in inv_setup_dmpGetAddress()
315 keys[ dmpTConfig[kk].key ].addr = dmpTConfig[kk].addr; in inv_setup_dmpGetAddress()
319 if ( key >= NUM_KEYS ) in inv_setup_dmpGetAddress()
321 return keys[ key ].addr; in inv_setup_dmpGetAddress()
364 config.key = MPU_SLAVE_CONFIG_ODR_SUSPEND; in inv_setup_dmp()
378 config.key = MPU_SLAVE_CONFIG_ODR_RESUME; in inv_setup_dmp()
388 config.key = MPU_SLAVE_CONFIG_IRQ_SUSPEND; in inv_setup_dmp()
399 config.key = MPU_SLAVE_CONFIG_IRQ_RESUME; in inv_setup_dmp()
Dmldl.c88 unsigned short (*sGetAddress) (unsigned short key) = NULL;
100 void inv_set_get_address(unsigned short (*func) (unsigned short key)) in inv_set_get_address() argument
117 uint_fast8_t inv_dmpkey_supported(unsigned short key) in inv_dmpkey_supported() argument
126 memAddr = sGetAddress(key); in inv_dmpkey_supported()
152 inv_error_t inv_get_mpu_memory_original(unsigned short key, in inv_get_mpu_memory_original() argument
162 offset = sGetAddress(key); in inv_get_mpu_memory_original()
172 unsigned short inv_dl_get_address(unsigned short key) in inv_dl_get_address() argument
179 offset = sGetAddress(key); in inv_dl_get_address()
822 inv_error_t inv_get_mpu_memory(unsigned short key, in inv_get_mpu_memory() argument
833 memAddr = sGetAddress(key); in inv_get_mpu_memory()
[all …]
DdmpDefaultMantis.c408 static unsigned short inv_setup_dmpGetAddress( unsigned short key ) in inv_setup_dmpGetAddress() argument
415 keys[ kk ].key = kk; in inv_setup_dmpGetAddress()
418 keys[ dmpTConfig[kk].key ].addr = dmpTConfig[kk].addr; in inv_setup_dmpGetAddress()
422 if ( key >= NUM_KEYS ) in inv_setup_dmpGetAddress()
424 return keys[ key ].addr; in inv_setup_dmpGetAddress()
Dcompass.c426 config.key = MPU_SLAVE_WRITE_REGISTERS; in inv_compass_write_reg()
459 config.key = MPU_SLAVE_READ_REGISTERS; in inv_compass_read_reg()
491 config.key = MPU_SLAVE_READ_SCALE; in inv_compass_read_scale()
515 config.key = MPU_SLAVE_OFFSET_VALS; in inv_set_compass_offset()
557 config.key = MPU_SLAVE_RANGE_CHECK; in inv_compass_check_range()
/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/libhardware/tests/keymaster/
Dkeymaster_test.cpp363 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_P() local
427 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_F() local
486 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_F() local
521 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_F() local
524 sDevice->get_keypair_public(sDevice, key.get(), key.length(), in TEST_F()
540 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_F() local
670 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_F() local
710 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_F() local
760 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_F() local
788 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_F() local
[all …]
/hardware/msm7k/libaudio-qsd8k/
DAudioHardware.cpp383 String8 key; in setParameters() local
396 key = String8(HAC_KEY); in setParameters()
397 if (param.get(key, value) == NO_ERROR) { in setParameters()
408 key = String8(BT_NREC_KEY); in setParameters()
409 if (param.get(key, value) == NO_ERROR) { in setParameters()
418 key = String8(BT_NAME_KEY); in setParameters()
419 if (param.get(key, value) == NO_ERROR) { in setParameters()
436 key = String8("noise_suppression"); in setParameters()
437 if (param.get(key, value) == NO_ERROR) { in setParameters()
484 key = String8("tty_mode"); in setParameters()
[all …]
/hardware/msm7k/libaudio/
DAudioHardware.cpp285 String8 key; in setParameters() local
295 key = String8(BT_NREC_KEY); in setParameters()
296 if (param.get(key, value) == NO_ERROR) { in setParameters()
305 key = String8(BT_NAME_KEY); in setParameters()
306 if (param.get(key, value) == NO_ERROR) { in setParameters()
831 String8 key = String8(AudioParameter::keyRouting); in setParameters() local
836 if (param.getInt(key, device) == NO_ERROR) { in setParameters()
840 param.remove(key); in setParameters()
853 String8 key = String8(AudioParameter::keyRouting); in getParameters() local
855 if (param.get(key, value) == NO_ERROR) { in getParameters()
[all …]
/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/samsung_slsi/exynos5/libkeymaster/
Dkeymaster_mobicore.cpp137 const uint8_t* key, const size_t key_length, in exynos_km_import_keypair() argument
144 if (key == NULL) { in exynos_km_import_keypair()
153 Unique_PKCS8_PRIV_KEY_INFO pkcs8(d2i_PKCS8_PRIV_KEY_INFO(NULL, &key, key_length)); in exynos_km_import_keypair()
313 UniquePtr<uint8_t> key(static_cast<uint8_t*>(malloc(len))); in exynos_km_get_keypair_public() local
314 if (key.get() == NULL) { in exynos_km_get_keypair_public()
319 unsigned char* tmp = reinterpret_cast<unsigned char*>(key.get()); in exynos_km_get_keypair_public()
326 *x509_data = key.release(); in exynos_km_get_keypair_public()
/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/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()
/hardware/qcom/keymaster/
Dkeymaster_qcom.cpp173 UniquePtr<uint8_t> key(static_cast<uint8_t*>(malloc(len))); in qcom_km_get_keypair_public() local
174 if (key.get() == NULL) { in qcom_km_get_keypair_public()
179 unsigned char* tmp = reinterpret_cast<unsigned char*>(key.get()); in qcom_km_get_keypair_public()
185 *x509_data = key.release(); in qcom_km_get_keypair_public()
374 const uint8_t* key, const size_t key_length, in qcom_km_import_keypair() argument
382 if (key == NULL) { in qcom_km_import_keypair()
419 memcpy((unsigned char *)ihandle.ion_sbuffer, key, key_length); in qcom_km_import_keypair()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dminiopt.h51 char key[MINIOPT_MAXKEY]; member
/hardware/invensense/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.h27 inv_error_t inv_get_sysfs_key(unsigned char *key);

12