Home
last modified time | relevance | path

Searched refs:state (Results 1 - 10 of 10) sorted by relevance

/applications/sample/camera/media/
H A Daudio_capture_sample.cpp200 static void TaskQuit(AudioCapturer &audioCap, AppState &state) in TaskQuit() argument
202 if (state == AV_ON) { in TaskQuit()
208 state = AV_OFF; in TaskQuit()
212 static int32_t TaskStop(AudioCapturer &audioCap, AppState &state) in TaskStop() argument
214 if (state == AV_ON) { in TaskStop()
221 state = AV_OFF; in TaskStop()
228 static int32_t TaskStart(AudioCapturer &audioCap, AppState &state) in TaskStart() argument
230 if (state == AV_ON) { in TaskStart()
243 state = AV_ON; in TaskStart()
252 AppState state in RumCmd() local
[all...]
H A Dplayer_sample.cpp614 int32_t state; in RunCmdShow() local
615 ret = sample.adapter->GetPlayerState(state); in RunCmdShow()
619 printf("player current state:%d\n", state); in RunCmdShow()
/applications/standard/app_samples/code/BasicFeature/Native/Audio/entry/src/main/cpp/
H A Daudio.cpp76 OH_AudioStream_State state; in GetRendererState() local
77 OH_AudioRenderer_GetCurrentState(audioRenderer, &state); in GetRendererState()
79 napi_create_int32(env, state, &sum); in GetRendererState()
87 OH_AudioStream_State state; in GetCapturerState() local
88 OH_AudioCapturer_GetCurrentState(audioCapturer, &state); in GetCapturerState()
90 napi_create_int32(env, state, &sum); in GetCapturerState()
422 OH_AudioStream_State state; in AvpGetRendererState() local
423 OH_AudioRenderer_GetCurrentState(audioRendererNormal, &state); in AvpGetRendererState()
425 napi_create_int32(env, state, &sum); in AvpGetRendererState()
515 OH_AudioStream_State state; in AvpVividGetRendererState() local
[all...]
/applications/standard/app_samples/code/DocsSample/Media/Audio/OHAudio/entry/src/main/cpp/
H A Daudio.cpp76 OH_AudioStream_State state; in GetRendererState() local
77 OH_AudioRenderer_GetCurrentState(audioRenderer, &state); in GetRendererState()
79 napi_create_int32(env, state, &sum); in GetRendererState()
87 OH_AudioStream_State state; in GetCapturerState() local
88 OH_AudioCapturer_GetCurrentState(audioCapturer, &state); in GetCapturerState()
90 napi_create_int32(env, state, &sum); in GetCapturerState()
442 OH_AudioStream_State state; in AvpGetRendererState() local
443 OH_AudioRenderer_GetCurrentState(audioRendererNormal, &state); in AvpGetRendererState()
445 napi_create_int32(env, state, &sum); in AvpGetRendererState()
535 OH_AudioStream_State state; in AvpVividGetRendererState() local
[all...]
/applications/sample/camera/gallery/include/
H A Dplayer_ability_slice.h57 void SetCompleteFlag(bool state) in SetCompleteFlag() argument
59 completeFlag_ = state; in SetCompleteFlag()
/applications/standard/app_samples/code/SuperFeature/DistributedAppDev/DistributeCalc/entry/src/main/js/MainAbility/common/
H A DRemoteDeviceModel.js47 changeState(device, state) {
52 if (state === deviceManager.DeviceStateChange.AVAILABLE) {
/applications/sample/camera/setting/setting/src/main/cpp/
H A Dsetting_display_ability_slice.h43 bool OnChange(UICheckBox::UICheckBoxState state) override
H A Dsetting_wifi_ability_slice.h43 bool OnChange(UICheckBox::UICheckBoxState state) override
/applications/standard/app_samples/code/BasicFeature/DeviceManagement/Vibrator/CustomHaptic/hvigor/
H A Dhvigor-wrapper.js3228 }), this.state = {
3230 }, this.options.pattern && (this.state.currentDate = xc(this.options.pattern, kc())), this.filename = this.fileFormatter({
3232 date: this.state.currentDate
3233 }), ["a", "a+", "as", "as+"].includes(this.options.flags) && this._setExistingSizeAndDate(), bc(`constructor: create new file ${this.filename}, state=${JSON.stringify(this.state)}`), this._renewWriteStream()
3239 this.state.currentSize = e.size, this.options.pattern && (this.state.currentDate = xc(this.options.pattern, e.mtime))
3273 bc(`_write: writing chunk. file=${this.currentFileStream.path} state=${JSON.stringify(this.state)} chunk=${e}`), this.currentFileStream.write(e, t, (t => {
3274 this.state
[all...]
/applications/standard/calendardata/hvigor/
H A Dhvigor-wrapper.js2401 }), this.state = {
2403 }, this.options.pattern && (this.state.currentDate = yo(this.options.pattern, mo())), this.filename = this.fileFormatter({
2405 date: this.state.currentDate
2406 }), ["a", "a+", "as", "as+"].includes(this.options.flags) && this._setExistingSizeAndDate(), Do(`constructor: create new file ${this.filename}, state=${JSON.stringify(this.state)}`), this._renewWriteStream()
2412 this.state.currentSize = e.size, this.options.pattern && (this.state.currentDate = yo(this.options.pattern, e.mtime))
2446 Do(`_write: writing chunk. file=${this.currentFileStream.path} state=${JSON.stringify(this.state)} chunk=${e}`), this.currentFileStream.write(e, t, (t => {
2447 this.state
[all...]

Completed in 14 milliseconds