/ohos5.0/docs/zh-cn/application-dev/tools/ |
H A D | toybox.md | 55 | ascii | 显示acsii编码表。<br />usage: ascii | 56 | factor | 分解质因数。<br />usage: factor NUMBER... | 65 | chvt | 切换到虚拟终端N。<br />usage: chvt N | 67 | clear | 清空终端。<br />usage: clear | 70 | reset | 复位终端。<br />usage: reset | 77 | false | 返回非零值。<br />usage: false | 80 | true | 返回零。<br />usage: true | 88 | arch | 打印系统名称。<br />usage: arch | 135 | who | 打印有关已登录用户的信息。 <br />usage: who | 136 | w | 显示用户登录情况和登录时间。<br />usage: w | [all …]
|
/ohos5.0/drivers/peripheral/display/buffer/test/unittest/ |
H A D | display_buffer_ut.cpp | 72 .usage = HBM_USE_MEM_DMA | HBM_USE_CPU_READ | HBM_USE_CPU_WRITE, 135 .usage = HBM_USE_MEM_DMA, 142 .usage = HBM_USE_MEM_DMA | HBM_USE_CPU_READ, 149 .usage = HBM_USE_MEM_DMA | HBM_USE_CPU_WRITE, 220 .usage = HBM_USE_CPU_HW_BOTH, 227 .usage = HBM_USE_CPU_HW_BOTH | HBM_USE_CPU_READ, 234 .usage = HBM_USE_CPU_HW_BOTH | HBM_USE_CPU_WRITE, 370 .usage = HBM_USE_MEM_DMA | HBM_USE_CPU_WRITE, 378 .usage = HBM_USE_CPU_HW_BOTH | HBM_USE_CPU_WRITE, 451 if (info.usage & (HBM_USE_CPU_READ | HBM_USE_CPU_WRITE)) { in AllocMemTest() [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/playbackcapturer/test/unittest/ |
H A D | playback_capturer_manager_unit_test.cpp | 61 std::vector<int32_t> usage; variable 62 usage.push_back(STREAM_USAGE_MEDIA); 63 usage.push_back(STREAM_USAGE_MUSIC); 64 usage.push_back(STREAM_USAGE_GAME); 65 usage.push_back(STREAM_USAGE_MOVIE); 68 for (int32_t usageItem : usage) { 82 std::vector<int32_t> usage; variable 96 std::vector<int32_t> usage; variable 97 usage.push_back(STREAM_USAGE_MEDIA); 98 usage.push_back(STREAM_USAGE_MUSIC); [all …]
|
/ohos5.0/base/global/i18n/frameworks/intl/src/ |
H A D | measure_data.cpp | 345 units.assign(USAGE_MX.at(usage).begin(), USAGE_MX.at(usage).end()); in GetFallbackPreferredUnit() 352 units.assign(USAGE_NL.at(usage).begin(), USAGE_NL.at(usage).end()); in GetFallbackPreferredUnit() 361 units.assign(USAGE_NO.at(usage).begin(), USAGE_NO.at(usage).end()); in GetFallbackPreferredUnit() 368 units.assign(USAGE_SE.at(usage).begin(), USAGE_SE.at(usage).end()); in GetFallbackPreferredUnit() 375 units.assign(USAGE_US.at(usage).begin(), USAGE_US.at(usage).end()); in GetFallbackPreferredUnit() 396 units.assign(USAGE_CA.at(usage).begin(), USAGE_CA.at(usage).end()); in GetRestPreferredUnit() 405 units.assign(USAGE_CN.at(usage).begin(), USAGE_CN.at(usage).end()); in GetRestPreferredUnit() 412 units.assign(USAGE_DE.at(usage).begin(), USAGE_DE.at(usage).end()); in GetRestPreferredUnit() 419 units.assign(USAGE_GB.at(usage).begin(), USAGE_GB.at(usage).end()); in GetRestPreferredUnit() 426 units.assign(USAGE_KR.at(usage).begin(), USAGE_KR.at(usage).end()); in GetRestPreferredUnit() [all …]
|
/ohos5.0/docs/en/application-dev/tools/ |
H A D | toybox.md | 55 | ascii | Displays the ASCII table.<br>usage: ascii | 56 | factor | Factors an integer.<br>usage: factor NUMBER... | 65 | chvt | Switches to virtual device N.<br>usage: chvt N | 67 | clear | Clears the terminal.<br>usage: clear | 70 | reset | Resets the terminal.<br>usage: reset | 77 | false | Returns a non-zero value.<br>usage: false | 80 | true | Returns zero.<br>usage: true | 88 | arch | Prints the system name.<br>usage: arch | 118 | cal | Prints a calendar.<br>usage: cal [[month] year] | 174 | du | Displays the disk usage with files and directories.<br>usage: du [-d N] [-askxHLlmc… [all …]
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_argument.cpp | 129 if (!usage || !usage->opt) { in ShowUsage() 132 if (usage->opt->val) { in ShowUsage() 133 DHCP_LOGI("-%{public}c,--%{public}s ", (char)usage->opt->val, usage->opt->name); in ShowUsage() 137 if (usage->params[0] == '\0') { in ShowUsage() 140 int plen = strlen(usage->params) + strlen(usage->params); in ShowUsage() 142 DHCP_LOGI("\t\t%{public}s\t\t%{public}s\n", usage->params, usage->desc); in ShowUsage() 156 DhcpUsage usage = usages[i]; in PrintRequiredArguments() local 157 if (!usage.opt) { in PrintRequiredArguments() 160 if (usage.required) { in PrintRequiredArguments() 182 if (!usage.opt) { in PrintUsage() [all …]
|
/ohos5.0/docs/zh-cn/application-dev/device-usage-statistics/ |
H A D | device-usage-statistics-overview.md | 3 设备使用信息统计,包括app usage、notification usage、system usage等使用统计,目前只支持app usage使用统计。应用使用信息统计,用于保存和查询应用使用详情… 7 设备使用信息统计接口众多,目前只支持app usage使用统计,接下来介绍下应用使用详情(app usage)的接口逻辑。
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/routing_manager_test/src/ |
H A D | audio_routing_manager_unit_test.cpp | 178 AudioDeviceUsage usage = MEDIA_OUTPUT_DEVICES; variable 179 auto availableDescriptor = AudioRoutingManager::GetInstance()->GetAvailableDevices(usage); 190 AudioDeviceUsage usage = MEDIA_INPUT_DEVICES; variable 191 auto availableDescriptor = AudioRoutingManager::GetInstance()->GetAvailableDevices(usage); 202 AudioDeviceUsage usage = ALL_MEDIA_DEVICES; variable 203 auto availableDescriptor = AudioRoutingManager::GetInstance()->GetAvailableDevices(usage); 214 AudioDeviceUsage usage = CALL_OUTPUT_DEVICES; variable 215 auto availableDescriptor = AudioRoutingManager::GetInstance()->GetAvailableDevices(usage); 226 AudioDeviceUsage usage = CALL_INPUT_DEVICES; variable 238 AudioDeviceUsage usage = ALL_CALL_DEVICES; variable [all …]
|
/ohos5.0/docs/en/application-dev/device-usage-statistics/ |
H A D | device-usage-statistics-overview.md | 3 …usage statistics include the usage of applications, notifications, and the system. Currently, you … 5 The application records (usage history statistics and event records) cached by components are flush… 9 The application usage statistics are flushed: 16 - Application usage duration based on the specified start time and end time. 18 - Application usage duration in the specified time frame at the specified interval (daily, weekly, … 21 - Feature Ability (FA) usage records sorted by time (most recent first). 23 …**maxNum** specifies the maximum number of FA usage records returned. If **maxNum** is not specifi… 35 Only system applications can call the device usage statistics APIs. They must request the **ohos.pe…
|
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-mini-extend-cpup.md | 143 printf("the current system cpu usage is: %u.%u\n", 148 printf("the history system cpu usage in all time:%u.%u\n", 153 printf("cpu usage of the cpupTestTask:\n TaskID: %d\n usage: %u.%u\n", 158 printf("cpu usage of the cpupTestTask in all time:\n TaskID: %d\n usage: %u.%u\n", 172 the current system cpu usage is: 8.2 173 the history system cpu usage in all time:8.9 174 cpu usage of the cpupTestTask: 176 usage: 0.5 177 cpu usage of the cpupTestTask in all time: 179 usage: 0.5
|
/ohos5.0/base/sensors/miscdevice/test/fuzztest/vibrator/setusage_fuzzer/ |
H A D | setusage_fuzzer.cpp | 29 int32_t usage = static_cast<int32_t>(std::atoi(argv.c_str())); in SetUsageFuzzTest() local 30 bool ret = OHOS::Sensors::SetUsage(usage); in SetUsageFuzzTest() 31 if ((((usage < 0) || (usage >= USAGE_MAX)) && ret == true) || in SetUsageFuzzTest() 32 (((usage > 0) && (usage < USAGE_MAX)) && ret != false)) { in SetUsageFuzzTest()
|
/ohos5.0/base/sensors/miscdevice/frameworks/capi/ |
H A D | vibrator.cpp | 33 …if ((vibrateAttribute.usage < VIBRATOR_USAGE_UNKNOWN) || (vibrateAttribute.usage >= VIBRATOR_USAGE… in OH_Vibrator_PlayVibration() 34 MISC_HILOGE("vibrate attribute value is is %{public}d", vibrateAttribute.usage); in OH_Vibrator_PlayVibration() 37 if (!OHOS::Sensors::SetUsage(vibrateAttribute.usage)) { in OH_Vibrator_PlayVibration() 59 …if ((vibrateAttribute.usage < VIBRATOR_USAGE_UNKNOWN) || (vibrateAttribute.usage >= VIBRATOR_USAGE… in OH_Vibrator_PlayVibrationCustom() 63 if (!OHOS::Sensors::SetUsage(vibrateAttribute.usage)) { in OH_Vibrator_PlayVibrationCustom()
|
/ohos5.0/base/sensors/miscdevice/test/unittest/vibrator/capi/ |
H A D | vibrator_test.cpp | 127 .usage = VIBRATOR_USAGE_RING 139 .usage = VIBRATOR_USAGE_MAX 166 .usage = VIBRATOR_USAGE_RING 189 .usage = VIBRATOR_USAGE_RING 209 .usage = VIBRATOR_USAGE_RING 229 .usage = VIBRATOR_USAGE_RING 249 .usage = VIBRATOR_USAGE_RING 269 .usage = VIBRATOR_USAGE_RING 289 .usage = VIBRATOR_USAGE_RING 328 .usage = VIBRATOR_USAGE_MAX [all …]
|
/ohos5.0/base/sensors/miscdevice/services/miscdevice_service/src/ |
H A D | miscdevice_service.cpp | 320 || (usage >= USAGE_MAX) || (usage < 0)) { in Vibrate() 329 .usage = usage, in Vibrate() 342 info.usage, vibratorId, info.duration); in Vibrate() 376 …unt < MIN_VIBRATOR_COUNT) || (count > MAX_VIBRATOR_COUNT) || (usage >= USAGE_MAX) || (usage < 0)) { in PlayVibratorEffect() 394 .usage = usage, in PlayVibratorEffect() 498 if ((usage >= USAGE_MAX) || (usage < 0) || (!CheckVibratorParmeters(parameter))) { in PlayVibratorCustom() 518 .usage = usage, in PlayVibratorCustom() 648 if ((usage >= USAGE_MAX) || (usage < 0) || (!CheckVibratorParmeters(parameter))) { in PlayPattern() 667 .usage = usage, in PlayPattern() 852 …ntensity <= INTENSITY_MIN) || (intensity > INTENSITY_MAX) || (usage >= USAGE_MAX) || (usage < 0)) { in PlayPrimitiveEffect() [all …]
|
H A D | miscdevice_service_stub.cpp | 57 int32_t usage; in VibrateStub() local 64 return Vibrate(vibratorId, duration, usage, systemUsage); in VibrateStub() 98 int32_t usage; in PlayVibratorEffectStub() local 105 return PlayVibratorEffect(vibratorId, effect, count, usage, systemUsage); in PlayVibratorEffectStub() 162 int32_t usage; in PlayVibratorCustomStub() local 164 if (!data.ReadInt32(usage) || !data.ReadBool(systemUsage)) { in PlayVibratorCustomStub() 188 ret = PlayVibratorCustom(vibratorId, rawFd, usage, systemUsage, parameter.value()); in PlayVibratorCustomStub() 334 int32_t usage = 0; in PlayPatternStub() local 335 if (!data.ReadInt32(usage)) { in PlayPatternStub() 350 return PlayPattern(pattern.value(), usage, systemUsage, parameter.value()); in PlayPatternStub() [all …]
|
H A D | vibration_priority_manager.cpp | 253 if ((vibrateInfo.usage == USAGE_ALARM || vibrateInfo.usage == USAGE_RING in ShouldIgnoreVibrate() 254 || vibrateInfo.usage == USAGE_NOTIFICATION || vibrateInfo.usage == USAGE_COMMUNICATION) in ShouldIgnoreVibrate() 259 …if (((vibrateInfo.usage == USAGE_TOUCH || vibrateInfo.usage == USAGE_MEDIA || vibrateInfo.usage ==… in ShouldIgnoreVibrate() 260 … || vibrateInfo.usage == USAGE_PHYSICAL_FEEDBACK || vibrateInfo.usage == USAGE_SIMULATE_REALITY) in ShouldIgnoreVibrate() 298 if (currentVibrateInfo.usage == USAGE_ALARM) { in ShouldIgnoreVibrate() 306 if ((currentVibrateInfo.usage != vibrateInfo.usage) && (vibrateInfo.usage == USAGE_UNKNOWN)) { in ShouldIgnoreVibrate()
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/codec/ |
H A D | _get_buffer_handle_usage_params_v20.md | 6 查询vendor层BufferHandle的默认usage配置。 23 | unsigned long [usage](#usage) | Usage | 49 ### usage subsection 52 unsigned long GetBufferHandleUsageParams::usage
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/ |
H A D | changelogs-multimedia.md | 94 OH_AudioStream_Usage usage, OH_AudioStream_Content content); 100 OH_AudioStream_Usage usage); 109 OH_AudioStream_Usage* usage, OH_AudioStream_Content* content); 115 OH_AudioStream_Usage* usage); 154 * Unknown usage. 158 * Music usage. 162 * Voice communication usage. 166 * Voice assistant usage. 170 * Movie or video usage.
|
/ohos5.0/base/sensors/miscdevice/frameworks/native/vibrator/src/ |
H A D | vibrator_service_client.cpp | 116 MISC_HILOGD("Vibrate begin, time:%{public}d, usage:%{public}d", timeOut, usage); in Vibrate() 125 ret = miscdeviceProxy_->Vibrate(vibratorId, timeOut, usage, systemUsage); in Vibrate() 134 int32_t loopCount, int32_t usage, bool systemUsage) in Vibrate() argument 137 effect.c_str(), loopCount, usage); in Vibrate() 150 ret, effect.c_str(), loopCount, usage); in Vibrate() 343 int32_t VibratorServiceClient::PlayPattern(const VibratorPattern &pattern, int32_t usage, in PlayPattern() argument 346 MISC_HILOGD("Vibrate begin, usage:%{public}d", usage); in PlayPattern() 387 ret = miscdeviceProxy_->PlayPattern(vibratePattern, usage, systemUsage, vibateParameter); in PlayPattern() 390 MISC_HILOGE("PlayPattern failed, ret:%{public}d, usage:%{public}d", ret, usage); in PlayPattern() 478 int32_t usage, bool systemUsage, int32_t count) in PlayPrimitiveEffect() argument [all …]
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-mini-extend-cpup.md | 22 In addition, you can enable the interrupt usage statistics function after the CPUP function is enab… 149 printf("the current system cpu usage is: %u.%u\n", 154 printf("the history system cpu usage in all time: %u.%u\n", 159 printf("cpu usage of the cpupTestTask:\n TaskID: %d\n usage: %u.%u\n", 164 printf("cpu usage of the cpupTestTask in all time:\n TaskID: %d\n usage: %u.%u\n", 178 the current system cpu usage is: 8.2 179 the history system cpu usage in all time: 8.9 180 cpu usage of the cpupTestTask: 182 usage: 0.5 183 cpu usage of the cpupTestTask in all time: [all …]
|
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/ |
H A D | memory_util.cpp | 164 void MemoryUtil::InitMemUsage(MemInfoData::MemUsage &usage) in InitMemUsage() argument 166 usage.vss = 0; in InitMemUsage() 167 usage.rss = 0; in InitMemUsage() 168 usage.uss = 0; in InitMemUsage() 169 usage.pss = 0; in InitMemUsage() 170 usage.gl = 0; in InitMemUsage() 171 usage.graph = 0; in InitMemUsage() 172 usage.purgSum = 0; in InitMemUsage() 173 usage.purgPin = 0; in InitMemUsage() 174 usage.pid = 0; in InitMemUsage()
|
/ohos5.0/docs/en/application-dev/reference/apis-performance-analysis-kit/ |
H A D | _hi_debug___thread_cpu_usage.md | 6 Defines a struct for the CPU usage of all threads of an application. 21 | double [cpuUsage](#cpuusage) | Thread CPU usage, in percentage. | 22 | struct HiDebug_ThreadCpuUsage \* [next](#next) | Pointer to the CPU usage of the next thread. | 34 Thread CPU usage, in percentage. 43 Pointer to the CPU usage of the next thread.
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-sensor-service-kit/ |
H A D | _vibrator_attribute.md | 21 | [usage](#usage) | 振动场景。 | 36 ### usage subsection 39 Vibrator_Usage Vibrator_Attribute::usage
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.9.3/ |
H A D | changelogs-multimedia.md | 16 getAudioEffectInfoArray(content: ContentType, usage: StreamUsage, callback: AsyncCallback<AudioEffe… 17 getAudioEffectInfoArray(content: ContentType, usage: StreamUsage): Promise<AudioEffectInfoArray>; 23 getAudioEffectInfoArray(usage: StreamUsage, callback: AsyncCallback<AudioEffectInfoArray>): void; 24 getAudioEffectInfoArray(usage: StreamUsage): Promise<AudioEffectInfoArray>; 29 When calling this API, pass in only the input parameter **usage**. If **getAudioEffectInfoArray** i…
|
/ohos5.0/foundation/graphic/surface_lite/frameworks/ |
H A D | buffer_manager.cpp | 106 if (!ConvertUsage(bufferHandle->usage, buffer.GetUsage())) { in AllocateBufferHandle() 152 SurfaceBufferImpl* BufferManager::AllocBuffer(uint32_t size, uint32_t usage) in AllocBuffer() argument 158 if (!ConvertUsage(info.usage, usage)) { in AllocBuffer() 162 info.usage |= HBM_USE_ASSIGN_SIZE; in AllocBuffer() 168 buffer->SetUsage(usage); in AllocBuffer() 172 …rImpl* BufferManager::AllocBuffer(uint32_t width, uint32_t height, uint32_t format, uint32_t usage) in AllocBuffer() argument 178 if (!ConvertUsage(info.usage, usage)) { in AllocBuffer() 191 buffer->SetUsage(usage); in AllocBuffer()
|