Home
last modified time | relevance | path

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

12

/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.java237 Runnable mActive; field in AsyncTask.SerialExecutor
249 if (mActive == null) { in execute()
255 if ((mActive = mTasks.poll()) != null) { in scheduleNext()
256 THREAD_POOL_EXECUTOR.execute(mActive); in scheduleNext()
/frameworks/base/services/core/java/com/android/server/
DGraphicsStatsService.java68 private ArrayList<ActiveBuffer> mActive = new ArrayList<>(); field in GraphicsStatsService
112 mActive.remove(buffer); in processDied()
113 Log.d("GraphicsStats", "Buffer count: " + mActive.size()); in processDied()
132 int size = mActive.size(); in fetchActiveBuffersLocked()
134 ActiveBuffer buffers = mActive.get(i); in fetchActiveBuffersLocked()
143 mActive.add(buffers); in fetchActiveBuffersLocked()
171 for (int i = 0; i < mActive.size(); i++) { in dump()
172 final ActiveBuffer buffer = mActive.get(i); in dump()
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentManager.java383 FragmentState[] mActive; field in FragmentManagerState
391 mActive = in.createTypedArray(FragmentState.CREATOR); in FragmentManagerState()
403 dest.writeTypedArray(mActive, flags); in writeToParcel()
508 ArrayList<Fragment> mActive; field in FragmentManagerImpl
691 if (index >= mActive.size()) { in getFragment()
695 Fragment f = mActive.get(index); in getFragment()
705 return mActive; in getFragments()
746 if (mActive != null) { in dump()
747 N = mActive.size(); in dump()
753 Fragment f = mActive.get(i); in dump()
[all …]
DFragmentController.java81 final List<Fragment> actives = mHost.mFragmentManager.mActive; in getActiveFragmentsCount()
89 if (mHost.mFragmentManager.mActive == null) { in getActiveFragments()
95 actives.addAll(mHost.mFragmentManager.mActive); in getActiveFragments()
DBackStackRecord.java119 Fragment f = fm.mActive.get(findex); in instantiate()
134 Fragment r = fm.mActive.get(mOps[pos++]); in instantiate()
/frameworks/base/core/java/android/app/
DFragmentManager.java363 FragmentState[] mActive; field in FragmentManagerState
371 mActive = in.createTypedArray(FragmentState.CREATOR); in FragmentManagerState()
381 dest.writeTypedArray(mActive, flags); in writeToParcel()
452 ArrayList<Fragment> mActive; field in FragmentManagerImpl
660 if (index >= mActive.size()) { in getFragment()
664 Fragment f = mActive.get(index); in getFragment()
710 if (mActive != null) { in dump()
711 N = mActive.size(); in dump()
717 Fragment f = mActive.get(i); in dump()
1166 if (mActive != null) { in moveToState()
[all …]
DActivityView.java90 private Runnable mActive; field in ActivityView.SerialExecutor
102 if (mActive == null) { in execute()
108 if ((mActive = mTasks.poll()) != null) { in scheduleNext()
109 sExecutor.execute(mActive); in scheduleNext()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAutoclickController.java253 private boolean mActive; field in AutoclickController.ClickScheduler
324 if (!mActive) { in cancel()
357 if (mActive && clickTime > mScheduledClickTime) { in rescheduleClick()
362 if (mActive) { in rescheduleClick()
366 mActive = true; in rescheduleClick()
393 mActive = false; in resetInternalState()
461 builder.append("ClickScheduler: { active=").append(mActive); in toString()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DFocusManager.java341 private boolean mActive; field in FocusManager.TitleSearchHelper
366 if (mActive) { in handleKey()
379 if (!mActive) { in handleKey()
416 if (!mActive) { in search()
425 mActive = true; in search()
459 if (mActive) { in endSearch()
468 mActive = false; in endSearch()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVisualizerTest.java103 boolean mActive = false; field in VisualizerTest.VisualizerTestHandler
108 if (!mActive) { in handleMessage()
110 mActive = true; in handleMessage()
115 if (mActive) { in handleMessage()
117 mActive = false; in handleMessage()
121 if (mActive && mVisualizer != null) { in handleMessage()
/frameworks/av/media/libmedia/
DAudioRecord.cpp69 …: mActive(false), mStatus(NO_INIT), mOpPackageName(opPackageName), mSessionId(AUDIO_SESSION_ALLOCA… in AudioRecord()
91 : mActive(false), in AudioRecord()
296 if (mActive) { in start()
319 mActive = true; in start()
333 mActive = false; in start()
352 if (!mActive) { in stop()
356 mActive = false; in stop()
375 return !mActive; in stopped()
484 if (mAudioRecord != 0 && mActive) { in setInputDevice()
820 if (!mActive) { in obtainBuffer()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DFloatingActionMode.java313 private boolean mActive; field in FloatingActionMode.FloatingToolbarVisibilityHelper
325 mActive = true; in activate()
329 mActive = false; in deactivate()
350 if (!mActive) { in updateToolbarVisibility()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraCaptureSessionImpl.java525 private boolean mActive = false; in getDeviceStateCallback()
547 mActive = true; in getDeviceStateCallback()
581 if (mActive) { in getDeviceStateCallback()
586 mActive = false; in getDeviceStateCallback()
/frameworks/av/services/audioflinger/
DPlaybackTracks.h200 bool isActive() const { return mActive; } in isActive()
216 bool mActive; variable
DTracks.cpp1163 mActive(false), mSourceThread(sourceThread), mClientProxy(NULL) in OutputTrack()
1200 mActive = true; in start()
1210 mActive = false; in stop()
1223 if (!mActive && frames != 0) { in write()
1309 if (frames == 0 && mBufferQueue.size() == 0 && mActive) { in write()
1345 if (mActive && (flags & CBLK_DISABLED)) { in restartIfDisabled()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java142 private boolean mActive; field in ProcessState
204 pnew.mActive = mActive; in clone()
326 mActive = true; in makeActive()
330 mActive = false; in makeInactive()
334 return mActive || mNumActiveServices > 0 || mNumStartedServices > 0 in isInUse()
339 return mActive; in isActive()
952 if (mActive) { in dumpInternalLocked()
953 pw.print(prefix); pw.print("mActive="); pw.println(mActive); in dumpInternalLocked()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h53 void start() { mActive = true; } in start()
54 void stop() { mActive = false; } in stop()
63 bool mActive; variable
DMediaPlayerService.cpp1348 mExit(false), mActive(false), mClient(client), mCb(cb) in Antagonizer()
1356 mActive = false; in kill()
1366 if (p->mActive) { in callbackThread()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java280 boolean mActive = false; field in InputMethodManager
468 startInput = mActive; in handleMessage()
480 Log.i(TAG, "handleMessage: MSG_SET_ACTIVE " + active + ", was " + mActive); in handleMessage()
483 mActive = active; in handleMessage()
542 return mParentInputMethodManager.mActive && !isFinished(); in isActive()
570 + " mParentInputMethodManager.mActive=" + mParentInputMethodManager.mActive in toString()
1296 if (!mActive) { in startInputInner()
2333 p.println(" mActive=" + mActive in doDump()
/frameworks/base/media/java/android/media/session/
DMediaSession.java118 private boolean mActive = false; field in MediaSession
320 if (mActive == active) { in setActive()
325 mActive = active; in setActive()
337 return mActive; in isActive()
/frameworks/av/include/media/
DAudioRecord.h556 bool mActive; variable
/frameworks/base/media/java/android/media/
DWebVttRenderer.java1661 private boolean mActive; field in WebVttRenderingWidget.CueLayout
1717 mActive = false; in prepForPrune()
1721 mActive = true; in update()
1810 return mActive; in isActive()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.h784 bool mActive; variable
DCamera3Device.cpp3857 mActive(false), mCancelNow(false) { in PreparerThread()
3889 if (!mActive) { in prepare()
3902 mActive = true; in prepare()
3940 mActive = false; in threadLoop()

12