Home
last modified time | relevance | path

Searched refs:mActive (Results 1 – 25 of 30) 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.java239 Runnable mActive; field in AsyncTask.SerialExecutor
251 if (mActive == null) { in execute()
257 if ((mActive = mTasks.poll()) != null) { in scheduleNext()
258 THREAD_POOL_EXECUTOR.execute(mActive); in scheduleNext()
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentManager.java593 FragmentState[] mActive; field in FragmentManagerState
603 mActive = in.createTypedArray(FragmentState.CREATOR); in FragmentManagerState()
617 dest.writeTypedArray(mActive, flags); in writeToParcel()
656 SparseArray<Fragment> mActive; field in FragmentManagerImpl
901 Fragment f = mActive.get(index); in getFragment()
926 if (mActive == null) { in getActiveFragments()
929 final int count = mActive.size(); in getActiveFragments()
932 fragments.add(mActive.valueAt(i)); in getActiveFragments()
943 if (mActive == null) { in getActiveFragmentCount()
946 return mActive.size(); in getActiveFragmentCount()
[all …]
/frameworks/base/core/java/android/app/
DFragmentManager.java577 FragmentState[] mActive; field in FragmentManagerState
587 mActive = in.createTypedArray(FragmentState.CREATOR); in FragmentManagerState()
599 dest.writeTypedArray(mActive, flags); in writeToParcel()
672 SparseArray<Fragment> mActive; field in FragmentManagerImpl
918 Fragment f = mActive.get(index); in getFragment()
974 if (mActive != null) { in dump()
975 N = mActive.size(); in dump()
981 Fragment f = mActive.valueAt(i); in dump()
1208 if (mActive.get(f.mTarget.mIndex) != f.mTarget) { in moveToState()
1603 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/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()
289 mActive.remove(buffer); in processDied()
296 int size = mActive.size(); in fetchActiveBuffersLocked()
299 ActiveBuffer buffer = mActive.get(i); in fetchActiveBuffersLocked()
314 mActive.add(buffers); in fetchActiveBuffersLocked()
360 buffers = new ArrayList<>(mActive.size()); in dump()
361 for (int i = 0; i < mActive.size(); i++) { in dump()
363 buffers.add(new HistoricalBuffer(mActive.get(i))); in dump()
/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/libaudioclient/
DAudioRecord.cpp69 : mActive(false), mStatus(NO_INIT), mOpPackageName(opPackageName), in AudioRecord()
92 : mActive(false), in AudioRecord()
298 if (mActive) { in start()
321 mActive = true; in start()
335 mActive = false; in start()
354 if (!mActive) { in stop()
358 mActive = false; in stop()
377 return !mActive; in stopped()
487 if (mAudioRecord != 0 && mActive) { in setInputDevice()
836 if (!mActive) { in obtainBuffer()
[all …]
/frameworks/native/cmds/cmd/
Dcmd.cpp63 bool mActive = true; member in MyShellCallback
71 if (!mActive) { in openOutputFile()
200 cb->mActive = false; in main()
/frameworks/base/core/java/com/android/internal/view/
DFloatingActionMode.java305 private boolean mActive; field in FloatingActionMode.FloatingToolbarVisibilityHelper
317 mActive = true; in activate()
321 mActive = false; in deactivate()
342 if (!mActive) { in updateToolbarVisibility()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java144 boolean mActive = true; field in Am.MyShellCallback
147 if (!mActive) { in onOpenOutputFile()
191 cb.mActive = false; in runAmCmd()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraCaptureSessionImpl.java558 private boolean mActive = false; in getDeviceStateCallback()
580 mActive = true; in getDeviceStateCallback()
614 if (mActive) { in getDeviceStateCallback()
619 mActive = false; in getDeviceStateCallback()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java143 private boolean mActive; field in ProcessState
205 pnew.mActive = mActive; in clone()
327 mActive = true; in makeActive()
331 mActive = false; in makeInactive()
335 return mActive || mNumActiveServices > 0 || mNumStartedServices > 0 in isInUse()
340 return mActive; in isActive()
953 if (mActive) { in dumpInternalLocked()
954 pw.print(prefix); pw.print("mActive="); pw.println(mActive); in dumpInternalLocked()
/frameworks/av/services/audioflinger/
DPlaybackTracks.h212 bool isActive() const { return mActive; } in isActive()
228 bool mActive; variable
DTracks.cpp1240 mActive(false), mSourceThread(sourceThread) in OutputTrack()
1276 mActive = true; in start()
1286 mActive = false; in stop()
1299 if (!mActive && frames != 0) { in write()
1385 if (frames == 0 && mBufferQueue.size() == 0 && mActive) { in write()
1421 if (mActive && (flags & CBLK_DISABLED)) { in restartIfDisabled()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h55 void start() { mActive = true; } in start()
56 void stop() { mActive = false; } in stop()
65 bool mActive; variable
DMediaPlayerService.cpp1503 mExit(false), mActive(false), mClient(client), mCb(cb) in Antagonizer()
1511 mActive = false; in kill()
1521 if (p->mActive) { in callbackThread()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java280 boolean mActive = false; field in InputMethodManager
469 startInput = mActive; in handleMessage()
482 Log.i(TAG, "handleMessage: MSG_SET_ACTIVE " + active + ", was " + mActive); in handleMessage()
485 mActive = active; in handleMessage()
559 return mParentInputMethodManager.mActive && !isFinished(); in isActive()
581 + " mParentInputMethodManager.mActive=" + mParentInputMethodManager.mActive in toString()
1330 if (!mActive) { in startInputInner()
2367 p.println(" mActive=" + mActive in doDump()
/frameworks/base/media/java/android/media/session/
DMediaSession.java124 private boolean mActive = false; field in MediaSession
326 if (mActive == active) { in setActive()
331 mActive = active; in setActive()
343 return mActive; in isActive()
/frameworks/av/include/media/
DAudioRecord.h563 bool mActive; variable
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h563 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/base/services/core/java/com/android/server/power/
DPowerManagerService.java2867 } else if (!state.mActive && oldShouldAllow != in updateUidProcStateInternal()
2883 state.mActive = false; in uidGoneInternal()
2900 state.mActive = true; in uidActiveInternal()
2911 state.mActive = false; in uidIdleInternal()
2960 disabled = !wakeLock.mUidState.mActive && in setWakeLockDisabledStateLocked()
3325 if (state.mActive) pw.print(" ACTIVE "); in dumpInternal()
3682 proto.write(PowerServiceDumpProto.UidProto.IS_ACTIVE, state.mActive); in dumpProto()
4075 boolean mActive; field in PowerManagerService.UidState
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.h954 bool mActive; variable

12