Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
liblinphone
Commits
cc5ec631
Commit
cc5ec631
authored
10 years ago
by
jehan
Browse files
Options
Download
Patches
Plain Diff
log_collection_tester on android, delete local ref to avoid 500 local ref limit on android
parent
abe5a194
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
build/android/liblinphone_tester.mk
+0
-1
build/android/liblinphone_tester.mk
tester/liblinphone_tester.c
+1
-0
tester/liblinphone_tester.c
tester/tester.c
+2
-0
tester/tester.c
with
3 additions
and
1 deletion
build/android/liblinphone_tester.mk
+
0
−
1
View file @
cc5ec631
...
@@ -14,7 +14,6 @@ common_SRC_FILES := \
...
@@ -14,7 +14,6 @@ common_SRC_FILES := \
tester.c
\
tester.c
\
remote_provisioning_tester.c
\
remote_provisioning_tester.c
\
quality_reporting_tester.c
\
quality_reporting_tester.c
\
log_collection_tester.c
\
transport_tester.c
\
transport_tester.c
\
player_tester.c
player_tester.c
...
...
This diff is collapsed.
Click to expand it.
tester/liblinphone_tester.c
+
1
−
0
View file @
cc5ec631
...
@@ -80,6 +80,7 @@ void cunit_android_trace_handler(int level, const char *fmt, va_list args) {
...
@@ -80,6 +80,7 @@ void cunit_android_trace_handler(int level, const char *fmt, va_list args) {
jmethodID
method
=
(
*
env
)
->
GetMethodID
(
env
,
cls
,
"printLog"
,
"(ILjava/lang/String;)V"
);
jmethodID
method
=
(
*
env
)
->
GetMethodID
(
env
,
cls
,
"printLog"
,
"(ILjava/lang/String;)V"
);
(
*
env
)
->
CallVoidMethod
(
env
,
current_obj
,
method
,
javaLevel
,
javaString
);
(
*
env
)
->
CallVoidMethod
(
env
,
current_obj
,
method
,
javaLevel
,
javaString
);
(
*
env
)
->
DeleteLocalRef
(
env
,
javaString
);
(
*
env
)
->
DeleteLocalRef
(
env
,
javaString
);
(
*
env
)
->
DeleteLocalRef
(
env
,
cls
);
}
}
JNIEXPORT
jint
JNICALL
Java_org_linphone_tester_Tester_run
(
JNIEnv
*
env
,
jobject
obj
,
jobjectArray
stringArray
)
{
JNIEXPORT
jint
JNICALL
Java_org_linphone_tester_Tester_run
(
JNIEnv
*
env
,
jobject
obj
,
jobjectArray
stringArray
)
{
...
...
This diff is collapsed.
Click to expand it.
tester/tester.c
+
2
−
0
View file @
cc5ec631
...
@@ -387,7 +387,9 @@ void liblinphone_tester_init(void) {
...
@@ -387,7 +387,9 @@ void liblinphone_tester_init(void) {
add_test_suite
(
&
flexisip_test_suite
);
add_test_suite
(
&
flexisip_test_suite
);
add_test_suite
(
&
remote_provisioning_test_suite
);
add_test_suite
(
&
remote_provisioning_test_suite
);
add_test_suite
(
&
quality_reporting_test_suite
);
add_test_suite
(
&
quality_reporting_test_suite
);
#ifndef ANDROID
add_test_suite
(
&
log_collection_test_suite
);
add_test_suite
(
&
log_collection_test_suite
);
#endif
add_test_suite
(
&
transport_test_suite
);
add_test_suite
(
&
transport_test_suite
);
add_test_suite
(
&
player_test_suite
);
add_test_suite
(
&
player_test_suite
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets