HomeSort by relevance Sort by last modified time
    Searched refs:SINK (Results 1 - 25 of 33) sorted by null

1 2

  /external/autotest/server/site_tests/firmware_TypeCProbeUSB3/
firmware_TypeCProbeUSB3.py 20 SINK = 0
47 self.plankton.charge(self.SINK)
48 self.plankton.poll_pd_state('sink')
55 self.plankton.charge(self.SINK)
56 self.plankton.poll_pd_state('sink')
  /hardware/interfaces/usb/1.0/
types.hal 52 * The port can either be a "source" or "sink" for power.
105 SINK = 2,
119 * Indicates that port can only act as device for data and sink for power.
207 * data and sink for power.
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
pipes.py 76 SINK = '-.' # Must be last, reads stdin
79 SOURCE, SINK]
121 if self.steps and self.steps[-1][1] == SINK:
123 'Template.append: already ends with SINK'
140 if kind == SINK:
142 'Template.prepend: SINK can only be appended'
169 if self.steps[-1][1] == SINK:
171 'Template.open_r: pipeline ends width SINK'
  /external/python/cpython2/Lib/
pipes.py 74 SINK = '-.' # Must be last, reads stdin
77 SOURCE, SINK]
119 if self.steps and self.steps[-1][1] == SINK:
121 'Template.append: already ends with SINK'
138 if kind == SINK:
140 'Template.prepend: SINK can only be appended'
167 if self.steps[-1][1] == SINK:
169 'Template.open_r: pipeline ends width SINK'
  /external/python/cpython3/Lib/
pipes.py 76 SINK = '-.' # Must be last, reads stdin
79 SOURCE, SINK]
118 if self.steps and self.steps[-1][1] == SINK:
119 raise ValueError('Template.append: already ends with SINK')
132 if kind == SINK:
133 raise ValueError('Template.prepend: SINK can only be appended')
157 if self.steps[-1][1] == SINK:
158 raise ValueError('Template.open_r: pipeline ends width SINK')
  /prebuilts/gdb/darwin-x86/lib/python2.7/
pipes.py 74 SINK = '-.' # Must be last, reads stdin
77 SOURCE, SINK]
119 if self.steps and self.steps[-1][1] == SINK:
121 'Template.append: already ends with SINK'
138 if kind == SINK:
140 'Template.prepend: SINK can only be appended'
167 if self.steps[-1][1] == SINK:
169 'Template.open_r: pipeline ends width SINK'
  /prebuilts/gdb/linux-x86/lib/python2.7/
pipes.py 74 SINK = '-.' # Must be last, reads stdin
77 SOURCE, SINK]
119 if self.steps and self.steps[-1][1] == SINK:
121 'Template.append: already ends with SINK'
138 if kind == SINK:
140 'Template.prepend: SINK can only be appended'
167 if self.steps[-1][1] == SINK:
169 'Template.open_r: pipeline ends width SINK'
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
pipes.py 74 SINK = '-.' # Must be last, reads stdin
77 SOURCE, SINK]
119 if self.steps and self.steps[-1][1] == SINK:
121 'Template.append: already ends with SINK'
138 if kind == SINK:
140 'Template.prepend: SINK can only be appended'
167 if self.steps[-1][1] == SINK:
169 'Template.open_r: pipeline ends width SINK'
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
pipes.py 74 SINK = '-.' # Must be last, reads stdin
77 SOURCE, SINK]
119 if self.steps and self.steps[-1][1] == SINK:
121 'Template.append: already ends with SINK'
138 if kind == SINK:
140 'Template.prepend: SINK can only be appended'
167 if self.steps[-1][1] == SINK:
169 'Template.open_r: pipeline ends width SINK'
  /external/skia/dm/
