/applications/sample/camera/media/ |
H A D | audio_capture_sample.cpp | 200 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 D | player_sample.cpp | 614 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 D | audio.cpp | 76 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 D | audio.cpp | 76 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 D | player_ability_slice.h | 57 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 D | RemoteDeviceModel.js | 47 changeState(device, state) { 52 if (state === deviceManager.DeviceStateChange.AVAILABLE) {
|
/applications/sample/camera/setting/setting/src/main/cpp/ |
H A D | setting_display_ability_slice.h | 43 bool OnChange(UICheckBox::UICheckBoxState state) override
|
H A D | setting_wifi_ability_slice.h | 43 bool OnChange(UICheckBox::UICheckBoxState state) override
|
/applications/standard/app_samples/code/BasicFeature/DeviceManagement/Vibrator/CustomHaptic/hvigor/ |
H A D | hvigor-wrapper.js | 3228 }), 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 D | hvigor-wrapper.js | 2401 }), 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...] |