Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9cf983c6 authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

Merge "libbinder_ndk: AParcel_markSensitive in llndk" am: 88e60e2e

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1651038

Change-Id: Ie97e89b38b799225d242ea1496b03a144a71deb8
parents 0be835e6 88e60e2e
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -20,9 +20,7 @@

__BEGIN_DECLS

#if defined(__ANDROID_APEX__) || defined(__ANDROID_VNDK__)
#error this is only for platform code
#endif
#if !defined(__ANDROID_APEX__) && !defined(__ANDROID_VNDK__)

/**
 * Gets whether or not FDs are allowed by this AParcel
@@ -33,6 +31,9 @@ __BEGIN_DECLS
 */
bool AParcel_getAllowFds(const AParcel*);

#endif

#if !defined(__ANDROID_APEX__)
/**
 * Data written to the parcel will be zero'd before being deleted or realloced.
 *
@@ -43,5 +44,6 @@ bool AParcel_getAllowFds(const AParcel*);
 * \param parcel The parcel to clear associated data from.
 */
void AParcel_markSensitive(const AParcel* parcel);
#endif

__END_DECLS
+1 −1
Original line number Diff line number Diff line
@@ -117,6 +117,7 @@ LIBBINDER_NDK31 { # introduced=31
    ABinderProcess_setupPolling; # apex
    AIBinder_getCallingSid; # apex
    AIBinder_setRequestingSid; # apex
    AParcel_markSensitive; # llndk
    AServiceManager_isDeclared; # apex llndk
    AServiceManager_forEachDeclaredInstance; # apex llndk
    AServiceManager_registerLazyService; # llndk
@@ -139,7 +140,6 @@ LIBBINDER_NDK31 { # introduced=31
LIBBINDER_NDK_PLATFORM {
  global:
    AParcel_getAllowFds;
    AParcel_markSensitive;
    extern "C++" {
        AIBinder_fromPlatformBinder*;
        AIBinder_toPlatformBinder*;