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

1 2 3 4

  /external/devlib/devlib/module/
hotplug.py 21 return target.path.join(cls.base_path, cpu, 'online')
27 def online(self, *args): member in class:HotplugModule
29 self.hotplug(cpu, online=True)
33 self.hotplug(cpu, online=False)
35 def hotplug(self, cpu, online):
39 value = 1 if online else 0
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
cpuinfo.h 6 int online; /* is this CPU online */ member in struct:cpuinfo
  /platform_testing/scripts/perf-setup/
sailin-setup.sh 12 echo 0 > /sys/devices/system/cpu/cpu0/online
13 echo 0 > /sys/devices/system/cpu/cpu1/online
angler-setup.sh 14 echo 1 > $cpubase/cpu${cpu}/online
22 echo -n 0 > /sys/devices/system/cpu/cpu4/online
23 echo -n 0 > /sys/devices/system/cpu/cpu5/online
24 echo -n 0 > /sys/devices/system/cpu/cpu6/online
25 echo -n 0 > /sys/devices/system/cpu/cpu7/online
bullhead-setup.sh 14 echo 1 > $cpubase/cpu${cpu}/online
22 echo -n 0 > /sys/devices/system/cpu/cpu4/online
23 echo -n 0 > /sys/devices/system/cpu/cpu5/online
b1c1-setup.sh 35 echo 1 > $cpubase/cpu${cpu}/online
48 echo 0 > $cpubase/cpu${cpu}/online
imx7d-setup.sh 16 echo 1 > $cpubase/cpu${cpu}/online
wahoo-setup.sh 20 echo 1 > $cpubase/cpu${cpu}/online
35 echo 0 > $cpubase/cpu${cpu}/online
  /external/ltp/testcases/kernel/hotplug/cpu_hotplug/include/
cpuhotplug_hotplug.sh 64 # to perform the online operation successfully, false otherwise.
72 if [ ! -w /sys/devices/system/cpu/cpu${CPU}/online ]; then
78 $TIME echo 1 > /sys/devices/system/cpu/cpu${CPU}/online
80 report_timing "Online cpu ${CPU}"
93 if [ ! -w /sys/devices/system/cpu/cpu${CPU}/online ]; then
99 $TIME echo 0 > /sys/devices/system/cpu/cpu${CPU}/online
108 # currently online or offline.
121 # currently online or offline.
135 # currently online or offline.
177 # currently online or offline
    [all...]
  /external/linux-kselftest/tools/testing/selftests/cpufreq/
cpu.sh 35 echo 0 > $CPUROOT/$1/online
41 printf "Online $1\n"
42 echo 1 > $CPUROOT/$1/online
  /external/v8/tools/
cpu.sh 21 echo 1 > $CPUPATH/cpu$i/online
23 echo 0 > $CPUPATH/cpu$i/online
  /external/walt/ios/WALT/
MIDIEndpoint.h 24 @property (readonly, nonatomic, getter=isOnline) BOOL online; variable
  /frameworks/rs/perf-test-scripts/
set-cpu-freq 64 if fileexists $DIR/$core/online; then
65 adb shell "echo -n 1 > $DIR/$core/online"
98 if fileexists $DIR/$core/online && [ `getprop $DIR/$core/online` -eq 0 ]; then
138 if fileexists $DIR/$core/online; then
139 adb shell "echo -n 1 > $DIR/$core/online"
get-freq 47 if fileexists $CPU_DIR/$core/online && [ `getprop $CPU_DIR/$core/online` -eq 0 ]; then
50 echo " Status: ONLINE"
  /external/chromium-trace/catapult/devil/devil/android/perf/
perf_control_devicetest.py 31 for _, online, governor in cpu_info:
32 self.assertTrue(online)
  /external/libmojo/third_party/catapult/devil/devil/android/perf/
perf_control_devicetest.py 32 for _, online, governor in cpu_info:
33 self.assertTrue(online)
  /external/linux-kselftest/tools/testing/selftests/cpu-hotplug/
