Benign repos Download

platform_view_android_jni_impl.cc

imports flutter/fml/platform/android/jni_util.himports flutter/fml/platform/android/jni_weak_ref.h
SHA-256001236a15c51588357953b01ca0e74df990b5318ed4996c09f49a66b46a62388
MaleculeMd(In₉)

Evidence

imports flutter/fml/platform/android/jni_util.h lines 1–36
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "flutter/shell/platform/android/platform_view_android_jni_impl.h"
6
7#include <android/hardware_buffer_jni.h>
8#include <android/native_window_jni.h>
9#include <dlfcn.h>
10#include <jni.h>
11#include <memory>
12#include <utility>
13
14#include "unicode/uchar.h"
15
16#include "flutter/common/constants.h"
17#include "flutter/flow/embedded_views.h"
18#include "flutter/fml/mapping.h"
19#include "flutter/fml/native_library.h"
20#include "flutter/fml/platform/android/jni_util.h"
21#include "flutter/fml/platform/android/jni_weak_ref.h"
22#include "flutter/fml/platform/android/scoped_java_ref.h"
23#include "flutter/impeller/toolkit/android/proc_table.h"
24#include "flutter/lib/ui/plugins/callback_cache.h"
25#include "flutter/shell/platform/android/android_shell_holder.h"
26#include "flutter/shell/platform/android/apk_asset_provider.h"
27#include "flutter/shell/platform/android/flutter_main.h"
28#include "flutter/shell/platform/android/jni/platform_view_android_jni.h"
29#include "flutter/shell/platform/android/platform_view_android.h"
30
31#define ANDROID_SHELL_HOLDER \
⋯5 lines
English function-word token "and" lines 167–171
167:61… lptr;
168
169// android.graphics.Path class, methods, and nested classes.
170static fml::jni::ScopedJavaGlobalRef<jclass>* path_class = nullptr;
171static jmet …
English function-word token "with" lines 204–208
204:13… e path or asset manager since we can only spawn with the same
205// AOT.
206//
207// The shell_holder instance must be a pointer address to the current
208// An …
English function-word token "for" lines 263–265
263:46… mmediately. This is needed as a
264 // workaround for https://code.google.com/p/android/issues/detail?id=68174
265 fml::jni::ScopedJavaLocalFrame scope …
English function-word token "have" lines 1196–1203
1196:51… s";
1197 return false;
1198 }
1199
1200 // Ensure we don't have any pending exceptions.
1201 FML_CHECK(fml::jni::CheckException(env));
1202
1203 g_image_get_hardware_buf …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.