/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/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/Settings/src/com/android/settings/applications/ |
D | AppOpsState.java | 241 public void addOp(AppOpEntry entry, AppOpsManager.OpEntry op) { in addOp() argument 242 mOps.put(op.getOp(), op); in addOp() local 243 mOpSwitches.put(AppOpsManager.opToSwitch(op.getOp()), entry); in addOp() 246 public boolean hasOp(int op) { in hasOp() argument 247 return mOps.indexOfKey(op) >= 0; in hasOp() 250 public AppOpEntry getOpSwitch(int op) { in getOpSwitch() argument 251 return mOpSwitches.get(AppOpsManager.opToSwitch(op)); in getOpSwitch() 317 public AppOpEntry(AppOpsManager.PackageOps pkg, AppOpsManager.OpEntry op, AppEntry app, in AppOpEntry() argument 322 mApp.addOp(this, op); in AppOpEntry() 323 mOps.add(op); in AppOpEntry() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapObexServer.java | 252 public int onPut(final Operation op) { in onPut() argument 320 public int onGet(Operation op) { in onGet() argument 330 request = op.getReceivedHeader(); in onGet() 422 return pullVcardListing(appParam, appParamValue, reply, op); in onGet() 426 return pullVcardEntry(appParam, appParamValue, op, name, mCurrentPath); in onGet() 430 return pullPhonebook(appParam, appParamValue, reply, op, name); in onGet() 595 private final int sendVcardListingXml(final int type, Operation op, in sendVcardListingXml() argument 636 return pushBytes(op, result.toString()); in sendVcardListingXml() 694 private final int pushHeader(final Operation op, final HeaderSet reply) { in pushHeader() argument 702 op.sendHeaders(reply); in pushHeader() [all …]
|
D | BluetoothPbapVcardManager.java | 336 public final int composeAndSendCallLogVcards(final int type, Operation op, in composeAndSendCallLogVcards() argument 398 return composeCallLogsAndSendVCards(op, selection, vcardType21, null, ignorefilter, filter); in composeAndSendCallLogVcards() 401 public final int composeAndSendPhonebookVcards(Operation op, final int startPoint, in composeAndSendPhonebookVcards() argument 428 return composeContactsAndSendVCards(op, contactIdCursor, vcardType21, ownerVCard, in composeAndSendPhonebookVcards() 432 public final int composeAndSendPhonebookOneVcard(Operation op, final int offset, in composeAndSendPhonebookOneVcard() argument 463 return composeContactsAndSendVCards(op, contactIdCursor, vcardType21, ownerVCard, in composeAndSendPhonebookOneVcard() 529 public final int composeContactsAndSendVCards(Operation op, final Cursor contactIdCursor, in composeContactsAndSendVCards() argument 571 buffer = new HandlerForStringBuffer(op, ownerVCard); in composeContactsAndSendVCards() 581 ((ServerOperation) op).isAborted = true; in composeContactsAndSendVCards() 618 public final int composeCallLogsAndSendVCards(Operation op, final String selection, in composeCallLogsAndSendVCards() argument [all …]
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
D | MapStepsFolder.java | 83 public void execute(SeqStep step, HeaderSet request, Operation op) in execute() argument 112 public boolean validate(SeqStep step, HeaderSet response, Operation op) in validate() argument 114 Assert.assertNotNull(op); in validate() 115 op.noBodyHeader(); in validate() 119 sCurrentFolder.appendSubfolders(op.openInputStream()); in validate() 120 response = op.getReceivedHeader(); in validate() 131 int responseCode = op.getResponseCode(); in validate() 133 op.close(); in validate()
|
D | SeqStep.java | 61 public boolean validate(HeaderSet response, Operation op) throws IOException { in validate() argument 63 return mValidator.validate(this, response, op); in validate() 66 public void serverPreAction(HeaderSet request, Operation op) throws IOException { in serverPreAction() argument 68 mServerPreAction.execute(this, request, op); in serverPreAction() 72 public void clientPostAction(HeaderSet response, Operation op) throws IOException { in clientPostAction() argument 74 mClientPostAction.execute(this, response, op); in clientPostAction()
|
D | MapStepsConvo.java | 203 public boolean validate(SeqStep step, HeaderSet response, Operation op) in validate() argument 205 Assert.assertNotNull(op); in validate() 206 op.noBodyHeader(); in validate() 211 receivedListing.appendFromXml(op.openInputStream()); in validate() 212 response = op.getReceivedHeader(); in validate() 230 int responseCode = op.getResponseCode(); in validate() 232 op.close(); in validate()
|
D | TestSequencer.java | 149 Operation op = mClientSession.get(reqHeaders); in run() local 151 step.validate(null, op); in run() 152 step.clientPostAction(null, op); in run() 161 Operation op = mClientSession.put(reqHeaders); in run() local 162 step.validate(null, op); in run() 163 step.clientPostAction(null, op); in run()
|
D | ObexTest.java | 299 public boolean validate(SeqStep step, HeaderSet response, Operation op) in validate() argument 302 if(op.getResponseCode() != ResponseCodes.OBEX_HTTP_OK) { in validate() 303 Log.e(TAG,"Wrong ResponseCode: " + op.getResponseCode()); in validate() 319 public boolean validate(SeqStep step, HeaderSet notUsed, Operation op) in validate() argument 321 Assert.assertNotNull(op); in validate() 323 op.noBodyHeader(); in validate() 324 sDataHandler.readData(op.openDataInputStream(), step.mParams); in validate() 326 sDataHandler.writeData(op.openDataOutputStream(), step.mParams); in validate() 328 int responseCode = op.getResponseCode(); in validate() 330 HeaderSet response = op.getReceivedHeader(); in validate() [all …]
|
D | SdpManagerTest.java | 199 Operation op = mClientSession.get(reqHeaders); in testSdpSearchClient() local 200 op.noBodyHeader(); in testSdpSearchClient() 201 int response = op.getResponseCode(); in testSdpSearchClient() 202 op.close(); in testSdpSearchClient()
|
/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 | 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 | 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 | 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/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapObexServer.java | 401 public int onPut(final Operation op) { in onPut() argument 411 request = op.getReceivedHeader(); in onPut() 451 return pushMessage(op, name, appParams, mMessageVersion); in onPut() 556 private int pushMessage(final Operation op, String folderName, in pushMessage() argument 584 bMsgStream = op.openInputStream(); in pushMessage() 615 op.sendHeaders(replyHeaders); in pushMessage() 829 public int onGet(Operation op) { in onGet() argument 838 request = op.getReceivedHeader(); in onGet() 860 return sendFolderListingRsp(op, appParams); in onGet() 885 return sendMessageListingRsp(op, appParams, name); in onGet() [all …]
|
/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/Stk/src/com/android/stk/ |
D | StkCmdReceiver.java | 54 private void handleAction(Context context, Intent intent, int op) { in handleAction() argument 58 args.putInt(StkAppService.OPCODE, op); in handleAction() 61 if (StkAppService.OP_CMD == op) { in handleAction() 64 } else if (StkAppService.OP_CARD_STATUS_CHANGED == op) { in handleAction() 77 } else if (StkAppService.OP_ALPHA_NOTIFY == op) { in handleAction() 82 CatLog.d("StkCmdReceiver", "handleAction, op: " + op + in handleAction()
|
/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/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/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppObexServerSession.java | 163 public int onPut(Operation op) { in onPut() argument 164 if (D) Log.d(TAG, "onPut " + op.toString()); in onPut() 191 request = op.getReceivedHeader(); in onPut() 356 status = receiveFile(mFileInfo, op); in onPut() 412 private int receiveFile(BluetoothOppReceiveFileInfo fileInfo, Operation op) { in receiveFile() argument 422 is = op.openInputStream(); in receiveFile() 446 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/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()
|