Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 3666) sorted by relevance

12345678910>>...147

/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/
H A Dav_codec_demo.cpp80 if (mode == "" || mode == "0") { in RunAudioDecoder()
121 if (mode == "" || mode == "0") { in RunAudioAVBufferDecoder()
158 if (mode == "" || mode == "0") { in RunAudioAVBufferDecoderDrm()
188 if (mode == "" || mode == "0") { in RunAudioEncoder()
237 if (mode == "" || mode == "0") { in RunAudioInnerDecoder()
271 if (mode == "" || mode == "0") { in RunAudioInnerEncoder()
310 if (mode != "0" && mode != "1" && mode != "2" && mode != "3") { in RunVideoDecoder()
335 if (mode != "0" && mode != "1" && mode != "2") { in RunVideoDecoderDrm()
359 if (mode != "0" && mode != "1" && mode != "2") { in RunVideoInnerDecoder()
382 if (mode != "0" && mode != "1") { in RunE2EDemo()
[all …]
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/
H A Dhdi_code_generator.cpp168 GenMode mode = GenMode::IPC; in GenIpcCCode() local
171 cCodeEmitters_["types"]->OutPut(ast, outDir, mode); in GenIpcCCode()
176 cCodeEmitters_["proxy"]->OutPut(ast, outDir, mode); in GenIpcCCode()
178 cCodeEmitters_["stub"]->OutPut(ast, outDir, mode); in GenIpcCCode()
185 cCodeEmitters_["stub"]->OutPut(ast, outDir, mode); in GenIpcCCode()
196 GenMode mode = GenMode::IPC; in GenIpcCppCode() local
224 GenMode mode = GenMode::IPC; in GenIpcJavaCode() local
243 GenMode mode = GenMode::PASSTHROUGH; in GenPassthroughCCode() local
267 GenMode mode = GenMode::PASSTHROUGH; in GenPassthroughCppCode() local
291 GenMode mode = GenMode::KERNEL; in GenKernelCode() local
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/codegen/
H A Dcode_generator.cpp161 GenMode mode = GenMode::IPC; in GenIpcCCode() local
164 cCodeEmitters_["types"]->OutPut(ast, outDir, mode); in GenIpcCCode()
169 cCodeEmitters_["proxy"]->OutPut(ast, outDir, mode); in GenIpcCCode()
171 cCodeEmitters_["stub"]->OutPut(ast, outDir, mode); in GenIpcCCode()
178 cCodeEmitters_["stub"]->OutPut(ast, outDir, mode); in GenIpcCCode()
189 GenMode mode = GenMode::IPC; in GenIpcCppCode() local
217 GenMode mode = GenMode::IPC; in GenIpcJavaCode() local
236 GenMode mode = GenMode::PASSTHROUGH; in GenPassthroughCCode() local
260 GenMode mode = GenMode::PASSTHROUGH; in GenPassthroughCppCode() local
284 GenMode mode = GenMode::KERNEL; in GenKernelCode() local
[all …]
/ohos5.0/base/powermgr/power_manager/test/systemtest/src/
H A Dpower_mgr_powersavemode_test.cpp76 powerMgrClient.SetDeviceMode(mode);
77 mode = powerMgrClient.GetDeviceMode();
95 powerMgrClient.SetDeviceMode(mode);
113 powerMgrClient.SetDeviceMode(mode);
132 powerMgrClient.SetDeviceMode(mode);
189 powerMgrClient.SetDeviceMode(mode);
211 powerMgrClient.SetDeviceMode(mode);
235 powerMgrClient.SetDeviceMode(mode);
259 powerMgrClient.SetDeviceMode(mode);
281 powerMgrClient.SetDeviceMode(mode);
[all …]
H A Dpower_mgr_system_test.cpp66 std::unique_ptr<PowerSaveMode> mode = std::make_unique<PowerSaveMode>(); in SetPolicyMode() local
67 policyCache = mode->GetPolicyCache(); in SetPolicyMode()
73 g_getSleepTimeResult = mode->GetSleepTime(proxyId); in SetPolicyMode()
84 PowerMode mode = PowerMode::POWER_SAVE_MODE; variable
85 SetPolicyMode(static_cast<uint32_t>(mode));
96 PowerMode mode = PowerMode::POWER_MODE_MIN; variable
97 SetPolicyMode(static_cast<uint32_t>(mode));
108 PowerMode mode = PowerMode::PERFORMANCE_MODE; variable
109 SetPolicyMode(static_cast<uint32_t>(mode));
120 PowerMode mode = PowerMode::EXTREME_POWER_SAVE_MODE; variable
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/stream_test/
H A Dincremental_source_stream_test.cpp51 IncrementalMode mode = IncrementalMode::INCREMENTAL_DATA; variable
65 IncrementalMode mode = IncrementalMode::INCREMENTAL_DATA; variable
83 IncrementalMode mode = IncrementalMode::INCREMENTAL_DATA; variable
101 IncrementalMode mode = IncrementalMode::INCREMENTAL_DATA; variable
119 IncrementalMode mode = IncrementalMode::INCREMENTAL_DATA; variable
137 IncrementalMode mode = IncrementalMode::INCREMENTAL_DATA; variable
159 IncrementalMode mode = IncrementalMode::INCREMENTAL_DATA; variable
181 IncrementalMode mode = IncrementalMode::INCREMENTAL_DATA; variable
203 IncrementalMode mode = IncrementalMode::INCREMENTAL_DATA; variable
225 IncrementalMode mode = IncrementalMode::INCREMENTAL_DATA; variable
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_common_utils_test/src/
H A Dmedialibrary_privacy_manager_test.cpp32 string mode = ""; variable
34 MediaPrivacyManager mediaPrivacyManager(path, mode, fileId);
42 string mode = "Z"; variable
52 string mode = ""; variable
62 string mode = "w"; variable
72 string mode = "w"; variable
82 string mode = "a"; variable
92 string mode = "rwrwrw"; variable
102 string mode = "w"; variable
112 string mode = "w"; variable
[all …]
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
H A Dhks_openssl_sm4.c61 switch (mode) { in GetSm4CipherType()
81 switch (usageSpec->mode) { in HksOpensslSm4EncryptInit()
109 uint32_t mode = context->mode; in HksOpensslSm4EncryptUpdate() local
112 switch (mode) { in HksOpensslSm4EncryptUpdate()
140 uint32_t mode = ctx->mode; in HksOpensslSm4EncryptFinal() local
143 switch (mode) { in HksOpensslSm4EncryptFinal()
170 switch (usageSpec->mode) { in HksOpensslSm4DecryptInit()
196 uint32_t mode = contex->mode; in HksOpensslSm4DecryptUpdate() local
199 switch (mode) { in HksOpensslSm4DecryptUpdate()
226 uint32_t mode = context->mode; in HksOpensslSm4DecryptFinal() local
[all …]
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-small-basic-trans-rwlock.md8 An RW lock has three states: locked in read mode, locked in write mode, and unlocked.
12 - If there is no lock in write mode in the protected area, any task can add a lock in read mode.
16 …ame shared resource. A lock in read mode allows access to a protected area in shared mode, and a l…
23 How does an RW lock implement lock in read mode and lock in write mode to control read/write access…
25 …A acquires the lock in write mode for the first time, other tasks cannot acquire or attempt to acq…
55 …OS_RwlockRdLock** to request a lock in read mode or call **LOS_RwlockWrLock** to request a lock in…
57 If a lock in read mode is requested:
63 …- If the lock in write mode is held by another task, the task cannot acquire the lock until the lo…
65 If a lock in write mode is requested:
67 … that holds the lock in read mode is the one that requests the lock in write mode, the task acquir…
[all …]
/ohos5.0/docs/en/application-dev/security/AccessToken/
H A Dpermissions-for-system-apps.md22 **Authorization mode**: system_grant
34 **Authorization mode**: system_grant
46 **Authorization mode**: system_grant
58 **Authorization mode**: system_grant
70 **Authorization mode**: system_grant
82 **Authorization mode**: system_grant
94 **Authorization mode**: system_grant
106 **Authorization mode**: system_grant
118 **Authorization mode**: system_grant
130 **Authorization mode**: system_grant
[all …]
H A Dpermissions-for-all.md22 **Authorization mode**: system_grant
32 **Authorization mode**: system_grant
42 **Authorization mode**: system_grant
52 **Authorization mode**: system_grant
62 **Authorization mode**: system_grant
72 **Authorization mode**: system_grant
82 **Authorization mode**: system_grant
94 **Authorization mode**: system_grant
104 **Authorization mode**: system_grant
114 **Authorization mode**: system_grant
[all …]
H A Dpermissions-for-mdm-apps.md11 **Authorization mode**: system_grant
24 **Authorization mode**: system_grant
37 **Authorization mode**: system_grant
50 **Authorization mode**: system_grant
63 **Authorization mode**: system_grant
76 **Authorization mode**: system_grant
89 **Authorization mode**: system_grant
102 **Authorization mode**: system_grant
115 **Authorization mode**: system_grant
128 **Authorization mode**: system_grant
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/utils/test/
H A Dfile_utils_test.cpp56 mode_t mode = 002; in SetUp() local
57 umask(mode); in SetUp()
84 mode_t mode = 0660; variable
92 mode = 0771;
113 mode_t mode = 0660; variable
152 mode_t mode = 0771; variable
175 mode_t mode = 0771; variable
197 mode_t mode = 0771; variable
220 mode_t mode = 0664; variable
223 mode = 0771;
[all …]
/ohos5.0/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_port.cpp75 if (mode == PORT_MODE_HOST || mode == PORT_MODE_DEVICE) { in WritePortFile()
76 switch (mode) { in WritePortFile()
129 mode = PORT_MODE_HOST; in ReadPortFile()
136 mode = PORT_MODE_DEVICE; in ReadPortFile()
157 int32_t mode = PORT_MODE_DEVICE; in SetPortInit() local
159 mode = PORT_MODE_HOST; in SetPortInit()
163 mode = PORT_MODE_DEVICE; in SetPortInit()
166 if (WritePortFile(powerRole, dataRole, mode)) { in SetPortInit()
172 currentPortInfo_.mode = mode; in SetPortInit()
202 mode = currentPortInfo_.mode; in QueryPort()
[all …]
/ohos5.0/base/startup/init/test/unittest/param/
H A Ddac_unittest.cpp150 dacData.mode = 0400;
153 dacData.mode = 0400;
156 dacData.mode = 0400;
161 dacData.mode = 0200;
164 dacData.mode = 0200;
167 dacData.mode = 0200;
172 dacData.mode = 0100;
175 dacData.mode = 0100;
178 dacData.mode = 0100;
191 dacData.mode = 0040;
[all …]
/ohos5.0/base/telephony/call_manager/services/call/src/
H A Dvideo_call_state.cpp56 netCall->SwitchVideoState(mode); in SwitchCallVideoState()
94 return netCall->GetCallVideoState(mode); in GetCallVideoState()
104 switch (mode) { in SendUpdateCallMediaModeRequest()
187 switch (mode) { in SendUpdateCallMediaModeResponse()
276 switch (mode) { in SendUpdateCallMediaModeRequest()
397 switch (mode) { in SendUpdateCallMediaModeRequest()
405 ret = SwitchCallVideoState(mode); in SendUpdateCallMediaModeRequest()
468 switch (mode) { in SendUpdateCallMediaModeResponse()
471 ret = SwitchCallVideoState(mode); in SendUpdateCallMediaModeResponse()
545 switch (mode) { in SendUpdateCallMediaModeRequest()
[all …]
/ohos5.0/base/security/crypto_framework/frameworks/crypto_operation/
H A Dsm2_crypto_util.c28 char *mode; member
36 static HcfSm2SpecToASN1CreateFunc FindAbility(const char *mode) in FindAbility() argument
39 if (HcfStrlen(mode) == 0) { in FindAbility()
43 if (strcmp(mode, CONVERT_ABILITY_SET[i].mode) == 0) { in FindAbility()
50 static bool CheckMode(const char *mode) in CheckMode() argument
52 if (HcfStrlen(mode) == 0) { in CheckMode()
56 if (strcmp(mode, CONVERT_ABILITY_SET[i].mode) == 0) { in CheckMode()
93 HcfResult HcfGenCipherTextBySpec(Sm2CipherTextSpec *spec, const char *mode, HcfBlob *output) in HcfGenCipherTextBySpec() argument
95 if (!CheckMode(mode)) { in HcfGenCipherTextBySpec()
107 HcfSm2SpecToASN1CreateFunc createFunc = FindAbility(mode); in HcfGenCipherTextBySpec()
[all …]
/ohos5.0/base/telephony/call_manager/services/call/include/
H A Dvideo_call_state.h44 int32_t SwitchCallVideoState(ImsCallMode mode);
45 int32_t DispatchUpdateVideoRequest(ImsCallMode mode);
46 int32_t DispatchUpdateVideoResponse(ImsCallMode mode);
52 sptr<VideoCallState> GetCallVideoState(ImsCallMode mode);
63 int32_t SendUpdateCallMediaModeRequest(ImsCallMode mode) override;
65 int32_t SendUpdateCallMediaModeResponse(ImsCallMode mode) override;
73 int32_t SendUpdateCallMediaModeRequest(ImsCallMode mode) override;
75 int32_t SendUpdateCallMediaModeResponse(ImsCallMode mode) override;
83 int32_t SendUpdateCallMediaModeRequest(ImsCallMode mode) override;
93 int32_t SendUpdateCallMediaModeRequest(ImsCallMode mode) override;
[all …]
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-power-mode-customization.md7mode feature, which offers the following options: normal mode, performance mode, power-saving mode
59 | Normal mode| 600 |
61 | Performance mode| 602 |
147 2. Set the power mode to the normal mode, and verify the setting.
149 1. Set the power mode to the normal mode.
180 3. Set the power mode to the power-saving mode, and verify the setting.
182 1. Set the power mode to the power-saving mode.
213 4. Set the power mode to the performance mode, and verify the setting.
215 1. Set the power mode to the performance mode.
246 5. Set the power mode to the super power-saving mode, and verify the setting.
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/effect/
H A Dshader_effect.cpp40 impl_->InitWithBlend(dst, src, mode); in ShaderEffect()
56 impl_->InitWithPicture(picture, tileX, tileY, mode, matrix, rect); in ShaderEffect()
64 impl_->InitWithLinearGradient(startPt, endPt, colors, pos, mode, matrix); in ShaderEffect()
72 impl_->InitWithRadialGradient(centerPt, radius, colors, pos, mode, matrix); in ShaderEffect()
81 … impl_->InitWithTwoPointConical(startPt, startRadius, endPt, endRadius, colors, pos, mode, matrix); in ShaderEffect()
89 impl_->InitWithSweepGradient(centerPt, colors, pos, mode, startAngle, endAngle, matrix); in ShaderEffect()
127 return std::make_shared<ShaderEffect>(ShaderEffect::ShaderEffectType::BLEND, dst, src, mode); in CreateBlendShader()
140 ShaderEffect::ShaderEffectType::PICTURE, picture, tileX, tileY, mode, matrix, rect); in CreatePictureShader()
147 ShaderEffect::ShaderEffectType::LINEAR_GRADIENT, startPt, endPt, colors, pos, mode, matrix); in CreateLinearGradient()
154 … ShaderEffect::ShaderEffectType::RADIAL_GRADIENT, centerPt, radius, colors, pos, mode, matrix); in CreateRadialGradient()
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/demuxer_test/
H A Ddemuxer_hevc_unit_test.cpp508 for (auto mode = seekModes.begin(); mode != seekModes.end(); mode++) { variable
545 for (auto mode = seekModes.begin(); mode != seekModes.end(); mode++) { variable
583 for (auto mode = seekModes.begin(); mode != seekModes.end(); mode++) { variable
618 for (auto mode = seekModes.begin(); mode != seekModes.end(); mode++) { variable
653 for (auto mode = seekModes.begin(); mode != seekModes.end(); mode++) { variable
691 for (auto mode = seekModes.begin(); mode != seekModes.end(); mode++) { variable
733 for (auto mode = seekModes.begin(); mode != seekModes.end(); mode++) { variable
775 for (auto mode = seekModes.begin(); mode != seekModes.end(); mode++) { variable
810 for (auto mode = seekModes.begin(); mode != seekModes.end(); mode++) { variable
845 for (auto mode = seekModes.begin(); mode != seekModes.end(); mode++) { variable
[all …]
/ohos5.0/foundation/multimedia/player_framework/services/services/player/server/
H A Dplayer_server_state.cpp71 (void)mode; in Seek()
85 (void)mode; in SetPlaybackSpeed()
104 (void)mode; in SetPlayRangeWithMode()
268 return server_.HandleSeek(mSeconds, mode); in Seek()
278 return server_.HandleSetPlaybackSpeed(mode); in SetPlaybackSpeed()
336 return server_.HandleSeek(mSeconds, mode); in Seek()
346 return server_.HandleSetPlaybackSpeed(mode); in SetPlaybackSpeed()
436 return server_.HandleSeek(mSeconds, mode); in Seek()
446 return server_.HandleSetPlaybackSpeed(mode); in SetPlaybackSpeed()
523 return server_.HandleSeek(mSeconds, mode); in Seek()
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/examples/alarm/src/main/js/default/pages/index/
H A Dindex.js22 mode: ['addAlarm', 'editAlarm', 'deleteAlarm', 'timeArrive'],
26 mode: '',
54 console.log('[mainPage init] mode: ' + this.dataWrapper.mode);
63 …if (this.dataWrapper.mode === this.mode[0] && typeof (this.cancelAlarm) === 'undefined') { // add …
67 } else if (this.dataWrapper.mode === this.mode[1]) { // edit alarm
77 } else if (this.dataWrapper.mode === this.mode[modeDeleteAlarmIndex]) { // time arrive
111 this.dataWrapper.mode = this.mode[0];
123 this.dataWrapper.mode = this.mode[1];
141 this.dataWrapper.mode = this.mode[modeDeleteAlarmIndex];
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dopen.cpp75 if (!succ || mode < 0 || ((mode & invalidMode) == invalidMode)) { in GetJsFlags()
80 flags = static_cast<unsigned int>(mode); in GetJsFlags()
189 int ret = OpenFileByPath(realPath, mode); in OpenByFileDataUri()
198 uint32_t flag = (mode % MAX_WANT_FLAG) > 0 ? in OpenFileByBroker()
213 return OpenByFileDataUri(uri, path, mode); in OpenFileByUri()
215 return OpenFileByBroker(uri, mode); in OpenFileByUri()
219 if (RemoteUri::IsRemoteUri(path, fd, mode)) { in OpenFileByUri()
263 int ret = OpenFileByPath(pathStr, mode); in Sync()
293 int ret = OpenFileByPath(pathStr, mode); in AsyncCbExec()
331 auto cbExec = [arg, path = string(path.get()), mode = mode]() -> NError { in Async()
[all …]
/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Ddual_display_fold_policy_test.cpp74 ASSERT_EQ(mode, ssm_.GetFoldDisplayMode());
77 mode = ssm_.GetFoldDisplayMode();
78 ASSERT_EQ(mode, ssm_.GetFoldDisplayMode());
81 mode = ssm_.GetFoldDisplayMode();
82 ASSERT_EQ(mode, ssm_.GetFoldDisplayMode());
85 mode = ssm_.GetFoldDisplayMode();
86 ASSERT_EQ(mode, ssm_.GetFoldDisplayMode());
100 ASSERT_EQ(mode, ssm_.GetFoldDisplayMode());
159 ASSERT_EQ(mode, ssm_.GetFoldDisplayMode());
175 ASSERT_EQ(mode, ssm_.GetFoldDisplayMode());
[all …]

12345678910>>...147