/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/ |
D | ImapResponseParser.java | 87 private int peek() throws IOException { in peek() method in ImapResponseParser 88 final int next = in.peek(); in peek() 225 final int ch = peek(); in parseResponse() 255 if (peek() == ' ') { in parseResponse() 261 final int next = peek(); in parseResponse() 264 if (peek() == ' ') { // Skip following space in parseResponse() 297 final int next = peek(); in parseElement() 331 final int ch = peek(); in parseBareString() 378 final int next = peek(); in parseElements()
|
D | DigestMd5Utils.java | 270 char result = peek(); in pop() 275 private char peek() { in peek() method in DigestMd5Utils.DigestMessageParser 280 while (peek() != c) { in goToNext() 292 if (peek() == '"') { in parseValue()
|
/packages/providers/TvProvider/src/com/android/providers/tv/util/ |
D | SqliteTokenFinder.java | 52 private static char peek(String s, int index) { in peek() method in SqliteTokenFinder 77 final char ch = peek(sql, pos); in findTokens() 83 while (isAlNum(peek(sql, pos))) { in findTokens() 104 if (peek(sql, pos + 1) != ch) { in findTokens() 153 if (ch == '-' && peek(sql, pos + 1) == '-') { in findTokens() 164 if (ch == '/' && peek(sql, pos + 1) == '*') { in findTokens()
|
/packages/apps/Dialer/java/com/android/dialer/commandline/ |
D | Arguments.java | 106 if (!iterator.peek().startsWith("--")) { in parseFlags() 111 String peek = iterator.peek(); in parseFlags() local 112 if (peek.equals("--")) { in parseFlags() 116 if (peek.startsWith("--")) { in parseFlags() 119 if (iterator.hasNext() && !iterator.peek().startsWith("--")) { in parseFlags()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | SQLiteTokenizer.java | 60 private static char peek(String s, int index) { in peek() method in SQLiteTokenizer 96 final char ch = peek(sql, pos); in tokenize() 102 while (isAlNum(peek(sql, pos))) { in tokenize() 123 if (peek(sql, pos + 1) != ch) { in tokenize() 175 if (ch == '-' && peek(sql, pos + 1) == '-') { in tokenize() 186 if (ch == '/' && peek(sql, pos + 1) == '*') { in tokenize()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/sqlite/ |
D | SqlChecker.java | 125 private static char peek(String s, int index) { in peek() method in SqlChecker 147 final char ch = peek(sql, pos); in findTokens() 153 while (isAlNum(peek(sql, pos))) { in findTokens() 174 if (peek(sql, pos + 1) != ch) { in findTokens() 226 if (ch == '-' && peek(sql, pos + 1) == '-') { in findTokens() 237 if (ch == '/' && peek(sql, pos + 1) == '*') { in findTokens()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeMessage.java | 555 if (!c.isInstance(stack.peek())) { in expect() 561 + stack.peek().getClass().getName() in expect() 574 ((Part) stack.peek()).setBody(m); in startMessage() 598 ((Part) stack.peek()).addHeader(tokens[0], tokens[1].trim()); in field() 613 final Part e = (Part) stack.peek(); in startMultipart() 628 ((Part) stack.peek()).setBody(body); in body() 645 ((MimeMultipart) stack.peek()).addBodyPart(bodyPart); in startBodyPart() 679 ((MimeMultipart) stack.peek()).setPreamble(sb.toString()); in preamble()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | StateManager.java | 193 if (state != mStack.peek().activityState) { in finishState() 200 + mStack.peek().activityState); in finishState() 207 ActivityState top = !mStack.isEmpty() ? mStack.peek().activityState : null; in finishState() 228 if (oldState != mStack.peek().activityState) { in switchState() 231 + mStack.peek().activityState); in switchState() 326 return mStack.peek().activityState; in getTopState()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardRow.java | 120 keyAttr, mRowAttributesStack.peek(), mParams.mBaseWidth); in pushRowAttributes() 129 return mRowAttributesStack.peek().mDefaultKeyWidth; in getDefaultKeyWidth() 133 return mRowAttributesStack.peek().mDefaultKeyLabelFlags; in getDefaultKeyLabelFlags() 137 return mRowAttributesStack.peek().mDefaultBackgroundType; in getDefaultBackgroundType()
|
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/ |
D | IntegerArrayStreamTest.java | 31 assertEquals(1, stream.peek()); in testPeekConsume() 33 assertEquals(2, stream.peek()); in testPeekConsume() 60 assertEquals(5, stream.peek()); in testExpect()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | AbstractActionHandler.java | 373 final DocumentInfo top = stack.peek(); in openFolderInSearchResult() 523 if (!stack.peek().isDirectory()) { in onStackLoaded() 614 mState.stack.peek().authority, in onCreateLoader() 615 mState.stack.peek().documentId); in onCreateLoader() 628 + DocumentInfo.debugString(mState.stack.peek())); in onCreateLoader() 646 + DocumentInfo.debugString(mState.stack.peek())); in onLoadFinished()
|
D | RefreshTask.java | 83 if (!mDoc.derivedUri.equals(mState.stack.peek().derivedUri)) { in run()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/ |
D | DocumentStackTest.java | 86 assertEquals(DIR_2, mStack.peek()); in testPushDocument_ModifiesStack() 94 assertEquals(DIR_1, mStack.peek()); in testPopDocument_ModifiesStack() 200 assertNotNull(mStack.peek().derivedUri); in testIsRecent()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/ |
D | ActionHandlerTest.java | 131 assertEquals(TestEnv.FOLDER_0, mEnv.state.stack.peek()); in testSpringOpenDirectory() 378 assertEquals(TestEnv.FILE_ARCHIVE, mEnv.state.stack.peek()); in testDocumentPicked_OpensArchives() 388 assertEquals(TestEnv.FOLDER_1, mEnv.state.stack.peek()); in testDocumentPicked_OpensDirectories() 675 Preconditions.checkNotNull(mEnv.state.stack.peek()); in testShowInspector_OverridesRootDocumentName() 677 DocumentInfo rootDoc = mEnv.state.stack.peek(); in testShowInspector_OverridesRootDocumentName() 695 Preconditions.checkNotNull(mEnv.state.stack.peek()); in testShowInspector_OverridesRootDocumentNameX() 697 DocumentInfo rootDoc = mEnv.state.stack.peek(); in testShowInspector_OverridesRootDocumentNameX()
|
/packages/services/Car/obd2-lib/src/com/android/car/obd2/ |
D | IntegerArrayStream.java | 34 public int peek() { in peek() method in IntegerArrayStream 91 if (value != peek()) { in expect()
|
/packages/apps/Camera2/src/com/android/camera/async/ |
D | ConcurrentBufferQueue.java | 130 while (mQueue.peek() == null) { in close() 185 Entry<T> nextEntry = mQueue.peek(); in peekNext()
|
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/ |
D | StructNlAttr.java | 45 public static StructNlAttr peek(ByteBuffer byteBuffer) { in peek() method in StructNlAttr 72 final StructNlAttr struct = peek(byteBuffer); in parse()
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/ |
D | PgmImage.cpp | 127 while ( in.peek() == '#' ) in ReadPGM() 132 while ( in.peek() == '#' ) in ReadPGM()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | DocumentStack.java | 116 public DocumentInfo peek() { in peek() method in DocumentStack 182 return peek().displayName; in getTitle()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | PeekableInputStream.java | 46 public int peek() throws IOException { in peek() method in PeekableInputStream
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | CreatePickedDocumentTask.java | 77 DocumentInfo cwd = mStack.peek(); in run()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DragHost.java | 128 DocumentStack dstStack = dst.equals(mState.stack.peek()) in handleDropEvent()
|
D | DragStartListener.java | 131 final DocumentInfo parent = mState.stack.peek(); in startDrag()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 257 mClipper.clipDocumentsForCut(mModel::getItemUri, selection, mState.stack.peek()); in cutToClipboard() 308 final @Nullable DocumentInfo srcParent = mState.stack.peek(); in deleteSelectedDocuments()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CarModeTracker.java | 173 CarModeApp app = mCarModeApps.peek(); in getCurrentCarModePackage()
|