/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | CloseWhenDoneImageReader.java | 40 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 …]
|
D | LoggingImageReader.java | 33 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/ |
D | FiniteTicketPool.java | 39 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 …]
|
D | ReservableTicketPool.java | 77 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/ |
D | ConcurrentSharedRingBuffer.java | 174 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/ |
D | HfpClientConnection.java | 42 private boolean mClosed; field in HfpClientConnection 183 Log.d(TAG, "Closing call " + mCurrentCall + "state: " + mClosed); in close() 185 if (mClosed) { in close() 191 mClosed = true; in close() 210 if (!mClosed) { in onPlayDtmfTone() 218 Log.d(TAG, "onDisconnect call: " + mCurrentCall + " state: " + mClosed); in onDisconnect() 221 if (!mClosed) { in onDisconnect() 241 if (!mClosed) { in onHold() 255 if (!mClosed) { in onUnhold() 265 if (!mClosed) { in onAnswer() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | CursorBackedSuggestionCursor.java | 63 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()
|
D | Suggestions.java | 31 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/ |
D | Lifetime.java | 43 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()
|
D | Listenable.java | 29 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()
|
D | ResettingDelayedExecutor.java | 38 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()
|
D | ConcurrentBufferQueue.java | 86 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/ |
D | MockLlcpSocket.java | 29 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/ |
D | SingleThreadNamedTaskExecutor.java | 34 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/ |
D | FrameServerImpl.java | 38 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()
|
D | ObservableFrameServer.java | 52 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/ |
D | SuggestionsAdapterBase.java | 50 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/Camera2/src/com/android/camera/one/v2/commands/ |
D | CameraCommandExecutor.java | 85 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/ |
D | FakeImageResource.java | 19 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/ |
D | MockExecutor.java | 31 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/ |
D | SingleCloseImageProxy.java | 29 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/ |
D | TicketImageProxy.java | 33 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/ |
D | AllocatingImageStream.java | 42 private AtomicBoolean mClosed; field in AllocatingImageStream 63 mClosed = new AtomicBoolean(false); in AllocatingImageStream() 85 if (mClosed.getAndSet(true)) { in close()
|