/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
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 | 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 | 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 | 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 | MapTestData.java | 79 public void execute(SeqStep step, HeaderSet request, Operation op) argument
|
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...] |
/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/UnifiedEmail/src/com/android/mail/ui/ |
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 | 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
|
H A D | RestrictedActivity.java | 189 void setPendingToastOperation(ToastBarOperation op); argument
|
H A D | FolderSelectionActivity.java | 367 public 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);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
H A D | Utils.java | 275 * 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 D | BluetoothOppObexServerSession.java | 167 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 D | TestActivity.java | 499 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 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...] |
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...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | AbstractSyncAdapter.java | 147 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 D | SurfaceTextureView.java | 51 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 D | BluetoothMapObexServer.java | 401 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 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 | 339 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 D | CalculatorExpr.java | 177 // 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 D | FolderPagedView.java | 422 public View iterateOverItems(ItemOperator op) { argument 428 if ((v != null) && op.evaluate((ItemInfo) v.getTag(), v, this)) {
|