File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -922,28 +922,10 @@ void IPCThreadState::decWeakHandle(int32_t handle)
922922 flushIfNeeded ();
923923}
924924
925- status_t IPCThreadState::attemptIncStrongHandle (int32_t handle)
926- {
927- #if HAS_BC_ATTEMPT_ACQUIRE
928- LOG_REMOTEREFS (" IPCThreadState::attemptIncStrongHandle(%d)\n " , handle);
929- mOut .writeInt32 (BC_ATTEMPT_ACQUIRE);
930- mOut .writeInt32 (0 ); // xxx was thread priority
931- mOut .writeInt32 (handle);
932- status_t result = UNKNOWN_ERROR;
933-
934- waitForResponse (NULL , &result);
935-
936- #if LOG_REFCOUNTS
937- ALOGV (" IPCThreadState::attemptIncStrongHandle(%ld) = %s\n " ,
938- handle, result == NO_ERROR ? " SUCCESS" : " FAILURE" );
939- #endif
940-
941- return result;
942- #else
925+ status_t IPCThreadState::attemptIncStrongHandle (int32_t handle) {
943926 (void )handle;
944927 ALOGE (" %s(%d): Not supported\n " , __func__, handle);
945928 return INVALID_OPERATION;
946- #endif
947929}
948930
949931void IPCThreadState::expungeHandle (int32_t handle, IBinder* binder)
You can’t perform that action at this time.
0 commit comments