/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/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/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/services/Car/car-systemtest-lib/src/android/car/test/ |
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/Telecomm/src/com/android/server/telecom/ |
H A D | CallerInfoAsyncQueryFactory.java | 23 CallerInfoAsyncQuery startQuery(int token, Context context, String number, argument
|
H A D | ContactsAsyncHelper.java | 50 * @param token Integer passed in {@link ContactsAsyncHelper#startObtainPhotoAsync(int, 58 public void onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, argument 122 " token: " + msg.what + " image URI: " + args.displayPhotoUri); 127 " token: " + msg.what + " image URI: " + args.displayPhotoUri + 192 * @param token Arbitrary integer which will be returned as the first argument of 203 public void startObtainPhotoAsync(int token, Context context, Uri displayPhotoUri, argument 225 Message msg = mThreadHandler.obtainMessage(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/Dialer/java/com/android/incallui/ |
H A D | ContactsAsyncHelper.java | 43 * @param token Integer passed in {@link ContactsAsyncHelper#startObtainPhotoAsync(int, Context, 51 void onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, Object cookie); argument 55 void onImageLoaded(int token, Drawable photo, Bitmap photoIcon, Object cookie); argument 106 * @param token Arbitrary integer which will be returned as the first argument of {@link 118 int token, 141 Message msg = sThreadHandler.obtainMessage(token); 195 + " token: " 206 + " token: " 117 startObtainPhotoAsync( int token, Context context, Uri displayPhotoUri, OnImageLoadCompleteListener listener, Object cookie) argument
|
/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...] |
H A D | VmsPublisherService.java | 98 public void setLayersOffering(IBinder token, VmsLayersOffering offering) { argument 100 mRawOffering.put(token, offering); 109 public void publish(IBinder token, VmsLayer layer, byte[] payload) { argument
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | ContactsAsyncHelperTest.java | 59 public void onImageLoadComplete(int token, Drawable photo, argument
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | ContactsAsyncHelper.java | 54 public void onImageLoadComplete(int token, Object cookie, ImageView iView, argument 104 " token: " + msg.what + " image URI: " + args.uri); 108 " token: " + msg.what + " image URI: " + args.uri +
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
H A D | ShowOrCreateActivity.java | 156 public void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
H A D | FingerprintEnrollIntroduction.java | 143 private void launchFindSensor(byte[] token) { argument 145 if (token != null) { 146 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, token); 175 byte[] token = data.getByteArrayExtra( 177 launchFindSensor(token);
|
/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...] |
/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/services/Car/TrustAgent/src/com/android/car/trust/ |
H A D | CarBleTrustAgent.java | 41 * A sample trust agent that demonstrates how to use the escrow token unlock APIs. </p> 48 public static final String ACTION_ADD_TOKEN = "add-token-action"; 49 public static final String ACTION_IS_TOKEN_ACTIVE = "is-token-active-action"; 50 public static final String ACTION_REMOVE_TOKEN = "remove-token-action"; 53 public static final String ACTION_TOKEN_STATUS_RESULT = "token-status-result-action"; 54 public static final String ACTION_ADD_TOKEN_RESULT = "add-token-result-action"; 56 public static final String INTENT_EXTRA_ESCROW_TOKEN = "extra-escrow-token"; 57 public static final String INTENT_EXTRA_TOKEN_HANDLE = "extra-token-handle"; 58 public static final String INTENT_EXTRA_TOKEN_STATUS = "extra-token-status"; 83 byte[] token 238 unlock(byte[] token, long handle) argument 287 onEscrowTokenAdded(byte[] token, long handle, UserHandle user) argument [all...] |
H A D | CarEnrolmentActivity.java | 78 appendOutputText("Is token active? " + tokenActive + " handle: " + mHandle); 94 + "\nLock and unlock the device to activate token"); 171 Log.e(TAG, "Error checking if token is valid"); 172 appendOutputText("Error checking if token is valid"); 214 public void onEnrolmentDataReceived(byte[] token) { 216 addEscrowToken(token); 228 private void addEscrowToken(byte[] token) { argument 233 appendOutputText("Removing old token, handle value: " + handle); 242 intent.putExtra(CarBleTrustAgent.INTENT_EXTRA_ESCROW_TOKEN, token);
|
H A D | CarEnrolmentService.java | 32 * A service that receives escrow token enrollment requests from remote devices. 38 void onEnrolmentDataReceived(byte[] token); argument 73 Log.d(TAG, "Enrolment token received, value: " + Utils.getLong(value)); 114 // Characteristic to describe the escrow token being used for unlock 120 // Characteristic to describe the handle being used for this escrow token
|
H A D | CarUnlockService.java | 38 void unlockDevice(byte[] token, long handle); argument 101 Log.d(TAG, "Unlock escrow token received, value: " + Utils.getLong(value)); 121 Log.d(TAG, "Handle and token both received, requesting unlock. Time: " 124 // Both the handle and token has been received, try to unlock the device. 141 // Characteristic to describe the escrow token being used for unlock 147 // Characteristic to describe the handle being used for this escrow token
|
H A D | PhoneEnrolmentController.java | 47 // BLE characteristics associated with the enrollment/add escrow token service. 81 * @param enrolButton Button used to send new escrow token to remote device. 100 appendOutputText("Sending new escrow token to remote device"); 102 byte[] token = generateEscrowToken(); 103 sendEnrolmentRequest(token); 105 // WARNING: Store the token so it can be used later for unlocking. This token 108 storeToken(token); 114 * @return A random byte array that is used as the escrow token for remote device unlock. 123 private void sendEnrolmentRequest(byte[] token) { argument 195 storeToken(byte[] token) argument [all...] |
/packages/services/Car/car-lib/src/android/car/vms/ |
H A D | VmsPublisherClientService.java | 80 public void setToken(IBinder token) { argument 82 mToken = token; 113 IBinder token; 115 token = mToken; 117 if (token == null) { 118 throw new IllegalStateException("VmsPublisherService does not have a valid token."); 121 mVmsPublisherService.publish(token, layer, payload); 166 public void setVmsPublisherService(IBinder token, IVmsPublisherService service) argument 176 vmsPublisherClientService.setToken(token);
|
/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...] |