Home
last modified time | relevance | path

Searched refs:requestId (Results 1 – 22 of 22) sorted by relevance

/packages/services/Mms/src/com/android/mms/service/
DLogUtil.java27 public static void i(final String requestId, final String message) { in i() argument
28 Log.i(TAG, "[" + requestId + "] " + message); in i()
35 public static void d(final String requestId, final String message) { in d() argument
36 Log.d(TAG, "[" + requestId + "] " + message); in d()
43 public static void v(final String requestId, final String message) { in v() argument
44 Log.v(TAG, "[" + requestId + "] " + message); in v()
51 public static void e(final String requestId, final String message, final Throwable t) { in e() argument
52 Log.e(TAG, "[" + requestId + "] " + message, t); in e()
59 public static void e(final String requestId, final String message) { in e() argument
60 Log.e(TAG, "[" + requestId + "] " + message); in e()
[all …]
DMmsHttpClient.java120 String proxyHost, int proxyPort, Bundle mmsConfig, int subId, String requestId) in execute() argument
122 LogUtil.d(requestId, "HTTP: " + method + " " + redactUrlForNonVerbose(urlString) in execute()
134 maybeWaitForIpv4(requestId, url); in execute()
150 LogUtil.i(requestId, "HTTP: User-Agent=" + userAgent); in execute()
162 LogUtil.i(requestId, in execute()
172 LogUtil.i(requestId, "HTTP: Connection close after request"); in execute()
180 LogUtil.e(requestId, "HTTP: empty pdu"); in execute()
193 logHttpHeaders(connection.getRequestProperties(), requestId); in execute() local
204 logHttpHeaders(connection.getRequestProperties(), requestId); in execute() local
211 LogUtil.d(requestId, "HTTP: " + responseCode + " " + responseMessage); in execute()
[all …]
DMmsRequest.java136 final String requestId = this.toString(); in execute() local
137 LogUtil.i(requestId, "Executing..."); in execute()
144 LogUtil.e(requestId, "mms config is not loaded yet"); in execute()
147 LogUtil.e(requestId, "Failed to prepare for request"); in execute()
154 networkManager.acquireNetwork(requestId); in execute()
156 LogUtil.d(requestId, "APN name is " + apnName); in execute()
160 apn = ApnSettings.load(context, apnName, mSubId, requestId); in execute()
167 LogUtil.i(requestId, "No match with APN name: " in execute()
169 apn = ApnSettings.load(context, null, mSubId, requestId); in execute()
171 LogUtil.i(requestId, "Using " + apn.toString()); in execute()
[all …]
DSendRequest.java71 final String requestId = getRequestId(); in doHttp() local
74 LogUtil.e(requestId, "MMS network is not ready!"); in doHttp()
89 requestId); in doHttp()
93 final String requestId = getRequestId(); in parsePdu() local
96 LogUtil.w(requestId, "Empty PDU raw data"); in parsePdu()
103 LogUtil.w(requestId, "Failed to parse PDU raw data"); in parsePdu()
166 final String requestId = getRequestId(); in persistIfRequired() local
171 LogUtil.d(requestId, "persistIfRequired"); in persistIfRequired()
173 LogUtil.e(requestId, "persistIfRequired: empty PDU"); in persistIfRequired()
183 LogUtil.e(requestId, "persistIfRequired: can't parse input PDU"); in persistIfRequired()
[all …]
DDownloadRequest.java72 final String requestId = getRequestId(); in doHttp() local
75 LogUtil.e(requestId, "MMS network is not ready!"); in doHttp()
87 requestId); in doHttp()
102 final String requestId = getRequestId(); in persistIfRequired() local
109 LogUtil.d(requestId, "persistIfRequired"); in persistIfRequired()
111 LogUtil.e(requestId, "persistIfRequired: empty response"); in persistIfRequired()
120 LogUtil.e(requestId, "persistIfRequired: invalid parsed PDU"); in persistIfRequired()
126 LogUtil.e(requestId, "persistIfRequired: retrieve failed " + status); in persistIfRequired()
151 LogUtil.e(requestId, "persistIfRequired: can not persist message"); in persistIfRequired()
170 LogUtil.e(requestId, "persistIfRequired: can not update message"); in persistIfRequired()
[all …]
DMmsNetworkManager.java149 public void acquireNetwork(final String requestId) throws MmsNetworkException { in acquireNetwork() argument
158 LogUtil.d(requestId, "MmsNetworkManager: already available"); in acquireNetwork()
163 LogUtil.d(requestId, "MmsNetworkManager: start new network request"); in acquireNetwork()
169 LogUtil.w(requestId, "MmsNetworkManager: acquire network wait interrupted"); in acquireNetwork()
177 LogUtil.e(requestId, in acquireNetwork()
211 public void releaseNetwork(final String requestId, final boolean shouldDelayRelease) { in releaseNetwork() argument
215 LogUtil.d(requestId, "MmsNetworkManager: release, count=" + mMmsRequestCount); in releaseNetwork()
DApnSettings.java89 public static ApnSettings load(Context context, String apnName, int subId, String requestId) in load() argument
91 LogUtil.i(requestId, "Loading APN using name " + apnName); in load()
110 ApnSettings settings = getApnSettingsFromCursor(cursor, requestId); in load()
118 private static ApnSettings getApnSettingsFromCursor(Cursor cursor, String requestId) in getApnSettingsFromCursor() argument
149 LogUtil.e(requestId, "Invalid port " + portString + ", use 80"); in getApnSettingsFromCursor()
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/
DFallbackAssistant.java64 public void onTextToSpeechStarted(long requestId) {
71 public void onTextToSpeechStopped(long requestId, boolean error) {
80 finishAction(requestId, error);
140 long requestId = mRequestIdGenerator.generateRequestId(); in handleReadAction() local
142 if (mTextToSpeechHelper.requestPlay(messages, requestId)) { in handleReadAction()
144 Log.d(TAG, "Requesting TTS to read message with requestId: " + requestId); in handleReadAction()
146 mRequestIdToActionRequestInfo.put(requestId, new ActionRequestInfo(sbn, listener)); in handleReadAction()
162 long requestId = mRequestIdGenerator.generateRequestId(); in handleErrorMessage() local
164 requestId)) { in handleErrorMessage()
166 Log.d(TAG, "Requesting TTS to read error with requestId: " + requestId); in handleErrorMessage()
[all …]
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/tts/
DTextToSpeechHelper.java56 void onTextToSpeechStarted(long requestId); in onTextToSpeechStarted() argument
64 void onTextToSpeechStopped(long requestId, boolean error); in onTextToSpeechStopped() argument
160 public boolean requestPlay(List<CharSequence> textToSpeak, long requestId) { in requestPlay() argument
175 onTtsStopped(requestId, /* error= */ false); in requestPlay()
177 mPendingRequest = new SpeechRequest(textToSpeak, requestId); in requestPlay()
179 playInternal(textToSpeak, requestId); in requestPlay()
195 private void onTtsStopped(long requestId, boolean error) { in onTtsStopped() argument
197 mHandler.post(() -> mListener.onTextToSpeechStopped(requestId, error)); in onTtsStopped()
200 private void playInternal(List<CharSequence> textToSpeak, long requestId) { in playInternal() argument
203 onTtsStopped(requestId, /* error= */ true); in playInternal()
[all …]
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattServer.java135 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId, int offset, in onCharacteristicReadRequest() argument
141 public void onCharacteristicWriteRequest(BluetoothDevice device, int requestId, in onCharacteristicWriteRequest() argument
144 Log.d(TAG, "onCharacteristicWriteRequest requestId: " + requestId in onCharacteristicWriteRequest()
147 mGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset, value); in onCharacteristicWriteRequest()
151 public void onDescriptorReadRequest(BluetoothDevice device, int requestId, int offset, in onDescriptorReadRequest() argument
153 Log.d(TAG, "onDescriptorReadRequest requestId: " + requestId); in onDescriptorReadRequest()
157 public void onDescriptorWriteRequest(BluetoothDevice device, int requestId, in onDescriptorWriteRequest() argument
160 Log.d(TAG, "onDescriptorWriteRequest requestId: " + requestId + " preparedWrite: " in onDescriptorWriteRequest()
165 public void onExecuteWrite(BluetoothDevice device, int requestId, boolean execute) { in onExecuteWrite() argument
166 Log.d(TAG, "onExecuteWrite requestId: " + requestId + " execute: " + execute); in onExecuteWrite()
[all …]
/packages/services/Car/service/src/com/android/car/trust/
DBleManager.java282 protected abstract void onCharacteristicWrite(BluetoothDevice device, int requestId, in onCharacteristicWrite() argument
294 int requestId, int offset, BluetoothGattCharacteristic characteristic); in onCharacteristicRead() argument
327 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId,
333 mGattServer.sendResponse(device, requestId,
335 onCharacteristicRead(device, requestId, offset, characteristic);
339 public void onCharacteristicWriteRequest(BluetoothDevice device, int requestId,
347 mGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS,
349 onCharacteristicWrite(device, requestId, characteristic,
354 public void onDescriptorWriteRequest(BluetoothDevice device, int requestId,
362 mGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS,
DCarTrustAgentBleManager.java198 public void onCharacteristicWrite(BluetoothDevice device, int requestId, in onCharacteristicWrite() argument
254 public void onCharacteristicRead(BluetoothDevice device, int requestId, int offset, in onCharacteristicRead() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DHandleMap.java163 void addRequest(int requestId, int handle) { in addRequest() argument
164 mRequestMap.put(requestId, handle); in addRequest()
167 void deleteRequest(int requestId) { in deleteRequest() argument
168 mRequestMap.remove(requestId); in deleteRequest()
171 Entry getByRequestId(int requestId) { in getByRequestId() argument
172 Integer handle = mRequestMap.get(requestId); in getByRequestId()
174 Log.e(TAG, "getByRequestId() - Request ID " + requestId + " not found!"); in getByRequestId()
DGattService.java788 public void sendResponse(int serverIf, String address, int requestId, int status, in sendResponse() argument
794 service.sendResponse(serverIf, address, requestId, status, offset, value); in sendResponse()
2993 void sendResponse(int serverIf, String address, int requestId, int status, int offset, in sendResponse() argument
3002 HandleMap.Entry entry = mHandleMap.getByRequestId(requestId); in sendResponse()
3008 gattServerSendResponseNative(serverIf, connId != null ? connId : 0, requestId, in sendResponse()
3010 mHandleMap.deleteRequest(requestId); in sendResponse()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/permissions/
DPermissionsManager.java71 int requestId = getNextRequestId(); in requestPermissions() local
75 mRequestIdToCallback.put(requestId, callback); in requestPermissions()
77 PermissionsUtil.requestPermissions(activity, requestId, permissionsArray); in requestPermissions()
79 PermissionsActivity.run(mContext, requestId, permissionsArray); in requestPermissions()
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsSender.java137 public static void setResult(final Uri requestId, final int resultCode, in setResult() argument
141 + " requestId=" + requestId + " partId=" + partId in setResult()
149 LogUtil.v(TAG, "SmsSender: received sent result. " + " requestId=" + requestId in setResult()
153 if (requestId != null) { in setResult()
154 final SendResult result = sPendingMessageMap.get(requestId); in setResult()
163 LogUtil.e(TAG, "SmsSender: ignoring sent result. " + " requestId=" + requestId in setResult()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DBlePeripheralManager.java332 int requestId,
342 gattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset,
352 int requestId,
366 gattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset,
/packages/apps/Messaging/src/com/android/messaging/receiver/
DSendStatusReceiver.java64 final Uri requestId = intent.getData(); in onReceive() local
66 requestId, in onReceive()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java866 final int requestId; in onDownloadStart() local
870 requestId = mNextDownloadRequestId++; in onDownloadStart()
871 mDownloadRequests.put(requestId, new DownloadRequest(url, displayName)); in onDownloadStart()
875 startActivityForResult(createFileIntent, requestId); in onDownloadStart()
/packages/apps/Calendar/src/com/android/calendar/
DEvent.java224 int requestId, AtomicInteger sequenceNumber) { in loadEvents() argument
268 if (requestId != sequenceNumber.get()) { in loadEvents()
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallController.java867 public void onRemoteRttRequest(Call call, int requestId) {
868 notifyRemoteRttRequest(call, requestId);
1250 private void notifyRemoteRttRequest(Call call, int requestId) { in notifyRemoteRttRequest() argument
1259 mCallIdMapper.getCallId(call), requestId); in notifyRemoteRttRequest() local
DCall.java149 void onRemoteRttRequest(Call call, int requestId); in onRemoteRttRequest() argument
234 public void onRemoteRttRequest(Call call, int requestId) {} in onRemoteRttRequest() argument