Home
last modified time | relevance | path

Searched refs:started (Results 1 – 25 of 105) sorted by relevance

12345

/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/hinge/
DHingeSensorAngleProvider.kt36 var started = false variable in com.android.systemui.unfold.updates.hinge.HingeSensorAngleProvider
40 if (started) return@execute in start()
50 started = true in start()
56 if (!started) return@execute in stop()
58 started = false in stop()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
DBiometricSchedulerOperationTest.java105 final boolean started = mOperation.startWithCookie(mOnStartCallback, cookie); in testStartWithCookie()
107 assertThat(started).isTrue(); in testStartWithCookie()
121 final boolean started = mOperation.startWithCookie(mOnStartCallback, badCookie); in testNoStartWithoutCookie()
123 assertThat(started).isFalse(); in testNoStartWithoutCookie()
138 final boolean started = mOperation.startWithCookie(mOnStartCallback, cookie); in testSecondStartWithCookieCrashesWhenDebuggable()
139 assertThat(started).isTrue(); in testSecondStartWithCookieCrashesWhenDebuggable()
152 final boolean started = mOperation.startWithCookie(mOnStartCallback, cookie); in testSecondStartWithCookieFailsNicelyWhenNotDebuggable()
153 assertThat(started).isTrue(); in testSecondStartWithCookieFailsNicelyWhenNotDebuggable()
209 final boolean started = mOperation.start(mOnStartCallback); in secondStartCrashesWhenDebuggable()
210 assertThat(started).isTrue(); in secondStartCrashesWhenDebuggable()
[all …]
DBiometricSchedulerTest.java367 boolean started) { in testCancelsAuthDetectWhenRequestId() argument
370 testCancelsWhenRequestId(requestId, cancelRequestId, started, in testCancelsAuthDetectWhenRequestId()
390 boolean started) { in testCancelsEnrollWhenRequestId() argument
393 testCancelsWhenRequestId(requestId, cancelRequestId, started, in testCancelsEnrollWhenRequestId()
398 boolean started, HalClientMonitor<?> client) { in testCancelsWhenRequestId() argument
408 if (started) { in testCancelsWhenRequestId()
424 assertEquals(matches && started ? 1 : 0, authClient.mNumCancels); in testCancelsWhenRequestId()
425 assertEquals(started, authClient.mStartedHal); in testCancelsWhenRequestId()
433 if (started || isEnroll) { // prep'd auth clients and enroll clients in testCancelsWhenRequestId()
437 if (started || isEnroll) { // prep'd auth clients and enroll clients in testCancelsWhenRequestId()
/frameworks/base/services/java/com/android/server/
DBootUserInitializer.java134 boolean started = mAms.startUserInBackgroundWithListener(UserHandle.USER_SYSTEM, in unlockSystemUser()
137 if (!started) { in unlockSystemUser()
155 boolean started = mAms.startUserInForegroundWithListener(initialUserId, in switchToInitialUser()
157 if (!started) { in switchToInitialUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/
DWifiViewModel.kt139 started = SharingStarted.WhileSubscribed(), in <lambda>()
162 .stateIn(scope, started = SharingStarted.WhileSubscribed(), initialValue = default) in <lambda>()
168 .stateIn(scope, started = SharingStarted.WhileSubscribed(), initialValue = false) in <lambda>()
173 .stateIn(scope, started = SharingStarted.WhileSubscribed(), initialValue = false) in <lambda>()
179 .stateIn(scope, started = SharingStarted.WhileSubscribed(), initialValue = false) in <lambda>()
/frameworks/base/services/core/java/com/android/server/display/
DAmbientBrightnessStatsTracker.java320 private boolean started; field in AmbientBrightnessStatsTracker.Timer
327 started = false; in reset()
331 if (!started) { in start()
333 started = true; in start()
338 return started; in isRunning()
342 if (started) { in totalDurationSec()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/pipeline/
DMediaDeviceManager.kt155 private var started = false in <lambda>() variable in com.android.systemui.media.controls.pipeline.Entry
160 if (!started || !sameWithoutIcon) { in <lambda>()
179 if (!started) { in <lambda>()
186 started = true in <lambda>()
194 if (started) { in <lambda>()
195 started = false in <lambda>()
/frameworks/base/test-runner/src/android/test/
DTestPrinter.java48 private void started(String className) { in started() method in TestPrinter
95 started(test.toString()); in startTest()
/frameworks/base/core/java/android/view/contentcapture/
DChildContentCaptureSession.java93 public void internalNotifyViewTreeEvent(boolean started) { in internalNotifyViewTreeEvent() argument
94 getMainCaptureSession().notifyViewTreeEvent(mId, started); in internalNotifyViewTreeEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DPhysicalDisplaySwitchTransitionLauncher.java108 final boolean started = mDisplayContent.mRemoteDisplayChangeController in onDisplayUpdated()
112 if (!started) { in onDisplayUpdated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImpl.kt103 started = SharingStarted.WhileSubscribed(), in <lambda>()
148 .stateIn(scope, started = SharingStarted.WhileSubscribed(), initialValue = false) in <lambda>()
215 started = SharingStarted.WhileSubscribed(), in <lambda>()
235 started = SharingStarted.WhileSubscribed(), in <lambda>()
/frameworks/base/core/java/android/service/dreams/
DIDreamService.aidl25 … void attach(IBinder windowToken, boolean canDoze, boolean isPreviewMode, IRemoteCallback started); in attach() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DKeyguardQuickAffordanceRemoteUserSelectionManager.kt84 started = SharingStarted.Eagerly, in <lambda>()
105 started = SharingStarted.Eagerly, in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/tv/
DTvPipNotificationTests.kt44 val started = startNotificationListener() in tvPipNotificationTestsSetUp() constant
45 if (!started) { in tvPipNotificationTestsSetUp()
/frameworks/base/core/java/com/android/internal/app/procstats/
DServiceState.java299 public void setStarted(boolean started, int memFactor, long now) { in setStarted() argument
303 mStarted = started; in setStarted()
314 final boolean started = mStarted || mRestarting; in updateStartedState()
315 final int state = started ? memFactor : STATE_NOTHING; in updateStartedState()
320 } else if (started) { in updateStartedState()
326 if (wasStarted != started) { in updateStartedState()
327 if (started) { in updateStartedState()
/frameworks/base/core/java/android/app/
DFragmentHostCallback.java327 LoaderManagerImpl getLoaderManager(String who, boolean started, boolean create) { in getLoaderManager() argument
333 lm = new LoaderManagerImpl(who, this, started); in getLoaderManager()
335 } else if (started && lm != null && !lm.mStarted){ in getLoaderManager()
/frameworks/base/core/java/android/view/animation/
DAnimationSet.java395 boolean started = false; in getTransformation()
407 started = started || a.hasStarted(); in getTransformation()
411 if (started && !mStarted) { in getTransformation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DBiometricSettingsRepository.kt177 started = SharingStarted.Eagerly,
280 started = SharingStarted.Eagerly,
297 started = SharingStarted.Eagerly,
/frameworks/av/apex/
Dmediatranscoding.32rc5 # to API29, but we only want it started on API31+ devices. So we declare it as
Dmediatranscoding.rc6 # to API29, but we only want it started on API31+ devices. So we declare it as
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothCallback.java62 default void onScanningStateChanged(boolean started) {} in onScanningStateChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/airplane/ui/viewmodel/
DAirplaneModeViewModel.kt66 .stateIn(scope, started = SharingStarted.WhileSubscribed(), initialValue = false)
/frameworks/base/core/java/android/os/
DZygoteProcess.java722 boolean started = false; in startViaZygote()
724 if (started) { in startViaZygote()
727 started = true; in startViaZygote()
740 boolean started = false; in startViaZygote()
742 if (started) { in startViaZygote()
745 started = true; in startViaZygote()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DUserSetupRepository.kt71 .stateIn(scope, started = SharingStarted.WhileSubscribed(), initialValue = false)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionsRepositoryImpl.kt126 .stateIn(scope, started = SharingStarted.WhileSubscribed(), null) in <lambda>()
160 .stateIn(scope, started = SharingStarted.WhileSubscribed(), listOf()) in <lambda>()
185 .stateIn(scope, started = SharingStarted.WhileSubscribed(), null) in <lambda>()

12345