Home
last modified time | relevance | path

Searched refs:mActive (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/av/media/bufferpool/1.0/
DClientManager.cpp154 } mActive; member in android::hardware::media::bufferpool::V1_0::implementation::ClientManager::Impl
172 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender()
174 if (mActive.mClients.find(*pConnectionId) != mActive.mClients.end()) { in registerSender()
201 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender()
202 mActive.mClients.insert(std::make_pair(conId, client)); in registerSender()
226 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender()
227 auto it = mActive.mClients.find(senderId); in registerSender()
228 if (it == mActive.mClients.end()) { in registerSender()
284 std::lock_guard<std::mutex> lock(mActive.mMutex); in create()
285 mActive.mClients.insert(std::make_pair(conId, client)); in create()
[all …]
DBufferPoolClient.cpp116 int mActive; member
119 BufferCache() : mCreating(false), mActive(0), mLastChangeUs(getTimestampNow()) {} in BufferCache()
122 ++mActive; in incActive_l()
127 --mActive; in decActive_l()
292 active = mCache.mActive > 0; in isActive()
585 (long long)mConnectionId, mCache.mBuffers.size(), mCache.mActive, evicted); in evictCaches()
/frameworks/av/media/bufferpool/2.0/
DClientManager.cpp158 } mActive; member in android::hardware::media::bufferpool::V2_0::implementation::ClientManager::Impl
179 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender()
181 if (mActive.mClients.find(*pConnectionId) != mActive.mClients.end()) { in registerSender()
209 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender()
210 mActive.mClients.insert(std::make_pair(conId, client)); in registerSender()
234 std::lock_guard<std::mutex> lock(mActive.mMutex); in registerSender()
235 auto it = mActive.mClients.find(senderId); in registerSender()
236 if (it == mActive.mClients.end()) { in registerSender()
294 std::lock_guard<std::mutex> lock(mActive.mMutex); in create()
295 mActive.mClients.insert(std::make_pair(conId, client)); in create()
[all …]
DBufferPoolClient.cpp125 int mActive; member
128 BufferCache() : mCreating(false), mActive(0), mLastChangeUs(getTimestampNow()) {} in BufferCache()
131 ++mActive; in incActive_l()
136 --mActive; in decActive_l()
323 active = mCache.mActive > 0; in isActive()
682 (long long)mConnectionId, mCache.mBuffers.size(), mCache.mActive, evicted); in evictCaches()
/frameworks/base/core/java/android/os/
DCpuUsageInfo.java23 private long mActive; field in CpuUsageInfo
39 mActive = activeTime; in CpuUsageInfo()
53 return mActive; in getActive()
73 out.writeLong(mActive); in writeToParcel()
78 mActive = in.readLong(); in readFromParcel()
DAsyncTask.java299 Runnable mActive; field in AsyncTask.SerialExecutor
311 if (mActive == null) { in execute()
317 if ((mActive = mTasks.poll()) != null) { in scheduleNext()
318 THREAD_POOL_EXECUTOR.execute(mActive); in scheduleNext()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVisualizerInstanceSync.java100 private boolean mActive = false; field in VisualizerInstanceSync.VisualizerTestHandler
110 if (!mActive) { in handleMessage()
112 mActive = true; in handleMessage()
117 if (mActive) { in handleMessage()
119 mActive = false; in handleMessage()
123 if (mActive) { in handleMessage()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DDisplayWhiteBalanceSettings.java58 private boolean mActive; field in DisplayWhiteBalanceSettings
121 return mEnabled && mActive; in isEnabled()
136 writer.println(" mActive=" + mActive); in dump()
165 if (mActive == active) { in setActive()
171 mActive = active; in setActive()
/frameworks/base/core/java/android/app/
DFragmentManager.java597 FragmentState[] mActive; field in FragmentManagerState
607 mActive = in.createTypedArray(FragmentState.CREATOR); in FragmentManagerState()
619 dest.writeTypedArray(mActive, flags); in writeToParcel()
693 SparseArray<Fragment> mActive; field in FragmentManagerImpl
942 Fragment f = mActive.get(index); in getFragment()
998 if (mActive != null) { in dump()
999 N = mActive.size(); in dump()
1005 Fragment f = mActive.valueAt(i); in dump()
1235 if (mActive.get(f.mTarget.mIndex) != f.mTarget) { in moveToState()
1635 if (mActive != null) { in moveToState()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAutoclickController.java231 private boolean mActive; field in AutoclickController.ClickScheduler
302 if (!mActive) { in cancel()
335 if (mActive && clickTime > mScheduledClickTime) { in rescheduleClick()
340 if (mActive) { in rescheduleClick()
344 mActive = true; in rescheduleClick()
371 mActive = false; in resetInternalState()
439 builder.append("ClickScheduler: { active=").append(mActive); in toString()
/frameworks/base/services/core/java/com/android/server/
DGraphicsStatsService.java90 private ArrayList<ActiveBuffer> mActive = new ArrayList<>(); field in GraphicsStatsService
150 activeCopy = mActive.toArray(new ActiveBuffer[0]); in onAlarm()
290 mActive.remove(buffer); in processDied()
297 int size = mActive.size(); in fetchActiveBuffersLocked()
300 ActiveBuffer buffer = mActive.get(i); in fetchActiveBuffersLocked()
315 mActive.add(buffers); in fetchActiveBuffersLocked()
361 buffers = new ArrayList<>(mActive.size()); in dump()
362 for (int i = 0; i < mActive.size(); i++) { in dump()
364 buffers.add(new HistoricalBuffer(mActive.get(i))); in dump()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccSlot.java58 private boolean mActive; field in UiccSlot
78 mActive = isActive; in UiccSlot()
158 if (mActive) { in update()
159 mActive = false; in update()
165 mActive = true; in update()
256 return mActive; in isActive()
437 pw.println(" mActive=" + mActive); in dump()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp121 : mActive(false), mStatus(NO_INIT), mOpPackageName(opPackageName), in AudioRecord()
149 : mActive(false), in AudioRecord()
382 if (mActive) { in start()
409 mActive = true; in start()
427 mActive = false; in start()
450 ALOGV("%s(%d): mActive:%d\n", __func__, mPortId, mActive); in stop()
451 if (!mActive) { in stop()
455 mActive = false; in stop()
478 return !mActive; in stopped()
621 if (mAudioRecord != 0 && mActive) { in setInputDevice()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DClientDescriptor.h50 mConfig(config), mPreferredDeviceId(preferredDeviceId), mActive(false), in mPortId()
67 virtual void setActive(bool active) { mActive = active; } in setActive()
68 bool active() const { return mActive; } in active()
70 return mPreferredDeviceId != AUDIO_PORT_HANDLE_NONE && (!activeOnly || mActive);
80 bool mActive; variable
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java99 boolean mActive = true; field in Am.MyShellCallback
103 if (!mActive) { in onOpenFile()
147 cb.mActive = false; in runAmCmd()
/frameworks/base/core/java/com/android/internal/view/
DFloatingActionMode.java326 private boolean mActive; field in FloatingActionMode.FloatingToolbarVisibilityHelper
340 mActive = true; in activate()
344 mActive = false; in deactivate()
371 if (!mActive) { in updateToolbarVisibility()
/frameworks/native/cmds/cmd/
Dcmd.cpp65 bool mActive = true; member in MyShellCallback
76 if (!mActive) { in openFile()
258 cb->mActive = false; in cmdMain()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraCaptureSessionImpl.java727 private boolean mActive = false;
749 mActive = true;
783 if (mActive) {
788 mActive = false;
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java146 private boolean mActive; field in ProcessState
211 pnew.mActive = mActive; in clone()
343 mActive = true; in makeActive()
347 mActive = false; in makeInactive()
351 return mActive || mNumActiveServices > 0 || mNumStartedServices > 0 in isInUse()
356 return mActive; in isActive()
1055 if (mActive) { in dumpInternalLocked()
1056 pw.print(prefix); pw.print("mActive="); pw.println(mActive); in dumpInternalLocked()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h55 void start() { mActive = true; } in start()
56 void stop() { mActive = false; } in stop()
65 bool mActive; variable
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DClientDescriptor.cpp50 dst->appendFormat("%*s- State: %s\n", spaces, "", mActive ? "Active" : "Inactive"); in dump()
/frameworks/av/services/audioflinger/
DPlaybackTracks.h326 bool isActive() const { return mActive; } in isActive()
357 bool mActive; variable
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java358 boolean mActive = false; field in InputMethodManager
619 startInput = mActive; in handleMessage()
631 Log.i(TAG, "handleMessage: MSG_SET_ACTIVE " + active + ", was " + mActive); in handleMessage()
634 mActive = active; in handleMessage()
761 return mParentInputMethodManager.mActive && !isFinished(); in isActive()
778 + " mParentInputMethodManager.mActive=" + mParentInputMethodManager.mActive in toString()
3001 p.println(" mActive=" + mActive in doDump()
/frameworks/base/media/java/android/media/session/
DMediaSession.java142 private boolean mActive = false; field in MediaSession
354 if (mActive == active) { in setActive()
359 mActive = active; in setActive()
371 return mActive; in isActive()
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h636 bool mActive; variable

12