HomeSort by relevance Sort by last modified time
    Searched refs:primitive (Results 1 - 25 of 36) sorted by null

1 2

  /packages/apps/IM/src/com/android/im/imps/
ImpsTransaction.java 23 * request and a response primitive. The transactions MAY originate from either
52 protected void sendPrimitive(Primitive primitive) {
55 primitive.setSession(session.getID());
57 primitive.setTransaction(this);
59 mConnection.sendPrimitive(primitive);
PrimitiveSerializer.java 24 * The <code>PrimitiveSerializer</code> is used format a primitive to expected
29 * Serializes the primitive to the OutputStream in expected format.
31 * @param primitive the primitive to format.
36 public void serialize(Primitive primitive, OutputStream out)
ImpsChatSessionManager.java 60 Primitive primitive = createSendMessagePrimitive(message); local
64 public void onResponseOk(Primitive response) { }
72 tx.sendRequest(primitive);
76 Primitive primitive = tx.getRequest(); local
78 if (ImpsTags.NewMessage.equals(primitive.getType())) {
79 Message msg = extractMessage(primitive);
82 Primitive response = new Primitive(ImpsTags.MessageDelivered)
176 Primitive primitive = new Primitive(ImpsTags.SendMessage_Request); local
    [all...]
ImpsTransactionManager.java 23 import com.android.im.imps.Primitive.TransactionMode;
47 * @param type the primitive type of the transaction.
83 void reassignTransactionId(Primitive p) {
116 * Notifies the TransactionManager that a new primitive from the server has
119 * @param primitive the incoming primitive.
121 public void notifyIncomingPrimitive(Primitive primitive) {
122 String transactionId = primitive.getTransactionID();
123 if (primitive.getTransactionMode() == TransactionMode.Response)
    [all...]
ImpsChatGroupManager.java 50 Primitive request = buildAddGroupMemberRequest(group, contact);
59 public void onResponseOk(Primitive response) {
72 Primitive primitive = buildCreateGroupRequest(name, groupAddress); local
81 public void onResponseOk(Primitive response) {
92 tx.sendRequest(primitive);
97 Primitive request = new Primitive(ImpsTags.DeleteGroup_Request);
108 public void onResponseOk(Primitive response) {
117 Primitive request = buildInviteUserRequest(group, contact)
247 final Primitive primitive = tx.getRequest(); local
319 Primitive primitive = new Primitive(ImpsTags.CreateGroup_Request); local
    [all...]
ImpsErrorInfo.java 94 private final Primitive mPrimitive;
96 ImpsErrorInfo(int code, String description, Primitive primitive) {
98 mPrimitive = primitive;
101 Primitive getPrimitive() {
ImpsLog.java 48 public static void dumpPrimitive(Primitive p) {
53 Log.e(PACKET_TAG, "Bad Primitive");
55 Log.e(PACKET_TAG, "Bad Primitive");
60 public static void log(Primitive primitive) {
64 mSerialzier.serialize(primitive, out);
WbxmlPrimitiveSerializer.java 40 public void serialize(Primitive primitive, OutputStream out) throws IOException,
44 PrimitiveElement elem = primitive.createMessage(mVersionNs, mTransacNs);
ImpsConnection.java 35 import com.android.im.imps.Primitive.TransactionMode;
211 Primitive login = buildBasicLoginReq();
226 public TransactionStatus processResponse(Primitive response) {
283 private TransactionStatus sendSecondLogin(Primitive res) {
285 Primitive secondLogin = buildBasicLoginReq();
424 Primitive logoutPrimitive = new Primitive(ImpsTags.Logout_Request);
467 * Sends a specific primitive to the server. It will return immediately
468 * after the primitive has been put to the sending queue.
470 * @param primitive the packet to send
547 Primitive primitive = null; local
    [all...]
XmlPrimitiveSerializer.java 37 public void serialize(Primitive primitive, OutputStream out) throws IOException {
42 PrimitiveElement elem = primitive.createMessage(mVersionNs,
HttpDataChannel.java 48 import com.android.im.imps.Primitive.TransactionMode;
66 private LinkedBlockingQueue<Primitive> mSendQueue;
67 private LinkedBlockingQueue<Primitive> mReceiveQueue;
71 private Primitive mKeepAlivePrimitive;
133 mSendQueue = new LinkedBlockingQueue<Primitive>();
134 mReceiveQueue = new LinkedBlockingQueue<Primitive>();
159 Primitive polling = new Primitive(ImpsTags.Polling_Request);
182 public void sendPrimitive(Primitive p) {
184 ImpsLog.log("DataChannel not connected, ignore primitive " + p.getType())
276 Primitive primitive = mSendQueue.take(); local
    [all...]
  /cts/tools/signature-tools/src/signature/model/impl/
SigPrimitiveType.java 33 for (SigPrimitiveType primitive : values()) {
34 if (primitive.name.equals(name)) {
35 return primitive;
38 throw new IllegalArgumentException(name + " is not a primitive type");
  /external/webkit/WebCore/rendering/style/
SVGRenderStyle.cpp 129 CSSPrimitiveValue* primitive = static_cast<CSSPrimitiveValue*>(value); local
131 unsigned short cssType = (primitive ? primitive->primitiveType() : (unsigned short) CSSPrimitiveValue::CSS_UNKNOWN);
139 float result = primitive->getFloatValue() / 100.0f;
144 return primitive->computeLengthFloat(const_cast<RenderStyle*>(item->style()), item->document()->documentElement()->renderStyle());
  /external/emma/core/java12/com/vladium/jcd/lib/
Types.java 505 else // primitive type
507 return primitive (first);
523 else // primitive type
525 component = primitive (first);
533 Class primitive (char c) throws ClassNotFoundException method in class:Types.typeDescriptorCompiler
563 else // primitive type
564 return primitive (first);
581 else // primitive type
582 component = primitive (first);
589 String primitive (char c method in class:Types.typeDescriptorCompiler2
    [all...]
  /external/webkit/JavaScriptCore/runtime/
DateConstructor.cpp 86 JSValue primitive = args.at(0).toPrimitive(exec); local
87 if (primitive.isString())
88 value = parseDate(exec, primitive.getString(exec));
90 value = primitive.toNumber(exec);
JSObject.cpp 462 JSValue primitive = toPrimitive(exec, PreferNumber); local
465 return primitive.toNumber(exec);
470 JSValue primitive = toPrimitive(exec, PreferString); local
473 return primitive.toString(exec);
  /development/samples/GlobalTime/src/com/android/globaltime/
Shape.java 60 * @param primitive a GL primitive type understood by glDrawElements,
69 protected Shape(int primitive,
74 mPrimitive = primitive;
  /external/guava/src/com/google/common/primitives/
generate.sh 4 # Args are: primitive type, capitalized primitive type, wrapper type
71 * The number of bytes required to represent a primitive {@code primtyp}
80 * @param value a primitive {@code primtyp} value
137 * @param target a primitive {@code primtyp} value
155 * @param target a primitive {@code primtyp} value
209 * @param target a primitive {@code primtyp} value
418 * primitive {@code primtyp} values.
  /external/webkit/WebCore/rendering/
SVGCharacterLayoutInfo.cpp 47 CSSPrimitiveValue* primitive = static_cast<CSSPrimitiveValue*>(svgStyle->baselineShiftValue()); local
48 baselineShift = primitive->getFloatValue();
50 if (primitive->primitiveType() == CSSPrimitiveValue::CSS_PERCENTAGE)
SVGRootInlineBox.cpp 327 if (CSSPrimitiveValue* primitive = static_cast<CSSPrimitiveValue*>(svgStyle->kerning())) {
328 kerning = primitive->getFloatValue();
330 if (primitive->primitiveType() == CSSPrimitiveValue::CSS_PERCENTAGE && font.pixelSize() > 0)
    [all...]
  /external/v8/test/mjsunit/
mirror-array.js 60 assertFalse(mirror.isPrimitive(), 'Unexpected primitive mirror');
mirror-object.js 59 assertFalse(mirror.isPrimitive(), 'Unexpected primitive mirror');
  /external/v8/src/
runtime.js 598 // Returns if the given x is a primitive value - not an object or a
605 // considered a primitive value.
messages.js 154 cannot_convert_to_primitive: "Cannot convert object to primitive value",
190 result_not_primitive: "Result of %0 must be a primitive, was %1",
  /build/tools/droiddoc/templates/
macros.cs 6 <?cs # A link to a type, or not if it's a primitive type

Completed in 357 milliseconds

1 2