Lines Matching refs:operation

55  * perform a database operation and are then returned to the pool.  At any
534 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
538 * @throws OperationCanceledException if the operation was canceled.
575 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
581 * @throws OperationCanceledException if the operation was canceled.
618 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
624 * @throws OperationCanceledException if the operation was canceled.
662 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
669 * @throws OperationCanceledException if the operation was canceled.
710 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
715 * @throws OperationCanceledException if the operation was canceled.
759 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
764 * @throws OperationCanceledException if the operation was canceled.
812 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
818 * @throws OperationCanceledException if the operation was canceled.
1088 * Describes the currently executing operation, in the case where the
1098 * @return A description of the current operation including how long it has been running,
1300 Operation operation = mOperations[index];
1301 if (operation == null) {
1302 operation = new Operation();
1303 mOperations[index] = operation;
1305 operation.mFinished = false;
1306 operation.mException = null;
1307 if (operation.mBindArgs != null) {
1308 operation.mBindArgs.clear();
1311 operation.mStartTime = System.currentTimeMillis();
1312 operation.mKind = kind;
1313 operation.mSql = sql;
1315 if (operation.mBindArgs == null) {
1316 operation.mBindArgs = new ArrayList<Object>();
1318 operation.mBindArgs.clear();
1324 operation.mBindArgs.add(EMPTY_BYTE_ARRAY);
1326 operation.mBindArgs.add(arg);
1330 operation.mCookie = newOperationCookieLocked(index);
1332 return operation.mCookie;
1338 final Operation operation = getOperationLocked(cookie);
1339 if (operation != null) {
1340 operation.mException = ex;
1366 final Operation operation = getOperationLocked(cookie);
1367 if (operation != null) {
1368 operation.mEndTime = System.currentTimeMillis();
1369 operation.mFinished = true;
1371 operation.mEndTime - operation.mStartTime);
1377 final Operation operation = getOperationLocked(cookie);
1379 operation.describe(msg, false);
1393 final Operation operation = mOperations[index];
1394 return operation.mCookie == cookie ? operation : null;
1399 final Operation operation = mOperations[mIndex];
1400 if (operation != null && !operation.mFinished) {
1402 operation.describe(msg, false);
1413 Operation operation = mOperations[index];
1414 if (operation != null) {
1419 msg.append(operation.getFormattedStartTime());
1421 operation.describe(msg, verbose);
1430 operation = mOperations[index];
1431 } while (operation != null && n < MAX_RECENT_OPERATIONS);