/frameworks/base/services/core/java/com/android/server/location/ |
H A D | LocationBlacklist.java | 126 private String[] getStringArrayLocked(String key) { argument 129 flatString = Settings.Secure.getStringForUser(mContext.getContentResolver(), key,
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationDelegate.java | 22 void onNotificationClick(int callingUid, int callingPid, String key); argument 23 void onNotificationActionClick(int callingUid, int callingPid, String key, int actionIndex); argument 34 void onNotificationExpansionChanged(String key, boolean userAction, boolean expanded); argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | SparseWeakArray.java | 69 * Gets the Object mapped from the specified key, or <code>null</code> 72 public E get(long key) { argument 73 return get(key, null); 77 * Gets the Object mapped from the specified key, or the specified Object 80 public E get(long key, E valueIfKeyNotFound) { argument 81 int i = binarySearch(mKeys, 0, mSize, key); 91 * Removes the mapping from the specified key, if there was any. 93 public void delete(long key) { argument 94 int i = binarySearch(mKeys, 0, mSize, key); 107 public void remove(long key) { argument 151 put(long key, E value) argument 234 indexOfKey(long key) argument 281 append(long key, E value) argument 306 binarySearch(long[] a, int start, int len, long key) argument [all...] |
/frameworks/base/tools/split-select/ |
H A D | Rule.h | 59 Key key; member in struct:split::Rule 74 , key(NONE)
|
/frameworks/compile/libbcc/include/bcc/ExecutionEngine/ |
H A D | SymbolResolvers.h | 82 const SymbolMap key = { pName, NULL }; local 85 ::bsearch(&key, Subclass::SymbolArray,
|
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSInfoExtractor.cpp | 178 // Pragma is actually a key-value pair. The value can be an empty string while 179 // the key cannot. 183 llvm::StringRef key = getStringFromOperand(node->getOperand(0)); local 185 if (key.empty()) { 186 ALOGW("%s contains pragma metadata with empty key (skip)!", 190 writeString(key, result->mStringPool, &cur_string_pool_offset), 192 } // key.empty()
|
/frameworks/compile/mclinker/include/mcld/Target/ |
H A D | KeyEntryMap.h | 37 /// EntryOrPair - A key may mapping to a signal entry or a pair of entries, 45 const KeyType* key; member in struct:mcld::KeyEntryMap::Mapping 97 if (mapping->key == &pKey) { 111 if (mapping->key == &pKey) { 125 if (mapping->key == &pKey) { 139 if (mapping->key == &pKey) { 153 if (mapping->key == &pKey) { 167 if (mapping->key == &pKey) { 180 mapping.key = &pKey; 192 mapping.key [all...] |
/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 | BordeauxSessionManager.java | 82 public LearningUpdateCallback(String key) { argument 83 mKey = key; 100 // internal unique key that identifies the learning instance. 104 SessionKey key = new SessionKey(); 105 key.value = callingUid + "#" + "_" + name + "_" + learnerClass.getName(); 106 return key; 109 public IBinder getSessionBinder(Class learnerClass, SessionKey key) { argument 110 if (mSessions.containsKey(key.value)) { 111 return mSessions.get(key.value).learner.getBinder(); 116 Session stored = mSessionStorage.getSession(key 155 saveSession(SessionKey key) argument [all...] |
H A D | BordeauxSessionStorage.java | 35 // unique key for the session 36 public static final String COLUMN_KEY = "key"; 49 " TEXT primary key, " + COLUMN_CLASS + " TEXT, " + 84 private ContentValues createSessionEntry(String key, Class learner, byte[] model) { argument 86 entry.put(COLUMN_KEY, key); 93 boolean saveSession(String key, Class learner, byte[] model) { argument 94 ContentValues content = createSessionEntry(key, learner, model); 115 BordeauxSessionManager.Session getSession(String key) { argument 118 COLUMN_KEY + "=\"" + key + "\"", null, null, null, null, null); 125 throw new RuntimeException("Unexpected duplication in session table for key [all...] |
H A D | Predictor.java | 134 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/native/cmds/service/ |
H A D | service.cpp | 177 char* key = strtok_r(argv[optind], "=", &context1); local 181 if (key == NULL) break; 183 if (strcmp(key, "action") == 0) 187 else if (strcmp(key, "data") == 0) 191 else if (strcmp(key, "type") == 0) 195 else if (strcmp(key, "launchFlags") == 0) 199 else if (strcmp(key, "component") == 0) 203 else if (strcmp(key, "categories") == 0)
|
/frameworks/native/opengl/libs/EGL/ |
H A D | trace.cpp | 58 GLenumString key = {e, ""}; local 60 &key, g_enumnames,
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/ |
H A D | BluetoothPbapObexSession.java | 105 public boolean setAuthReply(String key) { argument 106 Log.d(TAG, "setAuthReply key=" + key); 112 mAuth.setReply(key);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseFragmentPagerAdapter.java | 183 protected void entryRemoved(boolean evicted, String key, argument
|
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/ |
H A D | GenImage.java | 149 public String setup(int key) { argument 153 tmp = key % 2; 154 key /= 2; 163 tmp = key % 2; 164 key /= 2; 173 tmp = key % 3; 174 key /= 3; 190 tmp = key % 3; 191 key /= 3; 207 if (key > 231 int key = 0; field in class:Triangle [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LongSparseArray.java | 38 * as deleted. The entry can then be re-used for the same key, or compacted later in 92 * Gets the Object mapped from the specified key, or <code>null</code> 95 public E get(long key) { argument 96 return get(key, null); 100 * Gets the Object mapped from the specified key, or the specified Object 104 public E get(long key, E valueIfKeyNotFound) { argument 105 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); 115 * Removes the mapping from the specified key, if there was any. 117 public void delete(long key) { argument 118 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); 131 remove(long key) argument 178 put(long key, E value) argument 282 indexOfKey(long key) argument 329 append(long key, E value) argument [all...] |
H A D | LruCache.java | 72 * Returns the value for {@code key} if it exists in the cache or can be 77 public final V get(K key) { argument 78 if (key == null) { 79 throw new NullPointerException("key == null"); 84 mapValue = map.get(key); 99 V createdValue = create(key); 106 mapValue = map.put(key, createdValue); 110 map.put(key, mapValue); 112 size += safeSizeOf(key, createdValue); 117 entryRemoved(false, key, createdValu 131 put(K key, V value) argument 192 remove(K key) argument 227 entryRemoved(boolean evicted, K key, V oldValue, V newValue) argument 244 create(K key) argument 248 safeSizeOf(K key, V value) argument 263 sizeOf(K key, V value) argument [all...] |
H A D | SparseArrayCompat.java | 72 * Gets the Object mapped from the specified key, or <code>null</code> 75 public E get(int key) { argument 76 return get(key, null); 80 * Gets the Object mapped from the specified key, or the specified Object 84 public E get(int key, E valueIfKeyNotFound) { argument 85 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); 95 * Removes the mapping from the specified key, if there was any. 97 public void delete(int key) { argument 98 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); 111 public void remove(int key) { argument 171 put(int key, E value) argument 275 indexOfKey(int key) argument 324 append(int key, E value) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | ICrypto.cpp | 97 const uint8_t key[16], 111 if (key == NULL) { 112 key = kDummy; 119 data.write(key, 16); 241 uint8_t key[16]; local 242 data.read(key, sizeof(key)); 270 key, 95 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const void *srcPtr, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
|
H A D | IMediaMetadataRetriever.cpp | 219 String8 key = data.readString8(); local 221 headers.add(key, value);
|
H A D | MediaCodecInfo.cpp | 250 void MediaCodecInfo::addDetail(const AString &key, const AString &value) { argument 251 mCurrentCaps->mDetails->setString(key.c_str(), value.c_str()); 254 void MediaCodecInfo::addFeature(const AString &key, int32_t value) { argument 256 tag.append(key); 260 void MediaCodecInfo::addFeature(const AString &key, const char *value) { argument 262 tag.append(key);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | Crypto.cpp | 238 const uint8_t key[16], 256 secure, key, iv, mode, srcPtr, subSamples, numSubSamples, dstPtr, 236 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const void *srcPtr, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
|
H A D | StagefrightPlayer.cpp | 181 status_t StagefrightPlayer::setParameter(int key, const Parcel &request) { argument 182 ALOGV("setParameter(key=%d)", key); 183 return mPlayer->setParameter(key, request); 186 status_t StagefrightPlayer::getParameter(int key, Parcel *reply) { argument 188 return mPlayer->getParameter(key, reply);
|
/frameworks/av/media/libstagefright/ |
H A D | MetaData.cpp | 48 bool MetaData::remove(uint32_t key) { argument 49 ssize_t i = mItems.indexOfKey(key); 60 bool MetaData::setCString(uint32_t key, const char *value) { argument 61 return setData(key, TYPE_C_STRING, value, strlen(value) + 1); 64 bool MetaData::setInt32(uint32_t key, int32_t value) { argument 65 return setData(key, TYPE_INT32, &value, sizeof(value)); 68 bool MetaData::setInt64(uint32_t key, int64_t value) { argument 69 return setData(key, TYPE_INT64, &value, sizeof(value)); 72 bool MetaData::setFloat(uint32_t key, float value) { argument 73 return setData(key, TYPE_FLOA 76 setPointer(uint32_t key, void *value) argument 80 setRect( uint32_t key, int32_t left, int32_t top, int32_t right, int32_t bottom) argument 96 findCString(uint32_t key, const char **value) argument 109 findInt32(uint32_t key, int32_t *value) argument 124 findInt64(uint32_t key, int64_t *value) argument 139 findFloat(uint32_t key, float *value) argument 154 findPointer(uint32_t key, void **value) argument 169 findRect( uint32_t key, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) argument 191 setData( uint32_t key, uint32_t type, const void *data, size_t size) argument 210 findData(uint32_t key, uint32_t *type, const void **data, size_t *size) const argument 359 int32_t key = mItems.keyAt(i); local [all...] |