summaryrefslogtreecommitdiff
path: root/libs/binder/ProcessState.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2020-12-23 02:33:02 +0000
committer Steven Moreland <smoreland@google.com> 2020-12-23 02:34:35 +0000
commit07463103f75bdc747ef2bb9be100fba5ed58adca (patch)
treef4ee7c1f7e74eb799f72a8e8f85b08e63f43b4b6 /libs/binder/ProcessState.cpp
parent64618017e4a2bcbf3f1d3928a3c2a0adecf3cf56 (diff)
libbinder_ndk: log on null non-@nullable fd/binder
b/c the NDK backend C++ types can actually contain the null value, it's not clear from the type system alone that these cannot be null or why. Bug: 176177197 Test: with `atest CtsNdkBinderTestCases` 12-23 02:18:12.891 29957 29979 E android.binder.cts: Passing null binder object as non-@nullable AIDL IBinder 12-23 02:18:12.902 29957 29979 E android.binder.cts: Passing -1 file descriptor as non-@nullable AIDL ParcelFileDescriptor 12-23 02:18:13.149 29957 29979 E android.binder.cts: Passing null binder object as non-@nullable AIDL IBinder 12-23 02:18:13.160 29957 29979 E android.binder.cts: Passing -1 file descriptor as non-@nullable AIDL ParcelFileDescriptor 12-23 02:18:13.282 29957 29979 E android.binder.cts: Passing null binder object as non-@nullable AIDL IBinder 12-23 02:18:13.295 29957 29979 E android.binder.cts: Passing -1 file descriptor as non-@nullable AIDL ParcelFileDescriptor 12-23 02:18:13.452 29957 29979 E android.binder.cts: Passing null binder object as non-@nullable AIDL IBinder 12-23 02:18:13.465 29957 29979 E android.binder.cts: Passing -1 file descriptor as non-@nullable AIDL ParcelFileDescriptor 12-23 02:18:13.621 29957 29979 E android.binder.cts: Passing null binder object as non-@nullable AIDL IBinder 12-23 02:18:13.634 29957 29979 E android.binder.cts: Passing -1 file descriptor as non-@nullable AIDL ParcelFileDescriptor Change-Id: Ic855aa85d95724e82c46e941b442ff6cbba39e77
Diffstat (limited to 'libs/binder/ProcessState.cpp')
0 files changed, 0 insertions, 0 deletions