cpu-on-off-test.sh 29 echo "CPU online/offline summary:"
30 online_cpus=`cat $SYSFS/devices/system/cpu/online`
38 echo -e "\t Cpus in online state: $online_cpus"
57 if [ -f $cpu/online ] && grep -q $state $cpu/online; then
75 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online
80 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online
85 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online
90 echo 0 > $SYSFS/devices/system/cpu/cpu$1/online
114 echo $FUNCNAME $cpu: unexpected online >&
    [all...]
  /hardware/libhardware/modules/thermal/
thermal.c 36 #define CPU_ONLINE_FILE_FORMAT "/sys/devices/system/cpu/cpu%d/online"
87 int vals, cpu_num, online; local
126 // Read online CPU information.
129 online = 0;
132 // /sys/devices/system/cpu/cpu0/online is missing on some systems, because cpu0 can't
134 online = cpu_num == 0;
135 } else if (1 != fscanf(cpu_file, "%d", &online)) {
136 ALOGE("%s: failed to read CPU online information from file: %s (%s)", __func__,
150 .is_online = online
  /packages/services/BuiltInPrintService/src/com/android/bips/ipp/
GetCapabilitiesTask.java 92 boolean online = isDeviceOnline(mUri);
94 Log.d(TAG, "isDeviceOnline uri=" + mUri + " online=" + online
98 if (!online || isCancelled()) {
  /system/extras/simpleperf/
cpu_hotplug_test.cpp 93 std::string filename = android::base::StringPrintf("/sys/devices/system/cpu/cpu%d/online", cpu);
105 static bool SetCpuOnline(int cpu, bool online) {
111 if (ret == online) {
114 std::string filename = android::base::StringPrintf("/sys/devices/system/cpu/cpu%d/online", cpu);
115 std::string content = online ? "1" : "0";
122 if (online == ret) {
128 // Kernel needs time to offline/online cpus, so use a loop to wait here.
135 if (ret == online) {
138 LOG(ERROR) << "reading cpu retry count = " << retry_count << ", requested = " << online
141 LOG(ERROR) << "setting cpu " << cpu << (online ? " online" : " offline") << " seems not to take effect"
183 bool online = IsCpuOnline(cpu, &has_error); local
    [all...]
  /device/google/wahoo/thermal/
thermal-helper.cpp 190 int vals, cpu_num, online; local
242 // Read online CPU information.
245 online = 0;
251 if (1 != fscanf(cpu_file, "%d", &online)) {
252 PLOG(ERROR) << "fillCpuUsages: failed to read CPU online information from file ("
263 (*cpuUsages)[size].isOnline = static_cast<bool>(online);
266 << active << " " << total << " " << online; local
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
cpuset_sched_domains_test.sh 242 0 online
244 1 online
295 1,2 1 1,3 1 online
  /external/autotest/client/common_lib/cros/
dbus_send_unittest.py 43 variant string "online"
134 variant string "online"
154 'ConnectionState': 'online',
173 'State': 'online',
  /external/linux-kselftest/tools/testing/selftests/rcutorture/bin/
jitter.sh 25 # along with this program; if not, you can access it online at
51 cpus=`ls /sys/devices/system/cpu/*/online |
  /external/linux-kselftest/tools/testing/selftests/memory-hotplug/
mem-on-off-test.sh 55 hotpluggable_memory online
60 grep -q online $SYSFS/devices/system/memory/memory$1/state
70 echo online > $SYSFS/devices/system/memory/memory$1/state
100 echo $FUNCNAME $memory: unexpected online >&2
171 # Online all hot-pluggable memory
174 echo -e "\t online all hot-pluggable memory in offline state:"
177 echo "offline->online memory$memory"
191 echo -e "\t offline $ratio% hot-pluggable memory in online state"
195 echo "online->offline memory$memory"
207 # Online all hot-pluggable memory agai
    [all...]

Completed in 473 milliseconds

1 2 3 4