Searched refs:entry (Results 101 - 125 of 223) sorted by relevance

123456789

/frameworks/native/libs/utils/tests/
H A DBasicHashtable_test.cpp145 static void getKeyValue(const TEntry& entry, int* key, int* value);
147 template <> void getKeyValue(const SimpleEntry& entry, int* key, int* value) { argument
148 *key = entry.key;
149 *value = entry.value;
152 template <> void getKeyValue(const ComplexEntry& entry, int* key, int* value) { argument
153 *key = entry.key.k;
154 *value = entry.value.v;
397 const SimpleEntry& entry = h.entryAt(index); local
398 ASSERT_GE(entry.key, 0);
399 ASSERT_LT(entry
[all...]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmGenerator.java207 for (Entry<String, ClassReader> entry : mDeps.entrySet()) {
208 ClassReader cr = entry.getValue();
214 for (Entry<String, ClassReader> entry : mKeep.entrySet()) {
215 ClassReader cr = entry.getValue();
238 for (Entry<String, byte[]> entry : all.entrySet()) {
239 String name = entry.getKey();
242 jar.write(entry.getValue());
250 * Utility method that converts a fully qualified java name into a JAR entry path
258 * Utility method to get the JAR entry path from a Class name.
323 // If delegateMethods only contains one entry ALL_NATIVE
[all...]
H A DAsmAnalyzer.java111 ZipEntry entry;
113 entry = entries.nextElement();
114 if (entry.getName().endsWith(".class")) {
115 ClassReader cr = new ClassReader(zip.getInputStream(entry));
220 for (Entry<String, ClassReader> entry : zipClasses.entrySet()) {
221 String class_name = entry.getKey();
237 for (Entry<String, ClassReader> entry : zipClasses.entrySet()) {
238 String className = entry.getKey();
242 ClassReader classReader = entry.getValue();
/frameworks/av/media/libstagefright/
H A DSampleIterator.cpp158 const SampleTable::SampleToChunkEntry *entry =
161 mFirstChunk = entry->startChunk;
162 mSamplesPerChunk = entry->samplesPerChunk;
163 mChunkDesc = entry->chunkDesc;
166 mStopChunk = entry[1].startChunk;
/frameworks/av/media/mtp/
H A DMtpDebug.cpp371 const CodeEntry* entry = table; local
372 while (entry->name) {
373 if (entry->code == code)
374 return entry->name;
375 entry++;
/frameworks/support/volley/src/com/android/volley/
H A DRequest.java75 * the network, the cache entry will be stored here so that in the event of
204 * Annotates this request with an entry retrieved for it from cache.
207 public void setCacheEntry(Cache.Entry entry) { argument
208 mCacheEntry = entry;
212 * Returns the annotated cache entry, or null if there isn't one.
294 for (Map.Entry<String, String> entry : postParams.entrySet()) {
295 encodedParams.append(URLEncoder.encode(entry.getKey(), postParamsEncoding));
297 encodedParams.append(URLEncoder.encode(entry.getValue(), postParamsEncoding));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DBaseStatusBar.java701 protected boolean inflateViews(NotificationData.Entry entry, ViewGroup parent) { argument
706 StatusBarNotification sbn = entry.notification;
782 debug.setText("U " + entry.notification.getUserId());
785 entry.row = row;
786 entry.content = content;
787 entry.expanded = expandedOneU;
788 entry.setLargeView(expandedLarge);
889 NotificationData.Entry entry = mNotificationData.remove(key);
890 if (entry == null) {
895 ViewGroup rowParent = (ViewGroup)entry
943 expandView(NotificationData.Entry entry, boolean expand) argument
988 isTopNotification(ViewGroup parent, NotificationData.Entry entry) argument
[all...]
/frameworks/base/core/java/android/app/backup/
H A DBackupHelperDispatcher.java72 for (Map.Entry<String,BackupHelper> entry: helpers.entrySet()) {
73 header.keyPrefix = entry.getKey();
75 BackupHelper helper = entry.getValue();
/frameworks/base/media/java/android/media/
H A DMediaCodec.java249 for (Map.Entry<String, Object> entry: formatMap.entrySet()) {
250 keys[i] = entry.getKey();
251 values[i] = entry.getValue();
H A DMediaMetadataRetriever.java94 for (Map.Entry<String, String> entry: headers.entrySet()) {
95 keys[i] = entry.getKey();
96 values[i] = entry.getValue();
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
H A DProcessErrorsTest.java278 ProcessErrorStateInfo entry = iter.next();
281 switch (entry.condition) {
293 builder.append(String.format("Process %s encountered %s (%s)", entry.processName,
294 condition, entry.shortMsg));
295 if (entry.condition == ActivityManager.ProcessErrorStateInfo.CRASHED) {
296 builder.append(String.format(" with stack trace:\n%s\n", entry.stackTrace));
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java474 // autocomplete text entry area. Make sure to leave space for padding
517 // autocomplete text entry area. Make sure to leave space for padding
551 // TODO: cache this in the recipient entry?
874 Log.d(TAG, "There were extra characters after the last tokenizable entry."
884 * point, this chip will be attached to a real contact entry, if one exists.
897 RecipientEntry entry = createTokenizedEntry(token);
898 if (entry != null) {
899 String destText = createAddressText(entry);
910 entry,
913 TextUtils.isEmpty(entry
1495 createAddressText(RecipientEntry entry) argument
1524 createChipDisplayText(RecipientEntry entry) argument
1547 createChip(RecipientEntry entry, boolean pressed) argument
2055 replaceChip(RecipientChip chip, RecipientEntry entry) argument
2326 createFreeChip(RecipientEntry entry) argument
[all...]
/frameworks/av/include/media/
H A Dmediascanner.h72 struct dirent* entry, char* fileSpot);
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DNetworkActivity.java247 // This section processes the entries list to combine each entry with HTML markup.
248 // Each entry is displayed in the UI as a link that optionally includes
250 for (Entry entry : entries) {
252 htmlString.append(entry.link);
253 htmlString.append("'>" + entry.title + "</a></p>");
257 htmlString.append(entry.summary);
/frameworks/base/test-runner/src/junit/runner/
H A DTestCaseClassLoader.java168 ZipEntry entry= zipFile.getEntry(fileName);
169 if (entry == null)
171 int size= (int) entry.getSize();
173 stream= zipFile.getInputStream(entry);
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSceneGraphRS.java189 FileA3D.IndexEntry entry = model.getIndexEntry(0);
190 if (entry == null || entry.getEntryType() != FileA3D.EntryType.MESH) {
193 mMesh = (Mesh)entry.getObject();
/frameworks/base/media/libdrm/mobile1/include/objmng/
H A Ddrm_file.h54 * that the entry results of DRM_file_listNextEntry() are returned in the async state
106 * @param entry Buffer parameter to return the next file name that matches the
109 * @param entryBytes Size of entry in bytes.
113 * characters encoded in entry. Returns 0 when the end of the list is reached.
117 uint16_t* entry,
/frameworks/base/core/java/android/content/
H A DContentProviderOperation.java126 for (Map.Entry<Integer, Integer> entry : mSelectionArgsBackReferences.entrySet()) {
127 dest.writeInt(entry.getKey());
128 dest.writeInt(entry.getValue());
232 for (Map.Entry<String, Object> entry : values.valueSet()) {
233 projectionList.add(entry.getKey());
295 for (Map.Entry<String, Object> entry : mValuesBackReferences.valueSet()) {
296 String key = entry.getKey();
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_file.c277 uint16_t* entry, int32_t entrySize,
324 entry[idx] = prefix[idx];
327 entry[*iteration + idx] = (unsigned char)ent->d_name[idx];
329 /*add "/" at the end of a DIR file entry*/
330 if (getFileStat(entry, idx + *iteration, &sinfo)){
333 entry[*iteration + idx] = '/';
340 idx + *iteration, entry);
342 Trace("DRM_file_listNextEntry: got %.*S", idx + *iteration, entry);
276 DRM_file_listNextEntry(const uint16_t *prefix, int32_t prefixLen, uint16_t* entry, int32_t entrySize, int32_t *session, int32_t* iteration) argument
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DPasswordUnlockScreen.java57 * Displays a dialer-like interface or alphanumeric (latin-1) key entry for the user to enter
294 String entry = mPasswordEntry.getText().toString();
295 if (mLockPatternUtils.checkPassword(entry)) {
299 KeyStore.getInstance().password(entry);
300 } else if (entry.length() > MINIMUM_PASSWORD_LENGTH_BEFORE_REPORT ) {
311 } else if (entry.length() > 0) {
318 // Prevent user from using the PIN/Password entry until scheduled deadline.
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp291 const ZipEntryRO entry = zip->findEntryByName(entryFilename); local
292 if (entry == NULL) {
295 if (!zip->getEntryInfo(entry, NULL, NULL, NULL, NULL, NULL, (long*)pCrc)) {
810 ZipEntryRO entry; local
815 entry = pZip->findEntryByName(path.string());
816 if (entry != NULL) {
818 pAsset = openAssetFromZipLocked(pZip, entry, mode, path);
964 ZipEntryRO entry; local
969 entry = pZip->findEntryByName(path.string());
970 if (entry !
1079 openAssetFromZipLocked(const ZipFileRO* pZipFile, const ZipEntryRO entry, AccessMode mode, const String8& entryName) argument
1383 struct dirent* entry; local
1476 ZipEntryRO entry; local
[all...]
/frameworks/base/libs/hwui/
H A DShapeCache.h314 * Used as a callback when an entry is removed from the cache.
338 PathTexture* addTexture(const Entry& entry, const SkPath *path, const SkPaint* paint);
339 PathTexture* addTexture(const Entry& entry, SkBitmap* bitmap);
340 void addTexture(const Entry& entry, SkBitmap* bitmap, PathTexture* texture);
353 PathTexture* get(Entry entry) { argument
354 return mCache.get(entry);
564 PathTexture* ShapeCache<Entry>::addTexture(const Entry& entry, const SkPath *path, argument
586 addTexture(entry, &bitmap, texture);
592 void ShapeCache<Entry>::addTexture(const Entry& entry, SkBitmap* bitmap, PathTexture* texture) { argument
603 mCache.put(entry, textur
[all...]
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkStatsTest.java315 final NetworkStats.Entry entry = stats.getValues(index, null);
316 assertValues(entry, iface, uid, set, tag);
317 assertValues(entry, rxBytes, rxPackets, txBytes, txPackets, operations);
321 NetworkStats.Entry entry, String iface, int uid, int set, int tag) {
322 assertEquals(iface, entry.iface);
323 assertEquals(uid, entry.uid);
324 assertEquals(set, entry.set);
325 assertEquals(tag, entry.tag);
328 private static void assertValues(NetworkStats.Entry entry, long rxBytes, long rxPackets, argument
330 assertEquals(rxBytes, entry
320 assertValues( NetworkStats.Entry entry, String iface, int uid, int set, int tag) argument
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp4 // Android Asset Packaging Tool main entry point.
126 const ZipEntry* entry; local
154 entry = zip->getEntryByIndex(i);
159 when = entry->getModWhen();
164 (long) entry->getUncompressedLen(),
165 compressionName(entry->getCompressionMethod()),
166 (long) entry->getCompressedLen(),
167 calcPercent(entry->getUncompressedLen(),
168 entry->getCompressedLen()),
169 (size_t) entry
1606 ZipEntry* entry; local
[all...]
/frameworks/base/core/java/android/net/http/
H A DRequestQueue.java430 Map.Entry<HttpHost, LinkedList<Request>> entry = iter.next();
431 String hostName = entry.getKey().getHostName();
434 LinkedList<Request> reqList = entry.getValue();
528 Map.Entry<HttpHost, LinkedList<Request>> entry = iter.next();
529 LinkedList<Request> reqList = entry.getValue();
532 requestQueue.remove(entry.getKey());

Completed in 2352 milliseconds

123456789