Searched defs:op (Results 1 - 25 of 41) sorted by relevance

12

/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
H A DISeqStepAction.java10 void execute(SeqStep step, HeaderSet request, Operation op) argument
H A DISeqStepValidator.java12 boolean validate(SeqStep step, HeaderSet response, Operation op) argument
H A DMapStepsConvo.java203 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 DMapStepsFolder.java83 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 DSeqStep.java61 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 DMapTestData.java79 public void execute(SeqStep step, HeaderSet request, Operation op) argument
H A DObexTest.java299 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...]
/packages/apps/Stk/src/com/android/stk/
H A DStkCmdReceiver.java54 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/UnifiedEmail/src/com/android/mail/ui/
H A DLeaveBehindData.java26 final ToastBarOperation op; field in class:LeaveBehindData
31 op = undoOp;
43 arg.writeParcelable(op, 0);
49 op = arg.readParcelable(loader);
H A DActionableToastBar.java202 * @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
H A DRestrictedActivity.java189 void setPendingToastOperation(ToastBarOperation op); argument
H A DFolderSelectionActivity.java367 public void setPendingToastOperation(ToastBarOperation op) { argument
H A DOnePaneController.java469 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);
/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DUtils.java275 * android.Manifest.permission.ACCESS_FINE_LOCATION and a corresponding app op is allowed
338 private static boolean isAppOppAllowed(AppOpsManager appOps, int op, String callingPackage) { argument
339 return appOps.noteOp(op, Binder.getCallingUid(), callingPackage)
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppObexServerSession.java167 public int onPut(Operation op) { argument
168 if (D) Log.d(TAG, "onPut " + op.toString());
195 request = op.getReceivedHeader();
376 status = receiveFile(mFileInfo, op);
432 private int receiveFile(BluetoothOppReceiveFileInfo fileInfo, Operation op) { argument
442 is = op.openInputStream();
463 int outputBufferSize = op.getMaxPacketSize();
H A DTestActivity.java499 public int onPut(Operation op) { argument
502 java.io.InputStream is = op.openInputStream();
505 + op.getReceivedHeader().getHeader(HeaderSet.NAME) + " type " + op.getType());
507 File f = new File((String)op.getReceivedHeader().getHeader(HeaderSet.NAME));
552 public int onGet(Operation op) { argument
/packages/apps/Calendar/src/com/android/calendar/
H A DAsyncQueryService.java74 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...]
H A DAsyncQueryServiceHelper.java53 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...]
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DAbstractSyncAdapter.java147 Operation(ContentProviderOperation op) { argument
148 mOp = op;
157 ContentProviderOperation op = operationToContentProviderOperation(this, 0);
160 //type = op.getType();
162 Uri uri = op.getUri();
191 static ContentProviderOperation operationToContentProviderOperation(Operation op, int offset) { argument
192 if (op.mOp != null) {
193 return op.mOp;
194 } else if (op.mBuilder == null) {
197 ContentProviderOperation.Builder builder = op
[all...]
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
H A DSurfaceTextureView.java51 public static void checkGlError(String op) { argument
54 Log.e(TAG, op + ": glError " + error);
55 throw new RuntimeException(op + ": glError " + error);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapObexServer.java401 public int onPut(final Operation op) { argument
411 request = op.getReceivedHeader();
451 return pushMessage(op, name, appParams, mMessageVersion);
556 private int pushMessage(final Operation op, String folderName, argument
584 bMsgStream = op.openInputStream();
615 op.sendHeaders(replyHeaders);
829 public int onGet(Operation op) { argument
838 request = op.getReceivedHeader();
860 return sendFolderListingRsp(op, appParams);
885 return sendMessageListingRsp(op, appParam
956 sendMessageListingRsp(Operation op, BluetoothMapAppParams appParams, String folderName) argument
1147 sendConvoListingRsp(Operation op, BluetoothMapAppParams appParams, String folderName) argument
1267 sendFolderListingRsp(Operation op, BluetoothMapAppParams appParams) argument
1358 sendMASInstanceInformationRsp(Operation op, BluetoothMapAppParams appParams) argument
1457 sendGetMessageRsp(Operation op, String handle, BluetoothMapAppParams appParams, String version) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapObexServer.java252 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 DBluetoothPbapVcardManager.java339 public final int composeAndSendCallLogVcards(final int type, Operation op, argument
401 return composeCallLogsAndSendVCards(op, selection, vcardType21, null, ignorefilter, filter);
404 public final int composeAndSendPhonebookVcards(Operation op, final int startPoint, argument
431 return composeContactsAndSendVCards(op, contactIdCursor, vcardType21, ownerVCard,
435 public final int composeAndSendPhonebookOneVcard(Operation op, final int offset, argument
461 return composeContactsAndSendVCards(op, contactIdCursor, vcardType21, ownerVCard,
527 public final int composeContactsAndSendVCards(Operation op, final Cursor contactIdCursor, argument
569 buffer = new HandlerForStringBuffer(op, ownerVCard);
579 ((ServerOperation) op).isAborted = true;
616 public final int composeCallLogsAndSendVCards(Operation op, fina argument
697 HandlerForStringBuffer(Operation op, String ownerVCard) argument
[all...]
/packages/apps/ExactCalculator/src/com/android/calculator2/
H A DCalculatorExpr.java177 // Note that adding a 0 exponent is a no-op. That's OK.
690 private boolean isOperatorUnchecked(int i, int op) { argument
695 return ((Operator)(t)).id == op;
698 private boolean isOperator(int i, int op, EvalContext ec) { argument
702 return isOperatorUnchecked(i, op);
1057 Operator op = (Operator) mExpr.get(pos + 2);
1058 return op.id == R.id.op_add || op.id == R.id.op_sub;
/packages/apps/Launcher3/src/com/android/launcher3/
H A DFolderPagedView.java422 public View iterateOverItems(ItemOperator op) { argument
428 if ((v != null) && op.evaluate((ItemInfo) v.getTag(), v, this)) {

Completed in 636 milliseconds

12