HomeSort by relevance Sort by last modified time
    Searched refs:when (Results 51 - 75 of 1572) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/jsr305/sampleUses/src/main/java/edu/umd/cs/findbugs/
DottedClassName.java 8 import javax.annotation.meta.When;
11 @SlashedClassName(when=When.NEVER)
SlashedClassName.java 8 import javax.annotation.meta.When;
14 When when() default When.ALWAYS;
  /external/jsr305/sampleUses/src/main/java/edu/umd/cs/findbugs/examples/
TestDefaults.java 3 import javax.annotation.meta.When;
16 public void foo3(@SlashedClassName(when=When.UNKNOWN) String c) {
  /external/mockito/src/org/mockito/stubbing/
Stubber.java 10 * Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
14 * doThrow(new RuntimeException()).when(mockedList).clear();
20 * Also useful when stubbing consecutive calls:
25 * .when(mock).someVoidMethod();
45 * Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
50 * .when(mockedList).clear();
72 <T> T when(T mock); method in interface:Stubber
79 * .when(mock).someVoidMethod();
83 * @param toBeThrown to be thrown when the stubbed method is called
93 * .when(mock).someVoidMethod();
    [all...]
  /packages/experimental/procstatlog/
procstatreport.py 141 for when, datum in data.iteritems():
143 merged_rows.setdefault(when, {})[set_num] = datum
146 for when, values in sorted(merged_rows.iteritems()):
147 msec = "%d" % (when * 1000)
177 for when, state in sorted_history:
188 sys_jiffies[when] = (stime, all)
189 sys_user_jiffies[when] = (stime + utime, all)
190 all_jiffies[when] = all
222 for when, state in sorted_history:
234 if total_time > 0: cpu_speed[when] = total_cycles / total_tim
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/webaudio/
AudioBufferSourceNode.h 64 void start(double when, ExceptionState&);
65 void start(double when, double grainOffset, ExceptionState&);
66 void start(double when, double grainOffset, double grainDuration, ExceptionState&);
AudioScheduledSourceNode.cpp 138 void AudioScheduledSourceNode::start(double when, ExceptionState& exceptionState)
149 m_startTime = when;
153 void AudioScheduledSourceNode::stop(double when, ExceptionState& exceptionState)
165 when = max(0.0, when);
166 m_endTime = when;
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowNotification.java 23 public void __constructor__(int icon, CharSequence tickerText, long when) {
26 realNotification.when = when;
ShadowMessage.java 17 private long when; field in class:ShadowMessage
115 return when;
118 public void setWhen(long when) {
119 this.when = when;
  /external/chromium_org/remoting/base/
plugin_thread_task_runner.cc 11 base::TimeDelta CalcTimeDelta(base::TimeTicks when) {
12 return std::max(when - base::TimeTicks::Now(), base::TimeDelta());
51 // When DetachAndRunShutdownLoop() is called from NPP_Destroy() all scheduled
137 // Post tasks to the plugin thread when it is availabe or spin the shutdown
150 void PluginThreadTaskRunner::PostDelayedRunTasks(base::TimeTicks when) {
156 // Schedule RunDelayedTasks() to be called at |when| if it hasn't been
158 if (scheduled_timers_.insert(when).second) {
159 base::TimeDelta delay = CalcTimeDelta(when);
161 base::Bind(&PluginThreadTaskRunner::RunDelayedTasks, this, when);
196 void PluginThreadTaskRunner::RunDelayedTasks(base::TimeTicks when) {
222 base::TimeTicks when = delayed_queue_.top().delayed_run_time; local
    [all...]
plugin_thread_task_runner.h 37 // shutdown, when the plugin environment has stopped accepting new tasks to
44 // the latter to exit immediately when called, without processing any delayed
70 // Schedules RunDelayedTasks() to be called on the plugin thread. |when|
71 // specifies the time when RunDelayedTasks() should be called.
72 void PostDelayedRunTasks(base::TimeTicks when);
79 void RunDelayedTasks(base::TimeTicks when);
117 // The list of timestamps when scheduled timers are expected to fire.
  /frameworks/base/core/java/android/os/
MessageQueue.java 58 * Callback interface for discovering when a thread is going to block
63 * Called when the message queue has run out of messages and will now
75 * {@link IdleHandler#queueIdle IdleHandler.queueIdle()} when it is
158 if (now < msg.when) {
159 // Next message is not ready. Set a timeout to wake up when it is ready.
160 nextPollTimeoutMillis = (int) Math.min(msg.when - now, Integer.MAX_VALUE);
188 && (mMessages == null || now < mMessages.when)) {
254 int enqueueSyncBarrier(long when) {
261 msg.when = when;
    [all...]
  /external/chromium_org/v8/test/webkit/
tostring-exception-in-property-access.js 27 var target = {"" : "Did not assign to property when setter subscript threw"};
30 target[toStringThrower] = "Assigned to property on object when subscript threw";
34 shouldBe('target[""]', "'Did not assign to property when setter subscript threw'");
36 target[""] = "Did not delete property when subscript threw";
42 shouldBe('target[""]', "'Did not delete property when subscript threw'");
47 testFailed('FAIL: Loaded property from object when subscript threw.');
48 return "FAIL: Assigned to result when subscript threw.";
50 var localTest = "Did not assign to result when subscript threw.";
56 shouldBe('localTest', "'Did not assign to result when subscript threw.'");
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/
envset.cmd 59 when mode='-' then do
63 when mode=';' then do
67 when mode='-D' then equal = 1
68 when mode='=D' then mode = '-D'
69 when mode=',' then sep = ','
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
GestureRecorder.java 47 public MotionEventRecord(long when, MotionEvent event) {
48 this.time = when;
80 public TagRecord(long when, String tag, String info) {
81 this.time = when;
114 public void tag(long when, String tag, String info) {
115 mRecords.add(new TagRecord(when, tag, info));
171 public void tag(long when, String tag, String info) {
177 mCurrentGesture.tag(when, tag, info);
182 public void tag(long when, String tag) {
183 tag(when, tag, null)
    [all...]
  /external/dhcpcd/
eloop.c 51 struct timeval when; member in struct:timeout
114 const struct timeval *when, void (*callback)(void *), void *arg)
120 timeradd(&now, when, &w);
148 t->when.tv_sec = w.tv_sec;
149 t->when.tv_usec = w.tv_usec;
158 if (!timeouts || timercmp(&t->when, &timeouts->when, <)) {
164 if (timercmp(&t->when, &tt->next->when, <)) {
174 add_q_timeout_sec(int queue, time_t when, void (*callback)(void *), void *arg
    [all...]
  /frameworks/native/services/inputflinger/
InputReader.h 198 // The transition from PRESS to SWIPE or FREEFORM gesture mode is made when
202 // The transition from PRESS to SWIPE gesture mode can only occur when the
205 // When the vectors are oriented in the exactly same direction, the cosine is 1.0.
209 // The transition from PRESS to SWIPE gesture mode can only occur when the
216 // Movement speed applies when the fingers are moving in the same direction.
222 // Zoom speed applies when the fingers are mostly moving relative to each other
392 virtual void requestTimeoutAtTime(nsecs_t when) = 0;
459 virtual void requestTimeoutAtTime(nsecs_t when);
488 void addDeviceLocked(nsecs_t when, int32_t deviceId);
489 void removeDeviceLocked(nsecs_t when, int32_t deviceId)
    [all...]
  /cts/tests/tests/print/src/android/print/cts/
BasePrintTest.java 25 import static org.mockito.Mockito.when;
338 doAnswer(layoutAnswer).when(adapter).onLayout(any(PrintAttributes.class),
343 doAnswer(writeAnswer).when(adapter).onWrite(any(PageRange[].class),
348 doAnswer(finishAnswer).when(adapter).onFinish();
360 doCallRealMethod().when(callbacks).setSession(any(StubbablePrinterDiscoverySession.class));
361 when(callbacks.getSession()).thenCallRealMethod();
364 doAnswer(onStartPrinterDiscovery).when(callbacks).onStartPrinterDiscovery(
368 doAnswer(onStopPrinterDiscovery).when(callbacks).onStopPrinterDiscovery();
371 doAnswer(onValidatePrinters).when(callbacks).onValidatePrinters(
375 doAnswer(onStartPrinterStateTracking).when(callbacks).onStartPrinterStateTracking
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/polyfills/
fetchPolyfill.js 36 // FIXME: Set response.method when available.
37 // FIXME: Set response.url when available.
38 // FIXME: Set response.body when available.
  /sdk/emulator/opengl/host/tools/emugen/
Android.mk 6 # binaries even when it targets Windows by setting
11 # The platform build can only build emugen when targetting
43 # (that will be the linux exeutable when using mingw build)
  /external/jsr305/ri/src/main/java/javax/annotation/
CheckReturnValue.java 9 import javax.annotation.meta.When;
16 When when() default When.ALWAYS;
Nonnull.java 9 import javax.annotation.meta.When;
15 When when() default When.ALWAYS;
19 public When forConstantValue(Nonnull qualifierqualifierArgument,
22 return When.NEVER;
23 return When.ALWAYS;
  /external/valgrind/main/coregrind/
pub_core_syswrap.h 53 // Fix up a thread's state when syscall is interrupted by a signal.
69 extern void VG_(show_open_fds) ( const HChar* when );
71 // When the final thread is done, where shall I call to shutdown the
  /external/chromium_org/chrome/common/extensions/docs/server2/
template_renderer.py 25 when rendering the template.
27 Specify |additional_context| to inject additional template context when
  /external/chromium_org/media/cast/congestion_control/
congestion_control.h 29 // Called when an encoded frame is sent to the transport.
32 base::TimeTicks when);
34 // Called when we receive an ACK for a frame.
35 void AckFrame(uint32 frame_id, base::TimeTicks when);
61 // For a given frame, calculate when it might be acked.
64 // Calculate when we start sending the data for a given frame.
65 // This is done by calculating when we were done sending the previous

Completed in 1039 milliseconds

1 23 4 5 6 7 8 91011>>