Home
last modified time | relevance | path

Searched refs:appData (Results 1 - 25 of 31) sorted by relevance

12

/foundation/multimedia/av_session/services/session/adapter/
H A Dapp_manager_adapter.cpp116 for (const auto& appData : appProcessData.appDatas) { in HandleAppStateChanged()
117 serviceCallbackForAppStateChange_(appData.uid, static_cast<int>(appProcessData.appState)); in HandleAppStateChanged()
122 for (const auto& appData : appProcessData.appDatas) { in HandleAppStateChanged()
123 SLOGI("HandleAppStateChanged remove for uid=%{public}d", static_cast<int>(appData.uid)); in HandleAppStateChanged()
124 RemoveObservedApp(appData.uid); in HandleAppStateChanged()
131 for (const auto& appData : appProcessData.appDatas) { in HandleAppStateChanged()
133 appData.appName.c_str(), appData.uid, appProcessData.pid, appProcessData.appState); in HandleAppStateChanged()
134 auto it = observedAppUIDs_.find(appData.uid); in HandleAppStateChanged()
138 appNeedHandleMap.insert(std::make_pair(appData in HandleAppStateChanged()
[all...]
/foundation/communication/nfc/frameworks/js/napi/tag/
H A Dnfc_napi_tagb.cpp40 std::string appData = ""; in GetRespAppData() local
45 appData = nfcBTagPtr->GetAppData(); in GetRespAppData()
47 ConvertStringToNumberArray(env, result, appData); in GetRespAppData()
H A Dnfc_napi_tag.cpp264 std::string appData = ""; in ParseTechAndExtraFromJsTagInfo() local
265 ParseString(env, appData, extraKeyValue); in ParseTechAndExtraFromJsTagInfo()
266 pacMap.PutStringValue(KITS::TagInfo::APP_DATA, appData); in ParseTechAndExtraFromJsTagInfo()
/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_avcontroller_callback.cpp221 std::shared_ptr<DataContextForThreadSafe> appData(static_cast<DataContextForThreadSafe*>(data), in ThreadSafeCallback()
229 if (appData->getter) { in ThreadSafeCallback()
231 appData->getter(env, argc, argv); in ThreadSafeCallback()
234 SLOGI("queue uv_after_work_cb with state %{public}d", static_cast<int>(appData->state)); in ThreadSafeCallback()
235 if (!*appData->isValid) { in ThreadSafeCallback()
236 SLOGE("ThreadSafeCallback failed for appData is invalid."); in ThreadSafeCallback()
242 if (!appData->checkCallbackValid()) { in ThreadSafeCallback()
246 napi_get_reference_value(env, appData->method, &function); in ThreadSafeCallback()
248 if (!appData->checkCallbackValid()) { in ThreadSafeCallback()
256 SLOGD("do ThreadSafeCallback done with state %{public}d", static_cast<int>(appData in ThreadSafeCallback()
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/data_ability/
H A Ddata_ability_manager.cpp347 const AppData &appData) { return appData.appName == appName && appData.uid == uid; }; in OnAppStateChanged()
348 auto iter = std::find_if(info.appData.begin(), info.appData.end(), isExist); in OnAppStateChanged()
349 if (iter != info.appData.end()) { in OnAppStateChanged()
365 const AppData &appData) { return appData.appName == appName && appData.uid == uid; }; in OnAppStateChanged()
366 auto iter = std::find_if(info.appData in OnAppStateChanged()
[all...]
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/
H A Dhdi_codec.h90 int32_t EmptyBufferDone(int64_t appData, const OmxCodecBuffer &buffer) override;
91 int32_t FillBufferDone(int64_t appData, const OmxCodecBuffer &buffer) override;
H A Dhdi_codec.cpp328 int32_t HdiCodec::HdiCallback::EmptyBufferDone(int64_t appData, const OmxCodecBuffer &buffer) in EmptyBufferDone() argument
336 int32_t HdiCodec::HdiCallback::FillBufferDone(int64_t appData, const OmxCodecBuffer &buffer) in FillBufferDone() argument
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/frame_rate_manager/
H A Dhgm_vsync_generator_controller.cpp80 const std::vector<std::pair<FrameRateLinkerId, uint32_t>>& appData, uint64_t targetTime, bool isNeedUpdateAppOffset) in ChangeGeneratorRate()
94 VSyncGenerator::ListenerRefreshRateData listenerRate = {.cb = appController_, .refreshRates = appData}; in ChangeGeneratorRate()
79 ChangeGeneratorRate(const uint32_t controllerRate, const std::vector<std::pair<FrameRateLinkerId, uint32_t>>& appData, uint64_t targetTime, bool isNeedUpdateAppOffset) ChangeGeneratorRate() argument
H A Dhgm_vsync_generator_controller.h37 const std::vector<std::pair<FrameRateLinkerId, uint32_t>>& appData,
/foundation/communication/nfc/test/unittest/services/tags_test/
H A Dnfcb_tag_test.cpp120 std::string appData = nfcB->GetAppData(); in HWTEST_F() local
121 ASSERT_TRUE(strcmp(appData.c_str(), TEST_APP_DATA) == 0); in HWTEST_F()
/foundation/communication/nfc/services/src/utils/
H A Dapp_state_observer.cpp168 for (AppExecFwk::AppStateData appData : appList) { in IsForegroundApp()
169 if (bundleName.compare(appData.bundleName) == 0) { in IsForegroundApp()
/foundation/multimedia/media_foundation/engine/plugin/plugins/codec_adapter/
H A Dcodec_manager.h39 const Plugin::Any& appData, const Plugin::Any& callbacks) = 0;
H A Dhdi_codec_adapter.h66 static int32_t EmptyBufferDone(CodecCallbackType* self, int64_t appData, const OmxCodecBuffer* omxBuffer);
67 static int32_t FillBufferDone(CodecCallbackType* self, int64_t appData, const OmxCodecBuffer* omxBuffer);
H A Dhdi_codec_adapter.cpp55 MEDIA_LOG_I("EventHandler-callback Start, appData: " PUBLIC_LOG_D64 ", eEvent: " PUBLIC_LOG_D32 in EventHandler()
57 info->appData, static_cast<int>(event), info->data1, info->data2); in EventHandler()
58 auto hdiAdapter = reinterpret_cast<HdiCodecAdapter*>(info->appData); in EventHandler()
64 int32_t HdiCodecAdapter::EmptyBufferDone(CodecCallbackType* self, int64_t appData, const OmxCodecBuffer* omxBuffer) in EmptyBufferDone() argument
67 auto hdiAdapter = reinterpret_cast<HdiCodecAdapter*>(appData); in EmptyBufferDone()
77 int32_t HdiCodecAdapter::FillBufferDone(CodecCallbackType* self, int64_t appData, const OmxCodecBuffer* omxBuffer) in FillBufferDone() argument
81 auto hdiAdapter = reinterpret_cast<HdiCodecAdapter*>(appData); in FillBufferDone()
H A Dhdi_codec_manager.h34 const Plugin::Any& appData, const Plugin::Any& callbacks) override;
H A Dhdi_codec_manager.cpp47 const Plugin::Any& appData, const Plugin::Any& callbacks) in CreateComponent()
57 Plugin::AnyCast<int64_t>(appData), Plugin::AnyCast<CodecCallbackType*>(callbacks)); in CreateComponent()
46 CreateComponent(const Plugin::Any& component, uint32_t& id, const std::string& name, const Plugin::Any& appData, const Plugin::Any& callbacks) CreateComponent() argument
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dapp_scheduler.cpp305 void AppScheduler::OnAppStateChanged(const AppExecFwk::AppProcessData &appData) in OnAppStateChanged() argument
311 for (const auto &list : appData.appDatas) { in OnAppStateChanged()
315 info.appData.push_back(data); in OnAppStateChanged()
317 info.processName = appData.processName; in OnAppStateChanged()
318 info.state = static_cast<AppState>(appData.appState); in OnAppStateChanged()
319 info.pid = appData.pid; in OnAppStateChanged()
H A Dability_connect_manager.cpp868 const AppData &appData) { return appData.appName == appName && appData.uid == uid; }; in OnAppStateChanged()
869 auto iter = std::find_if(info.appData.begin(), info.appData.end(), isExist); in OnAppStateChanged()
870 if (iter != info.appData.end()) { in OnAppStateChanged()
882 auto isExist = [&appName, &uid](const AppData &appData) { in OnAppStateChanged()
883 return appData.appName == appName && appData.uid == uid; in OnAppStateChanged()
885 auto iter = std::find_if(info.appData in OnAppStateChanged()
[all...]
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_running_manager.cpp800 AppStateData appData; in GetForegroundApplications() local
801 appData.bundleName = appRecord->GetBundleName(); in GetForegroundApplications()
802 appData.uid = appRecord->GetUid(); in GetForegroundApplications()
803 appData.pid = appRecord->GetPriorityObject()->GetPid(); in GetForegroundApplications()
804 appData.state = static_cast<int32_t>(ApplicationState::APP_STATE_FOREGROUND); in GetForegroundApplications()
806 appData.accessTokenId = appInfo ? appInfo->accessTokenId : 0; in GetForegroundApplications()
807 appData.extensionType = appRecord->GetExtensionType(); in GetForegroundApplications()
808 appData.isFocused = appRecord->GetFocusFlag(); in GetForegroundApplications()
809 appData.appIndex = appRecord->GetAppIndex(); in GetForegroundApplications()
810 list.push_back(appData); in GetForegroundApplications()
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dapp_scheduler.h73 std::vector<AppData> appData; member
581 virtual void OnAppStateChanged(const AppExecFwk::AppProcessData &appData) override;
/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/wifistaserver_fuzzer/
H A Dwifistaserver_fuzzer.cpp359 AppExecFwk::AppStateData appData; in StaInterfaceFuzzTest() local
362 pStaInterface->HandleForegroundAppChangedAction(appData); in StaInterfaceFuzzTest()
461 AppExecFwk::AppStateData appData; in StaServiceFuzzTest() local
466 pStaService->HandleForegroundAppChangedAction(appData); in StaServiceFuzzTest()
/foundation/communication/nfc/services/src/nci_adapter/nci_native_default/src/
H A Dtag_host.cpp331 std::string appData = poll.substr(0, (NCI_APP_DATA_LENGTH * KITS::HEX_BYTE_LEN)); in DoTargetTypeIso144433b() local
332 pacMap.PutStringValue(KITS::TagInfo::APP_DATA, appData); in DoTargetTypeIso144433b()
333 DebugLog("ParseTechExtras::TARGET_TYPE_ISO14443_3B APP_DATA: %{public}s", appData.c_str()); in DoTargetTypeIso144433b()
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/src/appmgr/
H A Dmock_app_scheduler.cpp122 void AppScheduler::OnAppStateChanged(const AppExecFwk::AppProcessData& appData) in OnAppStateChanged() argument
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/hardware/imagecodec/
H A Dimage_codec.h388 int32_t EmptyBufferDone(int64_t appData, const HdiCodecNamespace::OmxCodecBuffer& buffer);
389 int32_t FillBufferDone(int64_t appData, const HdiCodecNamespace::OmxCodecBuffer& buffer);
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhcodec.h503 int32_t EmptyBufferDone(int64_t appData, const CodecHDI::OmxCodecBuffer& buffer);
504 int32_t FillBufferDone(int64_t appData, const CodecHDI::OmxCodecBuffer& buffer);

Completed in 29 milliseconds

12