Searched refs:batch (Results 1 - 6 of 6) sorted by relevance
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
H A D | BatchingNamedTaskExecutor.java | 61 * Instructs the executor to submit the next batch of results. 65 NamedTask[] batch = new NamedTask[0]; 69 batch = nextTasks.toArray(batch); 71 if (DBG) Log.d(TAG, "Dispatching batch of " + count); 74 for (NamedTask task : batch) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | SelectionManager.java | 155 int batch = 50; 159 int count = index + batch < total 160 ? batch 166 index += batch;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppService.java | 597 * Add info into a batch. The logic is 599 * 2) If there is no batch, create a batch and insert this transfer into batch, 600 * then run the batch 601 * 3) If there is existing batch and timestamp match, insert transfer into batch 602 * 4) If there is existing batch and timestamp does not match, create a new batch and 648 if (V) Log.v(TAG, "Service add info " + info.mId + " to existing batch " 831 removeBatch(BluetoothOppBatch batch) argument [all...] |
H A D | BluetoothOppTransfer.java | 108 BluetoothOppBatch batch, BluetoothOppObexSession session) { 111 mBatch = batch; 119 public BluetoothOppTransfer(Context context, PowerManager powerManager, BluetoothOppBatch batch) { argument 120 this(context, powerManager, batch, null); 146 * RFCOMM connect fail is for outbound share only! Mark batch 147 * failed, and all shares in batch failed 182 " from batch " + mBatch.mId); 193 * Handle session completed status Set batch status to 197 if (V) Log.v(TAG, "receive MSG_SESSION_COMPLETE for batch " + mBatch.mId); 200 * trigger content provider again to know batch statu 107 BluetoothOppTransfer(Context context, PowerManager powerManager, BluetoothOppBatch batch, BluetoothOppObexSession session) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ContactsTransaction.java | 32 * transaction is involved in, and whether the operation being performed is a batch operation. 37 * Whether this transaction is encompassing a batch of operations. If we're in batch mode, 38 * transactional operations from non-batch callers are ignored. 68 * Creates a new transaction object, optionally marked as a batch transaction. 69 * @param batch Whether the transaction is in batch mode. 71 public ContactsTransaction(boolean batch) { argument 72 mBatch = batch; 157 * @param callerIsBatch Whether this is being performed in the context of a batch operatio [all...] |
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
H A D | EmailSyncAdapter.java | 1123 // Use a batch operation to handle the changes 1237 // Try applying the batch operations in smaller chunks 1250 // Assume that since this method is being called, we want to break this batch up in chunks 1257 // determin the batch size 1261 // Ensure that batch size is smaller than the list size 1267 // If the batch size and the list size is the same, just use the whole list 1271 // Get the sublist of of the remaining batch that contains only the batch size 1278 final ArrayList<ContentProviderOperation> batch = new ArrayList(workingBatch); 1279 mContentResolver.applyBatch(EmailContent.AUTHORITY, batch); [all...] |
Completed in 3051 milliseconds