Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/packages/experimental/procstatlog/
Dprocstatreport.py179 next = state.get("/proc/stat:cpu", "").split()
180 if last and next:
181 stime = sum([int(next[x]) - int(last[x]) for x in [2, 5, 6]])
182 utime = sum([int(next[x]) - int(last[x]) for x in [0, 1]])
183 idle = sum([int(next[x]) - int(last[x]) for x in [3, 4]])
228 next = int(state.get(key, -1))
229 if last != -1 and next != -1:
231 total_time += next - last
232 total_cycles += (next - last) * speed
264 next = int(state.get("/proc/stat:ctxt", -1))
[all …]
Dprocstatlog.c286 struct data *next = stats; in read_stats() local
290 read_data(next++, filename); in read_stats()
292 read_data(next++, filename); in read_stats()
296 next += read_proc_yaffs(next, stats + stats_count - next); in read_stats()
297 next += read_lines("/proc/net/dev", ':', NULL, 0, next, end - next); in read_stats()
298 next += read_lines("/proc/stat", ' ', NULL, 0, next, end - next); in read_stats()
299 next += read_lines("/proc/binder/stats", ':', "\nproc ", 0, next, end - next); in read_stats()
300 next += read_lines("/proc/diskstats", ' ', NULL, 2, next, end - next); in read_stats()
301 next += read_lines( in read_stats()
303 ' ', NULL, 0, next, end - next); in read_stats()
[all …]
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/
DImapResponseParser.java115 final int next = mIn.peek(); in peek() local
116 if (next == -1) { in peek()
119 return next; in peek()
129 int next = mIn.read(); in readByte() local
130 if (next == -1) { in readByte()
133 mDiscourseLogger.addReceivedByte(next); in readByte()
134 return next; in readByte()
213 final int next = readByte(); in expect() local
214 if (expected != next) { in expect()
216 (int) expected, expected, next, (char) next)); in expect()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
DImapResponseParser.java88 final int next = mIn.peek(); in peek() local
89 if (next == -1) { in peek()
92 return next; in peek()
102 int next = mIn.read(); in readByte() local
103 if (next == -1) { in readByte()
106 return next; in readByte()
182 final int next = readByte(); in expect() local
183 if (expected != next) { in expect()
186 "Expected %04x (%c) but got %04x (%c)", (int) expected, expected, next, (char) next)); in expect()
261 final int next = peek(); in parseResponse() local
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java187 App entry = i.next(); in remove()
205 App entry = i.next(); in remove()
222 App entry = i.next(); in getAllAppsIds()
248 Connection connection = i.next(); in removeConnection()
263 Connection connection = i.next(); in removeConnectionsByAppId()
277 App entry = i.next(); in getById()
292 App entry = i.next(); in getByUuid()
307 App entry = i.next(); in getByName()
322 App entry = i.next(); in getByContextInfo()
357 Connection connection = i.next(); in getConnectedDevices()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DAddressListParser.java793 if ((oldToken = token).next != null) token = token.next; in jj_consume_token()
794 else token = token.next = token_source.getNextToken(); in jj_consume_token()
804 c = c.next; in jj_consume_token()
820 if (jj_scanpos.next == null) { in jj_scan_token()
821 jj_lastpos = jj_scanpos = jj_scanpos.next = token_source.getNextToken(); in jj_scan_token()
823 jj_lastpos = jj_scanpos = jj_scanpos.next; in jj_scan_token()
826 jj_scanpos = jj_scanpos.next; in jj_scan_token()
830 while (tok != null && tok != jj_scanpos) { i++; tok = tok.next; } in jj_scan_token()
839 if (token.next != null) token = token.next; in getNextToken()
840 else token = token.next = token_source.getNextToken(); in getNextToken()
[all …]
/packages/apps/TV/src/com/android/tv/util/
DRecurringRunner.java94 private void postAt(long next) { in postAt() argument
100 if (DEBUG) Log.i(TAG, "Next run of " + mName + " at " + new Date(next)); in postAt()
101 long delay = Math.max(next - now, 0); in postAt()
115 Log.w(TAG, "Scheduling a future run of " + mName + " at " + new Date(next) + "failed"); in postAt()
129 long next = getSharedPreferences().getLong(mName, System.currentTimeMillis()); in getNextRunTime() local
130 if (next > System.currentTimeMillis() + mIntervalMs) { in getNextRunTime()
131 next = resetNextRunTime(); in getNextRunTime()
133 return next; in getNextRunTime()
137 long next = System.currentTimeMillis() + mIntervalMs; in resetNextRunTime() local
138 getSharedPreferences().edit().putLong(mName, next).apply(); in resetNextRunTime()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DSplineMath.java39 double[] next = null; in calculatetCurve() local
48 next = points[pivot + 1]; in calculatetCurve()
49 if (x <= next[0]) { in calculatetCurve()
51 double x2 = next[0]; in calculatetCurve()
53 double y2 = next[1]; in calculatetCurve()
70 curve[i][0] = (float) (next[0]); in calculatetCurve()
71 curve[i][1] = (float) (next[1]); in calculatetCurve()
79 double[] next = null; in getValue() local
90 next = mPoints[pivot + 1]; in getValue()
92 double x2 = next[0]; in getValue()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
DContentTypeParser.java189 if ((oldToken = token).next != null) token = token.next; in jj_consume_token()
190 else token = token.next = token_source.getNextToken(); in jj_consume_token()
202 if (token.next != null) token = token.next; in getNextToken()
203 else token = token.next = token_source.getNextToken(); in getNextToken()
212 if (t.next != null) t = t.next; in getToken()
213 else t = t.next = token_source.getNextToken(); in getToken()
219 if ((jj_nt=token.next) == null) in jj_ntk()
220 return (jj_ntk = (token.next=token_source.getNextToken()).kind); in jj_ntk()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DBmessageParser.java116 prop = mParser.next(); in parse()
162 prop = mParser.next(); in parseProperties()
211 prop = mParser.next(); in parseEnvelope()
240 return mParser.next(); in parseEnvelope()
262 prop = mParser.next(); in parseBody()
314 prop = mParser.next(true); in parseBody()
347 prop = mParser.next(); in parseBody()
360 prop = mParser.next(); in parseBody()
366 return mParser.next(); in parseBody()
375 prop = mParser.next(); in extractVcard()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
DDateTimeParser.java488 if ((oldToken = token).next != null) token = token.next; in jj_consume_token()
489 else token = token.next = token_source.getNextToken(); in jj_consume_token()
501 if (token.next != null) token = token.next; in getNextToken()
502 else token = token.next = token_source.getNextToken(); in getNextToken()
511 if (t.next != null) t = t.next; in getToken()
512 else t = t.next = token_source.getNextToken(); in getToken()
518 if ((jj_nt=token.next) == null) in jj_ntk()
519 return (jj_ntk = (token.next=token_source.getNextToken()).kind); in jj_ntk()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dallocators.h133 chunkHead_->next = 0;
147 ChunkHeader* next = chunkHead_->next; in Clear() local
149 chunkHead_ = next; in Clear()
160 for (ChunkHeader* c = chunkHead_; c != 0; c = c->next) in Capacity()
170 for (ChunkHeader* c = chunkHead_; c != 0; c = c->next) in Size()
237 chunk->next = chunkHead_; in AddChunk()
249 ChunkHeader *next; //!< Next chunk in the linked list. member
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncCursorPair.java163 DatabaseMessage remoteMessage = mRemoteCursorsIterator.next(); in scan()
164 DatabaseMessage localMessage = mLocalCursorIterator.next(); in scan()
183 localMessage = mLocalCursorIterator.next(); in scan()
195 remoteMessage = mRemoteCursorsIterator.next(); in scan()
202 final DatabaseMessage remoteMessagePeek = mRemoteCursorsIterator.next(); in scan()
203 final DatabaseMessage localMessagePeek = mLocalCursorIterator.next(); in scan()
242 remoteMessage = mRemoteCursorsIterator.next(); in scan()
258 localMessage = mLocalCursorIterator.next(); in scan()
277 return mLocalCursorIterator.next(); in getLocalMessage()
281 return mRemoteCursorsIterator.next(); in getRemoteMessage()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java486 Map.Entry<UserHandle, DefaultPhoneAccountHandle> entry = iterator.next(); in removeDefaultPhoneAccountHandle()
732 PhoneAccount phoneAccount = it.next(); in clearAccounts()
1390 parser.next();
1416 parser.next();
1595 parser.next();
1598 if (parser.next() == XmlPullParser.TEXT) {
1702 parser.next();
1705 parser.next();
1709 parser.next();
1712 parser.next();
[all …]
/packages/apps/TV/src/com/android/tv/parental/
DContentRatingsParser.java111 while (parser.next() == XmlPullParser.START_DOCUMENT) {} in parse()
132 while (parser.next() != XmlPullParser.END_DOCUMENT) { in parse()
144 eventType = parser.next(); in parse()
206 while (parser.next() != XmlPullParser.END_DOCUMENT) { in parseRatingSystemDefinition()
279 while (parser.next() != XmlPullParser.END_DOCUMENT) { in parseRatingDefinition()
328 while (parser.next() != XmlPullParser.END_DOCUMENT) { in parseSubRatingDefinition()
353 while (parser.next() != XmlPullParser.END_DOCUMENT) { in parseOrder()
387 while (parser.next() != XmlPullParser.END_DOCUMENT) { in parseRating()
414 while (parser.next() != XmlPullParser.END_DOCUMENT) { in parseSubRating()
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/
DXmlUtils.java44 eventType = parser.next(); in readThisArrayMapXml()
80 eventType = parser.next(); in readThisListXml()
99 parser.next(); in readThisStringArrayXml()
127 eventType = parser.next(); in readThisStringArrayXml()
146 while ((eventType = parser.next()) != XmlPullParser.END_DOCUMENT) { in readThisValueXml()
167 parser.next(); in readThisValueXml()
181 while ((eventType = parser.next()) != XmlPullParser.END_DOCUMENT) { in readThisValueXml()
/packages/apps/Calendar/src/com/android/calendar/
DDayFragment.java198 DayView next = (DayView) mViewSwitcher.getNextView(); in goTo() local
200 next.setFirstVisibleHour(currentView.getFirstVisibleHour()); in goTo()
203 next.setSelected(goToTime, ignoreTime, animateToday); in goTo()
204 next.reloadEvents(); in goTo()
206 next.requestFocus(); in goTo()
207 next.updateTitle(); in goTo()
208 next.restartCurrentTimeUpdates(); in goTo()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsDiffReporter.java68 WidgetListRowEntry orgRowEntry = orgIter.next(); in process()
69 WidgetListRowEntry newRowEntry = newIter.next(); in process()
87 orgRowEntry = orgIter.hasNext() ? orgIter.next() : null; in process()
96 newRowEntry = newIter.hasNext() ? newIter.next() : null; in process()
113 orgRowEntry = orgIter.hasNext() ? orgIter.next() : null; in process()
114 newRowEntry = newIter.hasNext() ? newIter.next() : null; in process()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
DEvent.java116 final Event next) { in Event() argument
125 mNextEvent = next; in Event()
150 final Event next, final boolean isKeyRepeat) { in createHardwareKeypressEvent() argument
153 null /* suggestedWordInfo */, isKeyRepeat ? FLAG_REPEAT : FLAG_NONE, next); in createHardwareKeypressEvent()
159 public static Event createDeadEvent(final int codePoint, final int keyCode, final Event next) { in createDeadEvent() argument
163 null /* suggestedWordInfo */, FLAG_DEAD, next); in createDeadEvent()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DHbpcdLookupDatabaseHelper.java177 parser.next(); in initDatabase()
222 parser.next(); in loadTable()
242 parser.next(); in getTableMccIddRow()
277 parser.next(); in getTableMccLookupTableRow()
298 parser.next(); in getTableMccSidConflictRow()
321 parser.next(); in getTableMccSidRangeRow()
340 parser.next(); in getTableNanpAreaCodeRow()
361 parser.next(); in getTableArbitraryMccSidMatch()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary_utils.cpp34 std::vector<DicNode> next; in getMaxProbabilityOfExactMatches() local
48 next.emplace_back(dicNode); in getMaxProbabilityOfExactMatches()
49 next.back().advanceDigraphIndex(); in getMaxProbabilityOfExactMatches()
52 processChildDicNodes(dictionaryStructurePolicy, baseLowerCodePoint, &dicNode, &next); in getMaxProbabilityOfExactMatches()
55 current.swap(next); in getMaxProbabilityOfExactMatches()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPathMatcher.java46 Node next = current.getChild(segments[i]); in match() local
47 if (next == null) { in match()
48 next = current.getChild("*"); in match()
49 if (next != null) { in match()
55 current = next; in match()
/packages/apps/Gallery/src/com/android/camera/gallery/
DImageListUber.java67 if (slot.next()) mQueue.add(slot); in ImageListUber()
136 if (slot.next()) mQueue.add(slot); in getImageAt()
139 if (slot.next()) mQueue.add(slot); in getImageAt()
234 if (slot.next()) mQueue.add(slot); in getImageIndex()
237 if (slot.next()) mQueue.add(slot); in getImageIndex()
282 public boolean next() { in next() method in ImageListUber.MergeSlot
/packages/services/Car/service/src/com/android/car/
DGarageModeService.java275 Calendar next = Calendar.getInstance(); in nextWakeUpSeconds() local
276 next.add(Calendar.DATE, numDays); in nextWakeUpSeconds()
277 next.set(Calendar.HOUR_OF_DAY, hour); in nextWakeUpSeconds()
278 next.set(Calendar.MINUTE, min); in nextWakeUpSeconds()
279 next.set(Calendar.SECOND, 0); in nextWakeUpSeconds()
282 return (next.get(Calendar.MILLISECOND) - now.get(Calendar.MILLISECOND)) / 1000; in nextWakeUpSeconds()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoCallTests.java141 .iterator().next(); in testIncomingVideoCallMissedCheckVideoHistory()
157 .iterator().next(); in testIncomingVideoCallRejectedCheckVideoHistory()
175 .iterator().next(); in testOutgoingVideoCallCanceledCheckVideoHistory()
192 .iterator().next(); in testOutgoingVideoCallRejectedCheckVideoHistory()
209 .iterator().next(); in testOutgoingVideoCallAnsweredAsAudio()

12345678910>>...14