Searched defs:entry (Results 1 - 25 of 95) 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 DTrackerDataHelper.java48 public String getOutput(TrackerEntry entry) {
75 void writeEntry(TrackerEntry entry) { argument
77 entry.getAsContentValues());
/frameworks/compile/mclinker/unittests/
H A DDirIteratorTest.cpp52 Directory::iterator entry = m_pDir->begin(); local
56 while( entry!=enEnd ) {
57 if (0 != entry.path())
58 size = entry.path()->native().size();
60 ++entry;
H A DHashTableTest.cpp85 HashTableTy::entry_type* entry = 0; local
87 entry = hashTable->insert(pA, exist);
117 HashTableTy::iterator entry = hashTable->find(key); local
118 EXPECT_EQ(999, entry.getEntry()->value());
128 HashTableTy::entry_type* entry = 0; local
130 entry = hashTable->insert(key, exist);
133 EXPECT_FALSE(NULL == entry);
134 EXPECT_EQ(key, entry->key());
135 entry->setValue(key+10);
150 HashTableTy::entry_type* entry local
175 HashTableTy::entry_type* entry = 0; local
199 HashTableTy::entry_type* entry = 0; local
235 HashTableTy::entry_type* entry = 0; local
256 HashTableTy::entry_type* entry = 0; local
279 HashTableTy::entry_type* entry = 0; local
310 HashTableTy::entry_type* entry = 0; local
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntryHandler.java34 * The method called when one vCard entry is created. Children come before their parent in
38 * In the following vCard, the entry for "entry2" comes before one for "entry1".
48 public void onEntryCreated(final VCardEntry entry); argument
/frameworks/av/media/libstagefright/foundation/
H A DAAtomizer.cpp42 List<AString> &entry = mAtoms.editItemAt(index); local
43 List<AString>::iterator it = entry.begin();
44 while (it != entry.end()) {
51 entry.push_back(AString(name));
53 return (*--entry.end()).c_str();
/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/base/core/tests/utillib/src/android/test/
H A DBandwidthTestCase.java106 NetworkStats.Entry entry = stats.getTotal(null);
107 getInstrumentation().sendStatus(2, getBandwidthStats(entry));
147 private Bundle getBandwidthStats(NetworkStats.Entry entry){ argument
149 bundle.putLong(REPORT_KEY_BYTES_RECEIVED, entry.rxBytes);
150 bundle.putLong(REPORT_KEY_BYTES_SENT, entry.txBytes);
151 bundle.putLong(REPORT_KEY_PACKETS_RECEIVED, entry.rxPackets);
152 bundle.putLong(REPORT_KEY_PACKETS_SENT, entry.txPackets);
153 bundle.putLong(REPORT_KEY_OPERATIONS, entry.operations);
/frameworks/base/tools/aapt/
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 DFileFinder.cpp54 struct dirent* entry; local
55 while ((entry = dw->nextEntry()) != NULL) {
56 String8 entryName(entry->d_name);
57 if (entry->d_name[0] == '.') // Skip hidden files and directories
61 // If this entry is a directory we'll recurse into it
68 // If this entry is a file, we'll pass it over to checkAndAddFile
/frameworks/compile/mclinker/lib/Target/
H A DOutputRelocSection.cpp60 "No empty relocation entry for the incoming symbol.");
63 // check if we've gotten an entry for this symbol before. If yes,
64 // return the found entry in map.
66 // (data or text section), return an empty entry directly.
70 // get or create entry in m_SymRelMap
71 Relocation *&entry = m_SymRelMap[&pSymbol]; local
74 if(NULL == entry) {
76 entry = llvm::cast<Relocation>(&(*m_ValidEntryIterator));
79 result = entry;
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DContentValuesVerifier.java45 public void onEntryCreated(VCardEntry entry) { argument
47 mContentValuesVerifierElemList.get(mIndex).onEntryCreated(entry);
H A DContentValuesVerifierElem.java50 public void onEntryCreated(VCardEntry entry) { argument
51 mHandler.onEntryCreated(entry);
/frameworks/support/volley/src/com/android/volley/toolbox/
H A DNoCache.java35 public void put(String key, Entry entry) { argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.cpp56 QueueEntry entry; local
57 entry.mIsCommand = false;
58 entry.mIndex = index;
59 entry.mSize = size;
60 entry.mOffset = 0;
63 mQueue.push_back(entry);
78 QueueEntry entry; local
79 entry.mIsCommand = true;
80 entry.mCommand = cmd;
81 entry
113 QueueEntry *entry = &*mQueue.begin(); local
[all...]
/frameworks/compile/mclinker/lib/MC/
H A DSearchDirs.cpp55 MCLDDirectory::iterator entry = (*mcld_dir)->begin(); local
60 while (entry!=enEnd) {
61 if (file == entry.path()->stem().native() ) {
62 if(mcld::sys::fs::detail::shared_library_extension == entry.path()->extension().native()) {
63 return entry.path();
66 ++entry;
71 entry = (*mcld_dir)->begin();
73 while ( entry!=enEnd ) {
74 if (file == entry.path()->stem().native() &&
75 mcld::sys::fs::detail::static_library_extension == entry
[all...]
/frameworks/ex/chips/src/com/android/ex/chips/
H A DSingleRecipientArrayAdapter.java33 public SingleRecipientArrayAdapter(Context context, int resourceId, RecipientEntry entry) { argument
35 entry
54 private void bindView(View view, Context context, RecipientEntry entry) { argument
57 display.setText(entry.getDisplayName());
61 destination.setText(Rfc822Tokenizer.tokenize(entry.getDestination())[0].getAddress());
/frameworks/native/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);
/frameworks/av/media/libstagefright/
H A DHTTPBase.cpp65 BandwidthEntry entry; local
66 entry.mDelayUs = delayUs;
67 entry.mNumBytes = numBytes;
71 mBandwidthHistory.push_back(entry);
73 BandwidthEntry *entry = &*mBandwidthHistory.begin(); local
74 mTotalTransferTimeUs -= entry->mDelayUs;
75 mTotalTransferBytes -= entry->mNumBytes;
/frameworks/base/libs/hwui/
H A DGradientCache.h45 GradientCacheEntry(const GradientCacheEntry& entry) { argument
46 copy(entry.colors, entry.positions, entry.count);
54 GradientCacheEntry& operator=(const GradientCacheEntry& entry) { argument
55 if (this != &entry) {
59 copy(entry.colors, entry.positions, entry.count);
108 * Used as a callback when an entry i
[all...]
H A DLayerCache.cpp90 LayerEntry entry(width, height);
91 ssize_t index = mCache.indexOf(entry);
94 entry = mCache.itemAt(index);
97 layer = entry.mLayer;
102 LAYER_LOGD("Creating new layer %dx%d", entry.mWidth, entry.mHeight);
104 layer = new Layer(entry.mWidth, entry.mHeight);
126 const LayerEntry& entry = mCache.itemAt(i); local
127 LAYER_LOGD(" Layer size %dx%d", entry
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DNetworkStatsCollectionTest.java144 final NetworkStats.Entry entry = new NetworkStats.Entry();
145 entry.rxBytes = 32;
147 90 * MINUTE_IN_MILLIS, entry);
174 final NetworkStats.Entry entry = collection.getSummary(
176 assertEntry(entry, rxBytes, rxPackets, txBytes, txPackets);
181 final NetworkStats.Entry entry = collection.getSummary(
183 assertEntry(entry, rxBytes, rxPackets, txBytes, txPackets);
187 NetworkStats.Entry entry, long rxBytes, long rxPackets, long txBytes, long txPackets) {
188 assertEquals("unexpected rxBytes", rxBytes, entry.rxBytes);
189 assertEquals("unexpected rxPackets", rxPackets, entry
186 assertEntry( NetworkStats.Entry entry, long rxBytes, long rxPackets, long txBytes, long txPackets) argument
[all...]
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsGOT.cpp33 GOTEntry* entry = local
36 if (NULL == entry)
96 GOTEntry* entry = local
99 if (NULL == entry)
129 GOTEntry* entry = llvm::cast<GOTEntry>(&(*it)); local
130 return entry;
133 GOTEntry*& entry = m_GeneralGOTMap[&pInfo]; local
135 pExist = NULL != entry;
145 entry = llvm::cast<GOTEntry>(&(*it));
148 return entry;
[all...]

Completed in 258 milliseconds

1234