/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
H A D | SeqStep.java | 61 public boolean validate(HeaderSet response, Operation op) throws IOException { argument 63 return mValidator.validate(this, response, op); 66 public void serverPreAction(HeaderSet request, Operation op) throws IOException { argument 68 mServerPreAction.execute(this, request, op); 72 public void clientPostAction(HeaderSet response, Operation op) throws IOException { argument 74 mClientPostAction.execute(this, response, op);
|
H A D | ISeqStepAction.java | 10 void execute(SeqStep step, HeaderSet request, Operation op) argument
|
H A D | ISeqStepValidator.java | 12 boolean validate(SeqStep step, HeaderSet response, Operation op) argument
|
H A D | MapStepsFolder.java | 83 public void execute(SeqStep step, HeaderSet request, Operation op) argument 112 public boolean validate(SeqStep step, HeaderSet response, Operation op) argument 114 Assert.assertNotNull(op); 115 op.noBodyHeader(); 119 sCurrentFolder.appendSubfolders(op.openInputStream()); 120 response = op.getReceivedHeader(); 131 int responseCode = op.getResponseCode(); 133 op.close();
|
H A D | MapStepsConvo.java | 203 public boolean validate(SeqStep step, HeaderSet response, Operation op) argument 205 Assert.assertNotNull(op); 206 op.noBodyHeader(); 211 receivedListing.appendFromXml(op.openInputStream()); 212 response = op.getReceivedHeader(); 230 int responseCode = op.getResponseCode(); 232 op.close();
|
H A D | TestSequencer.java | 149 Operation op = mClientSession.get(reqHeaders); 151 step.validate(null, op); 152 step.clientPostAction(null, op); 161 Operation op = mClientSession.put(reqHeaders); 162 step.validate(null, op); 163 step.clientPostAction(null, op);
|
H A D | ObexTest.java | 299 public boolean validate(SeqStep step, HeaderSet response, Operation op) argument 302 if(op.getResponseCode() != ResponseCodes.OBEX_HTTP_OK) { 303 Log.e(TAG,"Wrong ResponseCode: " + op.getResponseCode()); 319 public boolean validate(SeqStep step, HeaderSet notUsed, Operation op) argument 321 Assert.assertNotNull(op); 323 op.noBodyHeader(); 324 sDataHandler.readData(op.openDataInputStream(), step.mParams); 326 sDataHandler.writeData(op.openDataOutputStream(), step.mParams); 328 int responseCode = op.getResponseCode(); 330 HeaderSet response = op [all...] |
H A D | SdpManagerTest.java | 199 Operation op = mClientSession.get(reqHeaders); 200 op.noBodyHeader(); 201 int response = op.getResponseCode(); 202 op.close();
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
H A D | UserPresetsManager.java | 91 SaveOperation op = new SaveOperation(); 92 op.json = preset.getJsonString(ImagePreset.JASON_SAVED); 93 op.name = name; 94 msg.obj = op; 111 UpdateOperation op = new UpdateOperation(); 112 op.id = representation.getId(); 113 op.name = representation.getName(); 114 msg.obj = op; 132 SaveOperation op = (SaveOperation) msg.obj; 133 mUserPresets.insertStack(op [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | FolderOperation.java | 50 for (FolderOperation op : ops) { 51 folders.add(op.mFolder); 73 for (FolderOperation op : folderOps) { 74 if (Objects.equal(op.mFolder, folder) && !op.mAdd) { 77 if (folder.isTrash() && op.mFolder.isInbox()) {
|
H A D | LeaveBehindData.java | 26 final ToastBarOperation op; field in class:LeaveBehindData 31 op = undoOp; 43 arg.writeParcelable(op, 0); 49 op = arg.readParcelable(loader);
|
H A D | RestrictedActivity.java | 189 void setPendingToastOperation(ToastBarOperation op); argument
|
H A D | OnePaneController.java | 469 public void onUndoAvailable(ToastBarOperation op) { argument 470 if (op != null && mAccount.supportsCapability(UIProvider.AccountCapabilities.UNDO)) { 479 (op.getDescription(mActivity.getActivityContext())), 483 op); 491 (op.getDescription(mActivity.getActivityContext())), 495 op); 497 mActivity.setPendingToastOperation(op);
|
H A D | ActionableToastBar.java | 202 * @param op the operation that corresponds to the specific toast being shown 206 final boolean autohide, final ToastBarOperation op) { 214 mOperation = op; 219 if (op != null && op.shouldTakeOnActionClickedPrecedence()) { 220 op.onActionClicked(getContext()); 204 show(final ActionClickedListener listener, final CharSequence descriptionText, @StringRes final int actionTextResourceId, final boolean replaceVisibleToast, final boolean autohide, final ToastBarOperation op) argument
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | AsyncQueryServiceHelper.java | 53 public int op; field in class:AsyncQueryServiceHelper.OperationInfo 107 builder.append(",\n\t op= "); 108 builder.append(Operation.opToChar(op)); 149 return o.token == this.token && o.op == this.op; 178 Operation op = null; 186 if (op == null) { 187 op = new Operation(); 190 op.token = info.token; 191 op [all...] |
H A D | AsyncQueryService.java | 74 public int op; field in class:AsyncQueryService.Operation 81 protected static char opToChar(int op) { argument 82 switch (op) { 101 builder.append("Operation [op="); 102 builder.append(op); 172 info.op = Operation.EVENT_ARG_QUERY; 204 info.op = Operation.EVENT_ARG_INSERT; 240 info.op = Operation.EVENT_ARG_UPDATE; 277 info.op = Operation.EVENT_ARG_DELETE; 308 info.op [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | ContentProviderTask.java | 105 final ContentProviderOperation op = ContentProviderOperation 109 super.run(resolver, uri.getAuthority(), Lists.newArrayList(op)); 118 final ContentProviderOperation op = ContentProviderOperation 123 super.run(resolver, uri.getAuthority(), Lists.newArrayList(op)); 132 final ContentProviderOperation op = ContentProviderOperation 136 super.run(resolver, uri.getAuthority(), Lists.newArrayList(op));
|
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | AppOpsState.java | 241 public void addOp(AppOpEntry entry, AppOpsManager.OpEntry op) { argument 242 mOps.put(op.getOp(), op); 243 mOpSwitches.put(AppOpsManager.opToSwitch(op.getOp()), entry); 246 public boolean hasOp(int op) { argument 247 return mOps.indexOfKey(op) >= 0; 250 public AppOpEntry getOpSwitch(int op) { argument 251 return mOpSwitches.get(AppOpsManager.opToSwitch(op)); 317 public AppOpEntry(AppOpsManager.PackageOps pkg, AppOpsManager.OpEntry op, AppEntry app, argument 322 mApp.addOp(this, op); 327 addOp(ArrayList<AppOpsManager.OpEntry> list, AppOpsManager.OpEntry op) argument 345 addOp(AppOpsManager.OpEntry op) argument [all...] |
/packages/apps/Stk/src/com/android/stk/ |
H A D | StkCmdReceiver.java | 54 private void handleAction(Context context, Intent intent, int op) { argument 58 args.putInt(StkAppService.OPCODE, op); 61 if (StkAppService.OP_CMD == op) { 64 } else if (StkAppService.OP_CARD_STATUS_CHANGED == op) { 77 } else if (StkAppService.OP_ALPHA_NOTIFY == op) { 82 CatLog.d("StkCmdReceiver", "handleAction, op: " + op +
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
H A D | FrameBuffer.h | 7 extern bool checkGlError(const char* op);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapObexServer.java | 252 public int onPut(final Operation op) { argument 320 public int onGet(Operation op) { argument 330 request = op.getReceivedHeader(); 422 return pullVcardListing(appParam, appParamValue, reply, op); 426 return pullVcardEntry(appParam, appParamValue, op, name, mCurrentPath); 430 return pullPhonebook(appParam, appParamValue, reply, op, name); 595 private final int sendVcardListingXml(final int type, Operation op, argument 636 return pushBytes(op, result.toString()); 694 private final int pushHeader(final Operation op, final HeaderSet reply) { argument 702 op 717 pushBytes(Operation op, final String vcardString) argument 741 handleAppParaForResponse(AppParamValue appParamValue, int size, HeaderSet reply, Operation op) argument 832 pullVcardListing(byte[] appParam, AppParamValue appParamValue, HeaderSet reply, Operation op) argument 893 pullVcardEntry(byte[] appParam, AppParamValue appParamValue, Operation op, final String name, final String current_path) argument 948 pullPhonebook(byte[] appParam, AppParamValue appParamValue, HeaderSet reply, Operation op, final String name) argument 1016 closeStream(final OutputStream out, final Operation op) argument [all...] |
H A D | BluetoothPbapVcardManager.java | 336 public final int composeAndSendCallLogVcards(final int type, Operation op, argument 398 return composeCallLogsAndSendVCards(op, selection, vcardType21, null, ignorefilter, filter); 401 public final int composeAndSendPhonebookVcards(Operation op, final int startPoint, argument 428 return composeContactsAndSendVCards(op, contactIdCursor, vcardType21, ownerVCard, 432 public final int composeAndSendPhonebookOneVcard(Operation op, final int offset, argument 463 return composeContactsAndSendVCards(op, contactIdCursor, vcardType21, ownerVCard, 529 public final int composeContactsAndSendVCards(Operation op, final Cursor contactIdCursor, argument 571 buffer = new HandlerForStringBuffer(op, ownerVCard); 581 ((ServerOperation) op).isAborted = true; 618 public final int composeCallLogsAndSendVCards(Operation op, fina argument 699 HandlerForStringBuffer(Operation op, String ownerVCard) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapObexServer.java | 407 public int onPut(final Operation op) { argument 417 request = op.getReceivedHeader(); 469 return pushMessage(op, name, appParams, mMessageVersion); 574 private int pushMessage(final Operation op, String folderName, argument 602 bMsgStream = op.openInputStream(); 633 op.sendHeaders(replyHeaders); 847 public int onGet(Operation op) { argument 856 request = op.getReceivedHeader(); 878 return sendFolderListingRsp(op, appParams); 907 return sendMessageListingRsp(op, appParam 986 sendMessageListingRsp(Operation op, BluetoothMapAppParams appParams, String folderName) argument 1177 sendConvoListingRsp(Operation op, BluetoothMapAppParams appParams, String folderName) argument 1297 sendFolderListingRsp(Operation op, BluetoothMapAppParams appParams) argument 1388 sendMASInstanceInformationRsp(Operation op, BluetoothMapAppParams appParams) argument 1487 sendGetMessageRsp(Operation op, String handle, BluetoothMapAppParams appParams, String version) argument [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/ |
H A D | AsyncQueryServiceTest.java | 111 work[index].op = Operation.EVENT_ARG_QUERY; 140 work[index].op = Operation.EVENT_ARG_INSERT; 166 work[index].op = Operation.EVENT_ARG_UPDATE; 194 work[index].op = Operation.EVENT_ARG_DELETE; 224 work[index].op = Operation.EVENT_ARG_BATCH; 367 work.op = Operation.EVENT_ARG_DELETE; 499 assertEquals(mWork[mIndex].op, Operation.EVENT_ARG_QUERY); 518 assertEquals(mWork[mIndex].op, Operation.EVENT_ARG_INSERT); 531 assertEquals(mWork[mIndex].op, Operation.EVENT_ARG_UPDATE); 544 assertEquals(mWork[mIndex].op, Operatio [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationCursor.java | 1607 for (ConversationOperation op: ops) { 1608 Uri underlyingUri = uriFromCachingUri(op.mUri); 1615 ContentProviderOperation cpo = op.execute(underlyingUri); 1620 if (op.mRecalibrateRequired) { 1756 ContentProviderOperation op = null; 1766 op = ContentProviderOperation.newUpdate(uri) 1775 op = ContentProviderOperation.newUpdate(uri).withValues(mValues).build(); 1779 op = ContentProviderOperation.newInsert(uri) 1788 op = ContentProviderOperation.newDelete(uri).build(); 1795 op 2104 updateBulkValues(Collection<ConversationOperation> op) argument [all...] |