/packages/apps/Calendar/src/com/android/calendar/ |
D | AsyncQueryServiceHelper.java | 53 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 …]
|
D | AsyncQueryService.java | 74 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/mapclient/obex/ |
D | Request.java | 83 ClientOperation op = null; in executeGet() local 86 op = (ClientOperation) session.get(mHeaderSet); in executeGet() 95 op.setGetFinalFlag(true); in executeGet() 101 op.continueOperation(true, false); in executeGet() 103 readResponseHeaders(op.getReceivedHeader()); in executeGet() 105 InputStream is = op.openInputStream(); in executeGet() 109 op.close(); in executeGet() 111 mResponseCode = op.getResponseCode(); in executeGet() 120 Operation op = null; in executePut() local 125 op = session.put(mHeaderSet); in executePut() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapObexServer.java | 281 public int onPut(final Operation op) { in onPut() argument 349 public int onGet(Operation op) { in onGet() argument 359 request = op.getReceivedHeader(); in onGet() 465 return pullVcardListing(appParam, appParamValue, reply, op, name); in onGet() 469 return pullVcardEntry(appParam, appParamValue, op, reply, name, mCurrentPath); in onGet() 473 return pullPhonebook(appParam, appParamValue, reply, op, name); in onGet() 684 AppParamValue appParamValue, Operation op, int needSendBody, int size) { in sendVcardListingXml() argument 728 return pushBytes(op, result.toString()); in sendVcardListingXml() 801 private final int pushHeader(final Operation op, final HeaderSet reply) { in pushHeader() argument 809 op.sendHeaders(reply); in pushHeader() [all …]
|
D | BluetoothPbapVcardManager.java | 466 final int composeAndSendSelectedCallLogVcards(final int type, Operation op, in composeAndSendSelectedCallLogVcards() argument 529 return composeCallLogsAndSendSelectedVCards(op, selection, vcardType21, needSendBody, in composeAndSendSelectedCallLogVcards() 533 final int composeAndSendPhonebookVcards(Operation op, final int startPoint, final int endPoint, in composeAndSendPhonebookVcards() argument 563 return composeContactsAndSendSelectedVCards(op, contactIdCursor, vcardType21, in composeAndSendPhonebookVcards() 568 op, contactIdCursor, vcardType21, ownerVCard, ignorefilter, filter); in composeAndSendPhonebookVcards() 571 final int composeAndSendPhonebookOneVcard(Operation op, final int offset, in composeAndSendPhonebookOneVcard() argument 602 op, contactIdCursor, vcardType21, ownerVCard, ignorefilter, filter); in composeAndSendPhonebookOneVcard() 667 private final int composeContactsAndSendVCards(Operation op, final Cursor contactIdCursor, in composeContactsAndSendVCards() argument 709 buffer = new HandlerForStringBuffer(op, ownerVCard); in composeContactsAndSendVCards() 719 ((ServerOperation) op).isAborted = true; in composeContactsAndSendVCards() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
D | UserPresetsManager.java | 91 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/Settings/src/com/android/settings/applications/ |
D | AppOpsState.java | 242 public void addOp(AppOpEntry entry, AppOpsManager.OpEntry op) { in addOp() argument 243 mOps.put(op.getOp(), op); in addOp() local 244 mOpSwitches.put(AppOpsManager.opToSwitch(op.getOp()), entry); in addOp() 247 public boolean hasOp(int op) { in hasOp() argument 248 return mOps.indexOfKey(op) >= 0; in hasOp() 251 public AppOpEntry getOpSwitch(int op) { in getOpSwitch() argument 252 return mOpSwitches.get(AppOpsManager.opToSwitch(op)); in getOpSwitch() 318 public AppOpEntry(AppOpsManager.PackageOps pkg, AppOpsManager.OpEntry op, AppEntry app, in AppOpEntry() argument 323 mApp.addOp(this, op); in AppOpEntry() 324 mOps.add(op); in AppOpEntry() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapObexServer.java | 407 public int onPut(final Operation op) { in onPut() argument 417 request = op.getReceivedHeader(); in onPut() 469 return pushMessage(op, name, appParams, mMessageVersion); in onPut() 574 private int pushMessage(final Operation op, String folderName, in pushMessage() argument 602 bMsgStream = op.openInputStream(); in pushMessage() 633 op.sendHeaders(replyHeaders); in pushMessage() 847 public int onGet(Operation op) { in onGet() argument 856 request = op.getReceivedHeader(); in onGet() 878 return sendFolderListingRsp(op, appParams); in onGet() 907 return sendMessageListingRsp(op, appParams, name); in onGet() [all …]
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | AsyncQueryServiceTest.java | 111 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/ui/ |
D | FolderOperation.java | 50 for (FolderOperation op : ops) { in getFolders() 51 folders.add(op.mFolder); in getFolders() 73 for (FolderOperation op : folderOps) { in isDestructive() 74 if (Objects.equal(op.mFolder, folder) && !op.mAdd) { in isDestructive() 77 if (folder.isTrash() && op.mFolder.isInbox()) { in isDestructive()
|
D | OnePaneController.java | 469 public void onUndoAvailable(ToastBarOperation op) { in onUndoAvailable() argument 470 if (op != null && mAccount.supportsCapability(UIProvider.AccountCapabilities.UNDO)) { in onUndoAvailable() 479 (op.getDescription(mActivity.getActivityContext())), in onUndoAvailable() 483 op); in onUndoAvailable() local 491 (op.getDescription(mActivity.getActivityContext())), in onUndoAvailable() 495 op); in onUndoAvailable() local 497 mActivity.setPendingToastOperation(op); in onUndoAvailable()
|
D | LeaveBehindData.java | 26 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()
|
D | ActionableToastBar.java | 206 final boolean autohide, final ToastBarOperation op) { in show() argument 214 mOperation = op; in show() 219 if (op != null && op.shouldTakeOnActionClickedPrecedence()) { in show() 220 op.onActionClicked(getContext()); in show()
|
D | MultiFoldersSelectionDialog.java | 74 for (final FolderOperation op : savedOps) { in onCreate() 75 mOperations.put(op.mFolder.folderUri.fullUri, op); in onCreate()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | ContentProviderTask.java | 105 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/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationCursor.java | 1607 for (ConversationOperation op: ops) { in apply() 1608 Uri underlyingUri = uriFromCachingUri(op.mUri); in apply() 1615 ContentProviderOperation cpo = op.execute(underlyingUri); in apply() 1620 if (op.mRecalibrateRequired) { in apply() 1756 ContentProviderOperation op = null; in execute() local 1766 op = ContentProviderOperation.newUpdate(uri) in execute() 1775 op = ContentProviderOperation.newUpdate(uri).withValues(mValues).build(); in execute() 1779 op = ContentProviderOperation.newInsert(uri) in execute() 1788 op = ContentProviderOperation.newDelete(uri).build(); in execute() 1795 op = ContentProviderOperation.newDelete(uri).build(); in execute() [all …]
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkCmdReceiver.java | 57 private void handleAction(Context context, Intent intent, int op) { in handleAction() argument 61 args.putInt(StkAppService.OPCODE, op); in handleAction() 64 if (StkAppService.OP_CMD == op) { in handleAction() 67 } else if (StkAppService.OP_CARD_STATUS_CHANGED == op) { in handleAction() 80 } else if (StkAppService.OP_ALPHA_NOTIFY == op) { in handleAction() 85 CatLog.d("StkCmdReceiver", "handleAction, op: " + op + in handleAction()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MnsObexServer.java | 79 public int onGet(final Operation op) { in onGet() argument 85 public int onPut(final Operation op) { in onPut() argument 90 headerset = op.getReceivedHeader(); in onPut() 99 EventReport ev = EventReport.fromStream(op.openDataInputStream()); in onPut() 100 op.close(); in onPut()
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | CalculatorExpr.java | 114 Operator(byte op) throws IOException { in Operator() argument 115 id = KeyMaps.fromByte(op); in Operator() 692 private boolean isOperatorUnchecked(int i, int op) { in isOperatorUnchecked() argument 697 return ((Operator)(t)).id == op; in isOperatorUnchecked() 700 private boolean isOperator(int i, int op, EvalContext ec) { in isOperator() argument 704 return isOperatorUnchecked(i, op); in isOperator() 928 Operator op = (Operator) mExpr.get(pos + 2); in isPercent() local 929 return op.id == R.id.op_add || op.id == R.id.op_sub || op.id == R.id.rparen; in isPercent()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppObexServerSession.java | 170 public int onPut(Operation op) { in onPut() argument 171 if (D) Log.d(TAG, "onPut " + op.toString()); in onPut() 198 request = op.getReceivedHeader(); in onPut() 363 status = receiveFile(mFileInfo, op); in onPut() 419 private int receiveFile(BluetoothOppReceiveFileInfo fileInfo, Operation op) { in receiveFile() argument 429 is = op.openInputStream(); in receiveFile() 453 int outputBufferSize = op.getMaxPacketSize(); in receiveFile()
|
D | TestActivity.java | 499 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/services/BuiltInPrintService/jni/ipphelper/ |
D | ippstatus_capabilities.c | 132 int op = IPP_GET_PRINTER_ATTRIBUTES; in _get_capabilities() local 151 request = ippNewRequest(op); in _get_capabilities() 159 LOGD("IPP_GET_PRINTER_ATTRIBUTES %s request:", ippOpString(op)); in _get_capabilities() 173 LOGD("%s received, now call parse_printerAttributes:", ippOpString(op)); in _get_capabilities()
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
D | SurfaceTextureView.java | 51 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/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
D | ndldic.c | 119 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/procstatlog/ |
D | procstatreport.py | 652 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 == "-":
|