Searched defs:on (Results 1 - 25 of 146) sorted by relevance

123456

/external/dagger2/examples/simple/src/main/java/coffee/
H A DHeater.java4 void on(); method in interface:Heater
H A DElectricHeater.java6 @Override public void on() { method in class:ElectricHeater
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
H A Drtp_rtcp_before_streaming_test.cc34 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);
/external/autotest/client/cros/power/
H A Dpower_strip.py23 def on(self, outlet, delay=0): member in class:PowerStrip
24 self.command('on', outlet, delay)
/external/android-clat/
H A Dring.c11 * 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/boringssl/src/crypto/bio/
H A Dsocket_helper.c85 int bio_socket_nbio(int sock, int on) { argument
87 u_long arg = on;
95 if (!on) {
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DLimitedInputStream.java25 protected void setParentEofDetect(boolean on) argument
29 ((IndefiniteLengthInputStream)_in).setEofOn00(on);
H A DASN1ObjectIdentifier.java164 * Create an OID based on the passed in String.
225 * @return true if the branch is on the passed in stem, false otherwise.
227 public boolean on(ASN1ObjectIdentifier stem) method in class:ASN1ObjectIdentifier
/external/droiddriver/src/io/appium/droiddriver/base/
H A DAbstractDroidDriver.java11 * 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/selinux/libsepol/src/
H A Ddebug.c13 void sepol_debug(int on) argument
15 sepol_compat_handle.msg_callback = (on) ?
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
H A DCustomizeWindow.java11 * distributed under the License is distributed on an "AS IS" BASIS,
40 public static void toggleProgressBarVisibility(Activity activity, boolean on) { argument
41 ((ProgressBar) activity.findViewById(R.id.progress_bar)).setVisibility(on ? View.VISIBLE
/external/autotest/client/cros/
H A Dkernel_trace.py18 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(sel member in class:KernelTrace
[all...]
/external/autotest/site_utils/rpm_control_system/
H A Ddli.py59 def on(self,outlet=0): member in class:powerswitch
60 """ Turn on power to an outlet """
108 if args[0].lower() in ['on','poweron']:
109 switch.on(int(args[1]))
/external/droiddriver/src/io/appium/droiddriver/
H A DDroidDriver.java11 * 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/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
H A DCounterComparator.java86 * 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/
H A Dct_events_reliable.c41 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/
H A Dtest.cpp4 bool on = false; variable
19 on = true;
42 on = rand() % 2;
43 if (on) {
/external/toybox/toys/other/
H A Dacpi.c46 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"));
/external/parameter-framework/upstream/test/functional-tests/include/
H A DConfigFiles.hpp41 /** Create temporary config files on disk. */
85 void replace(std::string &on, const std::string &from, const std::string &to) argument
87 auto from_pos = on.find(from);
89 on.replace(from_pos, from.length(), to);
/external/autotest/site_utils/
H A Ddump_to_cloudsql.py129 sys.exit('Unable to import MySQLdb. To install on Ubuntu: ' namespace
139 These are needed to reconstruct the MySQL state on resume.
199 cmd_offset: No commands will be executed on the database before this count
/external/guava/guava/src/com/google/common/base/
H A DJoiner.java11 * 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 {
[all...]
H A DSplitter.java11 * 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 <
129 public static Splitter on(char separator) { method in class:Splitter
143 public static Splitter on(final CharMatcher separatorMatcher) { method in class:Splitter
170 public static Splitter on(final String separator) { method in class:Splitter
215 public static Splitter on(final Pattern separatorPattern) { method in class:Splitter
[all...]
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
H A DSplitter.java11 * 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 <
126 public static Splitter on(char separator) { method in class:Splitter
140 public static Splitter on(final CharMatcher separatorMatcher) { method in class:Splitter
167 public static Splitter on(final String separator) { method in class:Splitter
[all...]
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
H A DMockServerSocket.java174 public void setReuseAddress(boolean on) throws SocketException { argument
/external/ltp/testcases/kernel/syscalls/setxattr/
H A Dsetxattr03.c138 static int fsetflag(int fd, int on, int immutable) argument
151 if (on)

Completed in 1423 milliseconds

123456