/external/chromium_org/third_party/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);
|
/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_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, 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(','); 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/llvm/test/tools/llvm-cov/Inputs/ |
test.cpp | 4 bool on = false; variable 19 on = true; 42 on = rand() % 2; 43 if (on) {
|
/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/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/server/ |
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) {
|
/system/core/logd/ |
LogListener.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 79 // Such log messages are often generated by libraries we depend on 122 int on = 1; local 123 if (setsockopt(sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) {
|
/device/moto/shamu/power/ |
power_shamu.c | 11 * distributed under the License is distributed on an "AS IS" BASIS, 173 static void low_power(int on) 186 if (on) { 203 int on = (long) data; local 209 low_power(on); 212 static void power_set_interactive(__attribute__((unused)) struct power_module *module, int on) 215 last_state = on; 217 if (last_state == on) 220 last_state = on; 223 ALOGV("%s %s", __func__, (on ? "ON" : "OFF")) [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 | 84 int on = 1; local 90 reinterpret_cast<char*>(&on), 91 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
|
/external/droiddriver/src/com/google/android/droiddriver/base/ |
BaseDroidDriver.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 65 public UiElement on(Finder finder) { method in class:BaseDroidDriver 66 Logs.call(this, "on", finder);
|
/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);
|