Searched refs:strong (Results 1 - 3 of 3) sorted by relevance

/frameworks/native/libs/utils/
H A DThreads.cpp728 // hold a strong reference on ourself
764 sp<Thread> strong(self->mHoldSelf);
765 wp<Thread> weak(strong);
789 // The caller therefore does not retain a strong reference to
815 // Release our strong reference, to let a chance to the thread
817 strong.clear();
818 // And immediately, re-acquire a strong reference for the next loop
819 strong = weak.promote();
820 } while(strong != 0);
/frameworks/base/core/java/android/app/
H A DLoadedApk.java666 InnerReceiver(LoadedApk.ReceiverDispatcher rd, boolean strong) { argument
668 mStrongRef = strong ? rd : null;
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp531 // remove local strong reference to Client before deleting the Track so that the Client
905 // hold a strong ref on thread in case closeOutput() or closeInput() is called
4053 sp<ThreadBase> strong = mOutputTracks[i]->thread().promote(); local
4054 if (strong != 0) {
4055 uint32_t waitTimeMs = (strong->frameCount() * 2 * 1000) / strong->sampleRate();
4341 // NOTE: destroyTrack_l() can remove a strong reference to this Track
4344 // we must acquire a strong reference on this Track before locking mLock
4347 // TrackHandle destructor, the TrackHandle still holds a strong ref on
5889 // remove local strong referenc
[all...]

Completed in 357 milliseconds