Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 5 of 5) sorted by relevance

/libnativehelper/
DJniInvocation.cpp53 int GetLibrarySystemProperty(char* buffer) { in GetLibrarySystemProperty() argument
55 return __system_property_get("persist.sys.dalvik.vm.lib.2", buffer); in GetLibrarySystemProperty()
57 UNUSED(buffer); in GetLibrarySystemProperty()
115 char* buffer,
117 … int (*get_library_system_property)(char* buffer) = GetLibrarySystemProperty);
168 char* buffer, in GetLibrary() argument
170 int (*get_library_system_property)(char* buffer)) { in GetLibrary() argument
185 if (buffer != NULL) { in GetLibrary()
186 if (get_library_system_property(buffer) > 0) { in GetLibrary()
187 default_library = buffer; in GetLibrary()
[all …]
DJNIHelp.cpp306 char buffer[80]; in jniThrowIOException() local
307 const char* message = jniStrError(errnum, buffer, sizeof(buffer)); in jniThrowIOException()
/libnativehelper/tests/
DJniInvocation_test.cpp47 auto get_library_system_property = [](char* buffer) -> int { in TEST() argument
48 strcpy(buffer, kTestNonNull2); in TEST()
52 char buffer[PROPERTY_VALUE_MAX]; in TEST() local
54 JniInvocation::GetLibrary(NULL, buffer, is_debuggable, get_library_system_property); in TEST()
62 JniInvocation::GetLibrary(kTestNonNull, buffer, is_debuggable, get_library_system_property); in TEST()
77 char buffer[PROPERTY_VALUE_MAX]; in TEST() local
78 const char* result = JniInvocation::GetLibrary(NULL, buffer, is_debuggable, nullptr); in TEST()
86 result = JniInvocation::GetLibrary(kTestNonNull, buffer, is_debuggable, nullptr); in TEST()
/libnativehelper/include/nativehelper/
DJniInvocation.h53 static const char* GetLibrary(const char* library, char* buffer) { in GetLibrary() argument
54 return JniInvocationGetLibrary(library, buffer); in GetLibrary()
61 static const char* GetLibrary(const char* library, char* buffer, bool (*is_debuggable)(),
62 int (*get_library_system_property)(char* buffer));
Dlibnativehelper_api.h237 const char* JniInvocationGetLibrary(const char* library, char* buffer);