Home
last modified time | relevance | path

Searched refs:mClosed (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/one/v2/
DCloseWhenDoneImageReader.java40 private final AtomicBoolean mClosed; field in CloseWhenDoneImageReader.ImageDecorator
44 mClosed = new AtomicBoolean(false); in ImageDecorator()
49 if (!mClosed.getAndSet(true)) { in close()
60 private boolean mClosed; field in CloseWhenDoneImageReader
67 mClosed = false; in CloseWhenDoneImageReader()
74 if (mClosePending && !mClosed && mOpenImages == 0) { in decrementImageCount()
75 mClosed = true; in decrementImageCount()
85 if (!mClosePending && !mClosed) { in acquireNextImage()
100 if (!mClosePending && !mClosed) { in acquireLatestImage()
114 if (mClosed || mClosePending) { in close()
[all …]
DLoggingImageReader.java33 private final AtomicBoolean mClosed; field in LoggingImageReader.LoggingImageProxy
37 mClosed = new AtomicBoolean(false); in LoggingImageProxy()
42 if (!mClosed.getAndSet(true)) { in close()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/
DFiniteTicketPool.java39 private final AtomicBoolean mClosed; field in FiniteTicketPool.TicketImpl
42 mClosed = new AtomicBoolean(false); in TicketImpl()
47 boolean alreadyClosed = mClosed.getAndSet(true); in close()
83 private boolean mClosed; field in FiniteTicketPool
90 mClosed = false; in FiniteTicketPool()
129 while (mTickets < tickets && !mClosed) { in acquire()
132 if (mClosed) { in acquire()
156 if (mClosed || !mWaiters.isEmpty()) { in updateAvailableTicketCount()
173 if (!mClosed && mWaiters.isEmpty() && mTickets >= 1) { in tryAcquire()
189 if (mClosed) { in close()
[all …]
DReservableTicketPool.java77 private final AtomicBoolean mClosed; field in ReservableTicketPool.TicketImpl
81 mClosed = new AtomicBoolean(false); in TicketImpl()
86 if (mClosed.getAndSet(true)) { in close()
/packages/apps/Camera2/src/com/android/camera/util/
DConcurrentSharedRingBuffer.java174 private boolean mClosed = false; field in ConcurrentSharedRingBuffer
234 if (mClosed) { in swapLeast()
250 if (mClosed) { in swapLeast()
272 if (mClosed) { in swapLeast()
311 if (mClosed) { in swapLeast()
338 if (mClosed) { in tryPin()
424 if (mClosed) { in tryPinGreatest()
446 if (mClosed) { in tryPinGreatestSelected()
497 mClosed = true; in close()
528 if (mClosed) { in tryGetPinned()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientConnection.java41 private boolean mClosed; field in HfpClientConnection
182 Log.d(TAG, "Closing call " + mCurrentCall + "state: " + mClosed); in close()
184 if (mClosed) { in close()
190 mClosed = true; in close()
209 if (!mClosed) { in onPlayDtmfTone()
217 Log.d(TAG, "onDisconnect call: " + mCurrentCall + " state: " + mClosed); in onDisconnect()
220 if (!mClosed) { in onDisconnect()
240 if (!mClosed) { in onHold()
254 if (!mClosed) { in onUnhold()
264 if (!mClosed) { in onAnswer()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DCursorBackedSuggestionCursor.java63 private boolean mClosed = false; field in CursorBackedSuggestionCursor
89 if (mClosed) { in close()
92 mClosed = true; in close()
105 if (!mClosed) { in finalize()
111 if (mClosed) { in getCount()
125 if (mClosed) { in moveTo()
139 if (mClosed) { in moveToNext()
152 if (mClosed) { in getPosition()
DSuggestions.java31 private boolean mClosed = false; field in Suggestions
111 if (mClosed) { in registerDataSetObserver()
138 if (mClosed) { in close()
141 mClosed = true; in close()
150 return mClosed; in isClosed()
155 if (!mClosed) { in finalize()
/packages/apps/Camera2/src/com/android/camera/async/
DLifetime.java43 private boolean mClosed; field in Lifetime
49 mClosed = false; in Lifetime()
56 mClosed = false; in Lifetime()
66 if (mClosed) { in add()
82 if (mClosed) { in close()
85 mClosed = true; in close()
DListenable.java29 private boolean mClosed; field in Listenable
36 mClosed = false; in Listenable()
45 if (mClosed) { in setCallback()
66 mClosed = true; in clear()
80 mClosed = true; in close()
DResettingDelayedExecutor.java38 private boolean mClosed; field in ResettingDelayedExecutor
46 mClosed = false; in ResettingDelayedExecutor()
64 if (mClosed) { in execute()
75 if (mClosed) { in close()
78 mClosed = true; in close()
DConcurrentBufferQueue.java86 private final AtomicBoolean mClosed; field in ConcurrentBufferQueue
97 mClosed = new AtomicBoolean(); in ConcurrentBufferQueue()
115 boolean alreadyClosed = mClosed.getAndSet(true); in close()
146 closed = mClosed.get(); in update()
215 return mClosed.get(); in isClosed()
/packages/apps/Nfc/tests/src/com/android/nfc/
DMockLlcpSocket.java29 private boolean mClosed = false; field in MockLlcpSocket
33 mClosed = true; in close()
34 mPairedSocket.mClosed = true; in close()
44 if (mClosed || mPairedSocket == null) { in send()
57 while (!mClosed && mReceivedPackets.size() == 0) { in receive()
62 if (mClosed) { in receive()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DSingleThreadNamedTaskExecutor.java34 private volatile boolean mClosed = false; field in SingleThreadNamedTaskExecutor
44 if (mClosed) { in cancelPendingTasks()
51 mClosed = true; in close()
57 if (mClosed) { in execute()
68 if (!mClosed) Log.w(TAG, "Worker exited before close"); in run()
75 while (!mClosed) { in loop()
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
DFrameServerImpl.java38 private boolean mClosed; field in FrameServerImpl.Session
42 mClosed = false; in Session()
51 if (mClosed) { in submitRequest()
68 if (!mClosed) { in close()
69 mClosed = true; in close()
DObservableFrameServer.java52 private final AtomicBoolean mClosed; field in ObservableFrameServer.SessionImpl
56 mClosed = new AtomicBoolean(false); in SessionImpl()
69 if (!mClosed.getAndSet(true)) { in close()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionsAdapterBase.java50 private boolean mClosed = false; field in SuggestionsAdapterBase
66 return mClosed; in isClosed()
71 mClosed = true; in close()
89 if (mClosed) { in setSuggestions()
209 if (mClosed) { in onSuggestionClicked()
218 if (mClosed) { in onSuggestionQueryRefineClicked()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationCursorLoader.java36 private boolean mClosed = false; field in ConversationCursorLoader
91 mClosed = true; in onReset()
118 if (mClosed) { in onStartLoading()
119 mClosed = false; in onStartLoading()
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/
DCameraCommandExecutor.java85 private boolean mClosed; field in CameraCommandExecutor
93 mClosed = false; in CameraCommandExecutor()
101 if (mClosed) { in execute()
141 mClosed = true; in close()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/
DFakeImageResource.java19 private boolean mClosed = false; field in FakeImageResource
31 return mClosed; in isClosed()
53 mClosed = true; in close()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DMockExecutor.java31 private boolean mClosed = false; field in MockExecutor
34 if (mClosed) throw new IllegalStateException("closed"); in execute()
44 mClosed = true; in close()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/
DSingleCloseImageProxy.java29 private final AtomicBoolean mClosed; field in SingleCloseImageProxy
36 mClosed = new AtomicBoolean(false); in SingleCloseImageProxy()
41 if (!mClosed.getAndSet(true)) { in close()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/util/
DTicketImageProxy.java33 private final AtomicBoolean mClosed; field in TicketImageProxy
38 mClosed = new AtomicBoolean(false); in TicketImageProxy()
43 if (mClosed.getAndSet(true)) { in close()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
DAllocatingImageStream.java42 private AtomicBoolean mClosed; field in AllocatingImageStream
63 mClosed = new AtomicBoolean(false); in AllocatingImageStream()
85 if (mClosed.getAndSet(true)) { in close()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DSearchRecentSuggestionsProvider.java71 private boolean mClosed; field in SearchRecentSuggestionsProvider
85 mClosed = true; in cleanup()
137 if (!mClosed) { in getDatabase()

12