HomeSort by relevance Sort by last modified time
    Searched defs:on (Results 1 - 25 of 588) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/dagger2/examples/simple/src/main/java/coffee/
Heater.java 4 void on(); method in interface:Heater
ElectricHeater.java 6 @Override public void on() { method in class:ElectricHeater
  /external/autotest/client/cros/power/
power_strip.py 23 def on(self, outlet, delay=0): member in class:PowerStrip
24 self.command('on', outlet, delay)
  /external/webrtc/webrtc/voice_engine/test/auto_test/standard/
rtp_rtcp_before_streaming_test.cc 34 bool on = false; local
35 EXPECT_EQ(0, voe_rtp_rtcp_->GetRTCPStatus(channel_, on));
36 EXPECT_TRUE(on);
38 EXPECT_EQ(0, voe_rtp_rtcp_->GetRTCPStatus(channel_, on));
39 EXPECT_FALSE(on);
41 EXPECT_EQ(0, voe_rtp_rtcp_->GetRTCPStatus(channel_, on));
42 EXPECT_TRUE(on);
  /system/netd/libnetdutils/
SocketOption.cpp 11 * distributed under the License is distributed on an "AS IS" BASIS,
31 const int on = 1; local
32 return sys.setsockopt(sock, level, optname, &on, sizeof(on));
  /external/android-clat/
ring.c 11 * distributed under the License is distributed on an "AS IS" BASIS,
45 int on = 1; local
46 if (setsockopt(packetsock, SOL_PACKET, PACKET_LOSS, (void *) &on, sizeof(on))) {
  /external/autotest/client/cros/
kernel_trace.py 18 on : Enables tracing
21 event_on : Turns event on. Returns boolean of success
43 def __init__(self, flush=True, events=None, on=True):
48 self._on = on
55 if on:
56 self.on()
59 def __del__(self, flush=True, events=None, on=True):
71 val: integer, 1 for on, 0 for off
75 boolean of tracing on/off status
85 def on(self) member in class:KernelTrace
    [all...]
  /external/autotest/site_utils/rpm_control_system/
dli.py 59 def on(self,outlet=0): member in class:powerswitch
60 """ Turn on power to an outlet """
61 self.geturl(url= 'outlet?%d=ON' % outlet)
90 """ Return the status of an outlet, returned value will be one of: On, Off, Unknown """
108 if args[0].lower() in ['on','poweron']:
109 switch.on(int(args[1]))
  /external/droiddriver/src/io/appium/droiddriver/
DroidDriver.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
37 * looking for UiElements in a scrollable view, whose content varies based on
44 * UiElement el = driver.on(By.anyOf(finder1, finder2, ...));
51 * using a smaller timeout than the default timeout. It's not worth it -- on
67 UiElement on(Finder finder); method in interface:DroidDriver
73 * desired, and {@link #on} is more appropriate.
89 * default timeout is reached. This behaves the same as {@link #on} except
124 * Dumps the UiElement tree to a file to help debug. The tree is based on the
  /external/guava/guava/src/com/google/common/base/
Joiner.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
39 * Joiner joiner = Joiner.on("; ").skipNulls();
50 * useForNull} has no effect on the instance it is invoked on! You must store and use the new joiner
55 * Joiner joiner = Joiner.on(',');
59 * <p>See the Guava User Guide article on <a href=
70 public static Joiner on(String separator) { method in class:Joiner
77 public static Joiner on(char separator) { method in class:Joiner
285 * <p>In addition to operating on {@code Map} instances, {@code MapJoiner} can operate on {@cod
    [all...]
Splitter.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
40 * specified as a single {@linkplain #on(char) character}, fixed {@linkplain
41 * #on(String) string}, {@linkplain #onPattern regular expression} or {@link
42 * #on(CharMatcher) CharMatcher} instance. Or, instead of using a separator at
48 * Splitter.on(',').split("foo,bar,qux")}</pre>
56 * Splitter.on(',').split(" foo,,, bar ,")}</pre>
62 * private static final Splitter MY_SPLITTER = Splitter.on(',')
71 * method has no effect on the receiving instance; you must store and use the
75 * Splitter splitter = Splitter.on('/');
92 * <p>See the Guava User Guide article on <a href
129 public static Splitter on(char separator) { method in class:Splitter
143 public static Splitter on(final CharMatcher separatorMatcher) { method in class:Splitter
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
Splitter.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
37 * specified as a single {@linkplain #on(char) character}, fixed {@linkplain
38 * #on(String) string}, {@linkplain #onPattern regular expression} or {@link
39 * #on(CharMatcher) CharMatcher} instance. Or, instead of using a separator at
45 * Splitter.on(',').split("foo,bar,qux")}</pre>
53 * Splitter.on(',').split(" foo,,, bar ,")}</pre>
59 * private static final Splitter MY_SPLITTER = Splitter.on(',')
68 * method has no effect on the receiving instance; you must store and use the
72 * Splitter splitter = Splitter.on('/');
89 * <p>See the Guava User Guide article on <a href
126 public static Splitter on(char separator) { method in class:Splitter
140 public static Splitter on(final CharMatcher separatorMatcher) { method in class:Splitter
    [all...]
  /external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
CounterComparator.java 86 * entity based on this counter sorting criteria.
89 * counter entity to sort on
92 public NodeComparator on(final CounterEntity entity) { method in class:CounterComparator
  /external/libnetfilter_conntrack/qa/
ct_events_reliable.c 41 int on = 1; local
52 NETLINK_BROADCAST_SEND_ERROR, &on, sizeof(int)); local
54 NETLINK_NO_ENOBUFS, &on, sizeof(int)); local
  /external/llvm/test/tools/llvm-cov/Inputs/
test.cpp 4 bool on = false; variable
19 on = true;
42 on = rand() % 2;
43 if (on) {
  /hardware/interfaces/vibrator/1.0/default/
Vibrator.cpp 11 * distributed under the License is distributed on an "AS IS" BASIS,
37 Return<Status> Vibrator::on(uint32_t timeout_ms) { function in class:android::hardware::vibrator::V1_0::implementation::Vibrator
40 ALOGE("on command failed : %s", strerror(-ret));
  /libcore/ojluni/src/main/java/java/security/
DigestInputStream.java 40 * {@code digest} methods on the associated message
44 * <p>It is possible to turn this stream on or off (see
45 * {@link #on(boolean) on}). When it is on, a call to one of the
47 * results in an update on the message digest. But when it is off,
49 * to be on.
68 /* Are we on or off? */
69 private boolean on = true; field in class:DigestInputStream
111 * function is on). That is, this method reads a byte from th
177 public void on(boolean on) { method in class:DigestInputStream
    [all...]
DigestOutputStream.java 40 * {@code digest} methods on the associated message
44 * <p>It is possible to turn this stream on or off (see
45 * {@link #on(boolean) on}). When it is on, a call to one of the
47 * an update on the message digest. But when it is off, the message
48 * digest is not updated. The default is for the stream to be on.
57 private boolean on = true; field in class:DigestOutputStream
98 * Updates the message digest (if the digest function is on) using
100 * to the output stream. That is, if the digest function is on
169 public void on(boolean on) { method in class:DigestOutputStream
    [all...]
  /packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/
PseudoScreenState.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
23 * Stores a fake screen on/off state for the {@link InCallActivity}. If InCallActivity see the state
26 * <p>If the screen is already touched when the screen is turned on, the OS behavior is sending a
30 * <p>a bug on certain devices with N-DR1, if the screen is already touched when the screen is
31 * turned on, a "DOWN MOVE UP" will be sent for each movement before the touch is actually released.
32 * These events is hard to discern from other normal events, and keeping the screen on reduces its'
37 /** Notifies when the on state has changed. */
44 private boolean on = true; field in class:PseudoScreenState
47 return on;
51 if (on != value)
    [all...]
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
Splitter.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
41 * Splitter.on(',').split("foo,bar")}</pre>
48 * Splitter.on(',').split("foo,,bar, quux")}</pre>
55 * private static final Splitter MY_SPLITTER = Splitter.on(',')
67 * method such as {@code omitEmptyStrings} has no effect on the instance it
68 * is invoked on! You must store and use the new splitter instance returned by
73 * Splitter splitter = Splitter.on('/');
79 * #on(String)}, {@link #on(Pattern)} and {@link #on(CharMatcher)} for example
117 public static Splitter on(char separator) { method in class:Splitter
131 public static Splitter on(final CharMatcher separatorMatcher) { method in class:Splitter
    [all...]
  /system/core/libcutils/
uevent.cpp 11 * distributed under the License is distributed on an "AS IS" BASIS,
97 int on = passcred; local
114 setsockopt(s, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
  /system/vold/
NetlinkManager.cpp 11 * distributed under the License is distributed on an "AS IS" BASIS,
52 int on = 1; local
74 if (setsockopt(mSock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) {
  /device/google/marlin/vibrator/
Vibrator.cpp 11 * distributed under the License is distributed on an "AS IS" BASIS,
48 Return<Status> Vibrator::on(uint32_t timeout_ms) { function in class:android::hardware::vibrator::V1_0::implementation::Vibrator
51 ALOGE("Failed to turn vibrator on (%d): %s", errno, strerror(errno));
104 on(CLICK_TIMING_MS);
  /external/droiddriver/src/io/appium/droiddriver/base/
AbstractDroidDriver.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
57 public UiElement on(Finder finder) { method in class:AbstractDroidDriver
58 Logs.call(this, "on", finder);
  /external/toybox/toys/other/
acpi.c 46 int dfd, fd, len, on; local
75 if ((on = read_int_at(dfd, "online")) >= 0)
76 printf("Adapter %d: %s-line\n", TT.ac++, (on ? "on" : "off"));

Completed in 605 milliseconds

1 2 3 4 5 6 7 8 91011>>