Searched refs:op (Results 1 - 25 of 59) sorted by relevance

123

/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
H A DRequest.java83 ClientOperation op = null;
86 op = (ClientOperation) session.get(mHeaderSet);
95 op.setGetFinalFlag(true);
101 op.continueOperation(true, false);
103 readResponseHeaders(op.getReceivedHeader());
105 InputStream is = op.openInputStream();
109 op.close();
111 mResponseCode = op.getResponseCode();
120 Operation op = null;
125 op
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
H A DUserPresetsManager.java91 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 DFolderOperation.java50 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 DLeaveBehindData.java26 final ToastBarOperation op; field in class:LeaveBehindData
31 op = undoOp;
43 arg.writeParcelable(op, 0);
49 op = arg.readParcelable(loader);
H A DRestrictedActivity.java189 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);
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
/packages/apps/Calendar/src/com/android/calendar/
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...]
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...]
/packages/apps/Stk/src/com/android/stk/
H A DStkCmdReceiver.java55 private void handleAction(Context context, Intent intent, int op) { argument
59 args.putInt(StkAppService.OPCODE, op);
62 if (StkAppService.OP_CMD == op) {
65 } else if (StkAppService.OP_CARD_STATUS_CHANGED == op) {
78 } else if (StkAppService.OP_ALPHA_NOTIFY == op) {
83 CatLog.d("StkCmdReceiver", "handleAction, op: " + op +
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DContentProviderTask.java105 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/Bluetooth/src/com/android/bluetooth/mapclient/
H A DMnsObexServer.java96 public int onGet(final Operation op) { argument
104 public int onPut(final Operation op) { argument
111 headerset = op.getReceivedHeader();
120 EventReport ev = EventReport.fromStream(op.openDataInputStream());
121 op.close();
/packages/apps/Settings/src/com/android/settings/applications/appops/
H A DAppOpsState.java240 public void addOp(AppOpEntry entry, AppOpsManager.OpEntry op) { argument
241 mOps.put(op.getOp(), op);
242 mOpSwitches.put(AppOpsManager.opToSwitch(op.getOp()), entry);
245 public boolean hasOp(int op) { argument
246 return mOps.indexOfKey(op) >= 0;
249 public AppOpEntry getOpSwitch(int op) { argument
250 return mOpSwitches.get(AppOpsManager.opToSwitch(op));
316 public AppOpEntry(AppOpsManager.PackageOps pkg, AppOpsManager.OpEntry op, AppEntry app, argument
321 mApp.addOp(this, op);
326 addOp(ArrayList<AppOpsManager.OpEntry> list, AppOpsManager.OpEntry op) argument
344 addOp(AppOpsManager.OpEntry op) argument
[all...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/
H A DFrameBuffer.h7 extern bool checkGlError(const char* op);
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapObexServer.java312 public int onPut(final Operation op) { argument
386 public int onGet(Operation op) { argument
396 request = op.getReceivedHeader();
526 return pullVcardListing(appParam, appParamValue, reply, op, name);
529 return pullVcardEntry(appParam, appParamValue, op, reply, name, mCurrentPath);
532 return pullPhonebook(appParam, appParamValue, reply, op, name);
745 private int sendVcardListingXml(AppParamValue appParamValue, Operation op, int needSendBody, argument
792 return pushBytes(op, result.toString());
872 private int pushHeader(final Operation op, final HeaderSet reply) { argument
884 op
899 pushBytes(Operation op, final String vcardString) argument
925 handleAppParaForResponse(AppParamValue appParamValue, int size, HeaderSet reply, Operation op, String name) argument
1081 pullVcardListing(byte[] appParam, AppParamValue appParamValue, HeaderSet reply, Operation op, String name) argument
1148 pullVcardEntry(byte[] appParam, AppParamValue appParamValue, Operation op, HeaderSet reply, final String name, final String currentPath) argument
1210 pullPhonebook(byte[] appParam, AppParamValue appParamValue, HeaderSet reply, Operation op, final String name) argument
1290 closeStream(final OutputStream out, final Operation op) argument
[all...]
H A DBluetoothPbapVcardManager.java476 final int composeAndSendSelectedCallLogVcards(final int type, Operation op, argument
540 return composeCallLogsAndSendSelectedVCards(op, selection, vcardType21, needSendBody,
544 final int composeAndSendPhonebookVcards(Operation op, final int startPoint, final int endPoint, argument
574 return composeContactsAndSendSelectedVCards(op, contactIdCursor, vcardType21,
578 return composeContactsAndSendVCards(op, contactIdCursor, vcardType21, ownerVCard,
583 final int composeAndSendPhonebookOneVcard(Operation op, final int offset, argument
612 return composeContactsAndSendVCards(op, contactIdCursor, vcardType21, ownerVCard,
681 private int composeContactsAndSendVCards(Operation op, final Cursor contactIdCursor, argument
727 buffer = new HandlerForStringBuffer(op, ownerVCard);
736 ((ServerOperation) op)
782 composeContactsAndSendSelectedVCards(Operation op, final Cursor contactIdCursor, final boolean vcardType21, String ownerVCard, int needSendBody, int pbSize, boolean ignorefilter, byte[] filter, byte[] selector, String vcardselectorop) argument
896 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
1024 HandlerForStringBuffer(Operation op, String ownerVCard) argument
[all...]
/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));
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
H A DDirectoryState.java63 FileOperation op = mPendingOperation;
65 return 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;
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapObexServer.java448 public int onPut(final Operation op) { argument
460 request = op.getReceivedHeader();
518 return pushMessage(op, name, appParams, mMessageVersion);
644 private int pushMessage(final Operation op, String folderName, BluetoothMapAppParams appParams, argument
676 bMsgStream = op.openInputStream();
733 op.sendHeaders(replyHeaders);
984 public int onGet(Operation op) { argument
993 request = op.getReceivedHeader();
1022 return sendFolderListingRsp(op, appParams);
1052 return sendMessageListingRsp(op, appParam
1133 sendMessageListingRsp(Operation op, BluetoothMapAppParams appParams, String folderName) argument
1348 sendConvoListingRsp(Operation op, BluetoothMapAppParams appParams, String folderName) argument
1495 sendFolderListingRsp(Operation op, BluetoothMapAppParams appParams) argument
1610 sendMASInstanceInformationRsp(Operation op, BluetoothMapAppParams appParams) argument
1718 sendGetMessageRsp(Operation op, String handle, BluetoothMapAppParams appParams, String version) argument
[all...]
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/
H A DTestSyncAdapter.java100 for (ContentProviderOperation op : ops) {
101 Log.v(TestauthConstants.LOG_TAG, op.toString());
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
H A DCacheDataUpdatedTaskTest.java39 private CacheDataUpdatedTask newTask(int op, String... pkg) { argument
40 return new CacheDataUpdatedTask(op, myUser, new HashSet<>(Arrays.asList(pkg)));
/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/apps/Calendar/tests/src/com/android/calendar/
H A DAsyncQueryServiceTest.java111 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 DConversationCursor.java1607 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...]

Completed in 1117 milliseconds

123