Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 70) sorted by relevance

123

/packages/apps/Exchange/src/com/android/exchange/adapter/
DAbstractSyncAdapter.java152 Operation(ContentProviderOperation op) { in Operation() argument
153 mOp = op; in Operation()
162 ContentProviderOperation op = operationToContentProviderOperation(this, 0); in toString() local
167 Uri uri = op.getUri(); in toString()
197 static ContentProviderOperation operationToContentProviderOperation(Operation op, int offset) { in operationToContentProviderOperation() argument
198 if (op.mOp != null) { in operationToContentProviderOperation()
199 return op.mOp; in operationToContentProviderOperation()
200 } else if (op.mBuilder == null) { in operationToContentProviderOperation()
203 ContentProviderOperation.Builder builder = op.mBuilder; in operationToContentProviderOperation()
204 if (op.mColumnName != null) { in operationToContentProviderOperation()
[all …]
DCalendarSyncParser.java143 public boolean add(Operation op) { in add() argument
144 super.add(op); in add()
149 public int newEvent(Operation op) { in newEvent() argument
151 add(op); in newEvent()
1246 static ContentProviderOperation operationToContentProviderOperation(Operation op, int offset) { in operationToContentProviderOperation() argument
1247 if (op.mOp != null) { in operationToContentProviderOperation()
1248 return op.mOp; in operationToContentProviderOperation()
1249 } else if (op.mBuilder == null) { in operationToContentProviderOperation()
1252 ContentProviderOperation.Builder builder = op.mBuilder; in operationToContentProviderOperation()
1253 if (op.mColumnName != null) { in operationToContentProviderOperation()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServer.java252 public int onPut(final Operation op) { in onPut() argument
313 public int onGet(Operation op) { in onGet() argument
323 request = op.getReceivedHeader(); in onGet()
409 return pullVcardListing(appParam, appParamValue, reply, op); in onGet()
413 return pullVcardEntry(appParam, appParamValue, op, name, mCurrentPath); in onGet()
417 return pullPhonebook(appParam, appParamValue, reply, op, name); in onGet()
550 private final int sendVcardListingXml(final int type, Operation op, in sendVcardListingXml() argument
591 return pushBytes(op, result.toString()); in sendVcardListingXml()
645 private final int pushHeader(final Operation op, final HeaderSet reply) { in pushHeader() argument
653 op.sendHeaders(reply); in pushHeader()
[all …]
DBluetoothPbapVcardManager.java318 public final int composeAndSendCallLogVcards(final int type, Operation op, in composeAndSendCallLogVcards() argument
376 return composeAndSendVCards(op, selection, vcardType21, null, false); in composeAndSendCallLogVcards()
379 public final int composeAndSendPhonebookVcards(Operation op, final int startPoint, in composeAndSendPhonebookVcards() argument
421 return composeAndSendVCards(op, selection, vcardType21, ownerVCard, true); in composeAndSendPhonebookVcards()
424 public final int composeAndSendPhonebookOneVcard(Operation op, final int offset, in composeAndSendPhonebookOneVcard() argument
470 return composeAndSendVCards(op, selection, vcardType21, ownerVCard, true); in composeAndSendPhonebookOneVcard()
473 public final int composeAndSendVCards(Operation op, final String selection, in composeAndSendVCards() argument
513 buffer = new HandlerForStringBuffer(op, ownerVCard); in composeAndSendVCards()
521 ((ServerOperation)op).isAborted = true; in composeAndSendVCards()
555 buffer = new HandlerForStringBuffer(op, ownerVCard); in composeAndSendVCards()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsState.java226 public void addOp(AppOpEntry entry, AppOpsManager.OpEntry op) { in addOp() argument
227 mOps.put(op.getOp(), op); in addOp() local
228 mOpSwitches.put(AppOpsManager.opToSwitch(op.getOp()), entry); in addOp()
231 public boolean hasOp(int op) { in hasOp() argument
232 return mOps.indexOfKey(op) >= 0; in hasOp()
235 public AppOpEntry getOpSwitch(int op) { in getOpSwitch() argument
236 return mOpSwitches.get(AppOpsManager.opToSwitch(op)); in getOpSwitch()
301 public AppOpEntry(AppOpsManager.PackageOps pkg, AppOpsManager.OpEntry op, AppEntry app, in AppOpEntry() argument
306 mApp.addOp(this, op); in AppOpEntry()
307 mOps.add(op); in AppOpEntry()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DAsyncQueryServiceHelper.java53 public int op; field in AsyncQueryServiceHelper.OperationInfo
108 builder.append(Operation.opToChar(op)); in toString()
149 return o.token == this.token && o.op == this.op; in equivalent()
178 Operation op = null; in getLastCancelableOperation() local
186 if (op == null) { in getLastCancelableOperation()
187 op = new Operation(); in getLastCancelableOperation()
190 op.token = info.token; in getLastCancelableOperation()
191 op.op = info.op; in getLastCancelableOperation()
192 op.scheduledExecutionTime = info.mScheduledTimeMillis; in getLastCancelableOperation()
200 Log.d(TAG, "getLastCancelableOperation -> Operation:" + Operation.opToChar(op.op) in getLastCancelableOperation()
[all …]
DAsyncQueryService.java74 public int op; field in AsyncQueryService.Operation
81 protected static char opToChar(int op) { in opToChar() argument
82 switch (op) { in opToChar()
102 builder.append(op); in toString()
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()
277 info.op = Operation.EVENT_ARG_DELETE; in startDelete()
308 info.op = Operation.EVENT_ARG_BATCH; in startBatch()
402 int op = msg.arg1; in handleMessage() local
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapObexServer.java172 public int onPut(final Operation op) { in onPut() argument
181 request = op.getReceivedHeader(); in onPut()
213 return pushMessage(op, name, appParams); in onPut()
236 … private int pushMessage(final Operation op, String folderName, BluetoothMapAppParams appParams) { in pushMessage() argument
255 bMsgStream = op.openInputStream(); in pushMessage()
272 op.sendHeaders(replyHeaders); in pushMessage()
372 public int onGet(Operation op) { in onGet() argument
381 request = op.getReceivedHeader(); in onGet()
401 … return sendFolderListingRsp(op, appParams); // Block until all packets have been send. in onGet()
417 … return sendMessageListingRsp(op, appParams, name); // Block until all packets have been send. in onGet()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
DUserPresetsManager.java91 SaveOperation op = new SaveOperation(); in save() local
92 op.json = preset.getJsonString(ImagePreset.JASON_SAVED); in save()
93 op.name = name; in save()
94 msg.obj = op; in save()
111 UpdateOperation op = new UpdateOperation(); in update() local
112 op.id = representation.getId(); in update()
113 op.name = representation.getName(); in update()
114 msg.obj = op; in update()
132 SaveOperation op = (SaveOperation) msg.obj; in processSave() local
133 mUserPresets.insertStack(op.name, op.json.getBytes()); in processSave()
[all …]
/packages/apps/Calendar/tests/src/com/android/calendar/
DAsyncQueryServiceTest.java111 work[index].op = Operation.EVENT_ARG_QUERY; in testQuery()
140 work[index].op = Operation.EVENT_ARG_INSERT; in testInsert()
166 work[index].op = Operation.EVENT_ARG_UPDATE; in testUpdate()
194 work[index].op = Operation.EVENT_ARG_DELETE; in testDelete()
224 work[index].op = Operation.EVENT_ARG_BATCH; in testBatch()
367 work.op = Operation.EVENT_ARG_DELETE; in generateWork()
499 assertEquals(mWork[mIndex].op, Operation.EVENT_ARG_QUERY); in onQueryComplete()
518 assertEquals(mWork[mIndex].op, Operation.EVENT_ARG_INSERT); in onInsertComplete()
531 assertEquals(mWork[mIndex].op, Operation.EVENT_ARG_UPDATE); in onUpdateComplete()
544 assertEquals(mWork[mIndex].op, Operation.EVENT_ARG_DELETE); in onDeleteComplete()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationCursor.java1588 for (ConversationOperation op: ops) { in apply()
1589 Uri underlyingUri = uriFromCachingUri(op.mUri); in apply()
1596 ContentProviderOperation cpo = op.execute(underlyingUri); in apply()
1601 if (op.mRecalibrateRequired) { in apply()
1731 ContentProviderOperation op = null; in execute() local
1741 op = ContentProviderOperation.newUpdate(uri) in execute()
1750 op = ContentProviderOperation.newUpdate(uri).withValues(mValues).build(); in execute()
1754 op = ContentProviderOperation.newInsert(uri) in execute()
1763 op = ContentProviderOperation.newDelete(uri).build(); in execute()
1770 op = ContentProviderOperation.newDelete(uri).build(); in execute()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderOperation.java47 for (FolderOperation op : ops) { in getFolders()
48 folders.add(op.mFolder); in getFolders()
70 for (FolderOperation op : folderOps) { in isDestructive()
71 if (Objects.equal(op.mFolder, folder) && !op.mAdd) { in isDestructive()
74 if (folder.isTrash() && op.mFolder.isInbox()) { in isDestructive()
DOnePaneController.java400 public void onUndoAvailable(ToastBarOperation op) { in onUndoAvailable() argument
401 if (op != null && mAccount.supportsCapability(UIProvider.AccountCapabilities.UNDO)) { in onUndoAvailable()
411 (op.getDescription(mActivity.getActivityContext())), in onUndoAvailable()
415 op); in onUndoAvailable() local
424 (op.getDescription(mActivity.getActivityContext())), in onUndoAvailable()
428 op); in onUndoAvailable() local
430 mActivity.setPendingToastOperation(op); in onUndoAvailable()
DTwoPaneController.java468 public void onUndoAvailable(ToastBarOperation op) { in onUndoAvailable() argument
472 repositionToastBar(op); in onUndoAvailable()
483 (op.getDescription(mActivity.getActivityContext())), in onUndoAvailable()
487 op); in onUndoAvailable() local
492 public void repositionToastBar(ToastBarOperation op) { in repositionToastBar() argument
493 repositionToastBar(op.isBatchUndo()); in repositionToastBar()
DLeaveBehindData.java26 final ToastBarOperation op; field in LeaveBehindData
31 op = undoOp; in LeaveBehindData()
43 arg.writeParcelable(op, 0); in writeToParcel()
49 op = arg.readParcelable(loader); in LeaveBehindData()
DActionableToastBar.java110 boolean replaceVisibleToast, final ToastBarOperation op) { in show() argument
118 mOperation = op; in show()
123 if (op.shouldTakeOnActionClickedPrecedence()) { in show()
124 op.onActionClicked(getContext()); in show()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DContentProviderTask.java105 final ContentProviderOperation op = ContentProviderOperation in run() local
109 super.run(resolver, uri.getAuthority(), Lists.newArrayList(op)); in run()
118 final ContentProviderOperation op = ContentProviderOperation in run() local
123 super.run(resolver, uri.getAuthority(), Lists.newArrayList(op)); in run()
132 final ContentProviderOperation op = ContentProviderOperation in run() local
136 super.run(resolver, uri.getAuthority(), Lists.newArrayList(op)); in run()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexServerSession.java167 public int onPut(Operation op) { in onPut() argument
168 if (D) Log.d(TAG, "onPut " + op.toString()); in onPut()
195 request = op.getReceivedHeader(); in onPut()
372 status = receiveFile(mFileInfo, op); in onPut()
428 private int receiveFile(BluetoothOppReceiveFileInfo fileInfo, Operation op) { in receiveFile() argument
438 is = op.openInputStream(); in receiveFile()
459 int outputBufferSize = op.getMaxPacketSize(); in receiveFile()
DTestActivity.java499 public int onPut(Operation op) { in onPut() argument
502 java.io.InputStream is = op.openInputStream(); in onPut()
505 + op.getReceivedHeader().getHeader(HeaderSet.NAME) + " type " + op.getType()); in onPut()
507 File f = new File((String)op.getReceivedHeader().getHeader(HeaderSet.NAME)); in onPut()
552 public int onGet(Operation op) { in onGet() argument
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
DApiService.java373 final int op = intent.getIntExtra(PARAM_OP, -1); in isVideoEditorExportPending() local
374 if (op == OP_VIDEO_EDITOR_EXPORT) { in isVideoEditorExportPending()
449 final int op = intent.getIntExtra(PARAM_OP, -1); in isProjectBeingEdited() local
450 switch (op) { in isProjectBeingEdited()
789 int op = intent.getIntExtra(PARAM_OP, -1); in isMediaItemAudioWaveformPending() local
790 if (op == OP_MEDIA_ITEM_EXTRACT_AUDIO_WAVEFORM) { in isMediaItemAudioWaveformPending()
970 int op = intent.getIntExtra(PARAM_OP, -1); in isTransitionThumbnailsPending() local
971 if (op == OP_TRANSITION_GET_THUMBNAIL) { in isTransitionThumbnailsPending()
1330 int op = intent.getIntExtra(PARAM_OP, -1); in isAudioTrackAudioWaveformPending() local
1331 if (op == OP_AUDIO_TRACK_EXTRACT_AUDIO_WAVEFORM) { in isAudioTrackAudioWaveformPending()
[all …]
/packages/apps/Camera/jni/feature_mos/src/mosaic_renderer/
DFrameBuffer.h7 #define checkGlError(op) checkGLErrorDetail(__FILE__, __LINE__, (op)) argument
9 extern bool checkGLErrorDetail(const char* file, int line, const char* op);
/packages/apps/Camera2/jni/feature_mos/src/mosaic_renderer/
DFrameBuffer.h7 #define checkGlError(op) checkGLErrorDetail(__FILE__, __LINE__, (op)) argument
9 extern bool checkGLErrorDetail(const char* file, int line, const char* op);
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndldic.c119 static NJ_INT16 search_range_by_yomi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yo…
120 static NJ_INT16 search_range_by_yomi2(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *y…
1196 static NJ_INT16 search_range_by_yomi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, in search_range_by_yomi() argument
1210 ptr = get_search_index_address(handle, op); in search_range_by_yomi()
1224 switch (op) { in search_range_by_yomi()
1252 if (op != NJ_CUR_OP_FORE) { in search_range_by_yomi()
1309 if (op != NJ_CUR_OP_FORE) { in search_range_by_yomi()
1365 if (op != NJ_CUR_OP_FORE) { in search_range_by_yomi()
2307 static NJ_INT16 search_range_by_yomi2(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, in search_range_by_yomi2() argument
2323 ptr = get_search_index_address(handle, op); in search_range_by_yomi2()
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
DSurfaceTextureView.java51 public static void checkGlError(String op) { in checkGlError() argument
54 Log.e(TAG, op + ": glError " + error); in checkGlError()
55 throw new RuntimeException(op + ": glError " + error); in checkGlError()
/packages/experimental/procstatlog/
Dprocstatreport.py652 name, op = parts[:2]
654 if name == "T" and op == "+": # timestamp: scan about to begin
658 if name == "T" and op == "-": # timestamp: scan complete
662 elif op == "-":

123