/frameworks/base/media/libstagefright/ |
D | TimedEventQueue.cpp | 112 List<QueueItem>::iterator it = mQueue.begin(); in postTimedEvent() local 113 while (it != mQueue.end() && realtime_us >= (*it).realtime_us) { in postTimedEvent() 114 ++it; in postTimedEvent() 121 if (it == mQueue.begin()) { in postTimedEvent() 125 mQueue.insert(it, item); in postTimedEvent() 165 List<QueueItem>::iterator it = mQueue.begin(); in cancelEvents() local 166 while (it != mQueue.end()) { in cancelEvents() 167 if (!(*predicate)(cookie, (*it).event)) { in cancelEvents() 168 ++it; in cancelEvents() 172 if (it == mQueue.begin()) { in cancelEvents() [all …]
|
D | MPEG4Writer.cpp | 288 List<Track *>::iterator it = mTracks.begin(); in ~MPEG4Writer() local 289 delete *it; in ~MPEG4Writer() 290 (*it) = NULL; in ~MPEG4Writer() 291 mTracks.erase(it); in ~MPEG4Writer() 306 for (List<Track *>::iterator it = mTracks.begin(); in dump() local 307 it != mTracks.end(); ++it) { in dump() 308 (*it)->dump(fd, args); in dump() 340 for (List<Track *>::iterator it = mTracks.begin(); in startTracks() local 341 it != mTracks.end(); ++it) { in startTracks() 342 status_t err = (*it)->start(params); in startTracks() [all …]
|
D | DataSource.cpp | 73 for (List<SnifferFunc>::iterator it = gSniffers.begin(); in sniff() local 74 it != gSniffers.end(); ++it) { in sniff() 78 if ((*it)(this, &newMimeType, &newConfidence, &newMeta)) { in sniff() 94 for (List<SnifferFunc>::iterator it = gSniffers.begin(); in RegisterSniffer() local 95 it != gSniffers.end(); ++it) { in RegisterSniffer() 96 if (*it == func) { in RegisterSniffer()
|
D | NuCachedSource2.cpp | 75 List<Page *>::iterator it = list->begin(); in freePages() local 76 while (it != list->end()) { in freePages() 77 Page *page = *it; in freePages() 83 ++it; in freePages() 89 List<Page *>::iterator it = mFreePages.begin(); in acquirePage() local 90 Page *page = *it; in acquirePage() 91 mFreePages.erase(it); in acquirePage() 117 List<Page *>::iterator it = mActivePages.begin(); in releaseFromStart() local 119 Page *page = *it; in releaseFromStart() 125 mActivePages.erase(it); in releaseFromStart() [all …]
|
/frameworks/base/tools/localize/ |
D | localize_test.cpp | 73 for (set<StringResource>::iterator it=strings.begin(); it!=strings.end(); it++) { in delete_trans_units() local 74 const StringResource& str = *it; in delete_trans_units() 106 for (set<StringResource>::iterator it=strings.begin(); it!=strings.end(); it++) { in filter_trans_units() local 107 const StringResource& str = *it; in filter_trans_units() 123 map<string,Settings>::iterator it; in settings_test() local 131 for (it=settings.begin(); it!=settings.end(); it++) { in settings_test() 132 const Settings& setting = it->second; in settings_test() 153 for (it=settings.begin(); it!=settings.end(); it++) { in settings_test() 154 const Settings& setting = it->second; in settings_test() 155 if (it->first != setting.id) { in settings_test() [all …]
|
D | xmb.cpp | 99 for (vector<XMLNode*>::const_iterator it=value->Children().begin(); in resource_to_xmb_msg() local 100 it!=value->Children().end(); it++) { in resource_to_xmb_msg() 101 err |= convert_html_to_xliff(*it, tag, msg, &phID); in resource_to_xmb_msg() 109 for (vector<XMLNode*>::iterator it=msg->EditChildren().begin(); in resource_to_xmb_msg() local 110 it!=msg->EditChildren().end(); it++) { in resource_to_xmb_msg() 111 err |= convert_xliff_to_ph(*it, &phID); in resource_to_xmb_msg() 154 for (set<StringResource>::iterator it=allResources.begin(); it!=allResources.end(); it++) { in do_xlb_export() local 155 XMLNode* msg = resource_to_xmb_msg(*it); in do_xlb_export() 164 for (set<string>::iterator it=g_tags.begin(); it!=g_tags.end(); it++) { in do_xlb_export() 165 printf("tag: %s\n", it->c_str()); in do_xlb_export()
|
D | merge_res_and_xliff.cpp | 11 for (set<StringResource>::const_iterator it = s.begin(); it != s.end(); it++) { in find_id() local 12 if (it->id == id && it->index == index) { in find_id() 13 return it; in find_id() 23 for (set<StringResource>::const_iterator it = s.begin(); it != s.end(); it++) { in find_in_xliff() local 24 if (it->file == filename && it->id == id && it->index == index && it->version == version in find_in_xliff() 25 && it->config == config) { in find_in_xliff() 26 return it; in find_in_xliff() 34 printit(const set<StringResource>& s, const set<StringResource>::const_iterator& it) in printit() argument 36 if (it == s.end()) { in printit() 39 printf("id=%s index=%d config=%s file=%s value='%s'\n", it->id.c_str(), it->index, in printit() [all …]
|
D | ValuesFile.cpp | 202 for (map<string,set<StringResource> >::const_iterator it = m_arrays.begin(); in GetStrings() local 203 it != m_arrays.end(); it++) { in GetStrings() 204 result.insert(it->second.begin(), it->second.end()); in GetStrings() 223 for (map<string,set<StringResource> >::const_iterator it = m_arrays.begin(); in ToXMLNode() local 224 it != m_arrays.end(); it++) { in ToXMLNode() 226 arrayAttrs.push_back(XMLAttribute("", "name", it->first)); in ToXMLNode() 227 const set<StringResource>& items = it->second; in ToXMLNode() 243 for (set<StringResource>::const_iterator it=m_strings.begin(); it!=m_strings.end(); it++) { in ToXMLNode() local 244 const StringResource& str = *it; in ToXMLNode()
|
D | ValuesFile_test.cpp | 18 for (set<StringResource>::const_iterator it=strings.begin(); in ValuesFile_test() local 19 it!=strings.end(); it++) { in ValuesFile_test() 20 const StringResource& str = *it; in ValuesFile_test()
|
D | localize.cpp | 119 for (set<StringResource>::const_iterator it=strings.begin(); it!=strings.end(); it++) { in ValuesFile_to_XLIFFFile() local 120 StringResource res = *it; in ValuesFile_to_XLIFFFile() 399 for (vector<pair<string,XLIFFFile*> >::iterator it = xliffs.begin(); it != xliffs.end(); it++) { in do_export() local 400 const string& filename = it->first; in do_export() 401 XLIFFFile* xliff = it->second; in do_export() 417 for (vector<Stats>::iterator it=stats.begin(); it!=stats.end(); it++) { in do_export() local 418 string cfg = it->config; in do_export() 422 printf(" %-20s %-9zd %-9zd %-9zd %-19zd\n", cfg.c_str(), it->files, in do_export() 423 it->toBeTranslated, it->noComments, it->totalStrings); in do_export() 424 totals.files += it->files; in do_export() [all …]
|
D | res_check.cpp | 40 for (set<StringResource>::iterator it=strings.begin(); it!=strings.end(); it++) { in check_file() local 41 XMLNode* value = it->value; in check_file() 43 err |= check_value(it->pos, value); in check_file()
|
/frameworks/base/media/libstagefright/rtsp/ |
D | ARTPConnection.cpp | 216 List<StreamInfo>::iterator it = mStreams.begin(); in onRemoveStream() local 217 while (it != mStreams.end() in onRemoveStream() 218 && (it->mRTPSocket != rtpSocket || it->mRTCPSocket != rtcpSocket)) { in onRemoveStream() 219 ++it; in onRemoveStream() 222 if (it == mStreams.end()) { in onRemoveStream() 226 mStreams.erase(it); in onRemoveStream() 255 for (List<StreamInfo>::iterator it = mStreams.begin(); in onPollStreams() local 256 it != mStreams.end(); ++it) { in onPollStreams() 257 if ((*it).mIsInjected) { in onPollStreams() 261 FD_SET(it->mRTPSocket, &rs); in onPollStreams() [all …]
|
D | AAVCAssembler.cpp | 55 List<sp<ABuffer> >::iterator it = queue->begin(); in addNALUnit() local 56 while (it != queue->end()) { in addNALUnit() 57 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) { in addNALUnit() 61 it = queue->erase(it); in addNALUnit() 219 List<sp<ABuffer> >::iterator it = ++queue->begin(); in addFragmentedNALUnit() local 220 while (it != queue->end()) { in addFragmentedNALUnit() 223 const sp<ABuffer> &buffer = *it; in addFragmentedNALUnit() 243 it = queue->begin(); in addFragmentedNALUnit() 245 it = queue->erase(it); in addFragmentedNALUnit() 264 ++it; in addFragmentedNALUnit() [all …]
|
D | AH263Assembler.cpp | 58 List<sp<ABuffer> >::iterator it = queue->begin(); in addPacket() local 59 while (it != queue->end()) { in addPacket() 60 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) { in addPacket() 64 it = queue->erase(it); in addPacket() 132 List<sp<ABuffer> >::iterator it = mPackets.begin(); in submitAccessUnit() local 133 while (it != mPackets.end()) { in submitAccessUnit() 134 const sp<ABuffer> &unit = *it; in submitAccessUnit() 137 ++it; in submitAccessUnit() 142 it = mPackets.begin(); in submitAccessUnit() 143 while (it != mPackets.end()) { in submitAccessUnit() [all …]
|
D | AMPEG4ElementaryAssembler.cpp | 186 List<sp<ABuffer> >::iterator it = queue->begin(); in addPacket() local 187 while (it != queue->end()) { in addPacket() 188 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) { in addPacket() 192 it = queue->erase(it); in addPacket() 312 for (List<AUHeader>::iterator it = headers.begin(); in addPacket() local 313 it != headers.end(); ++it) { in addPacket() 314 const AUHeader &header = *it; in addPacket() 342 for (List<sp<ABuffer> >::iterator it = mPackets.begin(); in submitAccessUnit() local 343 it != mPackets.end(); ++it) { in submitAccessUnit() 344 totalSize += (*it)->size(); in submitAccessUnit() [all …]
|
D | ARawAudioAssembler.cpp | 60 List<sp<ABuffer> >::iterator it = queue->begin(); in addPacket() local 61 while (it != queue->end()) { in addPacket() 62 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) { in addPacket() 66 it = queue->erase(it); in addPacket()
|
/frameworks/base/core/java/android/util/ |
D | FastImmutableArraySet.java | 40 FastIterator<T> it = mIterator; in iterator() local 41 if (it == null) { in iterator() 42 it = new FastIterator<T>(mContents); in iterator() 43 mIterator = it; in iterator() 45 it.mIndex = 0; in iterator() 47 return it; in iterator()
|
/frameworks/base/media/libstagefright/foundation/ |
D | AAtomizer.cpp | 43 List<AString>::iterator it = entry.begin(); in atomize() local 44 while (it != entry.end()) { in atomize() 45 if ((*it) == name) { in atomize() 46 return (*it).c_str(); in atomize() 48 ++it; in atomize()
|
/frameworks/base/opengl/tests/hwc/ |
D | hwcCommit.cpp | 411 for (vector<string>::iterator it = formats.begin(); in main() local 412 it != formats.end(); ++it) { in main() 413 maxHeadingLen = max(maxHeadingLen, it->length()); in main() 568 for (vector<string>::iterator it = formats.begin(); in main() local 569 it != formats.end(); ++it) { in main() 573 = hwcTestGraphicFormatLookup((*it).c_str()); in main() 595 for (vector<string>::iterator it = formats.begin(); in main() local 596 it != formats.end(); ++it) { in main() 597 printOverlapLine(indent, *it, measurements[it in main() 604 for (vector<string>::iterator it = formats.begin(); in main() local [all …]
|
/frameworks/base/services/java/com/android/server/am/ |
D | UriPermissionOwner.java | 96 Iterator<UriPermission> it = readUriPermissions.iterator(); in removeUriPermissionLocked() local 97 while (it.hasNext()) { in removeUriPermissionLocked() 98 UriPermission perm = it.next(); in removeUriPermissionLocked() 106 it.remove(); in removeUriPermissionLocked() 115 Iterator<UriPermission> it = writeUriPermissions.iterator(); in removeUriPermissionLocked() local 116 while (it.hasNext()) { in removeUriPermissionLocked() 117 UriPermission perm = it.next(); in removeUriPermissionLocked() 125 it.remove(); in removeUriPermissionLocked()
|
/frameworks/base/docs/html/resources/articles/ |
D | service-api-changes-starting-with.jd | 27 …<li>There were many edge cases in the service lifecycle that made it very easy to accidentally lea… 31 …it may be useful to go over a quick summary of services. The Service API in Android is one of the … 34 …it should not be used by most applications and can be very hard on the system: it asks that the se… 35 …it was too late to make any significant changes to the behavior here, but in 2.0 we have done so: … 40 <p>This also not coincidentally makes it much easier to manage the notification state along with th… 70 * APIs if it is not available. 73 // If we have the new startForeground API, then use it. 96 * APIs if it is not available. 99 // If we have the new stopForeground API, then use it. 122 …etween services and the platform that made it easy for an application to leave a service running e… [all …]
|
D | multitasking-android-way.jd | 24 …que in the ways it allows multiple applications to run at the same time. Developers coming from a… 41 …it appear that all of the applications are always running. At the same time, mobile devices have … 44 …it at some point, and has decided that it would be best to keep it around in case it needs it agai… 45 …allowing it to continue working (for example downloading web pages) if needed, and come immediatel… 46 …it uses to decide how important each process is and thus the next one that should be dropped. The… 47 …it needs to remove a process, it does this brutally, simply force-killing it. The kernel can then… 48 …it in the same state as it was last seen, to preserve the "all applications are running all of the… 55 …it detects interesting changes in location. Because information about the receiver is part of an … 56 …en a fixed set of time (currently 10 seconds) in which to do its work. If it doesn't complete in … 60 …it is used after that is up to the application: it can put all of the needed code inside of the se… [all …]
|
/frameworks/base/opengl/libagl2/src/ |
D | vertex.cpp | 18 for (std::map<GLuint, VBO *>::iterator it = vert.vbos.begin(); it != vert.vbos.end(); it++) { in UninitializeVertices() local 19 if (!it->second) in UninitializeVertices() 21 free(it->second->data); in UninitializeVertices() 22 free(it->second); in UninitializeVertices() 137 std::map<GLuint, VBO *>::iterator it = ctx->vert.vbos.find(buffer); in glBindBuffer() local 138 if (it != ctx->vert.vbos.end()) { in glBindBuffer() 139 vbo = it->second; in glBindBuffer() 142 it->second = vbo; in glBindBuffer() 198 std::map<GLuint, VBO*>::iterator it = ctx->vert.vbos.find(buffers[i]); in glDeleteBuffers() local 199 if (it == ctx->vert.vbos.end()) in glDeleteBuffers() [all …]
|
/frameworks/base/tools/aidl/ |
D | search_path.cpp | 33 for (vector<string>::iterator it=paths.begin(); it!=paths.end(); it++) { local 34 string f = *it;
|
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
D | SipCallBase.java | 48 for (Iterator<Connection> it = connections.iterator(); it.hasNext(); ) { in clearDisconnected() 49 Connection c = it.next(); in clearDisconnected() 50 if (c.getState() == State.DISCONNECTED) it.remove(); in clearDisconnected()
|