text
stringlengths
1
24.5M
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JInspectorFlags.h" #include <jsinspector-modern/InspectorFlags.h> namespace facebook::react::jsinspector_modern { bo...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> namespace facebook::react::jsinspector_modern { /** * JNI wrapper for `jsinspector_mode...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JInspectorNetworkReporter.h" #include <react/networking/NetworkReporter.h> #include <cstddef> #include <string> #ifde...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> namespace facebook::react::jsinspector_modern { class JInspectorNetworkReporter : public...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JCxxInspectorPackagerConnection.h" #include "JCxxInspectorPackagerConnectionWebSocketDelegate.h" #include "JFrameTiming...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <jsi/jsi.h> #include <react/renderer/core/EventBeat.h> #include <react/renderer/uimanager/primitives.h> #include "Andro...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <react/renderer/core/EventBeat.h> #include "EventBeatManager.h" namespace facebook::react { class Andro...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once // This header exists for backwards compatibility with libraries importing // <react/fabric/Binding.h> #include "Fa...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ComponentFactory.h" #include <android/log.h> #include <fbjni/fbjni.h> #include <jsi/jsi.h> #include <react/renderer/com...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <react/renderer/componentregistry/ComponentDescriptorFactory.h> #include <react/r...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "CoreComponentsRegistry.h" #include <android/log.h> #include <react/renderer/componentregistry/ComponentDescriptorRegi...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <react/renderer/componentregistry/ComponentDescriptorProviderRegistry.h> namespace facebook::react::CoreC...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "EventBeatManager.h" using namespace facebook::jni; namespace facebook::react { void EventBeatManager::initHybrid(jni...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <mutex> #include <unordered_set> #include <fbjni/fbjni.h> namespace facebook::react { class EventBeatMa...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "EventEmitterWrapper.h" #include <fbjni/fbjni.h> #include <utility> using namespace facebook::jni; namespace facebook...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <react/jni/ReadableNativeMap.h> #include <react/renderer/core/EventEmitter.h> na...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "FabricMountingManager.h" #include "EventEmitterWrapper.h" #include "MountItem.h" #include "StateWrapperImpl.h" #inclu...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <mutex> #include <unordered_map> #include <unordered_set> #include <fbjni/fbjni.h> #include <react/fabric...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "FabricUIManagerBinding.h" #include "AndroidEventBeat.h" #include "ComponentFactory.h" #include "EventBeatManager.h" #i...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <memory> #include <mutex> #include <shared_mutex> #include <unordered_map> #include <fbjni/fbjni.h> #incl...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "FocusOrderingHelper.h" #include <android/log.h> #include <react/renderer/uimanager/UIManager.h> namespace facebook::re...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <react/renderer/uimanager/UIManager.h> #include "FabricUIManagerBinding.h" namespace facebook::react { enum class Focu...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JFabricUIManager.h" #include "FabricUIManagerBinding.h" namespace facebook::react { FabricUIManagerBinding* JFabricU...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> namespace facebook::react { class FabricUIManagerBinding; class JFabricUIManager : publ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "MountItem.h" namespace facebook::react { CppMountItem CppMountItem::CreateMountItem(const ShadowView& shadowView) { ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <react/renderer/mounting/ShadowView.h> namespace facebook::react { struct JMoun...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <fbjni/fbjni.h> #include "ComponentFactory.h" #include "EventBeatManager.h" #include "EventEmitterWrapper.h" #include "...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "StateWrapperImpl.h" #include <fbjni/fbjni.h> #include <react/featureflags/ReactNativeFeatureFlags.h> #include <react/jn...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <react/common/mapbuffer/JReadableMapBuffer.h> #include <react/jni/ReadableNativeM...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "SurfaceHandlerBinding.h" #include <react/renderer/scheduler/Scheduler.h> namespace facebook::react { SurfaceHandlerBi...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <shared_mutex> #include <fbjni/fbjni.h> #include <react/jni/ReadableNativeMap.h> #include <react/renderer...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @generated SignedSource<<5e4e22e976ce1724191c7b7e381ea5a1>> */ /** * IMPORTANT: Do NOT modify this file directly. * * To ch...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @generated SignedSource<<1cb8ed4a72e9d2b8dd34694485704f60>> */ /** * IMPORTANT: Do NOT modify this file directly. * * To ch...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <fbjni/fbjni.h> #include "JReactNativeFeatureFlagsCxxInterop.h" JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* /*...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <fbjni/fbjni.h> #include <string> namespace facebook { namespace jsi { namespace jni { namespace jni = ::facebook::jni...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "HermesSamplingProfiler.h" #include <hermes/hermes.h> namespace facebook::jsi::jni { void HermesSamplingProfiler::ena...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #ifndef HERMESSAMPLINGPROFILER_H_ #define HERMESSAMPLINGPROFILER_H_ #include <fbjni/fbjni.h> #include <jsi/jsi.h> namespace fac...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "HermesSamplingProfiler.h" JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* /*unused*/) { return facebook::jni::in...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <HermesExecutorFactory.h> #include <android/log.h> #include <fbjni/fbjni.h> #include <glog/logging.h> #include <hermes/P...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "CatalystInstanceImpl.h" #include "ReactInstanceManagerInspectorTarget.h" #include <fstream> #include <memory> #include...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <memory> #include <string> #include <ReactCommon/CallInvokerHolder.h> #include <ReactCommon/NativeMethodCallInvokerHold...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> namespace facebook::react { struct JNativeModule : jni::JavaClass<JNativeModule> { con...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "InspectorNetworkRequestListener.h" #include "SafeReleaseJniRef.h" #include <utility> using namespace facebook::jni; u...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <jsinspector-modern/HostTarget.h> #include <jsinspector-modern/NetworkIOAgent.h> ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JavaModuleWrapper.h" #include <glog/logging.h> #include <cxxreact/CxxNativeModule.h> #include <cxxreact/Instance.h> #...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <cxxreact/NativeModule.h> #include <fbjni/fbjni.h> #include <optional> #include "MethodInvoker.h" #ifnde...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <memory> #include <cxxreact/JSExecutor.h> #include <fbjni/fbjni.h> #ifndef RCT_REMOVE_LEGACY_ARCH namespace facebook:...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <memory> #include <fbjni/fbjni.h> #include <folly/dynamic.h> #include "NativeArray.h" namespace faceboo...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JDynamicNative.h" #include "ReadableNativeArray.h" #include "ReadableNativeMap.h" using namespace facebook::jni; name...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "NativeCommon.h" #include "ReadableNativeArray.h" #include "ReadableNativeMap.h" #include <fbjni/fbjni.h>...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JExecutor.h" namespace facebook::react { void JExecutor::execute(jni::alias_ref<jni::JRunnable::javaobject> runnable)...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/NativeRunnable.h> #include <fbjni/fbjni.h> namespace facebook::react { struct JExecutor : public ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JMessageQueueThread.h" #include <condition_variable> #include <mutex> #include <fbjni/NativeRunnable.h> #include <fbj...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <functional> #include <cxxreact/MessageQueueThread.h> #include <fbjni/fbjni.h> namespace facebook::react...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JniJSModulesUnbundle.h" #include <react/debug/react_native_assert.h> #include <libgen.h> #include <sys/endian.h> #inc...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <memory> #include <android/asset_manager.h> #include <cxxreact/JSModulesUnbundle.h> #ifndef RCT_REMOVE_L...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JReactCxxErrorHandler.h" #include <utility> using namespace facebook::react; void JReactCxxErrorHandler::handleError...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <string> namespace facebook::react { class JReactCxxErrorHandler : public jni::...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JReactMarker.h" #include <cxxreact/ReactMarker.h> #include <fbjni/fbjni.h> #include <glog/logging.h> #include <mutex> ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <string> #include <cxxreact/ReactMarker.h> namespace facebook::react { class J...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JReactSoftExceptionLogger.h" #include <utility> using namespace facebook::react; void JReactSoftExceptionLogger::log...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <string> namespace facebook::react { class JReactSoftExceptionLogger : public j...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JRuntimeExecutor.h" #include <utility> namespace facebook::react { JRuntimeExecutor::JRuntimeExecutor(RuntimeExecuto...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <ReactCommon/RuntimeExecutor.h> #include <fbjni/fbjni.h> namespace facebook::react { class JRuntimeExecu...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JRuntimeScheduler.h" #include <utility> namespace facebook::react { JRuntimeScheduler::JRuntimeScheduler( std::w...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <react/renderer/runtimescheduler/RuntimeScheduler.h> namespace facebook::react {...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JSLoader.h" #include <android/asset_manager_jni.h> #include <cxxreact/JSBigString.h> #include <cxxreact/JSBundleType.h...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <string> #include <android/asset_manager.h> #include <fbjni/fbjni.h> namespace facebook::react { class ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JSLogging.h" #include <android/log.h> namespace facebook::react { void reactAndroidLoggingHook( const std::strin...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <string> namespace facebook::react { void reactAndroidLoggingHook(const std::string &message, unsigned i...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> namespace facebook::react { /** * Helper for constructing a JWeakReference. \see JWeakR...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "MethodInvoker.h" #include <glog/logging.h> #include <cxxreact/CxxNativeModule.h> #include <cxxreact/SystraceSection.h...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <vector> #include <cxxreact/JSExecutor.h> #include <fbjni/fbjni.h> #include <folly/dynamic.h> #ifndef RC...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ModuleRegistryBuilder.h" #include <glog/logging.h> #include <memory> #include <string> #include <cxxreact/CxxNativeMo...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <string> #include <cxxreact/CxxModule.h> #include <cxxreact/ModuleRegistry.h> #include <fbjni/fbjni.h> #include "CxxMo...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "NativeArray.h" #include <folly/json.h> using namespace facebook::jni; namespace facebook::react { void NativeArray:...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <folly/dynamic.h> #include "NativeCommon.h" namespace facebook::react { class ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "NativeCommon.h" using namespace facebook::jni; namespace facebook::react { namespace exceptions { const char* gUnexp...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <folly/dynamic.h> #ifndef RN_EXPORT #define RN_EXPORT __attribute__((visibility(...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "NativeMap.h" #include <folly/json.h> using namespace facebook::jni; namespace facebook::react { local_ref<jstring> ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <folly/dynamic.h> #include "NativeCommon.h" namespace facebook::react { class ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <fbjni/fbjni.h> #include "JCallback.h" #include "JDynamicNative.h" #include "JReactMarker.h" #include "NativeArray.h" #i...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <glog/logging.h> #include <fb/glog_init.h> #include <fbjni/fbjni.h> #include "CatalystInstanceImpl.h" #include "Inspec...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ReactInstanceManagerInspectorTarget.h" #include "SafeReleaseJniRef.h" #include <fbjni/NativeRunnable.h> #include <jsin...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <jsinspector-modern/HostTarget.h> #include <jsinspector-modern/NetworkIOAgent.h> ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ReadableNativeArray.h" #include "ReadableNativeMap.h" using namespace facebook::jni; namespace facebook::react { vo...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "NativeArray.h" #include "NativeCommon.h" #include "NativeMap.h" namespace facebook::react { struct Rea...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ReadableNativeMap.h" using namespace facebook::jni; namespace facebook::react { void ReadableNativeMap::mapException...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <folly/dynamic.h> #include <folly/json.h> #include <optional> #include "NativeCo...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <react/jni/SafeReleaseJniRef.h> namespace facebook::react { void ensureThreadDurationJNIEnvAttached() { // Attaching...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <fbjni/fbjni.h> #include <type_traits> #include <utility> namespace facebook::react { /** * Ensures that the current...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "TransformHelper.h" #include <react/renderer/components/view/BaseViewProps.h> #include <react/renderer/components/view/...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> namespace facebook::react { class TransformHelper : public jni::JavaClass<TransformHelpe...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "WritableNativeArray.h" #include "ReadableNativeMap.h" using namespace facebook::jni; namespace facebook::react { Wr...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <folly/dynamic.h> #include <folly/json.h> #include "ReadableNativeArray.h" name...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "WritableNativeMap.h" using namespace facebook::jni; namespace facebook::react { WritableNativeMap::WritableNativeMap...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <folly/dynamic.h> #include <folly/json.h> #include "ReadableNativeArray.h" #incl...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JReadableMapBuffer.h" namespace facebook::react { jni::local_ref<jni::JByteBuffer> JReadableMapBuffer::importByteBuff...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <react/debug/react_native_assert.h> #include <react/renderer/mapbuffer/MapBuffer....
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JWritableMapBuffer.h" #include <react/renderer/mapbuffer/MapBufferBuilder.h> namespace facebook::react { MapBuffer JW...