/foundation/multimedia/av_session/services/session/server/ |
H A D | background_audio_controller.cpp | 41 AppManagerAdapter::GetInstance().SetAppStateChangeObserver([this](int32_t uid, int32_t pid, bool isBackground) { in Init() 42 SLOGI("set background observe for uid=%{public}d, pid=%{public}d, isBackground=%{public}d", in Init() 43 uid, pid, isBackground); in Init() 44 HandleAppMuteState(uid, pid, isBackground); in Init() 110 void BackgroundAudioController::HandleAppMuteState(int32_t uid, int32_t pid, bool isBackground) in HandleAppMuteState() argument 120 if (isBackground) { in HandleAppMuteState()
|
H A D | background_audio_controller.h | 46 void HandleAppMuteState(int32_t uid, int32_t pid, bool isBackground);
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_image_test.cpp | 406 bool isBackground = false; in HWTEST_F() local 408 image.CanvasDrawImage(canvas, rect, Drawing::SamplingOptions(), isBackground); in HWTEST_F() 409 isBackground = true; in HWTEST_F() 410 image.CanvasDrawImage(canvas, rect, Drawing::SamplingOptions(), isBackground); in HWTEST_F() 426 bool isBackground = false; in HWTEST_F() local 429 image.CanvasDrawImage(canvas, rect, Drawing::SamplingOptions(), isBackground); in HWTEST_F() 431 image.CanvasDrawImage(canvas, rect, Drawing::SamplingOptions(), isBackground); in HWTEST_F() 433 image.CanvasDrawImage(canvas, rect, Drawing::SamplingOptions(), isBackground); in HWTEST_F() 435 image.CanvasDrawImage(canvas, rect, Drawing::SamplingOptions(), isBackground); in HWTEST_F() 437 image.CanvasDrawImage(canvas, rect, Drawing::SamplingOptions(), isBackground); in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/ |
H A D | drawable_descriptor.cpp | 129 const std::shared_ptr<Global::Resource::ResourceManager>& resourceMgr, bool isBackground) in PreGetPixelMapFromJsonBuf() 139 if (isBackground) { in PreGetPixelMapFromJsonBuf() 150 DrawableItem& drawableiItem = isBackground ? backgroundItem_ : foregroundItem_; in PreGetPixelMapFromJsonBuf() 237 bool LayeredDrawableDescriptor::GetPixelMapFromJsonBuf(bool isBackground) in GetPixelMapFromJsonBuf() argument 240 if ((isBackground && background_.has_value()) || (!isBackground && foreground_.has_value())) { in GetPixelMapFromJsonBuf() 243 if ((isBackground && backgroundItem_.state_ == Global::Resource::SUCCESS) || in GetPixelMapFromJsonBuf() 244 (!isBackground && foregroundItem_.state_ == Global::Resource::SUCCESS)) { in GetPixelMapFromJsonBuf() 247 LayeredDrawableDescriptor::CreateImageSource(isBackground ? backgroundItem_ : foregroundItem_, errorCode); in GetPixelMapFromJsonBuf() 261 if (isBackground) { in GetPixelMapFromJsonBuf() 128 PreGetPixelMapFromJsonBuf( const std::shared_ptr<Global::Resource::ResourceManager>& resourceMgr, bool isBackground) PreGetPixelMapFromJsonBuf() argument [all...] |
H A D | drawable_descriptor.h | 166 const std::shared_ptr<Global::Resource::ResourceManager>& resourceMgr, bool isBackground); 170 bool GetPixelMapFromJsonBuf(bool isBackground);
|
/foundation/ability/ability_runtime/test/unittest/cj_runtime_test/ |
H A D | cj_mock_runtime.h | 75 void NotifyApplicationState(bool isBackground) override
|
/foundation/ability/ability_runtime/test/unittest/cj_test_runner_test/ |
H A D | cj_mock_runtime.h | 73 void NotifyApplicationState(bool isBackground) override
|
/foundation/filemanagement/app_file_service/tests/mock/backup_ext/include/ |
H A D | js_runtime_mock.h | 36 MOCK_METHOD(void, NotifyApplicationState, (bool isBackground));
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_draw_cmd_test.cpp | 123 bool isBackground = true; in HWTEST_F() local 128 extendImageObject.Playback(canvas, rect, sampling, isBackground); in HWTEST_F() 136 extendImageObjectT.Playback(canvas, rect, sampling, isBackground); in HWTEST_F() 138 extendImageObjectT.Playback(canvas, rect, sampling, isBackground); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | tween_option.h | 163 void SetIsBackground(bool isBackground) in SetIsBackground() argument 165 isBackground_ = isBackground; in SetIsBackground()
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_runtime_test/ |
H A D | mock_runtime.h | 80 void NotifyApplicationState(bool isBackground) override
|
/foundation/ability/ability_runtime/interfaces/inner_api/runtime/include/ |
H A D | runtime.h | 97 virtual void NotifyApplicationState(bool isBackground) = 0;
|
H A D | cj_runtime.h | 49 void NotifyApplicationState(bool isBackground) override {}
|
H A D | js_runtime.h | 90 void NotifyApplicationState(bool isBackground) override;
|
/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | render_box.h | 107 virtual void SetColor(const Color& color, bool isBackground) // add for animation in SetColor() argument 110 if (isBackground) { in SetColor()
|
H A D | rosen_render_box.h | 64 void SetColor(const Color& color, bool isBackground) override;
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_image.cpp | 121 const Drawing::SamplingOptions& samplingOptions, bool isBackground) in CanvasDrawImage() 126 bool isFitMatrixValid = !isBackground && imageFit_ == ImageFit::MATRIX && in CanvasDrawImage() 134 if (!isBackground) { in CanvasDrawImage() 158 if (!isBackground) { in CanvasDrawImage() 120 CanvasDrawImage(Drawing::Canvas& canvas, const Drawing::Rect& rect, const Drawing::SamplingOptions& samplingOptions, bool isBackground) CanvasDrawImage() argument
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsrenderimage_fuzzer/ |
H A D | rsrenderimage_fuzzer.cpp | 202 bool isBackground = GetData<bool>(); in RSImageFuzzTest() local 233 rsImage.CanvasDrawImage(canvas, rect, Drawing::SamplingOptions(), isBackground); in RSImageFuzzTest()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_image.h | 94 const Drawing::SamplingOptions& samplingOptions, bool isBackground = false);
|
/foundation/multimedia/av_session/services/session/server/test/ |
H A D | appmanager_adapter_test.cpp | 51 [] (int32_t uid, int32_t pid, bool isBackground) { in SetUpTestCase()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/ |
H A D | security_ui_extension_pattern.cpp | 174 bool isBackground = state_ == AbilityState::BACKGROUND; in UpdateWant() local 192 if (isBackground) { in UpdateWant()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/ |
H A D | cmd_list.h | 44 const SamplingOptions& sampling, bool isBackground = false) = 0;
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_draw_cmd.cpp | 137 const Drawing::SamplingOptions& sampling, bool isBackground) in Playback() 159 rsImage_->CanvasDrawImage(canvas, rect, sampling, isBackground); in Playback() 164 rsImage_->CanvasDrawImage(canvas, rect, sampling, isBackground); in Playback() 136 Playback(Drawing::Canvas& canvas, const Drawing::Rect& rect, const Drawing::SamplingOptions& sampling, bool isBackground) Playback() argument
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/ |
H A D | lnn_heartbeat_ctrl.c | 114 bool isBackground = g_hbConditionState.backgroundState == SOFTBUS_USER_BACKGROUND; in IsHeartbeatEnable() local 123 isBtOn, isScreenUnlock, isLogIn, g_hbConditionState.hasTrustedRelation, isBackground, isNightMode, isOOBEEnd, in IsHeartbeatEnable() 126 (isLogIn || g_hbConditionState.hasTrustedRelation) && !isBackground && !isNightMode && isOOBEEnd; in IsHeartbeatEnable()
|
/foundation/ability/ability_runtime/test/unittest/runtime_test/ |
H A D | js_runtime_test.cpp | 207 bool isBackground = false; in HWTEST_F() local 208 jsRuntime->NotifyApplicationState(isBackground); in HWTEST_F() 226 bool isBackground = true; in HWTEST_F() local 227 jsRuntime->NotifyApplicationState(isBackground); in HWTEST_F()
|