Searched refs:key (Results 201 - 225 of 438) sorted by relevance

1234567891011>>

/frameworks/native/libs/input/
H A DInputTransport.cpp86 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 Dandroid_hardware_camera2_CameraMetadata.cpp468 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 DSettingsBackupAgent.java117 // 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 DSkiaShader.cpp75 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 DStagefrightRecorder.cpp579 const String8 &key, const String8 &value) {
580 ALOGV("setParameter: key (%s) => value (%s)", key.string(), value.string());
581 if (key == "max-duration") {
586 } else if (key == "max-filesize") {
591 } else if (key == "interleave-duration-us") {
596 } else if (key == "param-movie-time-scale") {
601 } else if (key == "param-use-64bit-offset") {
606 } else if (key == "param-geotag-longitude") {
611 } else if (key
578 setParameter( const String8 &key, const String8 &value) argument
[all...]
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java369 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 DCameraMetadataNative.java94 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 DStatusBarManagerService.java265 * 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 DMapCollections.java153 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/support/v4/java/android/support/v4/util/
H A DMapCollections.java151 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 Djni_native_program.cpp107 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 DRunTestCommand.java96 // -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 DRunTestCommand.java96 // -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 DBaseStatusBar.java792 void handleNotificationError(IBinder key, StatusBarNotification n, String message) { argument
793 removeNotification(key);
801 protected StatusBarNotification removeNotificationViews(IBinder key) { argument
802 NotificationData.Entry entry = mNotificationData.remove(key);
804 Log.w(TAG, "removeNotification for unknown key: " + key);
816 protected NotificationData.Entry createNotificationViews(IBinder key, argument
819 Log.d(TAG, "createNotificationViews(key=" + key + ", notification=" + notification);
834 handleNotificationError(key, notificatio
857 addNotificationViews(IBinder key, StatusBarNotification notification) argument
886 tick(IBinder key, StatusBarNotification n, boolean firstTime) argument
895 updateNotification(IBinder key, StatusBarNotification notification) argument
[all...]
/frameworks/base/core/java/android/printservice/
H A DPrintJob.java285 * may set as a tag the key of the print job returned by a remote
319 * @param key The option key.
322 public String getAdvancedStringOption(String key) { argument
331 * @param key The option key.
334 public boolean hasAdvancedOption(String key) { argument
342 * @param key The option key.
345 public int getAdvancedIntOption(String key) { argument
[all...]
/frameworks/base/core/java/android/widget/
H A DAlphabetIndexer.java171 int key = letter;
173 if (Integer.MIN_VALUE != (pos = alphaMap.get(key, Integer.MIN_VALUE))) {
246 alphaMap.put(key, pos);
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DArrayMapTests.java133 + " 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 DWifiP2pDnsSdServiceInfo.java87 * @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 DWifiP2pDnsSdServiceResponse.java136 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 DStochasticLinearRanker.java77 * 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 DBordeauxService.java127 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 DInputChannel_test.cpp79 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 DBatteryService.cpp65 Info key(uid, handle);
66 ssize_t index = mActivations.indexOf(key);
68 index = mActivations.add(key);
/frameworks/rs/
H A DrsScriptC.cpp313 const char * key = mHal.info.exportedPragmaKeyList[i]; local
316 if (!strcmp(key, "version")) {
325 if (!strcmp(key, "stateVertex")) {
337 if (!strcmp(key, "stateRaster")) {
349 if (!strcmp(key, "stateFragment")) {
361 if (!strcmp(key, "stateStore")) {
/frameworks/av/drm/common/
H A DIDrmManagerService.cpp81 DrmCopyControl key = (DrmCopyControl)data.readInt32(); local
83 handle->copyControlVector.add(key, value);
88 String8 key = data.readString8(); local
90 handle->extendedData.add(key, value);
175 const String8 key(reply.readString8());
181 drmConstraints->put(&key, data);
205 const String8 key(reply.readString8());
211 drmMetadata->put(&key, data);
255 const String8 key = keyIt.next(); local
256 data.writeString8(key);
300 const String8 key = keyIt.next(); local
863 const String8 key = keyIt.next(); local
895 const String8 key = keyIt.next(); local
1018 const String8 key = keyIt.next(); local
[all...]

Completed in 578 milliseconds

1234567891011>>