DM.cpp 320 Gold(const SkString& sink, const SkString& src,
324 this->append(sink);
391 struct TaggedSink : public std::unique_ptr<Sink> {
839 static void push_sink(const SkCommandLineConfig& config, Sink* s) {
840 std::unique_ptr<Sink> sink(s);
842 // Try a simple Src as a canary. If it fails, skip this sink.
855 Error err = sink->draw(justOneRect, &bitmap, &stream, &log);
862 ts.reset(sink.release());
874 static Sink* create_sink(const GrContextOptions& grCtxOptions, const SkCommandLineConfig* config)
982 Sink* sink = create_sink(grCtxOptions, &config); local
1089 const TaggedSink& sink; member in struct:Task
    [all...]
  /external/skqp/dm/
DM.cpp 308 Gold(const SkString& sink, const SkString& src,
312 this->append(sink);
379 struct TaggedSink : public std::unique_ptr<Sink> {
827 static void push_sink(const SkCommandLineConfig& config, Sink* s) {
828 std::unique_ptr<Sink> sink(s);
830 // Try a simple Src as a canary. If it fails, skip this sink.
843 Error err = sink->draw(justOneRect, &bitmap, &stream, &log);
850 ts.reset(sink.release());
862 static Sink* create_sink(const GrContextOptions& grCtxOptions, const SkCommandLineConfig* config)
965 Sink* sink = create_sink(grCtxOptions, &config); local
1072 const TaggedSink& sink; member in struct:Task
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_pipes.py 106 # a sink raises ValueError
108 t.append('boguscmd', pipes.SINK)
132 t.append('boguscmd', pipes.SINK)
133 self.assertRaises(ValueError, t.append, 'boguscmd', pipes.SINK)
161 # shouldn't be able to prepend a sink
162 self.assertRaises(ValueError, t.prepend, 'boguscmd', pipes.SINK)
  /external/python/cpython2/Lib/test/
test_pipes.py 106 # a sink raises ValueError
108 t.append('boguscmd', pipes.SINK)
132 t.append('boguscmd', pipes.SINK)
133 self.assertRaises(ValueError, t.append, 'boguscmd', pipes.SINK)
161 # shouldn't be able to prepend a sink
162 self.assertRaises(ValueError, t.prepend, 'boguscmd', pipes.SINK)
  /external/python/cpython3/Lib/test/
test_pipes.py 105 # a sink raises ValueError
107 t.append('boguscmd', pipes.SINK)
131 t.append('boguscmd', pipes.SINK)
132 self.assertRaises(ValueError, t.append, 'boguscmd', pipes.SINK)
160 # shouldn't be able to prepend a sink
161 self.assertRaises(ValueError, t.prepend, 'boguscmd', pipes.SINK)
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_pipes.py 106 # a sink raises ValueError
108 t.append('boguscmd', pipes.SINK)
132 t.append('boguscmd', pipes.SINK)
133 self.assertRaises(ValueError, t.append, 'boguscmd', pipes.SINK)
161 # shouldn't be able to prepend a sink
162 self.assertRaises(ValueError, t.prepend, 'boguscmd', pipes.SINK)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_pipes.py 106 # a sink raises ValueError
108 t.append('boguscmd', pipes.SINK)
132 t.append('boguscmd', pipes.SINK)
133 self.assertRaises(ValueError, t.append, 'boguscmd', pipes.SINK)
161 # shouldn't be able to prepend a sink
162 self.assertRaises(ValueError, t.prepend, 'boguscmd', pipes.SINK)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_pipes.py 106 # a sink raises ValueError
108 t.append('boguscmd', pipes.SINK)
132 t.append('boguscmd', pipes.SINK)
133 self.assertRaises(ValueError, t.append, 'boguscmd', pipes.SINK)
161 # shouldn't be able to prepend a sink
162 self.assertRaises(ValueError, t.prepend, 'boguscmd', pipes.SINK)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_pipes.py 106 # a sink raises ValueError
108 t.append('boguscmd', pipes.SINK)
132 t.append('boguscmd', pipes.SINK)
133 self.assertRaises(ValueError, t.append, 'boguscmd', pipes.SINK)
161 # shouldn't be able to prepend a sink
162 self.assertRaises(ValueError, t.prepend, 'boguscmd', pipes.SINK)
  /frameworks/base/core/java/android/hardware/usb/
UsbPort.java 90 * Power role: This USB port can act as a sink (receive power).
92 public static final int POWER_ROLE_SINK = Constants.PortPowerRole.SINK;
198 return "sink";
  /hardware/interfaces/wifi/supplicant/1.0/
ISupplicantP2pIface.hal 63 * Operating as sink.
65 SINK = 2
  /hardware/interfaces/usb/1.0/default/
Usb.cpp 69 else if (role.role == static_cast<uint32_t> (PortPowerRole::SINK))
70 return "sink";
148 else if (roleName == "sink")
149 currentRole = static_cast<uint32_t> (PortPowerRole::SINK);
  /device/google/marlin/usb/
Usb.cpp 90 else if (role.role == static_cast<uint32_t>(PortPowerRole::SINK))
91 return "sink";
97 if (role.role == static_cast<uint32_t>(PortMode_1_1::UFP)) return "sink";
307 } else if (roleName == "sink") {
308 *currentRole = static_cast<uint32_t>(PortPowerRole::SINK);
  /hardware/interfaces/usb/1.0/vts/functional/
VtsHalUsbV1_0TargetTest.cpp 307 EXPECT_NE(static_cast<uint32_t>(PortPowerRole::SINK),
  /device/google/wahoo/usb/
Usb.cpp 116 else if (role.role == static_cast<uint32_t>(PortPowerRole::SINK))
117 return "sink";
123 if (role.role == static_cast<uint32_t>(PortMode_1_1::UFP)) return "sink";
356 } else if (roleName == "sink") {
357 *currentRole = static_cast<uint32_t>(PortPowerRole::SINK);
  /hardware/interfaces/audio/common/all-versions/default/include/common/all-versions/default/
HidlUtils.impl.h 217 } else if (config.role == AudioPortRole::SINK) {

Completed in 1056 milliseconds

1 2