diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/binder/ProcessState.h | 11 | ||||
-rw-r--r-- | include/gui/DisplayEventReceiver.h | 2 | ||||
-rw-r--r-- | include/media/openmax/OMX_Types.h | 6 |
3 files changed, 5 insertions, 14 deletions
diff --git a/include/binder/ProcessState.h b/include/binder/ProcessState.h index e63a0d0..3bc978d 100644 --- a/include/binder/ProcessState.h +++ b/include/binder/ProcessState.h @@ -27,11 +27,6 @@ // --------------------------------------------------------------------------- namespace android { -// Global variables -extern int mArgC; -extern const char* const* mArgV; -extern int mArgLen; - class IPCThreadState; class ProcessState : public virtual RefBase @@ -62,12 +57,6 @@ public: wp<IBinder> getWeakProxyForHandle(int32_t handle); void expungeHandle(int32_t handle, IBinder* binder); - void setArgs(int argc, const char* const argv[]); - int getArgC() const; - const char* const* getArgV() const; - - void setArgV0(const char* txt); - void spawnPooledThread(bool isMain); status_t setThreadPoolMaxThreadCount(size_t maxThreads); diff --git a/include/gui/DisplayEventReceiver.h b/include/gui/DisplayEventReceiver.h index f8267bf..a4718b9 100644 --- a/include/gui/DisplayEventReceiver.h +++ b/include/gui/DisplayEventReceiver.h @@ -49,7 +49,7 @@ public: struct Header { uint32_t type; uint32_t id; - nsecs_t timestamp; + nsecs_t timestamp __attribute__((aligned(8))); }; struct VSync { diff --git a/include/media/openmax/OMX_Types.h b/include/media/openmax/OMX_Types.h index 03fd4bc..9dec372 100644 --- a/include/media/openmax/OMX_Types.h +++ b/include/media/openmax/OMX_Types.h @@ -48,6 +48,8 @@ #ifndef OMX_Types_h #define OMX_Types_h +#include <stdint.h> + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ @@ -160,10 +162,10 @@ typedef unsigned short OMX_U16; typedef signed short OMX_S16; /** OMX_U32 is a 32 bit unsigned quantity that is 32 bit word aligned */ -typedef unsigned long OMX_U32; +typedef uint32_t OMX_U32; /** OMX_S32 is a 32 bit signed quantity that is 32 bit word aligned */ -typedef signed long OMX_S32; +typedef int32_t OMX_S32; /* Users with compilers that cannot accept the "long long" designation should |