Searched refs:entry (Results 1 - 25 of 77) sorted by relevance

1234

/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DCSVFormatter.java42 public String getOutput(TrackerEntry entry) { argument
45 rowOutput.append(entry.getTimestamp());
47 rowOutput.append(entry.getTag());
49 //rowOutput.append(entry.getType());
51 if (entry.getType() == EntryType.LOCATION_TYPE) {
52 if (entry.getLocation().hasAccuracy()) {
53 rowOutput.append(entry.getLocation().getAccuracy());
56 rowOutput.append(entry.getLocation().getLatitude());
58 rowOutput.append(entry.getLocation().getLongitude());
60 if (entry
[all...]
H A DIFormatter.java25 String getOutput(TrackerEntry entry); argument
H A DKMLFormatter.java43 public String getOutput(TrackerEntry entry) { argument
46 if (entry.getType() == EntryType.LOCATION_TYPE) {
48 Location loc = entry.getLocation();
53 + entry.getDistFromNetLocation());
56 builder.addLine("<when>" + entry.getTimestamp() + "</when>");
H A DTrackerEntry.java25 * Class that holds a tracker entry. An entry can be either a valid location, or
96 TrackerEntry entry = new TrackerEntry(loc);
99 entry.setTimestamp(timestampVal);
100 entry.setDistFromNetLocation(distFromNetLocation);
101 return entry;
108 TrackerEntry entry = new TrackerEntry(tag, EntryType.LOG_TYPE);
110 entry.setTimestamp(timestampVal);
111 entry.setLogMsg(msg);
112 return entry;
[all...]
H A DTrackerDataHelper.java48 public String getOutput(TrackerEntry entry) {
75 void writeEntry(TrackerEntry entry) { argument
77 entry.getAsContentValues());
/frameworks/base/core/java/android/pim/vcard/
H A DVCardEntryHandler.java29 * The method called when one VCard entry is successfully created
31 public void onEntryCreated(final VCardEntry entry); argument
/frameworks/base/core/java/android/net/http/
H A DIdleCache.java78 Entry entry = mEntries[i];
79 if (entry.mHost == null) {
80 entry.mHost = host;
81 entry.mConnection = connection;
82 entry.mTimeout = time + TIMEOUT;
102 Entry entry = mEntries[i];
103 HttpHost eHost = entry.mHost;
105 ret = entry.mConnection;
106 entry.mHost = null;
107 entry
[all...]
/frameworks/base/include/utils/
H A DZipFileCRO.h49 extern bool ZipFileCRO_getEntryInfo(ZipFileCRO zip, ZipEntryCRO entry,
53 extern bool ZipFileCRO_uncompressEntry(ZipFileCRO zip, ZipEntryCRO entry, int fd);
H A DZipFileRO.h45 * We want "open" and "find entry by name" to be fast operations, and we
56 * of the string length into the hash table entry.
77 * Find an entry, by name. Returns the entry identifier, or NULL if
92 * Return the Nth entry. Zip file entries are not stored in sorted
95 * that further by returning the Nth non-empty entry in the hash table
96 * rather than the Nth entry in the archive.
107 * -1 if "entry" is invalid, or the filename length if it didn't fit. The
110 int getEntryFileName(ZipEntryRO entry, char* buffer, int bufLen) const;
113 * Get the vital stats for an entry
[all...]
/frameworks/base/core/tests/coretests/src/android/pim/vcard/
H A DVCardJapanizationTests.java34 ContactEntry entry = mVerifier.addInputEntry();
35 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
62 ContactEntry entry = mVerifier.addInputEntry();
63 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
84 ContactEntry entry = mVerifier.addInputEntry();
85 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
110 ContactEntry entry = mVerifier.addInputEntry();
111 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
162 ContactEntry entry = mVerifier.addInputEntry();
163 entry
[all...]
H A DVCardExporterTests.java108 ContactEntry entry = mVerifier.addInputEntry();
109 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
120 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
132 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
178 ContactEntry entry = mVerifier.addInputEntry();
179 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
190 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
202 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
213 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
283 ContactEntry entry
[all...]
H A DImportTestResolver.java166 for (Entry<String, Object> entry : actualContentValues.valueSet()) {
167 Object value = entry.getValue();
169 keyToBeRemoved.add(entry.getKey());
179 // Remove RAW_CONTACT_ID entry just for safety, since we do not care
180 // how resolver-related code handles the entry in this unit test,
247 for (Entry<String, Object> entry : contentValues.valueSet()) {
248 final String key = entry.getKey();
249 final Object value = entry.getValue();
262 for (Entry<String, String> entry : sortedMap.entrySet()) {
263 final String key = entry
[all...]
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
H A DProcessErrorsTest.java81 ActivityManager.ProcessErrorStateInfo entry = iter.next();
84 switch (entry.condition) {
97 builder.append(" ").append(entry.shortMsg);
98 builder.append(" detected in ").append(entry.processName).append(" ").append(entry.tag);
/frameworks/base/core/java/com/google/android/mms/util/
H A DPduCache.java94 synchronized public boolean put(Uri uri, PduCacheEntry entry) { argument
95 int msgBoxId = entry.getMessageBox();
102 long threadId = entry.getThreadId();
110 boolean result = super.put(finalKey, entry);
150 PduCacheEntry entry = super.purge(key);
151 if (entry != null) {
152 removeFromThreads(key, entry);
153 removeFromMessageBoxes(key, entry);
154 return entry;
169 * @return Uri The normalized key of cached entry
214 removeFromThreads(Uri key, PduCacheEntry entry) argument
237 removeFromMessageBoxes(Uri key, PduCacheEntry entry) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DIDropBoxManagerService.aidl35 void add(in DropBoxManager.Entry entry);
/frameworks/base/services/java/com/android/server/
H A DDropBoxManagerService.java73 // TODO: This implementation currently uses one file per entry, which is
152 public void add(DropBoxManager.Entry entry) { argument
155 final String tag = entry.getTag();
157 int flags = entry.getFlags();
166 InputStream input = entry.getInputStream();
220 entry.close();
246 for (EntryFile entry : list.contents.tailSet(new EntryFile(millis + 1))) {
247 if (entry.tag == null) continue;
248 if ((entry.flags & DropBoxManager.IS_EMPTY) != 0) {
249 return new DropBoxManager.Entry(entry
574 enrollEntry(EntryFile entry) argument
[all...]
/frameworks/base/libs/utils/
H A DZipFileCRO.cpp45 ZipEntryRO entry = (ZipEntryRO)entryToken; local
46 return zip->getEntryInfo(entry, pMethod, pUncompLen, pCompLen, pOffset,
52 ZipEntryRO entry = (ZipEntryRO)entryToken; local
53 return zip->uncompressEntry(entry, fd);
H A DZipFileRO.cpp55 #define kCDECRC 16 // offset to entry CRC
75 int ZipFileRO::entryToIndex(const ZipEntryRO entry) const
77 long ent = ((long) entry) - kZipEntryAdj;
79 LOGW("Invalid ZipEntryRO %p (%ld)\n", entry, ent);
286 * Add a new entry to the hash table.
303 * Find a matching entry.
328 * Find the Nth entry.
352 * Get the useful fields from the zip entry.
357 bool ZipFileRO::getEntryInfo(ZipEntryRO entry, int* pMethod, long* pUncompLen, argument
360 int ent = entryToIndex(entry);
431 getEntryFileName(ZipEntryRO entry, char* buffer, int bufLen) const argument
481 uncompressEntry(ZipEntryRO entry, void* buffer) const argument
533 uncompressEntry(ZipEntryRO entry, int fd) const argument
[all...]
/frameworks/base/tools/aapt/
H A DStringPool.h41 struct entry { struct in class:StringPool
42 entry() : offset(0) { } function in struct:StringPool::entry
43 entry(const String16& _value) : value(_value), offset(0) { } function in struct:StringPool::entry
44 entry(const entry& o) : value(o.value), offset(o.offset), indices(o.indices) { } function in struct:StringPool::entry
79 * the string already exists the existing entry for it will be used;
80 * otherwise, or if the value doesn't already exist, a new entry is
83 * Returns the index in the entry array of the new string entry. Note that
101 const entry
[all...]
H A Dprintapk.cpp33 zipentry_t entry; local
81 while ((entry = iterate_zipfile(zip, &cookie))) {
82 char* name = get_zipentry_name(entry);
87 entry = lookup_zipentry(zip, "resources.arsc");
88 if (entry != NULL) {
89 size = get_zipentry_size(entry);
93 err = decompress_zipentry(entry, resfile, bufsize);
H A DPackage.cpp133 * or decided not to update. If the entry isn't already slated for
141 ZipEntry* entry = zip->getEntryByIndex(i); local
143 if (!entry->getMarked() && entry->getDeleted()) {
146 entry->getFileName());
148 zip->remove(entry);
255 * delete the existing entry before adding the new one.
264 ZipEntry* entry; local
296 entry = zip->getEntryByName(storageName.string());
297 if (entry !
423 ZipEntry* entry = jar->getEntryByIndex(i); local
[all...]
/frameworks/base/cmds/runtime/
H A DSignalHandler.cpp63 void processCommand(const CommandEntry& entry) argument
65 switch (entry.signum) {
68 ssize_t i = mOwner.mChildHandlers.indexOfKey(entry.info.si_pid);
76 LOGD("SIGCHLD: pid=%d, handle index=%d", entry.info.si_pid, i);
79 int res = waitpid(entry.info.si_pid, NULL, WNOHANG);
82 entry.info.si_pid);
84 ch.handler(entry.info.si_pid, ch.userData);
87 LOGW("Unhandled SIGCHLD for pid %d", entry.info.si_pid);
131 ChildHandler entry; local
132 entry
[all...]
/frameworks/base/media/java/android/media/
H A DMediaScanner.java84 * gathered and inserts an entry in to the database.
99 * Once MediaScanner processFile returns, an entry is inserted in to the database.
456 FileCacheEntry entry = mFileCache.get(key);
457 if (entry == null) {
458 entry = new FileCacheEntry(null, 0, path, 0);
459 mFileCache.put(key, entry);
461 entry.mSeenInFileSystem = true;
464 long delta = lastModified - entry.mLastModified;
466 entry.mLastModified = lastModified;
467 entry
653 endFile(FileCacheEntry entry, boolean ringtones, boolean notifications, boolean alarms, boolean music, boolean podcasts) argument
1253 addPlayListEntry(String entry, String playListDirectory, Uri uri, ContentValues values, int index) argument
[all...]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmGenerator.java72 * @param stubMethods The list of methods to stub out. Each entry must be in the form
190 for (Entry<String, ClassReader> entry : mDeps.entrySet()) {
191 ClassReader cr = entry.getValue();
197 for (Entry<String, ClassReader> entry : mKeep.entrySet()) {
198 ClassReader cr = entry.getValue();
221 for (Entry<String, byte[]> entry : all.entrySet()) {
222 String name = entry.getKey();
225 jar.write(entry.getValue());
233 * Utility method that converts a fully qualified java name into a JAR entry path
241 * Utility method to get the JAR entry pat
[all...]
/frameworks/base/core/java/android/webkit/
H A DByteArrayBuilder.java103 SoftReference<Chunk> entry = (SoftReference<Chunk>) sQueue.poll();
104 if (entry == null) {
107 sPool.remove(entry);

Completed in 1422 milliseconds

1234