HomeSort by relevance Sort by last modified time
    Searched refs:transaction (Results 1 - 25 of 335) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/support/fragment/ktx/src/main/java/androidx/fragment/app/
FragmentManager.kt 32 inline fun FragmentManager.transaction(
37 val transaction = beginTransaction()
38 transaction.body()
41 transaction.commitNowAllowingStateLoss()
43 transaction.commitNow()
47 transaction.commitAllowingStateLoss()
49 transaction.commit()
  /external/nist-sip/java/gov/nist/javax/sip/
EventWrapper.java 37 protected SIPTransaction transaction; field in class:EventWrapper
39 EventWrapper(EventObject sipEvent, SIPTransaction transaction) {
41 this.transaction = transaction;
DialogFilter.java 106 * @param transaction
109 SIPServerTransaction transaction) {
120 sipStack.addTransactionPendingAck(transaction);
122 transaction.sendResponse(sipResponse);
123 transaction.releaseSem();
126 transaction.releaseSem();
127 sipStack.removeTransaction(transaction);
135 * @param transaction
139 private void sendBadRequestResponse(SIPRequest sipRequest, SIPServerTransaction transaction,
150 sipStack.addTransactionPendingAck(transaction);
288 SIPServerTransaction transaction = (SIPServerTransaction) this.transactionChannel; local
1154 SIPClientTransaction transaction = (SIPClientTransaction) this.transactionChannel; local
1309 SIPClientTransaction transaction = (SIPClientTransaction) this.transactionChannel; local
    [all...]
  /external/guice/extensions/persist/lib/
jta.jar 
  /system/libhidl/transport/token/1.0/utils/
HybridInterface.cpp 52 auto transaction = gTokenManager->linkToDeath( local
54 if (!transaction.isOk()) {
63 bool isBadTransaction(hardware::Return<ReturnType>& transaction) {
64 if (transaction.isOk()) {
67 ALOGE("TokenManager's transaction error: %s",
68 transaction.description().c_str());
77 hardware::Return<sp<HInterface> > transaction(nullptr);
83 transaction = gTokenManager->get(token);
84 if (isBadTransaction(transaction)) {
88 return static_cast<sp<HInterface> >(transaction);
92 hardware::Return<void> transaction; local
    [all...]
  /external/webrtc/webrtc/base/
httpserver_unittest.cc 26 HttpServerTransaction* transaction; member in struct:rtc::__anon43887::HttpServerMonitor
30 : transaction(NULL), server_closed(false), connection_closed(false) {
40 ASSERT_FALSE(transaction);
41 transaction = t;
42 transaction->response.set_success();
43 transaction->response.setHeader(HH_CONNECTION, "Close");
46 ASSERT_EQ(transaction, t);
47 transaction = NULL;
65 EXPECT_FALSE(monitor.transaction);
81 ASSERT_TRUE(NULL != monitor.transaction);
    [all...]
  /developers/build/prebuilts/gradle/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/server/
StoreBackend.java 27 * Verifies the authenticity of the provided transaction by confirming that it was signed with
30 * @param transaction the contents of the purchase transaction, its contents are
34 * @param transactionSignature the signature of the transaction's contents.
36 * true, the server can consider the transaction is successful.
38 boolean verify(Transaction transaction, byte[] transactionSignature);
41 * Verifies the authenticity of the provided transaction by password.
43 * @param transaction the contents of the purchase transaction, its contents are signed by th
    [all...]
StoreBackendImpl.java 36 private final Set<Transaction> mReceivedTransactions = new HashSet<>();
39 public boolean verify(Transaction transaction, byte[] transactionSignature) {
41 if (mReceivedTransactions.contains(transaction)) {
42 // It verifies the equality of the transaction including the client nonce
46 mReceivedTransactions.add(transaction);
47 PublicKey publicKey = mPublicKeys.get(transaction.getUserId());
50 verificationFunction.update(transaction.toByteArray());
52 // Transaction is verified with the public key associated with the user
63 public boolean verify(Transaction transaction, String password)
    [all...]
  /developers/samples/android/security/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/server/
StoreBackend.java 27 * Verifies the authenticity of the provided transaction by confirming that it was signed with
30 * @param transaction the contents of the purchase transaction, its contents are
34 * @param transactionSignature the signature of the transaction's contents.
36 * true, the server can consider the transaction is successful.
38 boolean verify(Transaction transaction, byte[] transactionSignature);
41 * Verifies the authenticity of the provided transaction by password.
43 * @param transaction the contents of the purchase transaction, its contents are signed by th
    [all...]
StoreBackendImpl.java 36 private final Set<Transaction> mReceivedTransactions = new HashSet<>();
39 public boolean verify(Transaction transaction, byte[] transactionSignature) {
41 if (mReceivedTransactions.contains(transaction)) {
42 // It verifies the equality of the transaction including the client nonce
46 mReceivedTransactions.add(transaction);
47 PublicKey publicKey = mPublicKeys.get(transaction.getUserId());
50 verificationFunction.update(transaction.toByteArray());
52 // Transaction is verified with the public key associated with the user
63 public boolean verify(Transaction transaction, String password)
    [all...]
  /development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/server/
StoreBackend.java 27 * Verifies the authenticity of the provided transaction by confirming that it was signed with
30 * @param transaction the contents of the purchase transaction, its contents are
34 * @param transactionSignature the signature of the transaction's contents.
36 * true, the server can consider the transaction is successful.
38 boolean verify(Transaction transaction, byte[] transactionSignature);
41 * Verifies the authenticity of the provided transaction by password.
43 * @param transaction the contents of the purchase transaction, its contents are signed by th
    [all...]
StoreBackendImpl.java 36 private final Set<Transaction> mReceivedTransactions = new HashSet<>();
39 public boolean verify(Transaction transaction, byte[] transactionSignature) {
41 if (mReceivedTransactions.contains(transaction)) {
42 // It verifies the equality of the transaction including the client nonce
46 mReceivedTransactions.add(transaction);
47 PublicKey publicKey = mPublicKeys.get(transaction.getUserId());
50 verificationFunction.update(transaction.toByteArray());
52 // Transaction is verified with the public key associated with the user
63 public boolean verify(Transaction transaction, String password)
    [all...]
  /external/valgrind/none/tests/amd64/
tm1.stdout.exp 3 xabort: outside transaction is nop.
  /frameworks/support/lifecycle/process/src/test/java/androidx/lifecycle/
DispatcherActivityCallbackTest.java 49 FragmentTransaction transaction = mock(FragmentTransaction.class); local
51 when(fm.beginTransaction()).thenReturn(transaction);
52 when(transaction.add(any(Fragment.class), anyString())).thenReturn(transaction);
56 verify(transaction).add(any(ReportFragment.class), anyString());
57 verify(transaction).commit();
  /frameworks/base/services/core/java/com/android/server/location/
ContextHubTransactionManager.java 40 * This class maintains a queue of transaction requests made to the ContextHubService by clients,
41 * and executes them through the Context Hub. At any point in time, either the transaction queue is
42 * empty, or there is a pending transaction that is waiting for an asynchronous response from the
43 * hub. This class also handles synchronous errors and timeouts of each transaction.
51 * Maximum number of transaction requests that can be pending at a time
76 * The next available transaction ID
95 * Creates a transaction for loading a nanoapp.
100 * @return the generated transaction
144 * Creates a transaction for unloading a nanoapp.
149 * @return the generated transaction
    [all...]
  /frameworks/support/persistence/db/ktx/src/test/java/androidx/sqlite/db/
SupportSQLiteDatabaseTest.kt 28 db.transaction {}
34 db.transaction(exclusive = false) {}
40 db.transaction(exclusive = true) {}
46 db.transaction {}
55 db.transaction {
  /frameworks/native/services/surfaceflinger/
SurfaceInterceptor.cpp 97 Transaction* transaction(increment->mutable_transaction());
98 transaction->set_synchronous(layer->mTransactionFlags & BnSurfaceComposer::eSynchronous);
99 transaction->set_animation(layer->mTransactionFlags & BnSurfaceComposer::eAnimation);
102 addPositionLocked(transaction, layerId, layer->mCurrentState.active.transform.tx(),
104 addDepthLocked(transaction, layerId, layer->mCurrentState.z);
105 addAlphaLocked(transaction, layerId, layer->mCurrentState.color.a);
106 addTransparentRegionLocked(transaction, layerId, layer->mCurrentState.activeTransparentRegion);
107 addLayerStackLocked(transaction, layerId, layer->mCurrentState.layerStack);
108 addCropLocked(transaction, layerId, layer->mCurrentState.crop)
    [all...]
SurfaceInterceptor.h 110 // the initial state of each object, so a transaction with all of the missing properties is
134 SurfaceChange* createSurfaceChangeLocked(Transaction* transaction, int32_t layerId);
136 void addPositionLocked(Transaction* transaction, int32_t layerId, float x, float y);
137 void addDepthLocked(Transaction* transaction, int32_t layerId, uint32_t z);
138 void addSizeLocked(Transaction* transaction, int32_t layerId, uint32_t w, uint32_t h);
139 void addAlphaLocked(Transaction* transaction, int32_t layerId, float alpha)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/app/servertransaction/
ClientTransactionTests.java 45 ClientTransaction transaction = ClientTransaction.obtain(null /* client */, local
47 transaction.addCallback(callback1);
48 transaction.addCallback(callback2);
49 transaction.setLifecycleStateRequest(stateRequest);
51 transaction.preExecute(clientTransactionHandler);
  /frameworks/support/core/ktx/src/main/java/androidx/core/database/sqlite/
SQLiteDatabase.kt 22 * Run [body] in a transaction marking it as successful if it completes without exception.
26 inline fun <T> SQLiteDatabase.transaction(
  /frameworks/support/persistence/db/ktx/src/main/java/androidx/sqlite/db/
SupportSQLiteDatabase.kt 20 * Run [body] in a transaction marking it as successful if it completes without exception.
24 inline fun <T> SupportSQLiteDatabase.transaction(
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
AbstractContactsProvider.java 59 /** Set true to enable detailed transaction logging. */
73 * Number of inserts performed in bulk to allow before yielding the transaction.
78 * The contacts transaction that is active in this thread.
88 * The database helper to serialize all transactions on. If non-null, any new transaction
90 * and initiate a transaction on that database. This should be used to ensure that operations
110 * The transaction listener used with {@link #mSerializeOnDbHelper}.
159 ContactsTransaction transaction = startTransaction(false); local
163 transaction.markDirty();
165 transaction.markSuccessful(false);
180 ContactsTransaction transaction = startTransaction(false) local
201 ContactsTransaction transaction = startTransaction(false); local
222 ContactsTransaction transaction = startTransaction(true); local
259 ContactsTransaction transaction = startTransaction(true); local
309 ContactsTransaction transaction = mTransactionHolder.get(); local
331 ContactsTransaction transaction = mTransactionHolder.get(); local
    [all...]
  /development/samples/training/basic/FragmentBasics/src/com/example/fragments/
MainActivity.java 76 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); local
79 // and add the transaction to the back stack so the user can navigate back
80 transaction.replace(R.id.fragment_container, newFragment);
81 transaction.addToBackStack(null);
83 // Commit the transaction
84 transaction.commit();
  /frameworks/base/core/java/android/app/
ClientTransactionHandler.java 42 /** Prepare and schedule transaction for execution. */
43 void scheduleTransaction(ClientTransaction transaction) {
44 transaction.preExecute(this);
45 sendMessage(ActivityThread.H.EXECUTE_TRANSACTION, transaction);
49 * Execute transaction immediately without scheduling it. This is used for local requests, so
50 * it will also recycle the transaction.
53 public void executeTransaction(ClientTransaction transaction) {
54 transaction.preExecute(this);
55 getTransactionExecutor().execute(transaction);
56 transaction.recycle()
    [all...]
  /frameworks/base/core/tests/coretests/src/android/app/activity/
ActivityThreadTest.java 138 final ClientTransaction transaction = newTransaction(activity); local
139 transaction.addCallback(callbackItem);
140 transaction.setLifecycleStateRequest(resumeStateRequest);
142 return transaction;
149 final ClientTransaction transaction = newTransaction(activity); local
150 transaction.setLifecycleStateRequest(resumeStateRequest);
152 return transaction;
159 final ClientTransaction transaction = newTransaction(activity); local
160 transaction.setLifecycleStateRequest(stopStateRequest);
162 return transaction;
    [all...]

Completed in 616 milliseconds

1 2 3 4 5 6 7 8 91011>>