History log of /frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
76f6a86de25e1bf74717e047e55fd44b089673f3 19-Sep-2015 Daniel Micay <danielmicay@gmail.com> constify JNINativeMethod function pointer tables

Change-Id: I4036c924958221cbc644724f8eb01c5de3cd7954
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
a7f7c248c719a5e9b7dbe629e016ef73f89ce0e7 08-Jul-2015 Neil Fuller <nfuller@google.com> Switch shutdownInput / shutdownOutput to using Os.shutdown.

Bug: 3106438
Change-Id: I2c4817e435c6b253d6c507ea57bdfdfe45df8862
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
c1eaeb93379fc8940f595cf21844fa24b8cd1734 08-Jul-2015 Neil Fuller <nfuller@google.com> Switch LocalSocketImpl.accept() over to using Os.accept()

Bug: 3106438
Change-Id: I3b4a07cc2283c3cfdbaf3d2460f37264f67690e3
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
4fa438ef72d125b4c0e7eb37a6667ca51ed325e4 03-Jul-2015 Neil Fuller <nfuller@google.com> Move listen() over to using android.system.Os

Bug: 3106438
Change-Id: I9b4d1d58d84a28828555ae863e86530995191f2c
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
d2df87eb4424ec25ab5c9a8f47cb09a8f191e87f 03-Jul-2015 Neil Fuller <nfuller@google.com> Reimplement LocalSocket methods using android.system.Os

InputStream.available()
OutputStream.flush()

Bug: 3106438
Change-Id: I3a9425c323229e27bb72f6232dd13f7579586840
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
c80af6d84d8fb729f17028ac533fac07bb7c4c5d 03-Jul-2015 Neil Fuller <nfuller@google.com> Switch to using android.system.Os for more calls

The methods being switched here should involve no important
semantic changes. socket.getSoTimeout() is now implemented:
previously it would have returned 0 in all cases.

Some tidy up of unimplemented / commented code.

Switching other calls to use Os would carry more risk and
will be handled separately they can be switched safely.

Bug: 3106438
Change-Id: I5526249395565fee6e43f159a2b5975b0d41d058
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
0f0b4919667f418b249c497f5ad3e83fdf4437e5 12-Nov-2014 Andreas Gampe <agampe@google.com> Frameworks/base: Wall Werror in core/jni

Turn on -Wall -Werror in core/jni. Fix warnings.

Clang TODO: For GCC we need to turn off Wunused-but-set-variable in
the GL bindings. However, Clang doesn't have that warning and thus
complains about an unknown pragma. It is necessary to make the
pragma #ifdef-ed on the compiler being GCC.

Change-Id: I14cab48d45c2771eef0432082356c47ed44a3d7f
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
98671c34fa00a79c62ff0d9d874428bed1f86e92 20-Aug-2014 Mathieu Chartier <mathieuc@google.com> Clean up ExceptionOccurred.

Use ExceptionCheck before ExceptionOccurred since ExceptionCheck
doesn't acquire any locks and is faster.

Change-Id: Ibd87fd1e33b339bd2a6effa1d20d3253c8a61bdc
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
f5df700e6ce056ebfa322314d970e52d6facc35a 25-Mar-2014 Ashok Bhat <ashok.bhat@arm.com> AArch64: Make frameworks/base code more portable

Changes in this patch include

[x] Use %zu for size_t, %zd for ssize_t

[x] Some minor changes have been done to conform with
standard JNI practice (e.g. use of jint instead of int
in JNI function prototypes)

Change-Id: Id1aaa7894a7d0b85ac7ecd7b2bfd8cc40374261f
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Craig Barber <craig.barber@arm.com>
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
795a7decc2e9e547e0cf6291567d427a2a60517a 10-Aug-2013 Elliott Hughes <enh@google.com> am 5adfb21e: am a0b320a6: Merge "Remove possible leak when exception occurred."

* commit '5adfb21e3a3eb6e4628a2f1c8976e6d781492933':
Remove possible leak when exception occurred.
a0b320a66f6467107edac57f3f41471d9d550507 09-Aug-2013 Elliott Hughes <enh@google.com> Merge "Remove possible leak when exception occurred."
e7d309a929bf87a5752cd1fb2d48c72e47a671a2 16-Jul-2013 Mike Lockwood <lockwood@google.com> LocalSocket: Add support for SOCK_DGRAM and SOCK_SEQPACKET

Also replaced some JNI code with libcore IO support

Change-Id: I091e2b6b8dd1fec554936c1ffab29e50f0979e4a
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
71bfafc84af4b820748b12e1a1010b0dfa7bdea6 17-Apr-2013 zzy <zhenye@broadcom.com> Added flush() for bluetooth output stream

Bug 8498784

Zebra QL420 Plus Bluetooth printer fails on Android 4.2.2
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
092eb8d43baffd7723bc7847c180a32fb5269481 03-Dec-2012 You Kim <you.kim72@gmail.com> Remove possible leak when exception occurred.

nameUtf8 is not released after exception.
In addtion, Fix code going down after ThrowException.

Change-Id: Id46e8ed55acd98e982ae532f7da2c0c48847f010
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
3762c311729fe9f3af085c14c5c1fb471d994c03 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
69a017bc1d1649350f830dfada5c6ed5eac0b770 08-Apr-2011 Elliott Hughes <enh@google.com> More JNI exception-throwing cleanup.

There are a few (unimportant) bug fixes here. There were several attempts to
throw exceptions in situations where there's already a pending exception.

There were also cases where the code was wrong; it was checking for a NULL
return from Get*ArrayElements and throwing NPE, but passing NULL is an error
that causes a crash and a NULL return means an exception has already been
thrown. I didn't want to get into the Scoped* classes just yet, but that
was by far the easiest way to fix this.

Change-Id: I0b31160ee51b96e82539f6514b8412b149dba7c3
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
bdced0b58c00b8b6c452ee3fb2fc0cbe02080498 02-Oct-2009 Elliott Hughes <enh@google.com> Remove unused #includes.

(Part of removing adb networking support.)

Bug: 1122968
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/jni/android_net_LocalSocketImpl.cpp