Searched refs:key (Results 226 - 250 of 852) sorted by relevance

1234567891011>>

/frameworks/base/packages/ExtServices/src/android/ext/services/notification/
H A DRanker.java48 // bundled by the app (aka no group or sort key).
83 for (String key : notificationsForPackage) {
84 notificationsToBundle.add(key);
140 for (String key : notificationsForPackage) {
141 notificationsToUnAutobundle.add(key);
164 private void adjustAutobundlingSummary(String packageName, String key, boolean summaryNeeded, argument
173 Adjustment adjustment = new Adjustment(packageName, key, IMPORTANCE_UNSPECIFIED, signals,
190 for (String key : keys) {
191 adjustments.add(createBundlingAdjustment(packageName, key, bundle, user));
192 if (DEBUG) Log.i(TAG, "Sending bundling adjustment for: " + key);
201 createBundlingAdjustment(String packageName, String key, boolean bundle, int user) argument
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DStochasticLinearRankerWithPrior.java176 public boolean setModelParameter(String key, String value){ argument
177 if (key.equals(USE_AUTO_ALPHA)){
179 } else if (key.equals(USE_PRIOR)){
181 } else if (key.equals(SET_ALPHA)){
183 }else if (key.equals(SET_AUTO_ALPHA)){
185 }else if (key.equals(SET_FORGET_RATE)){
187 }else if (key.equals(SET_MIN_TRAIN_PAIR)){
189 }else if (key.equals(SET_USER_PERF)){
191 }else if (key.equals(SET_PRIOR_PERF)){
193 }else if (key
[all...]
H A DLearning_StochasticLinearRanker.java56 keys_1[i] = temp_1.get(i).key;
63 keys_2[i] = temp_2.get(i).key;
80 keys[i] = temp.get(i).key;
92 weights.put(temp.get(i).key, temp.get(i).value);
98 public boolean SetModelParameter(String key, String value) { argument
101 return mLearningSlRanker.setModelParameter(key,value);
H A DPredictor.java134 public boolean setPredictorParameter(String key, String value) { argument
135 Log.i(TAG, "setParameter : " + key + ", " + value);
137 if (key.equals(SET_FEATURE)) {
142 } else if (key.equals(SET_PAIRED_FEATURES)) {
148 } else if (key.equals(USE_HISTORY)) {
152 Log.e(TAG,"Setting parameter " + key + " with " + value + " is not valid");
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DAnqpCache.java43 * Build an ANQP cache key suitable for the granularity of the key space as follows:
52 * @param network The network to build the key for.
125 CacheKey key = CacheKey.buildKey(network, STANDARD_ESS);
128 ANQPData data = mANQPCache.get(key);
130 mANQPCache.put(key, new ANQPData(mClock, network, data));
146 CacheKey key = CacheKey.buildKey(network, STANDARD_ESS);
151 ANQPData data = mANQPCache.get(key);
157 mANQPCache.put(key, data);
165 CacheKey key
[all...]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DImportTestProvider.java103 for (String key: keyToBeRemoved) {
104 actualContentValues.remove(key);
184 final String key = entry.getKey();
187 if (Data.MIMETYPE.equals(key)) {
190 TestCase.assertNotNull(key);
191 sortedMap.put(key, valueString);
199 final String key = entry.getKey();
202 builder.append(key);
219 final String key = entry.getKey();
221 if (!actual.containsKey(key)) {
[all...]
/frameworks/av/include/camera/
H A DCameraParameters.h50 void set(const char *key, const char *value);
51 void set(const char *key, int value);
52 void setFloat(const char *key, float value);
53 const char *get(const char *key) const;
54 int getInt(const char *key) const;
55 float getFloat(const char *key) const;
57 void remove(const char *key);
340 // "false" or this key not existing means it is not supported.
357 // means it is, and "false" or this key not existing means it is
414 // is not supported if the value is not "true" or the key doe
[all...]
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreHmacSpi.java94 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, argument
100 init(key, params);
110 private void init(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, argument
112 if (key == null) {
113 throw new InvalidKeyException("key == null");
114 } else if (!(key instanceof AndroidKeyStoreSecretKey)) {
116 "Only Android KeyStore secret keys supported. Key: " + key);
118 mKey = (AndroidKeyStoreSecretKey) key;
/frameworks/base/tools/obbtool/
H A Dmkobb.sh110 hidden_prompt " Encryption key: " key
112 if [ "${key}x" = "x" ]; then \
113 echo "ERROR: An empty key is not allowed!"
117 hidden_prompt "Encryption key (again): " key2
119 if [ "${key}x" != "${key2}x" ]; then \
152 echo " -k <key> Use <key> to encrypt OBB file"
153 echo " -K Prompt for key to encrypt OBB file"
171 -k) key
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiCertManager.java72 for (String key : keys) {
73 mAffiliatedUserOnlyCerts.add(key);
82 /** @param key Unprefixed cert key to hide from unaffiliated users. */
83 public void hideCertFromUnaffiliatedUsers(String key) { argument
84 if (mAffiliatedUserOnlyCerts.add(Credentials.USER_PRIVATE_KEY + key)) {
98 for (String key : keys) {
99 if (!mAffiliatedUserOnlyCerts.contains(key)) {
100 results.add(key);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DHalMockUtils.java92 String key = iter.next();
93 JSONObject field = jsonObject.optJSONObject(key);
98 bundle.putInt(key, field.optInt(VALUE_KEY));
105 bundle.putByteArray(key, bArray);
119 for (String key : bundle.keySet()) {
120 Object value = bundle.get(key);
137 json.put(key, child);
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseGeneralTest.java486 String key = DatabaseUtils.getHexCollationKey("Frederic Hjonneva");
488 "SELECT count(*) from tokens where token GLOB '" + key + "*'", null));
490 "SELECT source from tokens where token GLOB '" + key + "*'", null));
492 "SELECT token_index from tokens where token GLOB '" + key + "*'", null));
493 key = DatabaseUtils.getHexCollationKey("Hjonneva");
495 "SELECT count(*) from tokens where token GLOB '" + key + "*'", null));
497 "SELECT source from tokens where token GLOB '" + key + "*'", null));
499 "SELECT token_index from tokens where token GLOB '" + key + "*'", null));
501 key = DatabaseUtils.getHexCollationKey("some string ok");
503 "SELECT count(*) from tokens where token GLOB '" + key
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DIpConfigStore.java197 String key;
200 key = in.readUTF();
202 if (key.equals(ID_KEY)) {
204 } else if (key.equals(IP_ASSIGNMENT_KEY)) {
206 } else if (key.equals(LINK_ADDRESS_KEY)) {
215 } else if (key.equals(GATEWAY_KEY)) {
243 } else if (key.equals(DNS_KEY)) {
246 } else if (key.equals(PROXY_SETTINGS_KEY)) {
248 } else if (key.equals(PROXY_HOST_KEY)) {
250 } else if (key
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java155 for (String key : source.mFields.keySet()) {
156 mFields.put(key, source.mFields.get(key));
223 String key = in.readString();
225 enterpriseConfig.mFields.put(key, value);
346 * @param key index to set within wpa_supplciant
347 * @param value the value for the key
350 boolean saveValue(String key, String value); argument
360 * @param key index to set within wpa_supplciant
363 String loadValue(String key); argument
996 getFieldValue(String key, String prefix) argument
1018 setFieldValue(String key, String value, String prefix) argument
1036 setFieldValue(String key, String value) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DSysMemUsageTable.java64 final int key = that.getKeyAt(i);
66 final int state = SparseMappingTable.getIdFromKey(key);
67 final long[] addData = that.getArrayForKey(key);
68 final int addOff = SparseMappingTable.getIndexFromKey(key);
82 final int key = getOrAddKey((byte)state, SYS_MEM_USAGE_COUNT);
84 final long[] dstData = getArrayForKey(key);
85 final int dstOff = SparseMappingTable.getIndexFromKey(key);
97 final int key = getKeyAt(i);
99 final long[] addData = getArrayForKey(key);
100 final int addOff = SparseMappingTable.getIndexFromKey(key);
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DBasicBitmapDrawable.java167 * Binds to the given key and start the decode process. This will first look in the cache, then
168 * decode from the request key if not found.
170 * The key being replaced will be kept in {@link #mPrevKey}.
174 public void bind(RequestKey key) { argument
176 if (mCurrKey != null && mCurrKey.equals(key)) {
180 setImage(key);
185 * Unbinds the current key and bitmap from the drawable. This will cause the bitmap to decrement
188 * This will assume that you do not want to keep the unbound key in {@link #mPrevKey}.
197 * Unbinds the current key and bitmap from the drawable. This will cause the bitmap to decrement
200 * If the temporary parameter is true, we will keep the unbound key i
216 setImage(final RequestKey key) argument
290 fileDescriptorFactoryCreated(final RequestKey key, final FileDescriptorFactory factory) argument
445 onDecodeBegin(final RequestKey key) argument
448 onDecodeComplete(final RequestKey key, final ReusableBitmap result) argument
461 onDecodeCancel(final RequestKey key) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContentProviderOperation.java361 * key refers to a column and the value is an index of the back reference whose
384 String key = entry.getKey();
385 Integer backRefIndex = mValuesBackReferences.getAsInteger(key);
388 throw new IllegalArgumentException("values backref " + key + " is not an integer");
390 values.put(key, backRefToValue(backRefs, numBackRefs, backRefIndex));
397 * the key is an index into the selection argument array (see {@link Builder#withSelection})
527 * Add a {@link ContentValues} of back references. The key is the name of the column
551 public Builder withValueBackReference(String key, int previousResult) { argument
559 mValuesBackReferences.put(key, previousResult);
604 * @param key th
609 withValue(String key, Object value) argument
[all...]
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSimpleSessionDescription.java169 * Returns the encryption key or {@code null} if it is not present.
176 * Sets the encryption method and the encryption key. The field will be
179 public void setEncryption(String method, String key) { argument
180 mFields.setEncryption(method, key);
385 * has three parts: a key, a delimiter, and a value. Delimiters are special
439 * Returns the encryption key or {@code null} if it is not present.
451 * Sets the encryption method and the encryption key. The field will be
454 public void setEncryption(String method, String key) { argument
455 set("k", '=', (method == null || key == null) ?
456 method : method + ':' + key);
568 find(String key, char delimiter) argument
584 set(String key, char delimiter, String value) argument
603 get(String key, char delimiter) argument
[all...]
/frameworks/base/core/java/android/os/
H A DUEventObserver.java127 // collection of key=value pairs parsed from the uevent message
140 // key is before the equals sign, and value is after
149 public String get(String key) { argument
150 return mMap.get(key);
153 public String get(String key, String defaultValue) { argument
154 String result = mMap.get(key);
196 final String key = (String)mKeysAndObservers.get(i);
197 if (message.contains(key)) {
224 /** Removes every key/value pair where value=observer from mObservers */
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DRemoteInputController.java64 public void addSpinning(String key) { argument
65 mSpinning.add(key);
68 public void removeSpinning(String key) { argument
69 mSpinning.remove(key);
72 public boolean isSpinning(String key) { argument
73 return mSpinning.contains(key);
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmTestUtils.java74 for (String key : expected.keySet()) {
75 if (expected.getBoolean(key)) {
76 elist.add(key);
87 for (String key : actual.keySet()) {
88 if (actual.getBoolean(key)) {
89 alist.add(key);
/frameworks/base/telecomm/java/android/telecom/
H A DInCallAdapter.java299 * @param key The extra key.
302 public void putExtra(String callId, String key, boolean value) { argument
305 bundle.putBoolean(key, value);
315 * @param key The extra key.
318 public void putExtra(String callId, String key, int value) { argument
321 bundle.putInt(key, value);
331 * @param key The extra key
334 putExtra(String callId, String key, String value) argument
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DBranchIsland.cpp87 Key key(pPrototype, pReloc.symInfo()->outSymbol(), pReloc.addend());
88 StubMapType::iterator it = m_StubMap.find(key);
101 Key key(pPrototype, pReloc.symInfo()->outSymbol(), pReloc.addend());
102 StubEntryType* entry = m_StubMap.insert(key, exist);
128 Key key(&pStub, pStub.symInfo()->outSymbol(), 0);
129 m_StubMap.insert(key, exist);
/frameworks/base/core/java/com/android/internal/app/
H A DResolverTargetActionsDialogFragment.java78 final String key = name.flattenToString();
81 sp.edit().remove(key).apply();
83 sp.edit().putBoolean(key, true).apply();
/frameworks/base/core/jni/
H A Dandroid_backup_BackupDataOutput.cpp46 writeEntityHeader_native(JNIEnv* env, jobject clazz, jlong w, jstring key, jint dataSize) argument
51 const char* keyUTF = env->GetStringUTFChars(key, NULL);
57 env->ReleaseStringUTFChars(key, keyUTF);

Completed in 8328 milliseconds

1234567891011>>