/system/vold/ |
H A D | Devmapper.h | 27 static int create(const char *name, const char *loopFile, const char *key,
|
H A D | VolumeManager.h | 91 const char *key, int ownerUid); 94 int mountAsec(const char *id, const char *key, int ownerUid); 102 int mountObb(const char *fileName, const char *key, int ownerUid);
|
H A D | VolumeManager.cpp | 227 const char *fstype, const char *key, int ownerUid) { 289 if (strcmp(key, "none")) { 292 if (Devmapper::create(idHash, loopDevice, key, numImgSectors, dmDevice, 606 int VolumeManager::mountAsec(const char *id, const char *key, int ownerUid) { argument 689 if (strcmp(key, "none")) { 691 if (Devmapper::create(idHash, loopDevice, key, nr_sec, 742 int VolumeManager::mountObb(const char *img, const char *key, int ownerUid) { argument 794 if (strcmp(key, "none")) { 796 if (Devmapper::create(idHash, loopDevice, key, nr_sec, 226 createAsec(const char *id, unsigned int numSectors, const char *fstype, const char *key, int ownerUid) argument
|
H A D | Devmapper.cpp | 166 int Devmapper::create(const char *name, const char *loopFile, const char *key, argument 236 "twofish %s 0 %s 0", key, loopFile);
|
H A D | cryptfs.c | 18 * 1. Perhaps keep several copies of the encrypted key, in case something 124 /* key or salt can be NULL, in which case just skip writing that value. Useful to 125 * update the failed mount count but not change the key. 128 unsigned char *key, unsigned char *salt) 153 * encryption info footer and key, and plenty of bytes to spare for future 178 if (key) { 185 if ( (cnt = write(fd, key, crypt_ftr->keysize)) != crypt_ftr->keysize) { 186 SLOGE("Cannot write key for real block device %s\n", fname); 194 if (! key) 227 unsigned char *key, unsigne 127 put_crypt_ftr_and_key(char *real_blk_name, struct crypt_mnt_ftr *crypt_ftr, unsigned char *key, unsigned char *salt) argument 226 get_crypt_ftr_and_key(char *real_blk_name, struct crypt_mnt_ftr *crypt_ftr, unsigned char *key, unsigned char *salt) argument 873 unsigned char key[32], salt[32]; local [all...] |
/system/media/mca/filterfw/java/android/filterfw/core/ |
H A D | MutableFrameFormat.java | 89 public void setMetaValue(String key, Object value) { argument 93 mMetaData.put(key, value);
|
H A D | FrameFormat.java | 109 public boolean hasMetaKey(String key) { argument 110 return mMetaData != null ? mMetaData.containsKey(key) : false; 113 public boolean hasMetaKey(String key, Class expectedClass) { argument 114 if (mMetaData != null && mMetaData.containsKey(key)) { 115 if (!expectedClass.isAssignableFrom(mMetaData.get(key).getClass())) { 117 "FrameFormat meta-key '" + key + "' is of type " + 118 mMetaData.get(key).getClass() + " but expected to be of type " + 126 public Object getMetaValue(String key) { argument 127 return mMetaData != null ? mMetaData.get(key) [all...] |
H A D | NativeProgram.java | 171 private native boolean callNativeSetValue(String key, String value); argument 172 private native String callNativeGetValue(String key); argument
|
/system/media/mca/filterfw/native/core/ |
H A D | native_program.h | 54 bool CallSetValue(const std::string& key, const std::string& value); 55 std::string CallGetValue(const std::string& key);
|
H A D | gl_env.cpp | 384 void GLEnv::AttachShader(int key, ShaderProgram* shader) { argument 385 ShaderProgram* existingShader = ShaderWithKey(key); 388 attached_shaders_[key] = shader; 391 void GLEnv::AttachVertexFrame(int key, VertexFrame* frame) { argument 392 VertexFrame* existingFrame = VertexFrameWithKey(key); 395 attached_vframes_[key] = frame; 398 ShaderProgram* GLEnv::ShaderWithKey(int key) { argument 399 return FindPtrOrNull(attached_shaders_, key); 402 VertexFrame* GLEnv::VertexFrameWithKey(int key) { argument 403 return FindPtrOrNull(attached_vframes_, key); [all...] |
/system/core/libpixelflinger/tinyutils/ |
H A D | TypeHelpers.h | 206 * a key/value pair 211 KEY key; member in struct:android::key_value_pair_t 214 key_value_pair_t(const key_value_pair_t& o) : key(o.key), value(o.value) { } 215 key_value_pair_t(const KEY& k, const VALUE& v) : key(k), value(v) { } 216 key_value_pair_t(const KEY& k) : key(k) { } 218 return strictly_order_type(key, o.key);
|
/system/media/mca/filterfw/jni/ |
H A D | jni_native_program.h | 76 jstring key, 82 jstring key);
|
H A D | jni_native_program.cpp | 107 jstring key, 110 LOGE("Native Program: Attempting to set null value for key %s!", 111 ToCppString(env, key).c_str()); 115 const std::string c_key = ToCppString(env, key); 121 jstring key) { 123 const std::string c_key = ToCppString(env, key); 105 Java_android_filterfw_core_NativeProgram_callNativeSetValue(JNIEnv* env, jobject thiz, jstring key, jstring value) argument 119 Java_android_filterfw_core_NativeProgram_callNativeGetValue(JNIEnv* env, jobject thiz, jstring key) argument
|
H A D | jni_shader_program.h | 44 jstring key, 50 jstring key);
|
H A D | jni_shader_program.cpp | 77 jstring key, 81 const std::string c_key = ToCppString(env, key); 85 LOGE("ShaderProgram: Could not convert java object value passed for key '%s'!", c_key.c_str()); 92 jstring key) { 94 const std::string c_key = ToCppString(env, key); 75 Java_android_filterfw_core_ShaderProgram_setUniformValue(JNIEnv* env, jobject thiz, jstring key, jobject value) argument 90 Java_android_filterfw_core_ShaderProgram_getUniformValue(JNIEnv* env, jobject thiz, jstring key) argument
|
/system/core/rootdir/etc/ |
H A D | init.testmenu | 86 echo Got key -$c- 101 echo Got key -$c- 129 echo Got key -$c- 159 echo Got key -$c- 194 echo Got key -$c- 219 echo Got key -$c- 281 echo Got key -$c-
|
/system/core/init/ |
H A D | property_service.c | 341 static int property_list(void (*propfn)(const char *key, const char *value, void *cookie), argument 430 char *key, *value, *eol, *sol, *tmp; local 434 key = sol; 438 value = strchr(key, '='); 442 while(isspace(*key)) key++; 443 if(*key == '#') continue; 445 while((tmp > key) && isspace(*tmp)) *tmp-- = 0; 451 property_set(key, value);
|
H A D | init.c | 92 /* add_environment - add "key=value" to the current environment */ 93 int add_environment(const char *key, const char *val) argument 99 size_t len = strlen(key) + strlen(val) + 2; 101 snprintf(entry, len, "%s=%s", key, val); 134 char key[64] = ANDROID_SOCKET_ENV_PREFIX; local 137 strlcpy(key + sizeof(ANDROID_SOCKET_ENV_PREFIX) - 1, 139 sizeof(key) - sizeof(ANDROID_SOCKET_ENV_PREFIX)); 141 add_environment(key, val);
|
/system/core/libpixelflinger/tests/codegen/ |
H A D | codegen.cpp | 28 const AssemblyKey<needs_t>& key() const { return mKey; } function in class:ScanlineAssembly
|
/system/core/charger/ |
H A D | charger.c | 771 * of time the key spent not being pressed is not useful */ 777 LOGV("[%lld] key[%d] down\n", now, code); 782 LOGV("[%lld] key[%d] up (was down for %lld.%lldsec)\n", now, 798 struct key_state *key, 801 int64_t then = key->timestamp + timeout; 809 struct key_state *key = &charger->keys[code]; local 813 if (key->down) { 814 int64_t reboot_timeout = key->timestamp + POWER_ON_KEY_TIME; 819 /* if the key is pressed but timeout hasn't expired, 822 set_next_key_check(charger, key, POWER_ON_KEY_TIM 797 set_next_key_check(struct charger *charger, struct key_state *key, int64_t timeout) argument [all...] |
/system/extras/showslab/ |
H A D | showslab.c | 243 * set_sort_func - return the slab_sort_func that matches the given key. 244 * On unrecognizable key, the call returns NULL. 246 static void * set_sort_func(char key) argument 248 switch (tolower(key)) {
|
/system/core/nexus/ |
H A D | WifiNetwork.cpp | 298 int WifiNetwork::setWepKey(int idx, const char *key) { argument 302 int rc = mSuppl->setNetworkVar(mNetid, name, key); 310 mWepKeys[idx] = strdup(key); 736 const char *key = mWn->getWepKey(idx); local 738 strncpy(buffer, (key ? key : "none"), max);
|
H A D | WifiNetwork.h | 225 * Pre-shared key for use with WPA-PSK 236 * Default WEP key index, ranging from 0 -> NUM_WEP_KEYS -1 254 * The set of key management protocols supported by this configuration. 332 int setWepKey(int idx, const char *key);
|
/system/core/libcutils/ |
H A D | mq.c | 230 static int pidHash(void* key) { argument 231 pid_t* pid = (pid_t*) key; 365 static bool peerProxyRemoveConnection(void* key, void* value, void* context) { argument 1017 // Add this proxy to the map. Make sure the key points to the stable memory
|
/system/bluetooth/bluez-clean-headers/bluetooth/ |
H A D | hci.h | 561 uint8_t key[32]; member in struct:__anon34 1662 uint8_t key[16]; member in struct:__anon167 1687 uint8_t key[16]; member in struct:__anon170 1695 uint8_t key[16]; member in struct:__anon171
|