/hardware/invensense/libsensors_iio/software/core/mllite/ |
H A D | storage_manager.c | 36 unsigned int key; member in struct:data_header_t 62 * @param[in] key The key associated with your data type should be unique across MPL. 63 * The key should change when your type of data for storage changes. 67 inv_error_t (*save_func)(unsigned char *data), size_t size, unsigned int key) 72 if (key == ds.hd[kk].key) { 81 ds.hd[ds.num].key = key; 102 * Finds key i 66 inv_register_load_store(inv_error_t (load_func)const unsigned char *data), inv_error_t (*save_func)(unsigned char *data), size_t size, unsigned int key) argument 105 inv_find_entry(unsigned int key) argument [all...] |
H A D | storage_manager.h | 19 size_t size, unsigned int key);
|
/hardware/invensense/mlsdk/mllite/ |
H A D | mldl.h | 136 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);
|
H A D | mldl.c | 88 unsigned short (*sGetAddress) (unsigned short key) = NULL; 100 void inv_set_get_address(unsigned short (*func) (unsigned short key)) argument 111 * DMP code basing on the fact that the key is assigned a 113 * @param key the DMP key 114 * @return whether the feature associated with the key is supported 117 uint_fast8_t inv_dmpkey_supported(unsigned short key) argument 126 memAddr = sGetAddress(key); 128 MPL_LOGV("inv_set_mpu_memory unsupported key\n"); 138 * MPU memory location specified by the key 152 inv_get_mpu_memory_original(unsigned short key, unsigned short length, unsigned char *buffer) argument 172 inv_dl_get_address(unsigned short key) argument 822 inv_get_mpu_memory(unsigned short key, unsigned short length, unsigned char *buffer) argument 879 inv_set_mpu_memory(unsigned short key, unsigned short length, const unsigned char *buffer) argument [all...] |
H A D | compass.c | 426 config.key = MPU_SLAVE_WRITE_REGISTERS; 459 config.key = MPU_SLAVE_READ_REGISTERS; 491 config.key = MPU_SLAVE_READ_SCALE; 515 config.key = MPU_SLAVE_OFFSET_VALS; 557 config.key = MPU_SLAVE_RANGE_CHECK;
|
/hardware/libhardware_legacy/audio/ |
H A D | A2dpAudioInterface.cpp | 137 String8 key; local 142 key = "bluetooth_enabled"; 143 if (param.get(key, value) == NO_ERROR) { 148 param.remove(key); 150 key = String8("A2dpSuspended"); 151 if (param.get(key, value) == NO_ERROR) { 156 param.remove(key); 174 String8 key; local 176 key = "bluetooth_enabled"; 177 if (param.get(key, valu 378 String8 key = String8("a2dp_sink_address"); local 420 String8 key = String8("a2dp_sink_address"); local [all...] |
H A D | AudioHardwareGeneric.cpp | 273 String8 key = String8(AudioParameter::keyRouting); local 278 if (param.getInt(key, device) == NO_ERROR) { 280 param.remove(key); 293 String8 key = String8(AudioParameter::keyRouting); local 295 if (param.get(key, value) == NO_ERROR) { 296 param.addInt(key, (int)mDevice); 381 String8 key = String8(AudioParameter::keyRouting); local 386 if (param.getInt(key, device) == NO_ERROR) { 388 param.remove(key); 401 String8 key local [all...] |
/hardware/ti/wlan/mac80211/ti-utils/ |
H A D | plt.c | 45 struct nlattr *key; local 62 key = nla_nest_start(msg, NL80211_ATTR_TESTDATA); 63 if (!key) { 71 nla_nest_end(msg, key); 87 struct nlattr *key; local 98 key = nla_nest_start(msg, NL80211_ATTR_TESTDATA); 99 if (!key) { 109 nla_nest_end(msg, key); 125 struct nlattr *key; local 137 key 218 struct nlattr *key; local 270 struct nlattr *key; local 309 struct nlattr *key; local 382 struct nlattr *key; local 412 struct nlattr *key; local 442 struct nlattr *key; local 472 struct nlattr *key; local 536 struct nlattr *key; local [all...] |
H A D | misc_cmds.c | 26 struct nlattr *key; local 50 key = nla_nest_start(msg, NL80211_ATTR_TESTDATA); 51 if (!key) { 58 nla_nest_end(msg, key); 88 struct nlattr *key; 94 key = nla_nest_start(msg, NL80211_ATTR_TESTDATA); 95 if (!key) 101 nla_nest_end(msg, key);
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
H A D | miniopt.h | 51 char key[MINIOPT_MAXKEY]; member in struct:miniopt
|
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | ALSAStreamOps.cpp | 191 String8 key = String8(AudioParameter::keyRouting); local 205 if (param.getInt(key, device) == NO_ERROR) { 220 param.remove(key); 224 key = String8(AudioParameter::keyHandleFm); 225 if (param.getInt(key, device) == NO_ERROR) { 231 param.remove(key); 243 String8 key = String8(AudioParameter::keyRouting); local 245 if (param.get(key, value) == NO_ERROR) { 246 param.addInt(key, (int)mDevices); 250 key [all...] |
H A D | AudioHardwareALSA.cpp | 341 String8 key; local 349 key = String8(TTY_MODE_KEY); 350 if (param.get(key, value) == NO_ERROR) { 369 key = String8(FLUENCE_KEY); 370 if (param.get(key, value) == NO_ERROR) { 390 key = String8(INCALLMUSIC_KEY); 391 if (param.get(key, value) == NO_ERROR) { 411 key = String8(ANC_KEY); 412 if (param.get(key, value) == NO_ERROR) { 424 key 519 String8 key = String8(DUALMIC_KEY); local [all...] |
/hardware/invensense/libsensors_iio/software/core/mllite/linux/ |
H A D | ml_sysfs_helper.h | 27 inv_error_t inv_get_sysfs_key(unsigned char *key);
|
/hardware/ti/omap4xxx/security/tf_crypto_sst/ |
H A D | lib_object.c | 60 key; member in struct:LIB_OBJECT_NODE 87 nKey1 == pNode->key.nHandle; 92 &pNode->key.sStorageName, 97 uint32_t nLength2 = pNode->key.f.nFilenameLength; 103 &pNode->key.f.sFilename, 178 pNew->key.nHandle = 1; 188 if (pLast->key.nHandle == LIB_OBJECT_HANDLE16_MAX) 194 pNew->key.nHandle = pLast->key.nHandle + 1; 208 if (pNode->key [all...] |
/hardware/libhardware_legacy/include/hardware_legacy/ |
H A D | IMountService.h | 51 virtual int createSecureContainer(String16 id, int sizeMb, String16 fstype, String16 key, int ownerUid) = 0; 54 virtual int mountSecureContainer(String16 id, String16 key, int ownerUid) = 0;
|
/hardware/invensense/libsensors_iio/software/core/driver/include/linux/ |
H A D | mpu.h | 89 * @key: key for MPL library. 105 __u8 key[16]; member in struct:mpu_platform_data
|
/hardware/libhardware_legacy/qemu/ |
H A D | qemu.c | 159 char key[PROPERTY_KEY_MAX]; local 163 ret = snprintf(key, sizeof key, "ro.kernel.android.%s", name); 164 if (ret >= (int)sizeof key) 167 if (property_get(key, prop, "") == 0) {
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/ |
H A D | eapol.h | 81 unsigned char key[1]; /* Key (optional) */ member in struct:__anon32 181 uint8 key[EAPOL_WPA_MAX_KEY_SIZE]; member in struct:__anon36
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
H A D | miniopt.c | 65 memset(t->key, 0, MINIOPT_MAXKEY); 103 memcpy(t->key, p + 2, keylen);
|
/hardware/msm7k/libaudio/ |
H A D | AudioHardware.cpp | 285 String8 key; local 295 key = String8(BT_NREC_KEY); 296 if (param.get(key, value) == NO_ERROR) { 305 key = String8(BT_NAME_KEY); 306 if (param.get(key, value) == NO_ERROR) { 831 String8 key = String8(AudioParameter::keyRouting); local 836 if (param.getInt(key, device) == NO_ERROR) { 840 param.remove(key); 853 String8 key = String8(AudioParameter::keyRouting); local 855 if (param.get(key, valu 1093 String8 key = String8(AudioParameter::keyRouting); local 1119 String8 key = String8(AudioParameter::keyRouting); local [all...] |
/hardware/msm7k/libaudio-qsd8k/ |
H A D | AudioHardware.cpp | 383 String8 key; local 396 key = String8(HAC_KEY); 397 if (param.get(key, value) == NO_ERROR) { 408 key = String8(BT_NREC_KEY); 409 if (param.get(key, value) == NO_ERROR) { 418 key = String8(BT_NAME_KEY); 419 if (param.get(key, value) == NO_ERROR) { 436 key = String8("noise_suppression"); 437 if (param.get(key, value) == NO_ERROR) { 484 key 514 String8 key; local 1727 String8 key = String8(AudioParameter::keyRouting); local 1749 String8 key = String8(AudioParameter::keyRouting); local 1972 String8 key = String8(AudioParameter::keyInputSource); local 2008 String8 key = String8(AudioParameter::keyRouting); local [all...] |
/hardware/samsung_slsi/exynos5/libkeymaster/ |
H A D | keymaster_mobicore.cpp | 101 ALOGE("Unsupported key type %d", key_type); 113 ALOGE("key size(%d) is not supported\n", rsa_params->modulus_size); 137 const uint8_t* key, const size_t key_length, 144 if (key == NULL) { 145 ALOGE("input key == NULL"); 148 ALOGE("output key blob or length == NULL"); 153 Unique_PKCS8_PRIV_KEY_INFO pkcs8(d2i_PKCS8_PRIV_KEY_INFO(NULL, &key, key_length)); 167 /* change key format */ 170 logOpenSSLError("get rsa key format"); 185 ALOGE("key siz 136 exynos_km_import_keypair(const keymaster_device_t* dev, const uint8_t* key, const size_t key_length, uint8_t** key_blob, size_t* key_blob_length) argument [all...] |
/hardware/libhardware/include/hardware/ |
H A D | keymaster.h | 61 * Asymmetric key pair types. 68 * Parameters needed to generate an RSA key. 110 * Generates a public and private key. The key-blob returned is opaque 120 * Imports a public and private key pair. The imported keys will be in 121 * PKCS#8 format with DER encoding (Java standard). The key-blob 128 const uint8_t* key, const size_t key_length, 132 * Gets the public key part of a key pair. The public key mus [all...] |
/hardware/qcom/keymaster/ |
H A D | keymaster_qcom.cpp | 107 ALOGE("Output public key buffer == NULL"); 112 ALOGE("Supplied key blob was NULL"); 118 ALOGE("key blob appears to be truncated"); 123 ALOGE("Cannot read key; it was not made by this keymaster"); 173 UniquePtr<uint8_t> key(static_cast<uint8_t*>(malloc(len))); 174 if (key.get() == NULL) { 175 ALOGE("Could not allocate memory for public key data"); 179 unsigned char* tmp = reinterpret_cast<unsigned char*>(key.get()); 185 *x509_data = key.release(); 323 ALOGE("Unsupported key typ 373 qcom_km_import_keypair(const keymaster_device_t* dev, const uint8_t* key, const size_t key_length, uint8_t** keyBlob, size_t* keyBlobLength) argument [all...] |
/hardware/libhardware/tests/keymaster/ |
H A D | keymaster_test.cpp | 190 * DER-encoded PKCS#8 format RSA key. Generated using: 362 << "Should generate an RSA key with 512 bit modulus size"; 363 UniqueKey key(&sDevice, key_blob, key_blob_length); 370 << "Should be able to retrieve RSA public key successfully"; 380 << "Generated key type should be of type RSA"; 384 << "Should be able to extract RSA key from EVP_PKEY"; 405 << "Should not be able to generate an RSA key with null params"; 416 << "Should not generate an unknown key type"; 426 << "Should successfully import an RSA key"; 427 UniqueKey key( [all...] |