Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 138) sorted by relevance

123456

/frameworks/base/core/java/android/net/http/
DIdleCache.java78 Entry entry = mEntries[i]; in cacheConnection() local
79 if (entry.mHost == null) { in cacheConnection()
80 entry.mHost = host; in cacheConnection()
81 entry.mConnection = connection; in cacheConnection()
82 entry.mTimeout = time + TIMEOUT; in cacheConnection()
102 Entry entry = mEntries[i]; in getConnection() local
103 HttpHost eHost = entry.mHost; in getConnection()
105 ret = entry.mConnection; in getConnection()
106 entry.mHost = null; in getConnection()
107 entry.mConnection = null; in getConnection()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationData.java52 Entry entry = mEntries.get(i); in findEntry() local
53 if (entry.key == key) { in findEntry()
62 Entry entry = new Entry(); in add() local
63 entry.key = key; in add()
64 entry.notification = notification; in add()
65 entry.row = row; in add()
66 entry.content = content; in add()
67 entry.expanded = expanded; in add()
68 entry.icon = icon; in add()
70 mEntries.add(index, entry); in add()
[all …]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DCSVFormatter.java42 public String getOutput(TrackerEntry entry) { in getOutput() argument
45 rowOutput.append(entry.getTimestamp()); in getOutput()
47 rowOutput.append(entry.getTag()); in getOutput()
51 if (entry.getType() == EntryType.LOCATION_TYPE) { in getOutput()
52 if (entry.getLocation().hasAccuracy()) { in getOutput()
53 rowOutput.append(entry.getLocation().getAccuracy()); in getOutput()
56 rowOutput.append(entry.getLocation().getLatitude()); in getOutput()
58 rowOutput.append(entry.getLocation().getLongitude()); in getOutput()
60 if (entry.getLocation().hasAltitude()) { in getOutput()
61 rowOutput.append(entry.getLocation().getAltitude()); in getOutput()
[all …]
DTrackerEntry.java96 TrackerEntry entry = new TrackerEntry(loc); in createEntry() local
99 entry.setTimestamp(timestampVal); in createEntry()
100 entry.setDistFromNetLocation(distFromNetLocation); in createEntry()
101 return entry; in createEntry()
108 TrackerEntry entry = new TrackerEntry(tag, EntryType.LOG_TYPE); in createEntry() local
110 entry.setTimestamp(timestampVal); in createEntry()
111 entry.setLogMsg(msg); in createEntry()
112 return entry; in createEntry()
212 TrackerEntry entry = new TrackerEntry(tag, EntryType.valueOf(sType)); in createEntry() local
213 entry.setTimestamp(timestamp); in createEntry()
[all …]
DKMLFormatter.java43 public String getOutput(TrackerEntry entry) { in getOutput() argument
46 if (entry.getType() == EntryType.LOCATION_TYPE) { in getOutput()
48 Location loc = entry.getLocation(); in getOutput()
53 + entry.getDistFromNetLocation()); in getOutput()
56 builder.addLine("<when>" + entry.getTimestamp() + "</when>"); in getOutput()
/frameworks/base/libs/ui/
DInputDispatcher.cpp291 EventEntry* entry = mInboundQueue.headSentinel.next; in dispatchOnceInnerLocked() local
298 if (entry->type == EventEntry::TYPE_MOTION in dispatchOnceInnerLocked()
301 && (entry->policyFlags & POLICY_FLAG_PASS_TO_USER) in dispatchOnceInnerLocked()
302 && !entry->isInjected()) { in dispatchOnceInnerLocked()
303 MotionEntry* motionEntry = static_cast<MotionEntry*>(entry); in dispatchOnceInnerLocked()
341 mThrottleState.lastEventTime = entry->eventTime < currentTime in dispatchOnceInnerLocked()
342 ? entry->eventTime : currentTime; in dispatchOnceInnerLocked()
347 mInboundQueue.dequeue(entry); in dispatchOnceInnerLocked()
348 mPendingEvent = entry; in dispatchOnceInnerLocked()
415 bool InputDispatcher::enqueueInboundEventLocked(EventEntry* entry) { in enqueueInboundEventLocked() argument
[all …]
/frameworks/base/services/java/com/android/server/
DDropBoxManagerService.java154 public void add(DropBoxManager.Entry entry) { in add() argument
157 final String tag = entry.getTag(); in add()
159 int flags = entry.getFlags(); in add()
168 InputStream input = entry.getInputStream(); in add()
227 entry.close(); in add()
253 for (EntryFile entry : list.contents.tailSet(new EntryFile(millis + 1))) { in getNextEntry()
254 if (entry.tag == null) continue; in getNextEntry()
255 if ((entry.flags & DropBoxManager.IS_EMPTY) != 0) { in getNextEntry()
256 return new DropBoxManager.Entry(entry.tag, entry.timestampMillis); in getNextEntry()
260 entry.tag, entry.timestampMillis, entry.file, entry.flags); in getNextEntry()
[all …]
/frameworks/base/core/tests/coretests/src/android/pim/vcard/
DVCardExporterTests.java98 final ContactEntry entry = mVerifier.addInputEntry(); in testStructuredNameUsePrimaryCommon() local
99 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) in testStructuredNameUsePrimaryCommon()
108 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) in testStructuredNameUsePrimaryCommon()
122 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) in testStructuredNameUsePrimaryCommon()
158 final ContactEntry entry = mVerifier.addInputEntry(); in testStructuredNameUseSuperPrimaryCommon() local
159 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) in testStructuredNameUseSuperPrimaryCommon()
168 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) in testStructuredNameUseSuperPrimaryCommon()
178 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) in testStructuredNameUseSuperPrimaryCommon()
187 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) in testStructuredNameUseSuperPrimaryCommon()
228 final ContactEntry entry = mVerifier.addInputEntry(); in testStructuredNamePhoneticNameCommon() local
[all …]
DVCardJapanizationTests.java35 ContactEntry entry = mVerifier.addInputEntry(); in testNameUtf8Common() local
36 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) in testNameUtf8Common()
63 ContactEntry entry = mVerifier.addInputEntry(); in testNameShiftJis() local
64 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) in testNameShiftJis()
85 ContactEntry entry = mVerifier.addInputEntry(); in testNameDoCoMo() local
86 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) in testNameDoCoMo()
111 ContactEntry entry = mVerifier.addInputEntry(); in testPhoneticNameCommon() local
112 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) in testPhoneticNameCommon()
163 ContactEntry entry = mVerifier.addInputEntry(); in testPhoneticNameForMobileV21_1() local
164 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) in testPhoneticNameForMobileV21_1()
[all …]
/frameworks/base/core/java/com/google/android/mms/util/
DPduCache.java94 synchronized public boolean put(Uri uri, PduCacheEntry entry) { in put() argument
95 int msgBoxId = entry.getMessageBox(); in put()
102 long threadId = entry.getThreadId(); in put()
110 boolean result = super.put(finalKey, entry); in put()
150 PduCacheEntry entry = super.purge(key); in purgeSingleEntry() local
151 if (entry != null) { in purgeSingleEntry()
152 removeFromThreads(key, entry); in purgeSingleEntry()
153 removeFromMessageBoxes(key, entry); in purgeSingleEntry()
154 return entry; in purgeSingleEntry()
205 PduCacheEntry entry = super.purge(key); in purgeByMessageBox() local
[all …]
/frameworks/base/tools/aapt/
DPackage.cpp141 ZipEntry* entry = zip->getEntryByIndex(i); in writeAPK() local
143 if (!entry->getMarked() && entry->getDeleted()) { in writeAPK()
146 entry->getFileName()); in writeAPK()
148 zip->remove(entry); in writeAPK()
264 ZipEntry* entry; in processFile() local
296 entry = zip->getEntryByName(storageName.string()); in processFile()
297 if (entry != NULL) { in processFile()
299 if (entry->getMarked()) { in processFile()
313 if (fileModWhen > entry->getModWhen()) { in processFile()
319 zip->remove(entry); in processFile()
[all …]
DStringPool.h41 struct entry { struct
42 entry() : offset(0) { } in entry() argument
43 entry(const String16& _value) : value(_value), offset(0) { } in entry() function
44 entry(const entry& o) : value(o.value), offset(o.offset), indices(o.indices) { } in entry() function
101 const entry& entryAt(size_t idx) const;
131 Vector<entry> mEntries;
Dprintapk.cpp33 zipentry_t entry; in main() local
81 while ((entry = iterate_zipfile(zip, &cookie))) { in main()
82 char* name = get_zipentry_name(entry); in main()
87 entry = lookup_zipentry(zip, "resources.arsc"); in main()
88 if (entry != NULL) { in main()
89 size = get_zipentry_size(entry); in main()
93 err = decompress_zipentry(entry, resfile, bufsize); in main()
/frameworks/base/cmds/runtime/
DSignalHandler.cpp63 void processCommand(const CommandEntry& entry) in processCommand() argument
65 switch (entry.signum) { in processCommand()
68 ssize_t i = mOwner.mChildHandlers.indexOfKey(entry.info.si_pid); in processCommand()
76 LOGD("SIGCHLD: pid=%d, handle index=%d", entry.info.si_pid, i); in processCommand()
79 int res = waitpid(entry.info.si_pid, NULL, WNOHANG); in processCommand()
82 entry.info.si_pid); in processCommand()
84 ch.handler(entry.info.si_pid, ch.userData); in processCommand()
87 LOGW("Unhandled SIGCHLD for pid %d", entry.info.si_pid); in processCommand()
131 ChildHandler entry; in setChildHandler() local
132 entry.childPid = childPid; in setChildHandler()
[all …]
/frameworks/base/include/ui/
DInputDispatcher.h620 inline void enqueueAtTail(T* entry) { in enqueueAtTail()
622 last->next = entry; in enqueueAtTail()
623 entry->prev = last; in enqueueAtTail()
624 entry->next = & tailSentinel; in enqueueAtTail()
625 tailSentinel.prev = entry; in enqueueAtTail()
628 inline void enqueueAtHead(T* entry) { in enqueueAtHead()
630 headSentinel.next = entry; in enqueueAtHead()
631 entry->prev = & headSentinel; in enqueueAtHead()
632 entry->next = first; in enqueueAtHead()
633 first->prev = entry; in enqueueAtHead()
[all …]
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java90 ZipEntry entry = entries.nextElement(); in listPackageSharedLibsForAbiLI() local
93 if (entry.isDirectory()) { in listPackageSharedLibsForAbiLI()
96 String entryName = entry.getName(); in listPackageSharedLibsForAbiLI()
139 Log.d(TAG, "Caching shared lib " + entry.getName()); in listPackageSharedLibsForAbiLI()
142 libEntries.add(Pair.create(entry, libFileName)); in listPackageSharedLibsForAbiLI()
168 ZipEntry entry = entries.nextElement(); in listPackageGdbServerLI() local
170 if (entry.isDirectory()) { in listPackageGdbServerLI()
173 String entryName = entry.getName(); in listPackageGdbServerLI()
180 Log.d(TAG, "Found gdbserver: " + entry.getName()); in listPackageGdbServerLI()
184 nativeFiles.add(Pair.create(entry, installGdbServerPath)); in listPackageGdbServerLI()
[all …]
/frameworks/base/include/utils/
DZipFileRO.h119 int getEntryFileName(ZipEntryRO entry, char* buffer, int bufLen) const;
130 bool getEntryInfo(ZipEntryRO entry, int* pMethod, size_t* pUncompLen,
139 FileMap* createEntryFileMap(ZipEntryRO entry) const;
150 bool uncompressEntry(ZipEntryRO entry, void* buffer) const;
155 bool uncompressEntry(ZipEntryRO entry, int fd) const;
204 int entryToIndex(const ZipEntryRO entry) const;
/frameworks/base/media/libstagefright/foundation/
DAAtomizer.cpp42 List<AString> &entry = mAtoms.editItemAt(index); in atomize() local
43 List<AString>::iterator it = entry.begin(); in atomize()
44 while (it != entry.end()) { in atomize()
51 entry.push_back(AString(name)); in atomize()
53 return (*--entry.end()).c_str(); in atomize()
/frameworks/base/docs/html/resources/webinars/
Dwebinar-watch.jd17 // Loop through each entry (each webinar) and add it to the 'webinars' list
19 var entry = entries[i];
21 var title = entry.title;
22 var description = entry.description;
23 var url = entry.url;
24 var start = entry.start;
25 var end = entry.end;
64 // Loop through each entry (each webinar) and add it to the 'webinars' list
66 var entry = entries[i];
68 var title = entry.title;
[all …]
Dwebinar-upcoming.jd17 // Loop through each entry (each webinar) and add it to the 'webinars' list
19 var entry = entries[i];
21 var title = entry.title;
22 var description = entry.description;
23 var url = entry.url;
24 var start = entry.start;
25 var end = entry.end;
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java81 ActivityManager.ProcessErrorStateInfo entry = iter.next(); in reportListContents() local
84 switch (entry.condition) { in reportListContents()
97 builder.append(" ").append(entry.shortMsg); in reportListContents()
98 builder.append(" detected in ").append(entry.processName).append(" ").append(entry.tag); in reportListContents()
/frameworks/base/core/tests/coretests/src/android/pim/vcard/test_utils/
DImportTestProvider.java133 for (Entry<String, Object> entry : actualContentValues.valueSet()) { in applyBatch()
134 Object value = entry.getValue(); in applyBatch()
136 keyToBeRemoved.add(entry.getKey()); in applyBatch()
216 for (Entry<String, Object> entry : contentValues.valueSet()) { in convertToEasilyReadableString()
217 final String key = entry.getKey(); in convertToEasilyReadableString()
218 final Object value = entry.getValue(); in convertToEasilyReadableString()
231 for (Entry<String, String> entry : sortedMap.entrySet()) { in convertToEasilyReadableString()
232 final String key = entry.getKey(); in convertToEasilyReadableString()
233 final String value = entry.getValue(); in convertToEasilyReadableString()
251 for (Entry<String, Object> entry : expected.valueSet()) { in equalsForContentValues()
[all …]
/frameworks/base/media/java/android/media/
DMediaScanner.java457 FileCacheEntry entry = mFileCache.get(key); in beginFile() local
458 if (entry == null) { in beginFile()
459 entry = new FileCacheEntry(null, 0, path, 0); in beginFile()
460 mFileCache.put(key, entry); in beginFile()
462 entry.mSeenInFileSystem = true; in beginFile()
465 long delta = lastModified - entry.mLastModified; in beginFile()
467 entry.mLastModified = lastModified; in beginFile()
468 entry.mLastModifiedChanged = true; in beginFile()
472 mPlayLists.add(entry); in beginFile()
492 return entry; in beginFile()
[all …]
/frameworks/base/libs/utils/
DZipFileCRO.cpp45 ZipEntryRO entry = (ZipEntryRO)entryToken; in ZipFileCRO_getEntryInfo() local
46 return zip->getEntryInfo(entry, pMethod, pUncompLen, pCompLen, pOffset, in ZipFileCRO_getEntryInfo()
52 ZipEntryRO entry = (ZipEntryRO)entryToken; in ZipFileCRO_uncompressEntry() local
53 return zip->uncompressEntry(entry, fd); in ZipFileCRO_uncompressEntry()
DZipFileRO.cpp119 int ZipFileRO::entryToIndex(const ZipEntryRO entry) const in entryToIndex()
121 long ent = ((long) entry) - kZipEntryAdj; in entryToIndex()
123 LOGW("Invalid ZipEntryRO %p (%ld)\n", entry, ent); in entryToIndex()
475 bool ZipFileRO::getEntryInfo(ZipEntryRO entry, int* pMethod, size_t* pUncompLen, in getEntryInfo() argument
480 const int ent = entryToIndex(entry); in getEntryInfo()
622 int ZipFileRO::getEntryFileName(ZipEntryRO entry, char* buffer, int bufLen) in getEntryFileName() argument
625 int ent = entryToIndex(entry); in getEntryFileName()
641 FileMap* ZipFileRO::createEntryFileMap(ZipEntryRO entry) const in createEntryFileMap()
654 if (!getEntryInfo(entry, NULL, NULL, &compLen, &offset, NULL, NULL)) in createEntryFileMap()
672 bool ZipFileRO::uncompressEntry(ZipEntryRO entry, void* buffer) const in uncompressEntry() argument
[all …]

123456