Home
last modified time | relevance | path

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

12345678910>>...20

/test/xts/acts/kernel_lite/fs_posix/src/
DFsStatTest.cpp63 mode_t mode = 0777; variable
70 mode = 0700 + GetRandom(077);
73 LOG("> mode = %d", mode);
75 fd = open(FILE0, O_CREAT | O_RDWR, mode);
80 EXPECT_EQ((buf.st_mode & 0777), (mode & (~maskNew))) << "> check file permission faild";
98 mode_t mode = 0777; variable
105 mode = 0700 + GetRandom(077);
108 LOG("> mode = %d", mode);
110 fd = open(filePath, O_CREAT | O_RDWR, mode);
116 EXPECT_EQ((buf.st_mode & 0777), (mode & (~maskNew))) << "> check file permission faild";
[all …]
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/
Dslider.ets41 @State modeT: string = 'mode'
107 .onChange((value: number, mode: SliderChangeMode) => {
109 console.info('value:' + value + 'mode:' + mode.toString())
122 .onChange((value: number, mode: SliderChangeMode) => {
124 console.info('value:' + value + 'mode:' + mode.toString())
142 .onChange((value: number, mode: SliderChangeMode) => {
144 console.info('value:' + value + 'mode:' + mode.toString())
160 .onChange((value: number, mode: SliderChangeMode) => {
162 console.info('value:' + value + 'mode:' + mode.toString())
183 .onChange((value: number, mode: SliderChangeMode) => {
[all …]
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
Dstdioextndk.cpp185 const char *mode = "r"; in DPrintf() local
187 fopen(path, mode); in DPrintf()
197 const char *mode = "r"; in FEof_unlocked() local
199 FILE *stream = fopen(path, mode); in FEof_unlocked()
209 const char *mode = "r"; in FError_unlocked() local
211 FILE *stream = fopen(path, mode); in FError_unlocked()
224 const char *mode = "r"; in FFlush_unlocked() local
225 FILE *stream = fopen(path, mode); in FFlush_unlocked()
236 const char *mode = "r"; in FGetC_unlocked() local
237 FILE *stream = fopen(path, mode); in FGetC_unlocked()
[all …]
/test/xts/hats/hdf/audio/idl/common/adapter_additional/src/
Daudio_adapter_common_test.cpp705 enum AudioPortPassthroughMode mode; variable
706 int32_t ret = adapter_->GetPassthroughMode(adapter_, &port, &mode);
723 enum AudioPortPassthroughMode mode = PORT_PASSTHROUGH_LPCM; variable
725 ret = adapter_->SetPassthroughMode(adapter_, &port, mode);
1203 enum AudioPortPassthroughMode mode = PORT_PASSTHROUGH_LPCM; variable
1204 int32_t ret = adapter_->SetPassthroughMode(adapter_, &port, mode);
1219 enum AudioPortPassthroughMode mode = PORT_PASSTHROUGH_RAW; variable
1220 int32_t ret = adapter_->SetPassthroughMode(adapter_, &port, mode);
1235 enum AudioPortPassthroughMode mode = PORT_PASSTHROUGH_HBR2LBR; variable
1236 int32_t ret = adapter_->SetPassthroughMode(adapter_, &port, mode);
[all …]
/test/xts/acts/storage/storagefileiojstest/src/main/js/test/module_fileio/members/
DfdopenStream.test.js38 let mode = 'r+';
39 let fp = fileio.fdopenStreamSync(fd, mode);
64 let mode = 'r+';
65 let fp = fileio.fdopenStreamSync(fd, mode);
87 let mode = 'r+';
88 let fp = await fileio.fdopenStream(fd, mode);
117 let mode = 'r+';
118 fileio.fdopenStream(fd, mode, function (err, fp) {
/test/xts/acts/arkui/ace_ets_test/entry/src/main/ets/MainAbility/pages/
DPanel.ets41 .mode(PanelMode.Half)
47 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
59 .mode(PanelMode.Mini)
65 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
77 .mode(PanelMode.Full)
83 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
/test/xts/dcts/distributedhardware/distributedscreentest/
Dtest.cpp58 int QueryRemoteScreenInfo(int mode) in QueryRemoteScreenInfo() argument
60 if (mode != 0) { in QueryRemoteScreenInfo()
92 int StartMirror(int mode) in StartMirror() argument
94 if (mode != 0) { in StartMirror()
133 int StopMirror(int mode) in StopMirror() argument
135 if (mode != 0) { in StopMirror()
169 int StartExpand(int mode) in StartExpand() argument
171 if (mode != 0) { in StartExpand()
207 int StopExpand(int mode) in StopExpand() argument
209 if (mode != 0) { in StopExpand()
[all …]
Ddecoder_demo.h97 int StartMirror(int mode);
98 int StopMirror(int mode);
99 int StartExpand(int mode);
100 int StopExpand(int mode);
101 int CreateWindow(int mode);
102 int QueryRemoteDeviceInfo(int mode);
103 int QueryRemoteScreenInfo(int mode);
/test/xts/acts/security/cryptoFramework/js_api_test_oh41/src/main/ets/test/utils/symmetric/
DpublicSymmetricPromise.ets39 async function initCipher(cipherGenerator: crypto.Cipher, mode: crypto.CryptoMode,
42 cipherGenerator.init(mode, key, params)
44 console.log("[Promise]cipherGenerator init success! mode is : " + mode);
48 console.error("[Promise]cipherGenerator init failed. error is " + err + "mode is " + mode);
54 async function updateCipher(cipherGenerator: crypto.Cipher, mode: crypto.CryptoMode,
59 console.log("[Promise]cipherGenerator update success! mode is : " + mode);
63 … console.error("[Promise]cipherGenerator update failed. error is " + err + "mode is " + mode);
69 async function doFinalCipher(cipherGenerator: crypto.Cipher, mode: crypto.CryptoMode,
74 console.log("[Promise]cipherGenerator doFinal success! mode is : " + mode);
78 … console.error("[Promise]cipherGenerator doFinal failed. error is " + err + "mode is " + mode);
DpublicSymmetricCallback.ets39 async function initCipher(cipherGenerator: crypto.Cipher, mode: crypto.CryptoMode,
42 cipherGenerator.init(mode, key, params, (err) => {
44 console.error("[Callback]cipherGenerator init failed. error is " + err + "mode is " + mode);
47 console.log("[Callback]cipherGenerator init success! mode is : " + mode);
54 async function updateCipher(cipherGenerator: crypto.Cipher, mode: crypto.CryptoMode,
59 … console.error("[Callback]cipherGenerator update failed. error is " + err + "mode is " + mode);
62 console.log("[Callback]cipherGenerator update success! mode is : " + mode);
69 async function doFinalCipher(cipherGenerator: crypto.Cipher, mode: crypto.CryptoMode,
74 … console.error("[Callback]cipherGenerator doFinal failed. error is " + err + "mode is " + mode);
77 console.log("[Callback]cipherGenerator doFinal success! mode is : " + mode);
/test/xts/acts/telephony/telephonyjstest/netmanager_http/entry/src/main/ets/MainAbility/pages/
DPanel.ets49 .mode(PanelMode.Half)
55 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
67 .mode(PanelMode.Mini)
73 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
85 .mode(PanelMode.Full)
91 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
/test/xts/acts/telephony/telephonyjstest/observer/entry/src/main/ets/MainAbility/pages/
DPanel.ets49 .mode(PanelMode.Half)
55 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
67 .mode(PanelMode.Mini)
73 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
85 .mode(PanelMode.Full)
91 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
/test/xts/acts/telephony/telephonyjstest/radiostatistic/entry/src/main/ets/MainAbility/pages/
DPanel.ets49 .mode(PanelMode.Half)
55 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
67 .mode(PanelMode.Mini)
73 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
85 .mode(PanelMode.Full)
91 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
/test/xts/acts/telephony/telephonyjstest/netmanager_socket/entry/src/main/ets/MainAbility/pages/
DPanel.ets49 .mode(PanelMode.Half)
55 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
67 .mode(PanelMode.Mini)
73 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
85 .mode(PanelMode.Full)
91 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
/test/xts/acts/arkui/ace_ets_standard/entry/src/main/ets/MainAbility/pages/
DPanel.ets49 .mode(PanelMode.Half)
55 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
67 .mode(PanelMode.Mini)
73 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
85 .mode(PanelMode.Full)
91 console.info(`width:${value.width},height:${value.height},mode:${value.mode}`)
/test/xts/acts/security/cryptoFramework/js_api10_test_oh41/src/main/ets/test/utils/cipher/
DcipherAsyCallbackFunc.ets20 async function initCipher(cipherGenerator: cpFw.Cipher, mode: cpFw.CryptoMode, key: cpFw.Key, param…
23 cipherGenerator.init(mode, key, params, (err) => {
25 … console.error("[Callback]cipherGenerator init failed. error is " + err + ". mode is " + mode);
28 console.log("[Callback]cipherGenerator init succeed! mode is : " + mode);
35 async function doFinalCipher(cipherGenerator: cpFw.Cipher, mode: cpFw.CryptoMode, dataBlob: cpFw.Da…
39 … console.error("[Callback]cipherGenerator doFinal failed. error is " + err + ". mode is " + mode);
42 console.log("[Callback]cipherGenerator doFinal succeed! mode is : " + mode);
/test/xts/acts/arkui/ace_ets_component_completion/ace_ets_component_wholeCompletion/src/main/ets/test/
DnavigationType.test.ets49 let mode = obj.$attrs.mode
53 expect(mode).assertEqual("NavigationMode.AUTO");
75 let mode = obj.$attrs.mode
79 expect(mode).assertEqual("NavigationMode.STACK");
101 let mode = obj.$attrs.mode
105 expect(mode).assertEqual("NavigationMode.SPLIT");
127 let mode = obj.$attrs.mode
131 expect(mode).assertEqual("NavigationMode.AUTO");
152 let mode = obj.$attrs.mode
156 expect(mode).assertEqual("NavigationMode.SPLIT");
[all …]
/test/xts/acts/arkui/ace_ets_component_five/entry/src/main/ets/MainAbility/pages/
Dslider.ets69 .onChange((value: number, mode: SliderChangeMode) => {
71 console.info('value:' + value + 'mode:' + mode.toString())
92 .onChange((value: number, mode: SliderChangeMode) => {
94 console.info('value:' + value + 'mode:' + mode.toString())
116 .onChange((value: number, mode: SliderChangeMode) => {
118 console.info('value:' + value + 'mode:' + mode.toString())
140 .onChange((value: number, mode: SliderChangeMode) => {
142 console.info('value:' + value + 'mode:' + mode.toString())
/test/xts/acts/multimedia/camera/camera_ndk_test/src/main/cpp/
Dcamera_manager_ndk.h105 Camera_ErrorCode HasFlashFn(uint32_t mode);
139 Camera_ErrorCode SessionIsFlashModeSupported(uint32_t mode);
141 Camera_ErrorCode SessionSetFlashMode(uint32_t mode);
143 Camera_ErrorCode SessionIsExposureModeSupported(uint32_t mode);
145 Camera_ErrorCode SessionSetExposureMode(uint32_t mode);
152 Camera_ErrorCode SessionIsFocusModeSupported(uint32_t mode);
154 Camera_ErrorCode SessionSetFocusMode(uint32_t mode);
162 Camera_ErrorCode SessionIsVideoStabilizationModeSupported(uint32_t mode);
164 Camera_ErrorCode SessionSetVideoStabilizationMode(uint32_t mode);
/test/xts/acts/sensors/miscdevice_standard/src/main/js/test/
DVibrator_old.test.js69 mode: 'long', property
92 mode: 'short', property
115 mode: 'short', property
135 mode: 'short', property
170 mode: 'long', property
191 mode: 'short', property
207 mode: 'short', property
217 mode: 'short', property
252 mode: 'short', property
/test/xts/acts/global/crossplatform/resourcemanageretstest/src/main/ets/test/
DresourceManager.test.ets235 * @tc.name test getString method in callback mode
236 * @tc.desc get the string in callback mode
253 * @tc.name test getString method in promise mode
254 * @tc.desc get the string in promise mode
272 * @tc.name test getString method in callback mode
273 * @tc.desc get the string in callback mode
289 * @tc.name test getString method in callback mode
290 * @tc.desc get the string in callback mode
319 * @tc.name test getString method in callback mode
320 * @tc.desc get the string in callback mode
[all …]
/test/xts/acts/communication_lite/dsoftbus_hal/src/
Ddiscovery_service_test.c53 .mode = DISCOVER_MODE_ACTIVE,
65 .mode = DISCOVER_MODE_ACTIVE,
75 .mode = DISCOVER_MODE_ACTIVE,
85 .mode = DISCOVER_MODE_ACTIVE,
178 .mode = DISCOVER_MODE_ACTIVE,
204 testInfo.mode = (DiscoverMode)(DISCOVER_MODE_ACTIVE + 1);
207 testInfo.mode = DISCOVER_MODE_ACTIVE;
250 .mode = DISCOVER_MODE_ACTIVE,
274 testInfo.mode = (DiscoverMode)(DISCOVER_MODE_ACTIVE + 1);
277 testInfo.mode = DISCOVER_MODE_ACTIVE;
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/
Dpanel.ets23 @State mode: PanelMode = PanelMode.Full
50 this.mode = PanelMode.Half
59 .mode(this.mode)
64 .onChange((width: number, height: number, mode: PanelMode) => {
65 Log.showInfo(TAG, `width:${width},height:${height},mode:${mode}`)
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/
Dpanel_y.ets23 @State mode: PanelMode = PanelMode.Full
50 this.mode = PanelMode.Half
60 .mode(this.mode)
66 .onChange((width: number, height: number, mode: PanelMode) => {
67 Log.showInfo(TAG, `width:${width},height:${height},mode:${mode}`)
/test/xts/dcts/distributedhardware/distributedcameratest/
Ddcamera_hdf_demo.h96 RetCode CaptureON(const int streamId, const int captureId, CaptureMode mode);
98 RetCode CaptureOff(const int captureId, const CaptureMode mode);
100 RetCode SetAwbMode(const int mode) const;
103 RetCode SetMetadataAe(uint8_t mode);
104 RetCode SetMetadataMeter(uint8_t mode);
105 RetCode SetMetadataFlash(uint8_t mode);
106 RetCode SetMetadataMirror(uint8_t mode);
107 RetCode SetMetadataJpeg(uint8_t mode);
108 RetCode SetMetadataAf(uint8_t mode);
109 RetCode SetMetadataFace(uint8_t mode);
[all …]

12345678910>>...20