Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 326) 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.java179 App entry = i.next(); in remove()
197 App entry = i.next(); in remove()
214 App entry = i.next(); in getAllAppsIds()
240 Connection connection = i.next(); in removeConnection()
255 Connection connection = i.next(); in removeConnectionsByAppId()
269 App entry = i.next(); in getById()
284 App entry = i.next(); in getByUuid()
299 App entry = i.next(); in getByName()
314 App entry = i.next(); in getByContextInfo()
349 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.java87 private void postAt(long next) { in postAt() argument
93 if (DEBUG) Log.i(TAG, "Next run of " + mName + " at " + new Date(next)); in postAt()
94 long delay = Math.max(next - now, 0); in postAt()
108 Log.w(TAG, "Scheduling a future run of " + mName + " at " + new Date(next) + "failed"); in postAt()
122 long next = getSharedPreferences().getLong(mName, System.currentTimeMillis()); in getNextRunTime() local
123 if (next > System.currentTimeMillis() + mIntervalMs) { in getNextRunTime()
124 next = resetNextRunTime(); in getNextRunTime()
126 return next; in getNextRunTime()
130 long next = System.currentTimeMillis() + mIntervalMs; in resetNextRunTime() local
131 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/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/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/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java485 Map.Entry<UserHandle, DefaultPhoneAccountHandle> entry = iterator.next(); in removeDefaultPhoneAccountHandle()
731 PhoneAccount phoneAccount = it.next(); in clearAccounts()
1342 parser.next();
1368 parser.next();
1547 parser.next();
1550 if (parser.next() == XmlPullParser.TEXT) {
1654 parser.next();
1657 parser.next();
1661 parser.next();
1664 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/providers/TelephonyProvider/src/com/android/providers/telephony/
DHbpcdLookupDatabaseHelper.java174 parser.next(); in initDatabase()
219 parser.next(); in loadTable()
239 parser.next(); in getTableMccIddRow()
274 parser.next(); in getTableMccLookupTableRow()
295 parser.next(); in getTableMccSidConflictRow()
318 parser.next(); in getTableMccSidRangeRow()
337 parser.next(); in getTableNanpAreaCodeRow()
358 parser.next(); in getTableArbitraryMccSidMatch()
/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/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/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndapi.c189 NJ_INT32 i, next, first; in get_word_and_search_next_word() local
199 next = -1; in get_word_and_search_next_word()
292 (next == -1)) { in get_word_and_search_next_word()
298 next = i; in get_word_and_search_next_word()
318 if ((next == -1) || (nj_strcmp(result_stroke, tmp_stroke) > 0)) { in get_word_and_search_next_word()
324 next = i; in get_word_and_search_next_word()
331 if (next == -1) { in get_word_and_search_next_word()
335 loctset = &(cursor->loctset[next]); in get_word_and_search_next_word()
338 (cursor->cond.ds->dic[next].srhCache == NULL))) { in get_word_and_search_next_word()

12345678910>>...14