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

1 2 3 4 5 6 7

  /external/chromium_org/tools/android/common/
net.cc 17 int on = 1; local
18 return setsockopt(socket, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on));
22 int on = 1; local
23 return setsockopt(socket, IPPROTO_TCP, TCP_DEFER_ACCEPT, &on, sizeof(on));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
ASN1ObjectIdentifier.java 35 * @return true if the branch is on the passed in stem, false otherwise.
37 public boolean on(ASN1ObjectIdentifier stem) method in class:ASN1ObjectIdentifier
  /external/mockito/src/org/mockito/stubbing/
VoidMethodStubbable.java 13 * stubVoid(mock).toThrow(new RuntimeException()).on().someMethod();
20 * .on().someMethod();
31 * stubVoid(mock).toThrow(new RuntimeException()).on().someMethod();
39 * @param throwable to be thrown on method invocation
55 * .on().foo(10);
83 * .on().accept(any());
96 * stubVoid(mock).toThrow(new RuntimeException()).on().someMethod("some arg");
103 T on(); method in interface:VoidMethodStubbable
  /external/chromium/chrome/browser/ui/toolbar/
encoding_menu_controller_unittest.cc 56 // Make sure that autodetect is the first item on both menus
83 bool on = controller.IsItemChecked(&profile_en, local
87 ASSERT_FALSE(on && encoding_is_enabled);
88 encoding_is_enabled |= on;
  /external/chromium_org/chrome/browser/ui/toolbar/
encoding_menu_controller_unittest.cc 65 // Make sure that autodetect is the first item on both menus
92 bool on = controller.IsItemChecked(&profile_en, local
96 ASSERT_FALSE(on && encoding_is_enabled);
97 encoding_is_enabled |= on;
  /external/droiddriver/src/com/google/android/droiddriver/
DroidDriver.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
34 * looking for UiElements in a scrollable view, whose content varies based on
41 * UiElement el = driver.on(By.anyOf(finder1, finder2, ...));
48 * using a smaller timeout than the default timeout. It's not worth it -- on
64 UiElement on(Finder finder); method in interface:DroidDriver
69 * In other situations polling is desired, and {@link #on} is more
109 * 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(',');
67 public static Joiner on(String separator) { method in class:Joiner
74 public static Joiner on(char separator) { method in class:Joiner
332 * <p>In addition to operating on {@code Map} instances, {@code MapJoiner} can operate on {@code
Splitter.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
44 * Splitter.on(',').split("foo,bar")}</pre>
51 * Splitter.on(',').split("foo,,bar, quux")}</pre>
58 * private static final Splitter MY_SPLITTER = Splitter.on(',')
70 * method such as {@code omitEmptyStrings} has no effect on the instance it
71 * is invoked on! You must store and use the new splitter instance returned by
76 * Splitter splitter = Splitter.on('/');
82 * #on(String)}, {@link #on(Pattern)} and {@link #on(CharMatcher)} for example
124 public static Splitter on(char separator) { method in class:Splitter
138 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,
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
121 public static Splitter on(char separator) { method in class:Splitter
135 public static Splitter on(final CharMatcher separatorMatcher) { method in class:Splitter
    [all...]
  /external/mockito/src/org/mockito/internal/stubbing/
VoidMethodStubbableImpl.java 36 public T on() { method in class:VoidMethodStubbableImpl
  /libcore/luni/src/main/java/java/security/
DigestInputStream.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
35 // Indicates whether digest functionality is on or off
43 * {@code DigestInputStream}. All operations on such a stream will fail.
76 * for the byte if this function is {@link #on(boolean)}.
89 // - digest functionality is on
101 * {@link #on(boolean)}.
115 // - digest functionality is on
125 * Enables or disables the digest function (default is on).
127 * @param on
132 public void on(boolean on) method in class:DigestInputStream
    [all...]
DigestOutputStream.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
35 // Indicates whether digest functionality is on or off
73 * this function is {@link #on(boolean)}.
82 // update digest only if digest functionality is on
92 * offset. Updates the digest if this function is {@link #on(boolean)}.
105 // update digest only if digest functionality is on
114 * Enables or disables the digest function (default is on).
116 * @param on
121 public void on(boolean on) { method in class:DigestOutputStream
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/lib/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...]
  /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.c 11 * distributed under the License is distributed on an "AS IS" BASIS,
99 int on = passcred; local
112 setsockopt(s, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
  /system/netd/
NetlinkManager.cpp 11 * distributed under the License is distributed on an "AS IS" BASIS,
58 int on = 1; local
76 if (setsockopt(*sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) {
  /system/vold/
NetlinkManager.cpp 11 * distributed under the License is distributed on an "AS IS" BASIS,
53 int on = 1; local
71 if (setsockopt(mSock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) {
  /external/chromium/net/tools/flip_server/
acceptor_thread.cc 85 int on = 1; local
89 reinterpret_cast<char*>(&on), sizeof(on));
create_listener.cc 88 int on = 1; local
91 reinterpret_cast<char*>(&on), sizeof(on));
94 LOG(FATAL) << "setsockopt() TCP_NODELAY: failed on fd " << fd;
151 // set SO_REUSEADDR on the listening socket.
152 int on = 1; local
155 reinterpret_cast<char *>(&on), sizeof(on));
165 // set SO_REUSEADDR on the listening socket.
166 int on = 1 local
    [all...]
  /external/chromium_org/gpu/tools/compositor_model_bench/
render_model_utils.cc 150 bool on = ((x/8) + (y/8)) % 2; local
151 uint8 v = on ? random_color[c] : ~random_color[c];
  /external/chromium_org/net/tools/flip_server/
acceptor_thread.cc 83 int on = 1; local
89 reinterpret_cast<char*>(&on),
90 sizeof(on));
create_listener.cc 78 int on = 1; local
81 fd, IPPROTO_TCP, TCP_NODELAY, reinterpret_cast<char*>(&on), sizeof(on));
84 LOG(FATAL) << "setsockopt() TCP_NODELAY: failed on fd " << fd;
143 // set SO_REUSEADDR on the listening socket.
144 int on = 1; local
149 reinterpret_cast<char*>(&on),
150 sizeof(on));
160 // set SO_REUSEADDR on the listening socket.
161 int on = 1 local
    [all...]
  /external/chromium_org/tools/measure_page_load_time/ie_bho/
MeasurePageLoadTimeBHO.cpp 16 #define PORT 42492 // port to listen on. Also jhaas's
53 // Create a thread to wait on the socket
96 // even begins, but just to be on the safe side, we won't
110 BOOL on = TRUE; local
112 (const char*)&on, sizeof(on)))
166 // An error on read most likely means that the remote peer
204 // Sending a carriage return on a line by itself means that
254 // Error on send probably means connection reset by peer
  /frameworks/base/core/java/com/android/server/
ResettableTimeout.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
24 * Utility class that you can call on with a timeout, and get called back
33 * This is called with the monitor on this method held, so be careful.
37 public abstract void on(boolean alreadyOn); method in class:ResettableTimeout
41 * This is called with the monitor on this method held, so be careful.
47 * <p>1. Call on()</p>
60 // thread to stop it can't start, we don't turn the vibrator on
76 on(alreadyOn);
  /art/runtime/jdwp/
jdwp_socket.cc 11 * distributed under the License is distributed on an "AS IS" BASIS,
94 LOG(INFO) << "JDWP will wait for debugger on port " << port;
96 LOG(INFO) << "JDWP will " << (options->server ? "listen" : "connect") << " on port " << port;
112 * Returns 0 on success.
198 int on = 1; local
199 int cc = setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on));
227 // When we call shutdown() on the socket, accept() returns with
248 VLOG(jdwp) << "Setting TCP_NODELAY on accepted socket";
345 * Returns "false" on error (indicating that the connection has been severed)
    [all...]

Completed in 5917 milliseconds

1 2 3 4 5 6 7