/packages/services/Car/car-systemtest-lib/src/android/car/test/ |
H A D | ICarTest.aidl | 30 void stopCarService(IBinder token) = 1; 33 void startCarService(IBinder token) = 2;
|
H A D | CarTestManager.java | 51 public void stopCarService(IBinder token) { argument 53 mService.stopCarService(token); 65 public void startCarService(IBinder token) { argument 67 mService.startCarService(token);
|
/packages/services/Car/service/src/com/android/car/ |
H A D | CarTestService.java | 68 public void stopCarService(IBinder token) throws RemoteException { argument 69 Log.d(TAG, "stopCarService, token: " + token); 73 if (mTokens.containsKey(token)) { 74 Log.w(TAG, "Calling stopCarService twice with the same token."); 78 TokenDeathRecipient deathRecipient = new TokenDeathRecipient(token); 79 mTokens.put(token, deathRecipient); 80 token.linkToDeath(deathRecipient, 0); 89 public void startCarService(IBinder token) throws RemoteException { argument 90 Log.d(TAG, "startCarService, token 95 releaseToken(IBinder token) argument 110 TokenDeathRecipient(IBinder token) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | HanziToPinyin.java | 60 * Type of this token, ASCII, PINYIN or UNKNOWN. 98 private void tokenize(char character, Token token) { argument 99 token.source = Character.toString(character); 103 token.type = Token.LATIN; 104 token.target = token.source; 110 token.type = Token.LATIN; 111 token.target = mAsciiTransliterator == null ? token.source : 112 mAsciiTransliterator.transliterate(token [all...] |
H A D | ProfileAwareUriMatcher.java | 79 // Keep track of whether we've passed a "lookup" token in the path; wildcards after 80 // that token will be interpreted as lookup keys. For our purposes, vcard paths 84 String token = tokens[i]; 85 if (token.equals(PROFILE_SEGMENT)) { 88 } else if (token.equals(LOOKUP_SEGMENT) 89 || token.equals(VCARD_SEGMENT)) { 92 } else if (token.equals(ID_SEGMENT)) { 94 } else if (token.equals(WILDCARD_SEGMENT)) {
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | AsyncQueryService.java | 69 public int token; field in class:AsyncQueryService.Operation 103 builder.append(", token="); 104 builder.append(token); 117 * returns a practically unique token for db operations 138 * @param token The token representing the operation to be canceled. If 139 * multiple operations have the same token they will all be 142 public final int cancelOperation(int token) { argument 143 return AsyncQueryServiceHelper.cancelOperation(token); 150 * @param token 169 startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy) argument 201 startInsert(int token, Object cookie, Uri uri, ContentValues initialValues, long delayMillis) argument 237 startUpdate(int token, Object cookie, Uri uri, ContentValues values, String selection, String[] selectionArgs, long delayMillis) argument 274 startDelete(int token, Object cookie, Uri uri, String selection, String[] selectionArgs, long delayMillis) argument 305 startBatch(int token, Object cookie, String authority, ArrayList<ContentProviderOperation> cpo, long delayMillis) argument 329 onQueryComplete(int token, Object cookie, Cursor cursor) argument 344 onInsertComplete(int token, Object cookie, Uri uri) argument 359 onUpdateComplete(int token, Object cookie, int result) argument 374 onDeleteComplete(int token, Object cookie, int result) argument 391 onBatchComplete(int token, Object cookie, ContentProviderResult[] results) argument [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | InCallAdapter.java | 52 long token = Binder.clearCallingIdentity(); 64 Binder.restoreCallingIdentity(token); 75 long token = Binder.clearCallingIdentity(); 87 Binder.restoreCallingIdentity(token); 98 long token = Binder.clearCallingIdentity(); 110 Binder.restoreCallingIdentity(token); 121 long token = Binder.clearCallingIdentity(); 133 Binder.restoreCallingIdentity(token); 144 long token = Binder.clearCallingIdentity(); 156 Binder.restoreCallingIdentity(token); [all...] |
H A D | CallerInfoAsyncQueryFactory.java | 23 CallerInfoAsyncQuery startQuery(int token, Context context, String number, argument
|
H A D | TelecomServiceImpl.java | 95 long token = Binder.clearCallingIdentity(); 103 Binder.restoreCallingIdentity(token); 135 long token = Binder.clearCallingIdentity(); 143 Binder.restoreCallingIdentity(token); 161 long token = Binder.clearCallingIdentity(); 169 Binder.restoreCallingIdentity(token); 186 long token = Binder.clearCallingIdentity(); 194 Binder.restoreCallingIdentity(token); 218 long token = Binder.clearCallingIdentity(); 226 Binder.restoreCallingIdentity(token); [all...] |
H A D | ConnectionServiceWrapper.java | 74 long token = Binder.clearCallingIdentity(); 91 Binder.restoreCallingIdentity(token); 99 long token = Binder.clearCallingIdentity(); 111 Binder.restoreCallingIdentity(token); 119 long token = Binder.clearCallingIdentity(); 131 Binder.restoreCallingIdentity(token); 140 long token = Binder.clearCallingIdentity(); 150 Binder.restoreCallingIdentity(token); 158 long token = Binder.clearCallingIdentity(); 170 Binder.restoreCallingIdentity(token); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
H A D | SapRilReceiver.java | 67 private void removeOngoingReqAndSendMessage(int token, SapMessage sapMessage) { argument 68 Integer reqType = SapMessage.sOngoingRequests.remove(token); 70 Log.d(TAG, "removeOngoingReqAndSendMessage: token " + token + " reqType " 77 public void connectResponse(int token, int sapConnectRsp, int maxMsgSize) { argument 78 Log.d(TAG, "connectResponse: token " + token + " sapConnectRsp " + sapConnectRsp 87 removeOngoingReqAndSendMessage(token, sapMessage); 90 public void disconnectResponse(int token) { argument 91 Log.d(TAG, "disconnectResponse: token " 98 disconnectIndication(int token, int disconnectType) argument 107 apduResponse(int token, int resultCode, ArrayList<Byte> apduRsp) argument 118 transferAtrResponse(int token, int resultCode, ArrayList<Byte> atr) argument 129 powerResponse(int token, int resultCode) argument 149 resetSimResponse(int token, int resultCode) argument 157 statusIndication(int token, int status) argument 165 transferCardReaderStatusResponse( int token, int resultCode, int cardReaderStatus) argument 178 errorResponse(int token) argument 187 transferProtocolResponse(int token, int resultCode) argument [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
H A D | ContentTypeParser.java | 117 public Token token, jj_nt; field in class:ContentTypeParser 135 token = new Token(); 147 token = new Token(); 156 token = new Token(); 165 token = new Token(); 173 token = new Token(); 181 token = new Token(); 189 if ((oldToken = token).next != null) token = token [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | InputMethodManagerCompatWrapper.java | 43 public boolean switchToNextInputMethod(final IBinder token, final boolean onlyCurrentIme) { argument 45 METHOD_switchToNextInputMethod, token, onlyCurrentIme); 48 public boolean shouldOfferSwitchingToNextInputMethod(final IBinder token) { argument 50 METHOD_shouldOfferSwitchingToNextInputMethod, token);
|
/packages/apps/Contacts/src/com/android/contacts/database/ |
H A D | NoNullCursorAsyncQueryHandler.java | 36 public void startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, argument 39 super.startQuery(token, projectionCookie, uri, projection, selection, selectionArgs, 44 protected final void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 47 super.onQueryComplete(token, projectionCookie.originalCookie, cursor); 52 onNotNullableQueryComplete(token, projectionCookie.originalCookie, cursor); 55 protected abstract void onNotNullableQueryComplete(int token, Object cookie, Cursor cursor); argument
|
/packages/apps/Dialer/java/com/android/contacts/common/database/ |
H A D | NoNullCursorAsyncQueryHandler.java | 37 int token, 45 super.startQuery(token, projectionCookie, uri, projection, selection, selectionArgs, orderBy); 49 protected final void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 52 super.onQueryComplete(token, projectionCookie.originalCookie, cursor); 57 onNotNullableQueryComplete(token, projectionCookie.originalCookie, cursor); 60 protected abstract void onNotNullableQueryComplete(int token, Object cookie, Cursor cursor); argument 36 startQuery( int token, Object cookie, Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy) argument
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | NotifyingAsyncQueryHandler.java | 40 void onQueryComplete(int token, Object cookie, Cursor cursor); argument 58 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 61 listener.onQueryComplete(token, cookie, cursor);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | StringUtils.java | 12 * Additionally, each token is first passed through {@link BidiFormatter#unicodeWrap(String)} 21 * Additionally, each token is first passed through {@link BidiFormatter#unicodeWrap(String)} 28 for (String token : tokens) { 34 sb.append(bidiFormatter.unicodeWrap(token));
|
/packages/apps/Settings/src/com/android/settings/password/ |
H A D | IFingerprintManager.java | 37 void enroll(byte [] token, CancellationSignal cancel, int flags, argument
|
H A D | FingerprintManagerWrapper.java | 60 byte[] token, 65 mFingerprintManager.enroll(token, cancel, flags, userId, callback); 59 enroll( byte[] token, CancellationSignal cancel, int flags, int userId, EnrollmentCallback callback) argument
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/text/ |
H A D | TextUtils.java | 73 for (Object token: tokens) { 79 sb.append(token); 92 for (Object token: tokens) { 98 sb.append(token);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
H A D | DateTimeParser.java | 38 private static int parseDigits(Token token) { argument 39 return Integer.parseInt(token.image, 10); 198 {if (true) return token.image;} 411 public Token token, jj_nt; field in class:DateTimeParser 434 token = new Token(); 446 token = new Token(); 455 token = new Token(); 464 token = new Token(); 472 token = new Token(); 480 token [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/sqlite/ |
H A D | SqlChecker.java | 86 private void throwIfContainsToken(String token, String sql) { argument 87 final String lower = token.toLowerCase(); 89 throw genException("Detected disallowed token: " + token, sql); 97 findTokens(sql, OPTION_NONE, token -> throwIfContainsToken(token, sql)); 101 * Ensure {@code sql} only contains a single, valid token. Use to validate column names 107 findTokens(sql, OPTION_TOKEN_ONLY, token -> { 112 throwIfContainsToken(token, sql); 149 // Regular token [all...] |
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
H A D | FilteredNumberAsyncQueryHandler.java | 58 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 61 ((Listener) cookie).onQueryComplete(token, cookie, cursor); 71 protected void onInsertComplete(int token, Object cookie, Uri uri) { argument 73 ((Listener) cookie).onInsertComplete(token, cookie, uri); 78 protected void onUpdateComplete(int token, Object cookie, int result) { argument 80 ((Listener) cookie).onUpdateComplete(token, cookie, result); 85 protected void onDeleteComplete(int token, Object cookie, int result) { argument 87 ((Listener) cookie).onDeleteComplete(token, cookie, result); 100 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { 160 protected void onQueryComplete(int token, Objec 426 onQueryComplete(int token, Object cookie, Cursor cursor) argument 428 onInsertComplete(int token, Object cookie, Uri uri) argument 430 onUpdateComplete(int token, Object cookie, int result) argument 432 onDeleteComplete(int token, Object cookie, int result) argument [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
H A D | Ver4DictDecoder.java | 67 int token = 0; 71 binaryDictionary.getNextWordProperty(token); 81 token = result.mNextToken; 82 } while (token != 0);
|
/packages/apps/Dialer/java/com/android/incallui/ |
H A D | CallerInfoAsyncQuery.java | 62 void onQueryComplete(int token, Object cookie, CallerInfo ci); argument 66 void onDataLoaded(int token, Object cookie, CallerInfo ci); argument 89 final int token, 101 public void onQueryComplete(int token, Object cookie, CallerInfo ci) { 106 || !startOtherDirectoriesQuery(token, context, info, listener, cookie)) { 108 listener.onQueryComplete(token, cookie, ci); 114 public void onDataLoaded(int token, Object cookie, CallerInfo ci) { 116 listener.onDataLoaded(token, cookie, ci); 119 startDefaultDirectoryQuery(token, context, info, contactsProviderQueryCompleteListener, cookie); 124 int token, 88 startQuery( final int token, final Context context, final CallerInfo info, final OnQueryCompleteListener listener, final Object cookie) argument 123 startDefaultDirectoryQuery( int token, Context context, CallerInfo info, OnQueryCompleteListener listener, Object cookie) argument 143 startQueryInternal( int token, Context context, CallerInfo info, OnQueryCompleteListener listener, Object cookie, Uri contactRef) argument 186 startOtherDirectoriesQuery( int token, Context context, CallerInfo info, OnQueryCompleteListener listener, Object cookie) argument 297 onDirectoryQueryComplete( int token, Object cookie, CallerInfo ci, long directoryId) argument 354 onDataLoaded(int token, Object cookie, CallerInfo ci) argument 360 onQueryComplete(int token, Object cookie, CallerInfo ci) argument 389 startQuery( int token, Object cookie, Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy) argument 432 onQueryComplete(int token, Object cookie, Cursor cursor) argument 452 updateData(int token, Object cookie, Cursor cursor) argument [all...] |