Home
last modified time | relevance | path

Searched refs:Operation (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DAsyncQueryService.java59 public static class Operation { class in AsyncQueryService
83 case Operation.EVENT_ARG_QUERY: in opToChar()
85 case Operation.EVENT_ARG_INSERT: in opToChar()
87 case Operation.EVENT_ARG_UPDATE: in opToChar()
89 case Operation.EVENT_ARG_DELETE: in opToChar()
91 case Operation.EVENT_ARG_BATCH: in opToChar()
128 public final Operation getLastCancelableOperation() { in getLastCancelableOperation()
172 info.op = Operation.EVENT_ARG_QUERY; in startQuery()
204 info.op = Operation.EVENT_ARG_INSERT; in startInsert()
240 info.op = Operation.EVENT_ARG_UPDATE; in startUpdate()
[all …]
DAsyncQueryServiceHelper.java19 import com.android.calendar.AsyncQueryService.Operation;
108 builder.append(Operation.opToChar(op)); in toString()
148 public boolean equivalent(Operation o) { in equivalent()
176 static public Operation getLastCancelableOperation() { in getLastCancelableOperation()
178 Operation op = null; in getLastCancelableOperation()
187 op = new Operation(); in getLastCancelableOperation()
200 Log.d(TAG, "getLastCancelableOperation -> Operation:" + Operation.opToChar(op.op) in getLastCancelableOperation()
284 case Operation.EVENT_ARG_QUERY: in onHandleIntent()
305 case Operation.EVENT_ARG_INSERT: in onHandleIntent()
309 case Operation.EVENT_ARG_UPDATE: in onHandleIntent()
[all …]
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DAbstractSyncAdapter.java163 protected static class Operation { class in AbstractSyncAdapter
174 Operation(ContentProviderOperation.Builder builder, String columnName, int offset) { in Operation() method in AbstractSyncAdapter.Operation
181 Operation(ContentProviderOperation.Builder builder) { in Operation() method in AbstractSyncAdapter.Operation
188 Operation(ContentProviderOperation op) { in Operation() method in AbstractSyncAdapter.Operation
236 static ContentProviderOperation operationToContentProviderOperation(Operation op, int offset) { in operationToContentProviderOperation()
252 private ContentProviderResult[] applyBatch(String authority, ArrayList<Operation> ops, in applyBatch()
259 for (Operation op: ops) { in applyBatch()
268 private void applyAndCopyResults(String authority, ArrayList<Operation> mini, in applyAndCopyResults()
293 protected ContentProviderResult[] safeExecute(String authority, ArrayList<Operation> ops) in safeExecute()
303 ArrayList<Operation> mini = new ArrayList<Operation>(); in safeExecute()
[all …]
DCalendarSyncAdapter.java133 private static final Operation PLACEHOLDER_OPERATION =
134 new Operation(ContentProviderOperation.newInsert(Uri.EMPTY));
466 ops.add(new Operation(ContentProviderOperation in addEvent()
715 new Operation(ContentProviderOperation in addEvent()
1209 mOps.add(new Operation(SyncStateContract.Helpers.newSetOperation( in commit()
1306 mOps.add(new Operation(ContentProviderOperation in addResponsesParser()
1351 protected class CalendarOperations extends ArrayList<Operation> {
1358 public boolean add(Operation op) { in add()
1364 public int newEvent(Operation op) { in newEvent()
1381 add(new Operation(ContentProviderOperation.newInsert(mAsSyncAdapterAttendees) in newAttendee()
[all …]
/packages/apps/Calendar/tests/src/com/android/calendar/
DAsyncQueryServiceTest.java19 import com.android.calendar.AsyncQueryService.Operation;
90 work[index].op = Operation.EVENT_ARG_QUERY; in testQuery()
119 work[index].op = Operation.EVENT_ARG_INSERT; in testInsert()
145 work[index].op = Operation.EVENT_ARG_UPDATE; in testUpdate()
173 work[index].op = Operation.EVENT_ARG_DELETE; in testDelete()
203 work[index].op = Operation.EVENT_ARG_BATCH; in testBatch()
268 Operation lastOne = aqs.getLastCancelableOperation(); in testCancel_simpleCancelLastTest()
301 Operation lastOne = aqs.getLastCancelableOperation(); // delay = 3 in testCancel_cancelSecondToLast()
331 Operation lastOne = aqs.getLastCancelableOperation(); // delay = 3 in testCancel_multipleCancels()
346 work.op = Operation.EVENT_ARG_DELETE; in generateWork()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServer.java52 import javax.obex.Operation;
248 public int onPut(final Operation op) { in onPut()
308 public int onGet(Operation op) { in onGet()
544 private final int sendVcardListingXml(final int type, Operation op, in sendVcardListingXml()
644 private final int pushHeader(final Operation op, final HeaderSet reply) { in pushHeader()
667 private final int pushBytes(Operation op, final String vcardString) { in pushBytes()
692 HeaderSet reply, Operation op) { in handleAppParaForResponse()
759 HeaderSet reply, Operation op) { in pullVcardListing()
820 Operation op, final String name, final String current_path) { in pullVcardEntry()
874 Operation op, final String name) { in pullPhonebook()
[all …]
DBluetoothPbapVcardManager.java61 import javax.obex.Operation;
275 public final int composeAndSendCallLogVcards(final int type, Operation op, in composeAndSendCallLogVcards()
336 public final int composeAndSendPhonebookVcards(Operation op, final int startPoint, in composeAndSendPhonebookVcards()
381 public final int composeAndSendPhonebookOneVcard(Operation op, final int offset, in composeAndSendPhonebookOneVcard()
430 public final int composeAndSendVCards(Operation op, final String selection, in composeAndSendVCards()
542 private Operation operation;
548 public HandlerForStringBuffer(Operation op, String ownerVCard) { in HandlerForStringBuffer()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DTestActivity.java66 import javax.obex.Operation;
499 public int onPut(Operation op) { in onPut()
552 public int onGet(Operation op) { in onGet()
DBluetoothOppObexServerSession.java54 import javax.obex.Operation;
167 public int onPut(Operation op) { in onPut()
427 private int receiveFile(BluetoothOppReceiveFileInfo fileInfo, Operation op) { in receiveFile()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DCalendarSyncAdapterTests.java19 import com.android.exchange.adapter.AbstractSyncAdapter.Operation;
271 for (Operation op: ops) { in countInsertOperationsForTable()
428 for (Operation op: p.mOps) { in setupAddEventOneAttendee()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DCalendarSyncAdapterTests.java19 import com.android.exchange.adapter.AbstractSyncAdapter.Operation;
271 for (Operation op: ops) { in countInsertOperationsForTable()
428 for (Operation op: p.mOps) { in setupAddEventOneAttendee()