summaryrefslogtreecommitdiff
path: root/runtime/contrib/android_benchmark_app/cpp/ndk_main.h
blob: 8f29698701ac36751530156cbf8de72d15e7c0af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/*
 * Copyright (c) 2019 Samsung Electronics Co., Ltd. All Rights Reserved
 *
 * Licensed under the Apache License, Version 2.0 (the License);
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an AS IS BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_ndk_tflbench_MainActivity */

#ifndef _Included_com_ndk_tflbench_MainActivity
#define _Included_com_ndk_tflbench_MainActivity
#ifdef __cplusplus
extern "C" {
#endif
#undef com_ndk_tflbench_MainActivity_BIND_ABOVE_CLIENT
#define com_ndk_tflbench_MainActivity_BIND_ABOVE_CLIENT 8L
#undef com_ndk_tflbench_MainActivity_BIND_ADJUST_WITH_ACTIVITY
#define com_ndk_tflbench_MainActivity_BIND_ADJUST_WITH_ACTIVITY 128L
#undef com_ndk_tflbench_MainActivity_BIND_ALLOW_OOM_MANAGEMENT
#define com_ndk_tflbench_MainActivity_BIND_ALLOW_OOM_MANAGEMENT 16L
#undef com_ndk_tflbench_MainActivity_BIND_AUTO_CREATE
#define com_ndk_tflbench_MainActivity_BIND_AUTO_CREATE 1L
#undef com_ndk_tflbench_MainActivity_BIND_DEBUG_UNBIND
#define com_ndk_tflbench_MainActivity_BIND_DEBUG_UNBIND 2L
#undef com_ndk_tflbench_MainActivity_BIND_EXTERNAL_SERVICE
#define com_ndk_tflbench_MainActivity_BIND_EXTERNAL_SERVICE -2147483648L
#undef com_ndk_tflbench_MainActivity_BIND_IMPORTANT
#define com_ndk_tflbench_MainActivity_BIND_IMPORTANT 64L
#undef com_ndk_tflbench_MainActivity_BIND_NOT_FOREGROUND
#define com_ndk_tflbench_MainActivity_BIND_NOT_FOREGROUND 4L
#undef com_ndk_tflbench_MainActivity_BIND_WAIVE_PRIORITY
#define com_ndk_tflbench_MainActivity_BIND_WAIVE_PRIORITY 32L
#undef com_ndk_tflbench_MainActivity_CONTEXT_IGNORE_SECURITY
#define com_ndk_tflbench_MainActivity_CONTEXT_IGNORE_SECURITY 2L
#undef com_ndk_tflbench_MainActivity_CONTEXT_INCLUDE_CODE
#define com_ndk_tflbench_MainActivity_CONTEXT_INCLUDE_CODE 1L
#undef com_ndk_tflbench_MainActivity_CONTEXT_RESTRICTED
#define com_ndk_tflbench_MainActivity_CONTEXT_RESTRICTED 4L
#undef com_ndk_tflbench_MainActivity_MODE_APPEND
#define com_ndk_tflbench_MainActivity_MODE_APPEND 32768L
#undef com_ndk_tflbench_MainActivity_MODE_ENABLE_WRITE_AHEAD_LOGGING
#define com_ndk_tflbench_MainActivity_MODE_ENABLE_WRITE_AHEAD_LOGGING 8L
#undef com_ndk_tflbench_MainActivity_MODE_MULTI_PROCESS
#define com_ndk_tflbench_MainActivity_MODE_MULTI_PROCESS 4L
#undef com_ndk_tflbench_MainActivity_MODE_NO_LOCALIZED_COLLATORS
#define com_ndk_tflbench_MainActivity_MODE_NO_LOCALIZED_COLLATORS 16L
#undef com_ndk_tflbench_MainActivity_MODE_PRIVATE
#define com_ndk_tflbench_MainActivity_MODE_PRIVATE 0L
#undef com_ndk_tflbench_MainActivity_MODE_WORLD_READABLE
#define com_ndk_tflbench_MainActivity_MODE_WORLD_READABLE 1L
#undef com_ndk_tflbench_MainActivity_MODE_WORLD_WRITEABLE
#define com_ndk_tflbench_MainActivity_MODE_WORLD_WRITEABLE 2L
#undef com_ndk_tflbench_MainActivity_RECEIVER_VISIBLE_TO_INSTANT_APPS
#define com_ndk_tflbench_MainActivity_RECEIVER_VISIBLE_TO_INSTANT_APPS 1L
#undef com_ndk_tflbench_MainActivity_DEFAULT_KEYS_DIALER
#define com_ndk_tflbench_MainActivity_DEFAULT_KEYS_DIALER 1L
#undef com_ndk_tflbench_MainActivity_DEFAULT_KEYS_DISABLE
#define com_ndk_tflbench_MainActivity_DEFAULT_KEYS_DISABLE 0L
#undef com_ndk_tflbench_MainActivity_DEFAULT_KEYS_SEARCH_GLOBAL
#define com_ndk_tflbench_MainActivity_DEFAULT_KEYS_SEARCH_GLOBAL 4L
#undef com_ndk_tflbench_MainActivity_DEFAULT_KEYS_SEARCH_LOCAL
#define com_ndk_tflbench_MainActivity_DEFAULT_KEYS_SEARCH_LOCAL 3L
#undef com_ndk_tflbench_MainActivity_DEFAULT_KEYS_SHORTCUT
#define com_ndk_tflbench_MainActivity_DEFAULT_KEYS_SHORTCUT 2L
#undef com_ndk_tflbench_MainActivity_RESULT_CANCELED
#define com_ndk_tflbench_MainActivity_RESULT_CANCELED 0L
#undef com_ndk_tflbench_MainActivity_RESULT_FIRST_USER
#define com_ndk_tflbench_MainActivity_RESULT_FIRST_USER 1L
#undef com_ndk_tflbench_MainActivity_RESULT_OK
#define com_ndk_tflbench_MainActivity_RESULT_OK -1L
/*
 * Class:     com_ndk_tflbench_MainActivity
 * Method:    getModelName
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_com_ndk_tflbench_MainActivity_getModelName(JNIEnv *, jobject);

/*
 * Class:     com_ndk_tflbench_MainActivity
 * Method:    runInterpreterBenchmark
 * Signature: (Ljava/nio/MappedByteBuffer;)V
 */
JNIEXPORT void JNICALL Java_com_ndk_tflbench_MainActivity_runInterpreterBenchmark(JNIEnv *, jobject,
                                                                                  jobject);

/*
 * Class:     com_ndk_tflbench_MainActivity
 * Method:    runNNAPIBenchmark
 * Signature: (Ljava/nio/MappedByteBuffer;)V
 */
JNIEXPORT void JNICALL Java_com_ndk_tflbench_MainActivity_runNNAPIBenchmark(JNIEnv *, jobject,
                                                                            jobject);

#ifdef __cplusplus
}
#endif
#endif