/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiEnterpriseConfig.java | 114 for (String key : source.mFields.keySet()) { 115 mFields.put(key, source.mFields.get(key)); 167 String key = in.readString(); 169 enterpriseConfig.mFields.put(key, value); 473 * Specify a private key and client certificate for client authorization. 475 * <p>A default name is automatically assigned to the key entry and used 477 * key entry when the config is saved and removing the key entry when 482 * @throws IllegalArgumentException for an invalid key o 516 isHardwareBackedKey(PrivateKey key) argument 810 getFieldValue(String key, String prefix) argument 828 setFieldValue(String key, String value, String prefix) argument [all...] |
/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 86 return sizeof(Header) + body.key.size(); 260 ALOGE("Attempted to publish a key event with sequence number 0."); 266 msg.body.key.seq = seq; 267 msg.body.key.deviceId = deviceId; 268 msg.body.key.source = source; 269 msg.body.key.action = action; 270 msg.body.key.flags = flags; 271 msg.body.key.keyCode = keyCode; 272 msg.body.key.scanCode = scanCode; 273 msg.body.key [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_CameraMetadata.cpp | 468 const char *key = keyScoped.c_str(); local 469 if (key == NULL) { 473 size_t keyLength = strlen(key); 475 ALOGV("%s (key = '%s')", __FUNCTION__, key); 485 if (strstr(key, str) == key) { // key begins with the section name 506 "Could not find section name for key '%s')", key); [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsBackupAgent.java | 117 // the key to store the WIFI data under, should be sorted as last, so restore happens last. 398 final String key = data.getKey(); 400 if (KEY_SYSTEM.equals(key)) { 403 } else if (KEY_SECURE.equals(key)) { 405 } else if (KEY_GLOBAL.equals(key)) { 407 } else if (KEY_WIFI_SUPPLICANT.equals(key)) { 410 } else if (KEY_LOCALE.equals(key)) { 414 } else if (KEY_WIFI_CONFIG.equals(key)) { 588 private long writeIfChanged(long oldChecksum, String key, byte[] data, argument 597 output.writeEntityHeader(key, dat [all...] |
/frameworks/base/libs/hwui/ |
H A D | SkiaShader.cpp | 75 SkiaShader::SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX, argument 77 mType(type), mKey(key), mTileX(tileX), mTileY(tileY), mBlend(blend), 107 SkiaBitmapShader::SkiaBitmapShader(SkBitmap* bitmap, SkShader* key, SkShader::TileMode tileX, argument 109 SkiaShader(kBitmap, key, tileX, tileY, matrix, blend), mBitmap(bitmap), mTexture(NULL) { 186 float* positions, int count, SkShader* key, SkShader::TileMode tileMode, 188 SkiaShader(kLinearGradient, key, tileMode, tileMode, matrix, blend), 265 uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, 267 SkiaSweepGradientShader(kCircularGradient, x, y, colors, positions, count, key, 304 float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend): 305 SkiaShader(kSweepGradient, key, SkShade 185 SkiaLinearGradientShader(float* bounds, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument 264 SkiaCircularGradientShader(float x, float y, float radius, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument 303 SkiaSweepGradientShader(float x, float y, uint32_t* colors, float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend) argument 317 SkiaSweepGradientShader(Type type, float x, float y, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument 377 SkiaComposeShader(SkiaShader* first, SkiaShader* second, SkXfermode::Mode mode, SkShader* key) argument [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 580 const String8 &key, const String8 &value) { 581 ALOGV("setParameter: key (%s) => value (%s)", key.string(), value.string()); 582 if (key == "max-duration") { 587 } else if (key == "max-filesize") { 592 } else if (key == "interleave-duration-us") { 597 } else if (key == "param-movie-time-scale") { 602 } else if (key == "param-use-64bit-offset") { 607 } else if (key == "param-geotag-longitude") { 612 } else if (key 579 setParameter( const String8 &key, const String8 &value) argument [all...] |
/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Am.java | 369 String key = nextArgRequired(); 371 intent.putExtra(key, value); 373 String key = nextArgRequired(); 374 intent.putExtra(key, (String) null); 376 String key = nextArgRequired(); 378 intent.putExtra(key, Integer.valueOf(value)); 380 String key = nextArgRequired(); 382 intent.putExtra(key, Uri.parse(value)); 384 String key = nextArgRequired(); 388 intent.putExtra(key, c [all...] |
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraMetadataNative.java | 94 public <T> T get(Key<T> key) { argument 95 T value = getOverride(key); 100 return getBase(key); 112 * @param key The metadata field to write. 114 * type to the key. 116 public <T> void set(Key<T> key, T value) { argument 117 if (setOverride(key, value)) { 121 setBase(key, value); 429 private <T> T getBase(Key<T> key) { argument 430 int tag = key 445 getOverride(Key<T> key) argument 568 setBase(Key<T> key, T value) argument 590 setOverride(Key<T> key, T value) argument 678 getTag(String key) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | StatusBarManagerService.java | 265 * Hide or show the on-screen Menu key. Only call this from the window manager, typically in 271 if (SPEW) Slog.d(TAG, (menuVisible?"showing":"hiding") + " MENU key"); 499 IBinder key = new Binder(); 500 mNotifications.put(key, notification); 503 mBar.addNotification(key, notification); 507 return key; 511 public void updateNotification(IBinder key, StatusBarNotification notification) { argument 513 if (!mNotifications.containsKey(key)) { 514 throw new IllegalArgumentException("updateNotification key not found: " + key); 526 removeNotification(IBinder key) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | MapCollections.java | 153 final Object key = colGetEntry(mIndex, 0); 155 return (key == null ? 0 : key.hashCode()) ^ 258 final Object key = colGetEntry(i, 0); 260 result += ( (key == null ? 0 : key.hashCode()) ^ 552 protected abstract int colIndexOfKey(Object key); argument 553 protected abstract int colIndexOfValue(Object key); argument 555 protected abstract void colPut(K key, V value); argument
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RecentsProvider.java | 78 public static final String KEY = "key"; 204 final ContentValues key = new ContentValues(); 217 key.put(StateColumns.AUTHORITY, authority); 218 key.put(StateColumns.ROOT_ID, rootId); 219 key.put(StateColumns.DOCUMENT_ID, documentId); 222 db.insertWithOnConflict(TABLE_STATE, null, key, SQLiteDatabase.CONFLICT_IGNORE); 232 key.put(ResumeColumns.PACKAGE_NAME, packageName); 235 db.insertWithOnConflict(TABLE_RESUME, null, key, SQLiteDatabase.CONFLICT_IGNORE); 319 final String key = getCursorString(cursor, RecentColumns.KEY); 320 db.delete(TABLE_RECENT, RecentColumns.KEY + "=?", new String[] { key }); [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | MapCollections.java | 151 final Object key = colGetEntry(mIndex, 0); 153 return (key == null ? 0 : key.hashCode()) ^ 256 final Object key = colGetEntry(i, 0); 258 result += ( (key == null ? 0 : key.hashCode()) ^ 551 protected abstract int colIndexOfKey(Object key); argument 552 protected abstract int colIndexOfValue(Object key); argument 554 protected abstract void colPut(K key, V value); argument
|
/frameworks/base/media/mca/filterfw/jni/ |
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/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
H A D | RunTestCommand.java | 96 // -e <key> <value> 97 // key-value pairs 99 // key is "class", parameter is passed onto JUnit as class name to run 100 // key is "debug", parameter will determine whether to wait for debugger 108 String key = args[++i]; 110 if (CLASS_PARAM.equals(key)) { 112 } else if (DEBUG_PARAM.equals(key)) { 114 } else if (RUNNER_PARAM.equals(key)) { 117 mParams.putString(key, value);
|
/frameworks/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
H A D | RunTestCommand.java | 96 // -e <key> <value> 97 // key-value pairs 99 // key is "class", parameter is passed onto JUnit as class name to run 100 // key is "debug", parameter will determine whether to wait for debugger 108 String key = args[++i]; 110 if (CLASS_PARAM.equals(key)) { 112 } else if (DEBUG_PARAM.equals(key)) { 114 } else if (RUNNER_PARAM.equals(key)) { 117 mParams.putString(key, value);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | BaseStatusBar.java | 788 void handleNotificationError(IBinder key, StatusBarNotification n, String message) { argument 789 removeNotification(key); 797 protected StatusBarNotification removeNotificationViews(IBinder key) { argument 798 NotificationData.Entry entry = mNotificationData.remove(key); 800 Log.w(TAG, "removeNotification for unknown key: " + key); 812 protected NotificationData.Entry createNotificationViews(IBinder key, argument 815 Log.d(TAG, "createNotificationViews(key=" + key + ", notification=" + notification); 830 handleNotificationError(key, notificatio 853 addNotificationViews(IBinder key, StatusBarNotification notification) argument 882 tick(IBinder key, StatusBarNotification n, boolean firstTime) argument 891 updateNotification(IBinder key, StatusBarNotification notification) 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/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardStatusView.java | 153 final String key = locale.toString() + dateViewSkel + clockView12Skel + clockView24Skel; 154 if (key.equals(cacheKey)) return; 167 cacheKey = key;
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | ArrayMapTests.java | 133 + " at key " + entry.getKey()); 140 Object key = array.keyAt(i); 141 Object expValue = map.get(key); 144 + " at key " + key); 174 Log.e("test", "Failed calling equals on map key set against array set"); 179 Log.e("test", "Failed calling equals on array key set against map set"); 184 Log.e("test", "Failed map key set contains all of array key set"); 189 Log.e("test", "Failed array key se [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
H A D | WifiP2pDnsSdServiceInfo.java | 87 * @param txtMap TXT record with key/value pair in a map confirming to format defined at 100 for (String key : txtMap.keySet()) { 101 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));
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/ |
H A D | StochasticLinearRanker.java | 77 * Get the rank score of the sample, a sample is a list of key, value pairs. 133 public boolean setModelParameter(String key, String value){ argument 134 boolean res = nativeSetParameterClassifier(key, value, mNativeClassifier); 191 private native boolean nativeSetParameterClassifier(String key, String value, argument
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | BordeauxService.java | 127 BordeauxSessionManager.SessionKey key = 129 Log.i(TAG, "request learning session: " + key.value); 131 IBinder iLearner = mSessionManager.getSessionBinder(learnerClass, key);
|
/frameworks/native/libs/input/tests/ |
H A D | InputChannel_test.cpp | 79 serverMsg.body.key.action = AKEY_EVENT_ACTION_DOWN; 88 EXPECT_EQ(serverMsg.body.key.action, clientMsg.body.key.action)
|
/frameworks/native/services/sensorservice/ |
H A D | BatteryService.cpp | 65 Info key(uid, handle); 66 ssize_t index = mActivations.indexOf(key); 68 index = mActivations.add(key);
|