/hardware/qcom/msm8998/json-c/ |
D | json_object.h | 70 char *key; member 275 extern void json_object_object_add(struct json_object* obj, const char *key, 296 const char *key)); 317 const char *key, 329 extern void json_object_object_del(struct json_object* obj, const char *key); 346 # define json_object_object_foreach(obj,key,val) \ argument 347 char *key; \ 349 for(struct lh_entry *entry ## key = json_object_get_object(obj)->head, *entry_next ## key = NULL; \ 350 ({ if(entry ## key) { \ 351 key = (char*)entry ## key->k; \ [all …]
|
/hardware/interfaces/bluetooth/1.0/default/test/ |
D | properties.cc | 31 char key[PROP_KEY_MAX + 2]; member 39 static int property_find(const char *key) { in property_find() argument 41 if (strncmp(properties[i].key, key, PROP_KEY_MAX) == 0) { in property_find() 48 int property_set(const char *key, const char *value) { in property_set() argument 52 int prop_index = property_find(key); in property_set() 61 strncpy(properties[prop_index].key, key, PROP_KEY_MAX + 1); in property_set() 66 int property_get(const char *key, char *value, const char *default_value) { in property_get() argument 71 int prop_index = property_find(key); in property_get()
|
/hardware/libhardware_legacy/audio/ |
D | A2dpAudioInterface.cpp | 138 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 …]
|
D | AudioHardwareGeneric.cpp | 273 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/interfaces/media/omx/1.0/ |
D | IOmxStore.hal | 35 * Attribute is a key-value pair of strings. The `value` member is generally 46 string key; 54 * key: 'max-video-encoder-input-buffers', value-type: num 55 * key: 'supports-multiple-secure-codecs', value-type: enum<0,1> 56 * key: 'supports-secure-with-non-secure-codec', value-type: enum<0,1> 79 * key: 'bitrate-range', value-type: range<num> 80 * key: 'max-concurrent-instances', value-type: num 81 * key: 'max-supported-instances', value-type: num 84 * key: 'max-channel-count', value-type: num 85 * key: 'sample-rate-ranges', value-type: list<range<num>> [all …]
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | storage_manager.c | 40 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/ |
D | storage_manager.c | 40 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/ |
D | ALSAStreamOps.cpp | 191 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 …]
|
D | AudioHardwareALSA.cpp | 341 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/interfaces/weaver/1.0/ |
D | IWeaver.hal | 20 * corresponding key has been presented. 24 * key and value must be suitably large such that they cannot be easily guessed. 26 * Weaver is structured as an array of slots, each containing a key-value pair. 42 * Overwrites the identified slot with the provided key and value. 48 * @param key to write to the slot. 52 write(uint32_t slotId, vec<uint8_t> key, vec<uint8_t> value) 58 * The value is only returned if the provided key matches the key stored in 59 * the slot. The value is never returned if the wrong key is provided. 63 * correct key is provided. If called when throttling is active, the time 67 * @param key that is stored in the slot. [all …]
|
/hardware/interfaces/keymaster/3.0/ |
D | IKeymasterDevice.hal | 43 * key attestation certificates, signed with a key injected in a secure 75 * Generates a key, or key pair, returning a key blob and/or a description of the key. 82 * @return keyBlob Opaque, encrypted descriptor of the generated key, which generally contains a 83 * copy of the key material, wrapped in a key unavailable outside secure hardware. 85 * @return keyCharacteristics Description of the generated key. See KeyCharacteristis in 92 * Imports a key, or key pair, returning a key blob and/or a description of the key. 97 * @param keyFormat The format of the key material to import. See KeyFormat in types.hal. 99 * @pram keyData The key material to import, in the format specifed in keyFormat. 103 * @return keyBlob Opaque, encrypted descriptor of the generated key, which will generally 104 * contain a copy of the key material, wrapped in a key unavailable outside secure [all …]
|
D | types.hal | 55 ECIES_SINGLE_HASH_MODE = TagType:BOOL | 201, /* Whether the ephemeral public key is fed into the 57 INCLUDE_UNIQUE_ID = TagType:BOOL | 202, /* If true, attestation certificates for this key 77 * cryptographic operations with the key. */ 78 MAX_USES_PER_BOOT = TagType:UINT | 404, /* Number of times the key can be used per 87 NO_AUTH_REQUIRED = TagType:BOOL | 503, /** If key is usable without authentication. */ 93 * private/secret key operations, in seconds. Public 94 * key operations require no authentication. If 98 ALLOW_WHILE_ON_BODY = TagType:BOOL | 506, /* Allow key to be used after authentication timeout 103 ALL_APPLICATIONS = TagType:BOOL | 600, /* Specified to indicate key is usable by all 106 EXPORTABLE = TagType:BOOL | 602, /* If true, private/secret key can be exported, but only [all …]
|
/hardware/intel/img/hwcomposer/merrifield/common/observers/ |
D | UeventObserver.cpp | 135 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/ |
D | UeventObserver.cpp | 135 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/interfaces/camera/common/1.0/default/include/ |
D | CameraParameters.h | 55 void set(const char *key, const char *value); 56 void set(const char *key, int value); 57 void setFloat(const char *key, float value); 58 const char *get(const char *key) const; 59 int getInt(const char *key) const; 60 float getFloat(const char *key) const; 62 void remove(const char *key);
|
/hardware/interfaces/camera/common/1.0/default/ |
D | CameraParameters.cpp | 245 void CameraParameters::set(const char *key, const char *value) in set() argument 248 if (strchr(key, '=') || strchr(key, ';')) { in set() 258 mMap.replaceValueFor(String8(key), String8(value)); in set() 261 void CameraParameters::set(const char *key, int value) in set() argument 265 set(key, str); in set() 268 void CameraParameters::setFloat(const char *key, float value) in setFloat() argument 272 set(key, str); in setFloat() 275 const char *CameraParameters::get(const char *key) const in get() 277 String8 v = mMap.valueFor(String8(key)); in get() 283 int CameraParameters::getInt(const char *key) const in getInt() [all …]
|
/hardware/intel/common/libva/va/drm/ |
D | va_drm_utils.c | 33 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/google/easel/camera/include/ |
D | HdrPlusTypes.h | 214 void appendValueToString(std::string *strOut, const char* key, T value); 220 void appendVectorOrArrayToString(std::string *strOut, const char* key, T values); 223 void appendVectorArrayToString(std::string *strOut, const char* key, 227 void appendArrayArrayToString(std::string *strOut, const char* key, 455 void appendValueToString(std::string *strOut, const char* key, T value) { in appendValueToString() argument 457 (*strOut) += std::string(key) + ": " + std::to_string(value) + "\n"; in appendValueToString() 485 void appendVectorOrArrayToString(std::string *strOut, const char* key, T values) { in appendVectorOrArrayToString() argument 487 (*strOut) += std::string(key) + ": "; in appendVectorOrArrayToString() 500 void appendVectorArrayToString(std::string *strOut, const char* key, in appendVectorArrayToString() argument 503 (*strOut) += std::string(key) + ": "; in appendVectorArrayToString() [all …]
|
/hardware/libhardware/tests/keymaster/ |
D | keymaster_test.cpp | 408 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/qcom/gps/sdm845/utils/platform_lib_abstractions/loc_stub/src/ |
D | loc_stub_property_service.cpp | 33 int property_get(const char *key, char * value, const char *default_value) in property_get() argument 38 if (strcmp(key, "ro.baseband") == 0) { in property_get()
|
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_stub/src/ |
D | loc_stub_property_service.cpp | 33 int property_get(const char *key, char * value, const char *default_value) in property_get() argument 38 if (strcmp(key, "ro.baseband") == 0) { in property_get()
|
/hardware/qcom/gps/sdm845/utils/platform_lib_abstractions/loc_pla/src/ |
D | platform_lib_property_service.cpp | 36 int platform_lib_abstraction_property_get(const char *key, char *value, const char *default_value) in platform_lib_abstraction_property_get() argument 38 return property_get(key, value, default_value); in platform_lib_abstraction_property_get()
|
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_pla/src/ |
D | platform_lib_property_service.cpp | 36 int platform_lib_abstraction_property_get(const char *key, char *value, const char *default_value) in platform_lib_abstraction_property_get() argument 38 return property_get(key, value, default_value); in platform_lib_abstraction_property_get()
|
/hardware/interfaces/drm/1.0/vts/functional/ |
D | drm_hal_vendor_test.cpp | 168 for (auto key : config.keys) { in TEST_P() local 169 ASSERT_TRUE(key.keyId.size() > 0) << kVendorStr in TEST_P() 171 ASSERT_TRUE(key.keyId.size() > 0) << kVendorStr in TEST_P() 427 keyValue.key = it->first; in toHidlKeyedVector() 1005 for (auto key : config.keys) { in TEST_P() local 1006 if (key.isSecure) { in TEST_P() 1260 const vector<uint8_t>& key, Status expectedStatus); 1262 const hidl_vec<SubSample>& subSamples, const vector<uint8_t>& key); 1264 const hidl_vec<SubSample>& subSamples, const vector<uint8_t>& key); 1296 const vector<uint8_t>& key, Status expectedStatus) { in decrypt() argument [all …]
|
/hardware/libhardware/tests/input/evdev/ |
D | InputMocks.h | 55 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
|