Home
last modified time | relevance | path

Searched refs:controller (Results 1 – 25 of 230) sorted by relevance

12345678910

/external/autotest/server/site_tests/platform_ServoPowerStateController/
Dplatform_ServoPowerStateController.py25 self.controller.power_off()
27 self.controller.power_on(self.controller.REC_OFF)
68 self.controller.power_off()
73 self.controller.power_on(self.controller.REC_ON)
81 self.controller.power_off()
87 self.controller.power_on(self.controller.REC_ON)
88 self.controller.power_off()
95 self.controller.power_on(self.controller.REC_OFF)
104 self.controller.power_off()
109 self.controller.power_off()
[all …]
/external/libchrome/base/message_loop/
Dmessage_pump_libevent.cc137 FileDescriptorWatcher *controller, in WatchFileDescriptor() argument
140 DCHECK(controller); in WatchFileDescriptor()
155 std::unique_ptr<event> evt(controller->ReleaseEvent()); in WatchFileDescriptor()
179 event_set(evt.get(), fd, event_mask, OnLibeventNotification, controller); in WatchFileDescriptor()
192 controller->Init(evt.release()); in WatchFileDescriptor()
194 controller->set_watcher(delegate); in WatchFileDescriptor()
195 controller->set_pump(this); in WatchFileDescriptor()
324 FileDescriptorWatcher* controller = in OnLibeventNotification() local
326 DCHECK(controller); in OnLibeventNotification()
330 MessagePumpLibevent* pump = controller->pump(); in OnLibeventNotification()
[all …]
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
DFileOutputTest.java41 FileOutput controller = new FileOutput(); in testCreateDestFileOnStartup() local
42 controller.startup(options, new RuntimeData()); in testCreateDestFileOnStartup()
55 FileOutput controller = new FileOutput(); in testWriteData() local
56 controller.startup(options, new RuntimeData()); in testWriteData()
57 controller.writeExecutionData(false); in testWriteData()
58 controller.shutdown(); in testWriteData()
69 FileOutput controller = new FileOutput(); in testInvalidDestFile() local
72 controller.startup(options, new RuntimeData()); in testInvalidDestFile()
DTcpServerOutputTest.java50 private TcpServerOutput controller; field in TcpServerOutputTest
59 controller = new TcpServerOutput(logger) { in setup()
67 controller.startup(options, data); in setup()
73 controller.shutdown(); in testShutdownWithoutConnection()
81 controller.shutdown(); in testShutdownWithConnection()
101 controller.writeExecutionData(false); in testWriteExecutionData()
116 controller.shutdown(); in testWriteExecutionData()
130 controller.shutdown(); in testInvalidHeader()
135 final InetAddress addr = controller.getInetAddress(null); in testGetInetAddressLoopback()
141 final InetAddress addr = controller.getInetAddress("*"); in testGetInetAddressAny()
DTcpClientOutputTest.java42 private IAgentOutput controller; field in TcpClientOutputTest
60 controller = new TcpClientOutput(logger) { in setup()
68 controller.startup(new AgentOptions(), data); in setup()
74 controller.shutdown(); in testShutdown()
84 controller.shutdown(); in testRemoteClose()
94 controller.shutdown(); in testInvalidCommand()
104 controller.writeExecutionData(false); in testWriteExecutionData()
120 controller.shutdown(); in testWriteExecutionData()
/external/devlib/devlib/module/
Dcgroups.py212 def __init__(self, controller, name, create=True): argument
213 self.logger = logging.getLogger('cgroups.' + controller.kind)
214 self.target = controller.target
215 self.controller = controller
219 self.directory = controller.mount_point
221 self.directory = self.target.path.join(controller.mount_point, name[1:])
246 self.controller.kind)
251 self.directory, self.controller.kind),
265 if self.controller._noprefix:
268 attr_name = '{}.{}'.format(self.controller.kind, idx)
[all …]
/external/ltp/testcases/kernel/controllers/
DREADME7 The cpu controller test creates the cpu controller device as /dev/cpuctl. In
11 The cpuset controller also creates the device as /dev/cpuset, so please do the
37 Directory containing the cpu controller testcases. A similar directory will
38 be created for any new controller.
42 Directory containing the memory controller testcases. A similar directory will
43 be created for any new controller.
47 Directory containing the cpuset controller testcases. A similar directory will
48 be created for any new controller.
56 Directory containing the cpu accounting controller testcases.
63 cpu controller. If yes it enters lower directory and compiles the source files
Dtestplan.txt5 of cpu controller, memory controller and cpuset controller.
6 There are test cases to test cpu, memory and cpuset controller. In future new
8 Each new controller will have it's own directory to contain all its test
/external/chromium-trace/catapult/systrace/profile_chrome/
Dprofiler.py15 def _GetResults(trace_results, controller, output, compress, write_json, argument
22 for agent in controller.get_child_agents:
28 trace_results = [x for x in controller.all_results if not (x.source_name ==
85 controller = tracing_controller.TracingController(agents_with_config,
88 result = controller.StartTracing()
89 trace_type = controller.GetTraceType()
102 all_results = controller.StopTracing()
107 return _GetResults(all_results, controller, output, compress, write_json,
/external/clang/test/Parser/
Dmissing-selector-name.mm15 PodiumWalkerController *controller;
16 return controller.PROP;
29 PodiumWalkerController *controller;
30 return controller.PROP;
50 PodiumWalkerController *controller;
51 return controller.PROP;
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothMediaFacade.java168 MediaController controller = (MediaController) controllers.get(i); in onActiveSessionsChanged() local
169 if ((controller.getTag().contains(BluetoothSL4AAudioSrcMBS.getTag())) in onActiveSessionsChanged()
170 || (controller.getTag().contains(A2DP_MBS_TAG))) { in onActiveSessionsChanged()
171 setCurrentMediaController(controller); in onActiveSessionsChanged()
229 private void setCurrentMediaController(MediaController controller) { in setCurrentMediaController() argument
231 if (mMediaController == null && controller != null) { in setCurrentMediaController()
232 Log.d(TAG + " Setting MediaController " + controller.getTag()); in setCurrentMediaController()
233 mMediaController = controller; in setCurrentMediaController()
235 } else if (mMediaController != null && controller != null) { in setCurrentMediaController()
237 if (controller.getSessionToken().equals(mMediaController.getSessionToken()) in setCurrentMediaController()
[all …]
/external/protobuf/python/google/protobuf/internal/
Dservice_reflection_test.py52 def CallMethod(self, method, controller, request, response, callback): argument
54 self.controller = controller
109 def CallMethod(self, method, controller, request, argument
112 self.controller = controller
135 self.assertEqual(rpc_controller, channel.controller)
/external/ltp/testcases/kernel/controllers/memctl/
DREADME3 The directory memctl contains the tests related to memory controller.
8 The aim of the tests is to test memory controller functionality.
14 These are the tasks to run for memory controller testing.
24 directory and mounts cgroup filesystem on it with memory controller. It then
32 any of the groups in controller dir tree.
36 This script creates different scenarios for memory controller testing and
Dmemctl_testplan.txt1 The memory controller testplan includes a complete set of testcases that
2 test the memory controller in different scenarios.
4 **These testcases test the memory controller under single level.**
/external/ltp/testcases/kernel/controllers/cpuctl_fj/
DREADME4 The directory cpuctl_fj contains the tests related to the cpu controller.
6 Cpu controller is a mechanism for assigning cpu resource (in percent) to
11 controller.
17 The aim of the tests is to test the functionality of cpu controller.
/external/libmojo/base/android/junit/src/org/chromium/base/
DBaseChromiumApplicationTest.java60 ActivityController<Activity> controller = in testWindowsFocusChanged() local
63 (TrackingShadowActivity) Robolectric.shadowOf(controller.get()); in testWindowsFocusChanged()
65 controller.get().getWindow().getCallback().onWindowFocusChanged(true); in testWindowsFocusChanged()
67 verify(mock).onWindowFocusChanged(controller.get(), true); in testWindowsFocusChanged()
/external/sonivox/jet_tools/JetCreator/
Dmidifile.py487 def __init__ (self, ticks, seq, channel, controller, value): argument
493 self.controller = controller
498 controller = ReadByte(stream)
503 if controller >= 120:
504 return ChannelModeEvent(ticks, seq, channel, controller, value)
505 return ControlChangeEvent(ticks, seq, channel, controller, value)
507 self.WriteRunningStatus(stream, track, filters, CONTROL_CHANGE, self.controller, self.value)
509 return '%s: ch=%d c=%d v=%d' % (self.name, self.channel, self.controller, self.value)
515 def __init__ (self, ticks, seq, channel, controller, value): argument
521 self.controller = controller
[all …]
/external/google-breakpad/src/client/ios/
DBreakpadController.mm161 NSAssert(started_, @"The controller must be started before "
172 @"The controller must be started before setUploadingEnabled is called");
192 @"The controller must not be started when updateConfiguration is called");
202 @"The controller must not be started when resetConfiguration is called");
213 @"The controller must not be started when setUploadingURL is called");
219 @"The controller must not be started when setUploadInterval is called");
227 NSAssert(!started_, @"The controller must not be started when "
235 @"The controller must be started before addUploadParameter is called");
243 NSAssert(started_, @"The controller must be started before "
253 @"The controller must be started before withBreakpadRef is called");
[all …]
/external/python/cpython2/Doc/library/
Dwebbrowser.rst1 :mod:`webbrowser` --- Convenient Web-browser controller
5 :synopsis: Easy-to-use controller for Web browsers.
85 Return a controller object for the browser type *name*. If *name* is empty,
86 return a controller for a default browser appropriate to the caller's
93 :func:`get` function can return a controller for that browser type. If
104 for the controller classes, all defined in this module.
194 .. method:: controller.open(url, new=0, autoraise=True)
196 Display *url* using the browser handled by this controller. If *new* is 1, a new
201 .. method:: controller.open_new(url)
203 Open *url* in a new window of the browser handled by this controller, if
[all …]
/external/lisa/libs/utils/
Dexecutor.py298 controller = self.target.cgroups.controller(kind)
299 if not controller:
391 controller = self.target.cgroups.controller(kind)
392 if not controller:
398 self._setup_controller(tc, controller)
401 def _setup_controller(self, tc, controller): argument
402 kind = controller.kind
405 for name in tc['cgroups']['conf'][controller.kind]:
410 group = controller.cgroup(name)
421 kind = group.controller.kind
/external/dtc/tests/
Dobsolete-chosen-interrupt-controller.dts8 interrupt-controller;
11 interrupt-controller = <&PIC>;
/external/python/cpython2/Lib/
Dwebbrowser.py93 controller = command[1]
94 if controller and name.lower() == controller.basename:
96 controller = copy.copy(controller)
97 controller.name = browser
98 controller.basename = os.path.basename(browser)
99 register(browser, None, controller, update_tryorder)
100 return [None, controller]
/external/libcxx/test/support/
Dcontainer_test_types.h269 ConstructController* controller; variable
272 : controller(getConstructController()) {} in ContainerTestAllocator()
275 : controller(c) in ContainerTestAllocator()
280 : controller(other.controller) in ContainerTestAllocator()
297 assert(controller->check<Args&&...>()); in construct()
299 InAllocatorConstructGuard g(controller); in construct()
309 InAllocatorConstructGuard g(controller); in destroy()
/external/chromium-trace/catapult/systrace/systrace/
Drun_systrace.py174 controller = systrace_runner.SystraceRunner(
176 controller.StartTracing()
191 controller.StopTracing()
193 controller.OutputSystraceResults(write_json=options.write_json)
/external/skia/experimental/iOSSampleApp/Shared/
DSkUIDetailViewController.mm109 UIPrintInteractionController *controller = [UIPrintInteractionController sharedPrintController];
118 controller.printInfo = printInfo;
119 controller.printingItem = data;
132 [controller presentFromBarButtonItem:fPrintButton animated:YES
135 [controller presentAnimated:YES completionHandler:SkCompletionHandler];

12345678910