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

12

/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
H A DCacheDataUpdatedTaskTest.java28 private CacheDataUpdatedTask newTask(int op, String... pkg) { argument
29 return new CacheDataUpdatedTask(op, myUser, new HashSet<>(Arrays.asList(pkg)));
/packages/apps/Stk/src/com/android/stk/
H A DStkCmdReceiver.java57 private void handleAction(Context context, Intent intent, int op) { argument
61 args.putInt(StkAppService.OPCODE, op);
64 if (StkAppService.OP_CMD == op) {
67 } else if (StkAppService.OP_CARD_STATUS_CHANGED == op) {
80 } else if (StkAppService.OP_ALPHA_NOTIFY == op) {
85 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/Launcher3/src/com/android/launcher3/model/
H A DCacheDataUpdatedTask.java46 public CacheDataUpdatedTask(int op, UserHandle user, HashSet<String> packages) { argument
47 mOp = op;
H A DPackageUpdatedTask.java77 public PackageUpdatedTask(int op, UserHandle user, String... packages) { argument
78 mOp = op;
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
H A DMnsObexServer.java79 public int onGet(final Operation op) { argument
85 public int onPut(final Operation op) { argument
90 headerset = op.getReceivedHeader();
99 EventReport ev = EventReport.fromStream(op.openDataInputStream());
100 op.close();
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
H A DRequestPinItemTest.java203 ItemSearchCondition(ItemOperator op) { argument
204 mOp = op;
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
H A DLauncherActivityRule.java50 public Callable<Boolean> itemExists(final ItemOperator op) { argument
59 return launcher.getWorkspace().getFirstMatch(op) != null;
/packages/services/BuiltInPrintService/jni/ipphelper/
H A Dippstatus_capabilities.c134 int op = IPP_GET_PRINTER_ATTRIBUTES; local
153 request = ippNewRequest(op);
161 LOGD("IPP_GET_PRINTER_ATTRIBUTES %s request:", ippOpString(op));
175 LOGD("%s received, now call parse_printerAttributes:", ippOpString(op));
H A Dipp_print.c553 int op = IPP_PRINT_JOB; local
585 LOGE("sent cupsGetResponse %s job id is null; received", ippOpString(op));
588 LOGI("sent cupsGetResponse %s job_id %d; received", ippOpString(op), job_id);
/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DUtils.java294 * android.Manifest.permission.ACCESS_FINE_LOCATION and a corresponding app op is allowed
362 private static boolean isAppOppAllowed(AppOpsManager appOps, int op, String callingPackage) { argument
363 return appOps.noteOp(op, Binder.getCallingUid(), callingPackage)
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppObexServerSession.java170 public int onPut(Operation op) { argument
171 if (D) Log.d(TAG, "onPut " + op.toString());
198 request = op.getReceivedHeader();
363 status = receiveFile(mFileInfo, op);
419 private int receiveFile(BluetoothOppReceiveFileInfo fileInfo, Operation op) { argument
429 is = op.openInputStream();
453 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/Launcher3/src/com/android/launcher3/
H A DAllAppsList.java150 * Updates the disabled flags of apps matching {@param matcher} based on {@param op}.
152 public void updateDisabledFlags(ItemInfoMatcher matcher, FlagOp op) { argument
157 info.isDisabled = op.apply(info.isDisabled);
/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.java407 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
1296 sendFolderListingRsp(Operation op, BluetoothMapAppParams appParams) argument
1387 sendMASInstanceInformationRsp(Operation op, BluetoothMapAppParams appParams) argument
1486 sendGetMessageRsp(Operation op, String handle, BluetoothMapAppParams appParams, String version) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapVcardManager.java466 final int composeAndSendSelectedCallLogVcards(final int type, Operation op, argument
529 return composeCallLogsAndSendSelectedVCards(op, selection, vcardType21, needSendBody,
533 final int composeAndSendPhonebookVcards(Operation op, final int startPoint, final int endPoint, argument
563 return composeContactsAndSendSelectedVCards(op, contactIdCursor, vcardType21,
568 op, contactIdCursor, vcardType21, ownerVCard, ignorefilter, filter);
571 final int composeAndSendPhonebookOneVcard(Operation op, final int offset, argument
602 op, contactIdCursor, vcardType21, ownerVCard, ignorefilter, filter);
667 private final int composeContactsAndSendVCards(Operation op, final Cursor contactIdCursor, argument
709 buffer = new HandlerForStringBuffer(op, ownerVCard);
719 ((ServerOperation) op)
756 composeContactsAndSendSelectedVCards(Operation op, final Cursor contactIdCursor, final boolean vcardType21, String ownerVCard, int needSendBody, int pbSize, boolean ignorefilter, byte[] filter, byte[] selector, String vcardselectorop) argument
859 composeCallLogsAndSendSelectedVCards(Operation op, final String selection, final boolean vcardType21, int needSendBody, int pbSize, String ownerVCard, boolean ignorefilter, byte[] filter, byte[] selector, String vcardselectorop, boolean vCardSelct) argument
967 HandlerForStringBuffer(Operation op, String ownerVCard) argument
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/
H A DUtils.java317 public static void updateNextAlarm(AlarmManager am, AlarmClockInfo info, PendingIntent op) { argument
318 am.setAlarmClock(info, op);
/packages/apps/ExactCalculator/src/com/android/calculator2/
H A DCalculatorExpr.java114 Operator(byte op) throws IOException { argument
115 id = KeyMaps.fromByte(op);
219 // Note that adding a 0 exponent is a no-op. That's OK.
692 private boolean isOperatorUnchecked(int i, int op) { argument
697 return ((Operator)(t)).id == op;
700 private boolean isOperator(int i, int op, EvalContext ec) { argument
704 return isOperatorUnchecked(i, op);
928 Operator op = (Operator) mExpr.get(pos + 2);
929 return op.id == R.id.op_add || op
[all...]

Completed in 645 milliseconds

12