/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | BordeauxPredictor.java | 95 public boolean setParameter(String key, String value) { argument 99 return mPredictor.setPredictorParameter(key, value);
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_cache.cpp | 61 static void setBlob(const void* key, EGLsizeiANDROID keySize, argument 63 egl_cache_t::get()->setBlob(key, keySize, value, valueSize); 66 static EGLsizeiANDROID getBlob(const void* key, EGLsizeiANDROID keySize, argument 68 return egl_cache_t::get()->getBlob(key, keySize, value, valueSize); 135 void egl_cache_t::setBlob(const void* key, EGLsizeiANDROID keySize, argument 146 bc->set(key, keySize, value, valueSize); 174 EGLsizeiANDROID egl_cache_t::getBlob(const void* key, EGLsizeiANDROID keySize, argument 185 return bc->get(key, keySize, value, valueSize);
|
/frameworks/base/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 ALOGE("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
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | TabletTicker.java | 92 public void add(IBinder key, StatusBarNotification notification) { argument 99 remove(key, false); 101 mKeys[mQueuePos] = key; 114 public void remove(IBinder key) { argument 115 remove(key, true); 118 public void remove(IBinder key, boolean advance) { argument 119 if (mCurrentKey == key) { 128 if (mKeys[i] == key) {
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
H A D | SettingsCmd.java | 169 final String table, final String key) { 183 Bundle b = provider.call(callGetCommand, key, arg); 188 System.err.println("Can't read key " + key + " in " + table + " for user " + userHandle); 194 final String table, final String key, final String value) { 208 provider.call(callPutCommand, key, arg); 210 System.err.println("Can't set key " + key + " in " + table + " for user " + userHandle); 215 System.err.println("usage: settings [--user NUM] get namespace key"); 216 System.err.println(" settings [--user NUM] put namespace key valu 168 getForUser(IContentProvider provider, int userHandle, final String table, final String key) argument 193 putForUser(IContentProvider provider, int userHandle, final String table, final String key, final String value) argument [all...] |
/frameworks/base/core/java/android/nfc/tech/ |
H A D | MifareClassic.java | 48 * authenticating with a key. {@see #authenticateSectorWithKeyA} and 55 * <li>{@link #KEY_DEFAULT} is the default factory key for MIFARE Classic. 56 * <li>{@link #KEY_MIFARE_APPLICATION_DIRECTORY} is the well-known key for 59 * <li>{@link #KEY_NFC_FORUM} is the well-known key for MIFARE Classic cards that 77 * The default factory key. 82 * The well-known key for tags formatted according to the 88 * The well-known key for tags formatted according to the 316 * Authenticate a sector with key A. 318 * <p>Successful authentication of a sector with key A enables other 319 * I/O operations on that sector. The set of operations granted by key 338 authenticateSectorWithKeyA(int sectorIndex, byte[] key) argument 365 authenticateSectorWithKeyB(int sectorIndex, byte[] key) argument 369 authenticate(int sector, byte[] key, boolean keyA) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | KeyCharacterMap.java | 41 * When interpreting key presses received from the framework, applications should 43 * When synthesizing key presses for delivery elsewhere or when translating key presses 52 * synthesize key events. Typically used with {@link #getEvents}. 57 * A numeric (12-key) keyboard. 60 * It may be necessary to tap a key multiple times to generate the desired letter 69 * A keyboard with all the letters, but with more than one letter per key. 141 * key is a "dead key." 147 * a printable representation of the accent character of a "dead key [all...] |
/frameworks/base/core/java/com/android/internal/backup/ |
H A D | LocalTransport.java | 100 // the record key. Wind through the data file, extracting individual 108 String key = changeSet.getKey(); 109 String base64Key = new String(Base64.encode(key.getBytes())); 114 if (DEBUG) Log.v(TAG, "Got change set key=" + key + " size=" + dataSize 133 Log.e(TAG, "Unable to update key file " + entityFile.getAbsolutePath()); 232 if (DEBUG) Log.v(TAG, " getRestoreData() found " + blobs.length + " key files"); 241 String key = new String(Base64.decode(f.getName())); 242 if (DEBUG) Log.v(TAG, " ... key=" + key [all...] |
/frameworks/base/libs/androidfw/ |
H A D | BackupData.cpp | 39 * - A sequence of zero or more key/value paires (entities), each with 41 * - The key, utf-8, null terminated, padded to 4-byte boundary. 93 BackupDataWriter::WriteEntityHeader(const String8& key, size_t dataSize) argument 110 k += key; 112 k = key; 115 ALOGD("Writing header: prefix='%s' key='%s' dataSize=%d", m_keyPrefix.string(), 116 key.string(), dataSize); 136 if (DEBUG) ALOGI("writing entity header key, %d bytes", keyLen+1); 303 BackupDataReader::ReadEntityHeader(String8* key, size_t* dataSize) argument 311 *key [all...] |
H A D | InputTransport.cpp | 85 return sizeof(Header) + body.key.size(); 254 ALOGE("Attempted to publish a key event with sequence number 0."); 260 msg.body.key.seq = seq; 261 msg.body.key.deviceId = deviceId; 262 msg.body.key.source = source; 263 msg.body.key.action = action; 264 msg.body.key.flags = flags; 265 msg.body.key.keyCode = keyCode; 266 msg.body.key.scanCode = scanCode; 267 msg.body.key [all...] |
/frameworks/rs/ |
H A D | rsScriptC.cpp | 271 const char * key = mHal.info.exportedPragmaKeyList[i]; local 274 if (!strcmp(key, "version")) { 282 if (!strcmp(key, "stateVertex")) { 294 if (!strcmp(key, "stateRaster")) { 306 if (!strcmp(key, "stateFragment")) { 318 if (!strcmp(key, "stateStore")) {
|
/frameworks/base/keystore/java/android/security/ |
H A D | AndroidKeyStore.java | 59 * PrivateKeyEntry will have a Credentials.USER_PRIVATE_KEY as the private key, 61 * that corresponds to the private key), and then a Credentials.CA_CERTIFICATE 85 UnrecoverableKeyException t = new UnrecoverableKeyException("Can't get key"); 195 public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument 201 if (key instanceof PrivateKey) { 202 setPrivateKeyEntry(alias, (PrivateKey) key, chain); 208 private void setPrivateKeyEntry(String alias, PrivateKey key, Certificate[] chain) argument 213 if (key instanceof OpenSSLRSAPrivateKey) { 214 pkeyAlias = ((OpenSSLRSAPrivateKey) key).getPkeyAlias(); 215 } else if (key instanceo [all...] |
/frameworks/base/libs/hwui/ |
H A D | SkiaShader.cpp | 72 SkiaShader::SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX, argument 74 mType(type), mKey(key), mTileX(tileX), mTileY(tileY), mBlend(blend) { 103 SkiaBitmapShader::SkiaBitmapShader(SkBitmap* bitmap, SkShader* key, SkShader::TileMode tileX, argument 105 SkiaShader(kBitmap, key, tileX, tileY, matrix, blend), mBitmap(bitmap), mTexture(NULL) { 182 float* positions, int count, SkShader* key, SkShader::TileMode tileMode, 184 SkiaShader(kLinearGradient, key, tileMode, tileMode, matrix, blend), 261 uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, 263 SkiaSweepGradientShader(kCircularGradient, x, y, colors, positions, count, key, 300 float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend): 301 SkiaShader(kSweepGradient, key, SkShade 181 SkiaLinearGradientShader(float* bounds, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument 260 SkiaCircularGradientShader(float x, float y, float radius, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument 299 SkiaSweepGradientShader(float x, float y, uint32_t* colors, float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend) argument 313 SkiaSweepGradientShader(Type type, float x, float y, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument 373 SkiaComposeShader(SkiaShader* first, SkiaShader* second, SkXfermode::Mode mode, SkShader* key) argument [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 578 const String8 &key, const String8 &value) { 579 ALOGV("setParameter: key (%s) => value (%s)", key.string(), value.string()); 580 if (key == "max-duration") { 585 } else if (key == "max-filesize") { 590 } else if (key == "interleave-duration-us") { 595 } else if (key == "param-movie-time-scale") { 600 } else if (key == "param-use-64bit-offset") { 605 } else if (key == "param-geotag-longitude") { 610 } else if (key 577 setParameter( const String8 &key, const String8 &value) argument [all...] |
/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Am.java | 202 String key = nextArgRequired(); 204 intent.putExtra(key, value); 206 String key = nextArgRequired(); 207 intent.putExtra(key, (String) null); 209 String key = nextArgRequired(); 211 intent.putExtra(key, Integer.valueOf(value)); 213 String key = nextArgRequired(); 215 intent.putExtra(key, Uri.parse(value)); 217 String key = nextArgRequired(); 221 intent.putExtra(key, c [all...] |
/frameworks/compile/libbcc/runtime/ |
H A D | Makefile | 68 "$(foreach key,$(AvailableIn.$(fn)),$($(key).Dir))";) 74 @$(foreach key,$(PlatformKeys),\ 75 printf " %s - from '%s'\n" $($(key).Name) $($(key).Path);\ 76 printf " %s\n" "$($(key).Description)";\ 77 printf " Configurations: %s\n\n" "$($(key).Configs)";) 197 $(foreach key,$(SubDirKeys),\ 198 $(call PerPlatformConfigArchSubDir_template,$(key))) 229 $(foreach key, [all...] |
/frameworks/native/libs/utils/ |
H A D | BlobCache.cpp | 54 void BlobCache::set(const void* key, size_t keySize, const void* value, argument 57 ALOGV("set: not caching because the key is too large: %d (limit: %d)", 67 ALOGV("set: not caching because the combined key/value size is too " 80 sp<Blob> dummyKey(new Blob(key, keySize, false)); 87 sp<Blob> keyBlob(new Blob(key, keySize, true)); 96 ALOGV("set: not caching new key/value pair because the " 105 ALOGV("set: created new cache entry with %d byte key and %d byte value", 126 ALOGV("set: updated existing cache entry with %d byte key and %d byte " 133 size_t BlobCache::get(const void* key, size_t keySize, void* value, argument 136 ALOGV("get: not searching because the key i 346 CacheEntry(const sp<Blob>& key, const sp<Blob>& value) argument [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsBackupAgent.java | 116 // the key to store the WIFI data under, should be sorted as last, so restore happens last. 370 final String key = data.getKey(); 372 if (KEY_SYSTEM.equals(key)) { 375 } else if (KEY_SECURE.equals(key)) { 377 } else if (KEY_GLOBAL.equals(key)) { 379 } else if (KEY_WIFI_SUPPLICANT.equals(key)) { 382 } else if (KEY_LOCALE.equals(key)) { 386 } else if (KEY_WIFI_CONFIG.equals(key)) { 560 private long writeIfChanged(long oldChecksum, String key, byte[] data, argument 569 output.writeEntityHeader(key, dat [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeech.java | 419 * Parameter key to specify the audio stream type to be used when speaking text 429 * Parameter key to identify an utterance in the 440 * Parameter key to specify the speech volume relative to the current stream type 450 * Parameter key to specify how the speech is panned from left to right when speaking text. 460 * Feature key for network synthesis. See {@link TextToSpeech#getFeatures(Locale)} 472 * Feature key for embedded synthesis. See {@link TextToSpeech#getFeatures(Locale)} 1134 final String key = entry.getKey(); 1135 if (key != null && key.startsWith(mCurrentEngine)) { 1136 bundle.putString(key, entr 1147 copyStringParam(Bundle bundle, HashMap<String, String> params, String key) argument 1154 copyIntParam(Bundle bundle, HashMap<String, String> params, String key) argument 1166 copyFloatParam(Bundle bundle, HashMap<String, String> params, String key) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | StatusBarManagerService.java | 263 * Hide or show the on-screen Menu key. Only call this from the window manager, typically in 269 if (SPEW) Slog.d(TAG, (menuVisible?"showing":"hiding") + " MENU key"); 488 IBinder key = new Binder(); 489 mNotifications.put(key, notification); 492 mBar.addNotification(key, notification); 496 return key; 500 public void updateNotification(IBinder key, StatusBarNotification notification) { argument 502 if (!mNotifications.containsKey(key)) { 503 throw new IllegalArgumentException("updateNotification key not found: " + key); 515 removeNotification(IBinder key) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | AlphabetIndexer.java | 171 int key = letter; 173 if (Integer.MIN_VALUE != (pos = alphaMap.get(key, Integer.MIN_VALUE))) { 246 alphaMap.put(key, pos);
|
/frameworks/base/libs/androidfw/tests/ |
H A D | InputChannel_test.cpp | 78 serverMsg.body.key.action = AKEY_EVENT_ACTION_DOWN; 87 EXPECT_EQ(serverMsg.body.key.action, clientMsg.body.key.action)
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
H A D | WifiP2pDnsSdServiceInfo.java | 86 * @param txtMap TXT record with key/value pair in a map confirming to format defined at 99 for (String key : txtMap.keySet()) { 100 txtRecord.set(key, txtMap.get(key));
|
H A D | WifiP2pDnsSdServiceResponse.java | 136 for (String key : mTxtRecord.keySet()) { 137 sbuf.append(" key:").append(key).append(" value:").append(mTxtRecord.get(key));
|