Home
last modified time | relevance | path

Searched refs:transactionId (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWapPushCacheTest.java51 byte[] transactionId = "123".getBytes(); in testGetWapMessageSize()
53 WapPushCache.putWapMessageSize(location, transactionId, expectedSize); in testGetWapMessageSize()
63 byte[] transactionId = "123".getBytes(); in testGetWapMessageSize_withTransactionIdAppended()
64 byte[] joinedKey = new byte[location.length + transactionId.length]; in testGetWapMessageSize_withTransactionIdAppended()
66 System.arraycopy(transactionId, 0, joinedKey, location.length, transactionId.length); in testGetWapMessageSize_withTransactionIdAppended()
68 WapPushCache.putWapMessageSize(location, transactionId, expectedSize); in testGetWapMessageSize_withTransactionIdAppended()
91 byte[] transactionId = "123".getBytes(); in testPutWapMessageSize_invalidValuePreventsInsert()
93 WapPushCache.putWapMessageSize(location, transactionId, expectedSize); in testPutWapMessageSize_invalidValuePreventsInsert()
103 byte[] transactionId = "abc".getBytes(); in testPutWapMessageSize_sizeLimitExceeded_oldestEntryRemoved()
104 WapPushCache.putWapMessageSize(location, transactionId, expectedSize); in testPutWapMessageSize_sizeLimitExceeded_oldestEntryRemoved()
[all …]
DSmsControllerTest.java266 byte[] transactionId = "123".getBytes(StandardCharsets.ISO_8859_1); in testGetWapMessageSize()
268 WapPushCache.putWapMessageSize(locationBytes, transactionId, expectedSize); in testGetWapMessageSize()
278 byte[] transactionId = "123".getBytes(StandardCharsets.ISO_8859_1); in testGetWapMessageSize_withTransactionIdAppended()
279 byte[] joinedKey = new byte[location.length + transactionId.length]; in testGetWapMessageSize_withTransactionIdAppended()
281 System.arraycopy(transactionId, 0, joinedKey, location.length, transactionId.length); in testGetWapMessageSize_withTransactionIdAppended()
284 WapPushCache.putWapMessageSize(location, transactionId, expectedSize); in testGetWapMessageSize_withTransactionIdAppended()
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/
DUsbPortHal.java103 long transactionId); in enableContaminantPresenceDetection() argument
111 public void queryPortStatus(long transactionId); in queryPortStatus() argument
121 public void switchMode(String portName, @HalUsbPortMode int mode, long transactionId); in switchMode() argument
132 long transactionId); in switchPowerRole() argument
142 public void switchDataRole(String portName, @HalUsbDataRole int dataRole, long transactionId); in switchDataRole() argument
167 public boolean enableUsbData(String portName, boolean enable, long transactionId, in enableUsbData() argument
179 public void enableUsbDataWhileDocked(String portName, long transactionId, in enableUsbDataWhileDocked() argument
194 public void enableLimitPowerTransfer(String portName, boolean limit, long transactionId, in enableLimitPowerTransfer() argument
206 public void resetUsbPort(String portName, long transactionId, in resetUsbPort() argument
DUsbPortHidl.java200 long transactionId) { in enableContaminantPresenceDetection() argument
222 public void queryPortStatus(long transactionId) { in queryPortStatus() argument
238 public void switchMode(String portId, @HalUsbPortMode int newMode, long transactionId) { in switchMode() argument
260 long transactionId) { in switchPowerRole() argument
280 public void enableLimitPowerTransfer(String portName, boolean limit, long transactionId, in enableLimitPowerTransfer() argument
291 public void enableUsbDataWhileDocked(String portName, long transactionId, in enableUsbDataWhileDocked() argument
302 public void switchDataRole(String portId, @HalUsbDataRole int newDataRole, long transactionId) { in switchDataRole() argument
322 public void resetUsbPort(String portName, long transactionId, in resetUsbPort() argument
328 + transactionId in resetUsbPort()
334 public boolean enableUsbData(String portName, boolean enable, long transactionId, in enableUsbData() argument
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/hal/gadget/
DUsbGadgetAidl.java193 int status, long transactionId) { in setCurrentUsbFunctionsCb() argument
197 + " ,transactionId:" + transactionId); in setCurrentUsbFunctionsCb()
201 + " ,transactionId:" + transactionId); in setCurrentUsbFunctionsCb()
209 int status, long transactionId) { in getCurrentUsbFunctionsCb() argument
213 + " ,transactionId:" + transactionId); in getCurrentUsbFunctionsCb()
217 + " ,transactionId:" + transactionId); in getCurrentUsbFunctionsCb()
223 public void getUsbSpeedCb(int speed, long transactionId) { in getUsbSpeedCb() argument
225 + speed + " ,transactionId:" + transactionId); in getUsbSpeedCb()
230 public void resetCb(int status, long transactionId) { in resetCb() argument
233 + status + " ,transactionId:" + transactionId); in resetCb()
[all …]
DUsbGadgetHal.java38 public void getCurrentUsbFunctions(long transactionId); in getCurrentUsbFunctions() argument
46 public void getUsbSpeed(long transactionId); in getUsbSpeed() argument
56 public void reset(long transactionId); in reset() argument
76 boolean chargingFunctions, int timeout, long transactionId); in setCurrentUsbFunctions() argument
/frameworks/av/media/module/bufferpool/1.0/
DBufferPoolClient.cpp66 TransactionId transactionId, BufferId bufferId,
74 TransactionId *transactionId, int64_t *timestampUs);
78 BufferId bufferId, TransactionId transactionId,
82 BufferId bufferId, TransactionId transactionId, bool result, bool *needsSync);
95 TransactionId transactionId, BufferId bufferId,
347 TransactionId transactionId, BufferId bufferId, int64_t timestampUs, in receive() argument
356 if (!postReceive(bufferId, transactionId, timestampUs)) { in receive()
390 status = fetchBufferHandle(transactionId, bufferId, &handle); in receive()
422 bool posted = postReceiveResult(bufferId, transactionId, in receive()
453 TransactionId *transactionId, int64_t *timestampUs) { in postSend() argument
[all …]
DAccessorImpl.cpp75 mId = message.transactionId; in TransactionStatus()
207 ConnectionId connectionId, TransactionId transactionId, in fetch() argument
211 auto found = mBufferPool.mTransactions.find(transactionId); in fetch()
214 connectionId, transactionId)) { in fetch()
295 message.transactionId); in handleTransferTo()
307 auto found = mTransactions.find(message.transactionId); in handleTransferTo()
322 message.transactionId, in handleTransferTo()
325 message.transactionId); in handleTransferTo()
331 auto found = mTransactions.find(message.transactionId); in handleTransferFrom()
336 message.transactionId, in handleTransferFrom()
[all …]
DClientManager.cpp115 TransactionId transactionId,
123 TransactionId *transactionId,
331 ConnectionId connectionId, TransactionId transactionId, in receive() argument
343 return client->receive(transactionId, bufferId, timestampUs, handle, buffer); in receive()
348 TransactionId *transactionId, int64_t *timestampUs) { in postSend() argument
359 return client->postSend(receiverId, buffer, transactionId, timestampUs); in postSend()
474 ConnectionId connectionId, TransactionId transactionId, in receive() argument
478 return mImpl->receive(connectionId, transactionId, bufferId, in receive()
486 TransactionId *transactionId, int64_t* timestampUs) { in postSend() argument
488 return mImpl->postSend(receiverId, buffer, transactionId, timestampUs); in postSend()
/frameworks/av/media/module/bufferpool/2.0/
DBufferPoolClient.cpp72 TransactionId transactionId, BufferId bufferId,
80 TransactionId *transactionId, int64_t *timestampUs);
84 BufferId bufferId, TransactionId transactionId,
88 BufferId bufferId, TransactionId transactionId, bool result, bool *needsSync);
105 TransactionId transactionId, BufferId bufferId,
402 TransactionId transactionId, BufferId bufferId, int64_t timestampUs, in receive() argument
411 if (!postReceive(bufferId, transactionId, timestampUs)) { in receive()
445 status = fetchBufferHandle(transactionId, bufferId, &handle); in receive()
477 bool posted = postReceiveResult(bufferId, transactionId, in receive()
508 TransactionId *transactionId, int64_t *timestampUs) { in postSend() argument
[all …]
DAccessorImpl.cpp89 mId = message.transactionId; in TransactionStatus()
255 ConnectionId connectionId, TransactionId transactionId, in fetch() argument
259 auto found = mBufferPool.mTransactions.find(transactionId); in fetch()
262 connectionId, transactionId)) { in fetch()
496 message.transactionId); in handleTransferTo()
508 auto found = mTransactions.find(message.transactionId); in handleTransferTo()
523 message.transactionId, in handleTransferTo()
526 message.transactionId); in handleTransferTo()
532 auto found = mTransactions.find(message.transactionId); in handleTransferFrom()
537 message.transactionId, in handleTransferFrom()
[all …]
DClientManager.cpp119 TransactionId transactionId,
127 TransactionId *transactionId,
372 ConnectionId connectionId, TransactionId transactionId, in receive() argument
387 transactionId, bufferId, timestampUs, &origHandle, buffer); in receive()
398 return client->receive(transactionId, bufferId, timestampUs, handle, buffer); in receive()
404 TransactionId *transactionId, int64_t *timestampUs) { in postSend() argument
415 return client->postSend(receiverId, buffer, transactionId, timestampUs); in postSend()
539 ConnectionId connectionId, TransactionId transactionId, in receive() argument
543 return mImpl->receive(connectionId, transactionId, bufferId, in receive()
551 TransactionId *transactionId, int64_t* timestampUs) { in postSend() argument
[all …]
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DIContextHubWrapper.java70 void handleTransactionResult(int transactionId, boolean success); in handleTransactionResult() argument
349 int transactionId) throws RemoteException; in loadNanoapp() argument
356 int transactionId) throws RemoteException; in unloadNanoapp() argument
363 int transactionId) throws RemoteException; in enableNanoapp() argument
370 int transactionId) throws RemoteException; in disableNanoapp() argument
478 public void handleTransactionResult(int transactionId, boolean success) { in handleTransactionResult() argument
480 mCallback.handleTransactionResult(transactionId, success); in handleTransactionResult()
691 int transactionId) throws RemoteException { in loadNanoapp() argument
700 hub.loadNanoapp(contextHubId, aidlNanoAppBinary, transactionId); in loadNanoapp()
710 public int unloadNanoapp(int contextHubId, long nanoappId, int transactionId) in unloadNanoapp() argument
[all …]
/frameworks/av/media/module/bufferpool/2.0/tests/
DBufferpoolUnitTest.cpp63 TransactionId transactionId; member
193 err = mManager->receive(message.data.connectionId, message.data.transactionId, in doReceiver()
325 TransactionId transactionId; in TEST_F() local
333 status = mManager->postSend(mReceiverId, buffer, &transactionId, &postUs); in TEST_F()
337 tid.push_back(transactionId); in TEST_F()
338 bufferMap.insert({transactionId, buffer->mId}); in TEST_F()
418 TransactionId transactionId; in TEST_F() local
419 status = mManager->postSend(receiverId, buffer, &transactionId, &postUs); in TEST_F()
428 message.data.transactionId = transactionId; in TEST_F()
481 TransactionId transactionId; in TEST_F() local
[all …]
Dmulti.cpp64 TransactionId transactionId; member
160 message.data.connectionId, message.data.transactionId, in doReceiver()
199 TransactionId transactionId; in TEST_F() local
213 status = mManager->postSend(receiverId, sbuffer, &transactionId, &postUs); in TEST_F()
219 message.data.transactionId = transactionId; in TEST_F()
Dcond.cpp65 TransactionId transactionId; member
166 message.data.connectionId, message.data.transactionId, in doReceiver()
218 TransactionId transactionId; in TEST_F() local
233 status = mManager->postSend(receiverId, sbuffer, &transactionId, &postUs); in TEST_F()
239 message.data.transactionId = transactionId; in TEST_F()
/frameworks/av/media/module/bufferpool/1.0/vts/
Dmulti.cpp66 TransactionId transactionId; member
162 message.data.connectionId, message.data.transactionId, in doReceiver()
195 TransactionId transactionId; in TEST_F() local
205 status = mManager->postSend(receiverId, sbuffer, &transactionId, &postUs); in TEST_F()
211 message.data.transactionId = transactionId; in TEST_F()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DSendReq.java49 String transactionId = "T" + Long.toHexString(System.currentTimeMillis()); in generateTransactionId() local
50 return transactionId.getBytes(); in generateTransactionId()
66 byte[] transactionId) throws InvalidHeaderValueException { in SendReq() argument
72 setTransactionId(transactionId); in SendReq()
DAcknowledgeInd.java38 public AcknowledgeInd(int mmsVersion, byte[] transactionId) in AcknowledgeInd() argument
44 setTransactionId(transactionId); in AcknowledgeInd()
DNotifyRespInd.java41 byte[] transactionId, in NotifyRespInd() argument
46 setTransactionId(transactionId); in NotifyRespInd()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushCache.java79 @NonNull byte[] transactionId, in putWapMessageSize() argument
92 .allocate(locationUrl.length + transactionId.length) in putWapMessageSize()
94 .put(transactionId) in putWapMessageSize()
DWapPushOverSms.java164 int transactionId = pdu[index++] & 0xFF; in decodeWapPdu() local
175 transactionId = pdu[index++] & 0xff; in decodeWapPdu()
179 " transactionID = " + transactionId); in decodeWapPdu()
303 result.transactionId = transactionId; in decodeWapPdu()
355 intent.putExtra("transactionId", result.transactionId); in dispatchWapPdu()
389 intent.putExtra("transactionId", result.transactionId); in dispatchWapPdu()
481 int transactionId; field in WapPushOverSms.DecodedResult
/frameworks/native/services/surfaceflinger/FrontEnd/
DTransactionHandler.cpp191 void TransactionHandler::onTransactionQueueStalled(uint64_t transactionId, in onTransactionQueueStalled() argument
194 mStalledTransactions.emplace(transactionId, std::move(stalledTransactionInfo)); in onTransactionQueueStalled()
197 void TransactionHandler::removeFromStalledTransactions(uint64_t transactionId) { in removeFromStalledTransactions() argument
199 mStalledTransactions.erase(transactionId); in removeFromStalledTransactions()
/frameworks/native/libs/gui/
DISurfaceComposer.cpp68 const std::vector<ListenerCallbacks>& listenerCallbacks, uint64_t transactionId, in setTransactionState() argument
103 SAFE_PARCEL(data.writeUint64, transactionId); in setTransactionState()
191 uint64_t transactionId = -1; in onTransact() local
192 SAFE_PARCEL(data.readUint64, &transactionId); in onTransact()
203 listenerCallbacks, transactionId, mergedTransactions); in onTransact()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java373 public void enableLimitPowerTransfer(@NonNull String portId, boolean limit, long transactionId, in enableLimitPowerTransfer() argument
379 + " opId:" + transactionId); in enableLimitPowerTransfer()
387 + transactionId, e); in enableLimitPowerTransfer()
394 mUsbPortHal.enableLimitPowerTransfer(portId, limit, transactionId, callback); in enableLimitPowerTransfer()
398 + transactionId , e); in enableLimitPowerTransfer()
406 + transactionId, e); in enableLimitPowerTransfer()
413 public void enableUsbDataWhileDocked(@NonNull String portId, long transactionId, in enableUsbDataWhileDocked() argument
419 + " opId:" + transactionId); in enableUsbDataWhileDocked()
427 + transactionId, e); in enableUsbDataWhileDocked()
434 mUsbPortHal.enableUsbDataWhileDocked(portId, transactionId, callback); in enableUsbDataWhileDocked()
[all …]

123