HomeSort by relevance Sort by last modified time
    Searched full:consume (Results 51 - 75 of 1550) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/base/docs/html/training/in-app-billing/
purchase-iab-products.jd 20 <li><a href="#Consume">Consume a Purchase</a></li>
54 <p>The following example shows how you can handle the purchase response in the listener, depending on whether the purchase order was completed successfully, and whether the user purchased gas or a premium upgrade. In this example, gas is an in-app product that can be purchased multiple times, so you should consume the purchase to allow the user to buy it again. To learn how to consume purchases, see the <a href="{@docRoot}training/in-app-billing/purchase-iab-products.html#Consume">Consuming Products</a> section. The premium upgrade is a one-time purchase so you don?t need to consume it. It is good practice to update the UI immediately so that your users can see their newly purchased items.</p>
66 // consume the gas and update the UI
106 <h2 id="Consume">Consume a Purchase</h2>
110 <p>To record a purchase consumption, call {@code consumeAsync(Purchase, OnConsumeFinishedListener)} on your {@code IabHelper} instance. The first argument that the method takes is the {@code Purchase} object representing the item to consume. The second argument is a {@code OnConsumeFinishedListener} that is notified when the consumption (…)
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
DebugInfoItem.java 138 * @param consume whether to claim to have consumed output for
143 AnnotatedOutput out, boolean consume) {
144 byte[] result = encode0(file, prefix, debugPrint, out, consume);
169 * @param consume whether to claim to have consumed output for
174 AnnotatedOutput out, boolean consume) {
191 consume);
CatchStructs.java 230 * @param annotateTo {@code null-ok;} where to consume bytes and annotate to
236 boolean consume = (annotateTo != null);
237 int amt1 = consume ? 6 : 0;
238 int amt2 = consume ? 2 : 0;
242 if (consume) {
255 if (consume) {
264 if (! consume) {
301 * @param size {@code >= 1;} the number of bytes the handlers consume
  /dalvik/dx/src/com/android/dx/dex/file/
DebugInfoItem.java 135 * @param consume whether to claim to have consumed output for
140 AnnotatedOutput out, boolean consume) {
141 byte[] result = encode0(file, prefix, debugPrint, out, consume);
166 * @param consume whether to claim to have consumed output for
171 AnnotatedOutput out, boolean consume) {
188 consume);
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
DebugInfoItem.java 136 * @param consume whether to claim to have consumed output for
141 AnnotatedOutput out, boolean consume) {
142 byte[] result = encode0(file, prefix, debugPrint, out, consume);
167 * @param consume whether to claim to have consumed output for
172 AnnotatedOutput out, boolean consume) {
189 consume);
  /external/nist-sip/java/gov/nist/core/
LexerCore.java 246 consume(1);
255 consume(1);
268 consume(1);
281 consume(1);
378 consume(1);
396 consume(1);
416 consume(1);
436 consume(1);
468 consume(1);
510 consume(1)
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/io/
tokenizer.h 269 // Consume this character and advance to the next one.
292 // The following four methods are used to consume tokens of specific
293 // types. They are actually used to consume all characters *after*
297 // Read and consume a string, ending when the given delimiter is
301 // Read and consume a number, returning TYPE_FLOAT or TYPE_INTEGER
309 // Consume the rest of a line.
311 // Consume until "*/".
329 // If we're at the start of a new comment, consume it and return what kind
342 // class, but does not consume anything.
346 // If the current character is in the given class, consume it and retur
    [all...]
  /external/protobuf/src/google/protobuf/compiler/
parser.h 119 // Consume the rest of the current statement. This consumes tokens
124 // EOF Returns (can't consume).
130 // Consume the rest of the current block, including nested blocks,
147 // If the next token exactly matches the text given, consume it and return
155 // Consume a token with the exact text given.
156 bool Consume(const char* text, const char* error);
159 bool Consume(const char* text);
160 // Consume a token of type IDENTIFIER and store its text in "output".
162 // Consume an integer and store its value in "output".
164 // Consume a 64-bit integer and store its value in "output". If the valu
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
Spectrum.js 127 function consume(e)
129 e.consume(true);
159 doc.addEventListener("selectstart", consume, false);
160 doc.addEventListener("dragstart", consume, false);
165 consume(e);
172 doc.removeEventListener("selectstart", consume, false);
173 doc.removeEventListener("dragstart", consume, false);
378 event.consume(true);
383 event.consume(true);
  /external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
parser.cc 131 bool Parser::Consume(const char* text, const char* error) {
140 bool Parser::Consume(const char* text) {
465 DO(Consume("syntax", "File must begin with 'syntax = \"proto2\";'."));
466 DO(Consume("="));
531 DO(Consume("message"));
682 DO(Consume("=", "Missing field number."));
758 DO(Consume("["));
771 DO(Consume("]"));
782 DO(Consume("default"));
783 DO(Consume("="))
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/charset/
Charset_TestGenerator.java 105 abstract void consume (int code); method in class:Charset_TestGenerator.CodesGenerator
115 void consume (int code) { method in class:Charset_TestGenerator.CodesGenerator1
135 void consume (int code) { method in class:Charset_TestGenerator.CodesGenerator2
152 void consume (int code) { method in class:Charset_TestGenerator.CodesGenerator3
178 gen.consume(code);
183 gen.consume(code);
191 abstract void consume (int code); method in class:Charset_TestGenerator.Dumper
206 void consume (int code) { method in class:Charset_TestGenerator.Dumper1
226 out.consume(bb.get());
  /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
TreeParser.as 88 input.consume(); // not subtree, consume 1 node and return
96 input.consume();
106 input.consume(); // consume UP
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3cyclicdfa.c 95 /* Transition the special state and consume an input token
115 is->consume(is);
151 is->consume(is);
162 is->consume(is);
170 is->consume(is);
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
TreeParser.js 58 this.input.consume(); // not subtree, consume 1 node and return
68 this.input.consume();
78 this.input.consume(); // consume UP
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRTreeParser.m 125 [input consume]; // not subtree, consume 1 node and return
133 [input consume];
143 [input consume]; // consume UP
  /frameworks/compile/mclinker/lib/Target/ARM/
ARMGOT.cpp 34 consume();
54 ARMGOTEntry* ARMGOT::consume() function in class:ARMGOT
57 assert(!empty() && "Consume empty GOT entry!");
107 assert(m_GOTPLT.last_used != m_GOT.front && "No GOT/PLT entry to consume!");
121 assert(m_GOT.last_used != NULL && "No GOTn entry to consume!");
  /external/libvpx/libwebm/
mkvparser.cpp 342 pos += len; //consume id
352 pos += len; //consume length of size
389 pos += len; //consume id
398 pos += len; //consume length of size of payload
403 pos += size; //consume size of payload
434 pos += len; //consume id
442 pos += len; //consume length of size of payload
455 pos += size_; //consume size of payload
550 pos += len; //consume ID
586 pos += len; //consume size field
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DebugTokenStream.cs 76 public virtual void Consume() {
82 input.Consume();
93 /** <summary>Consume all initial off-channel tokens</summary> */
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DebugTokenStream.cs 86 public virtual void Consume()
94 input.Consume();
107 /** <summary>Consume all initial off-channel tokens</summary> */
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DebugTokenStream.java 54 public void consume() { method in class:DebugTokenStream
60 input.consume();
71 /* consume all initial off-channel tokens */
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/stream/
ANTLRStringStreamTest.m 29 [stream consume];
30 STAssertTrue(stream.index > 0, @"Index should be greater than 0 after consume");
41 [stream consume];
  /external/protobuf/src/google/protobuf/io/
tokenizer.h 214 // Consume this character and advance to the next one.
234 // The following four methods are used to consume tokens of specific
235 // types. They are actually used to consume all characters *after*
239 // Read and consume a string, ending when the given delimiter is
243 // Read and consume a number, returning TYPE_FLOAT or TYPE_INTEGER
251 // Consume the rest of a line.
253 // Consume until "*/".
265 // class, but does not consume anything.
269 // If the current character is in the given class, consume it and return
275 // Like above, but try to consume the specific character indicated
    [all...]
  /sdk/emulator/opengl/host/libs/libOpenglRender/
RenderThread.cpp 122 readBuf.consume(last);
131 readBuf.consume(last);
140 readBuf.consume(last);
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
http_header_util.py 70 def consume(state, amount=1): function
72 consumed bytes. If there's not enough bytes to consume, returns None.
96 consume(state, pos)
122 consume(state, pos)
146 return consume(state, pos)
170 c = consume(state)
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
http_header_util.py 70 def consume(state, amount=1): function
72 consumed bytes. If there's not enough bytes to consume, returns None.
96 consume(state, pos)
122 consume(state, pos)
146 return consume(state, pos)
170 c = consume(state)

Completed in 7989 milliseconds

1 23 4 5 6 7 8 91011>>