Home
last modified time | relevance | path

Searched refs:onStart (Results 1 – 25 of 558) sorted by relevance

12345678910>>...23

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSensitiveNotificationProtectionControllerTest.kt187 mediaProjectionCallback.onStart(mediaProjectionInfo) in registerSensitiveStateListener_singleListener()
198 mediaProjectionCallback.onStart(mediaProjectionInfo) in registerSensitiveStateListener_multipleListeners()
207 mediaProjectionCallback.onStart(mediaProjectionInfo) in registerSensitiveStateListener_afterProjectionActive()
221 mediaProjectionCallback.onStart(mediaProjectionInfo) in unregisterSensitiveStateListener_singleListener()
228 mediaProjectionCallback.onStart(mediaProjectionInfo) in unregisterSensitiveStateListener_singleListener()
240 mediaProjectionCallback.onStart(mediaProjectionInfo) in unregisterSensitiveStateListener_multipleListeners()
250 mediaProjectionCallback.onStart(mediaProjectionInfo) in unregisterSensitiveStateListener_multipleListeners()
265 mediaProjectionCallback.onStart(mediaProjectionInfo) in isSensitiveStateActive_projectionActive_true()
272 mediaProjectionCallback.onStart(mediaProjectionInfo) in isSensitiveStateActive_projectionInactiveAfterActive_false()
280 mediaProjectionCallback.onStart(mediaProjectionInfo) in isSensitiveStateActive_projectionActiveAfterInactive_true()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DSensitiveContentProtectionManagerServiceNotificationTest.java311 mMediaProjectionCallbackCaptor.getValue().onStart(mediaProjectionInfo); in mediaProjectionOnStart_verifyExemptedRecorderPackage()
321 mMediaProjectionCallbackCaptor.getValue().onStart(createMediaProjectionInfo()); in mediaProjectionOnStart_flagDisabled_neverSetBlockScreenCaptureForAppsSessionId()
331 mMediaProjectionCallbackCaptor.getValue().onStart(createMediaProjectionInfo()); in mediaProjectionOnStart_setBlockScreenCaptureForAppsSessionId()
340 mMediaProjectionCallbackCaptor.getValue().onStart(createMediaProjectionInfo()); in mediaProjectionOnStart_onProjectionStart_setWmBlockedPackages()
349 mMediaProjectionCallbackCaptor.getValue().onStart(createMediaProjectionInfo()); in mediaProjectionOnStart_noSensitiveNotifications_noBlockedPackages()
358 mMediaProjectionCallbackCaptor.getValue().onStart(createMediaProjectionInfo()); in mediaProjectionOnStart_noNotifications_noBlockedPackages()
368 mMediaProjectionCallbackCaptor.getValue().onStart(createMediaProjectionInfo()); in mediaProjectionOnStart_multipleNotifications_setWmBlockedPackages()
378 mMediaProjectionCallbackCaptor.getValue().onStart(createMediaProjectionInfo()); in mediaProjectionOnStart_multiplePackages_setWmBlockedPackages()
388 mMediaProjectionCallbackCaptor.getValue().onStart(createMediaProjectionInfo()); in mediaProjectionOnStart_multipleUid_setWmBlockedPackages()
398 mMediaProjectionCallbackCaptor.getValue().onStart(mediaProjectionInfo); in mediaProjectionOnStop_onProjectionEnd_clearWmBlockedPackages()
[all …]
DSensitiveContentProtectionManagerServiceContentTest.java107 mMediaPorjectionCallback.onStart(exemptedRecorderPackage); in testExemptedRecorderPackageForScreenCapture()
115 mMediaPorjectionCallback.onStart(mMediaProjectionInfo); in testBlockAppWindowForScreenCapture()
125 mMediaPorjectionCallback.onStart(mMediaProjectionInfo); in testUnblockAppWindowForScreenCapture()
142 mMediaPorjectionCallback.onStart(mMediaProjectionInfo); in testAppWindowsAreUnblockedOnScreenCaptureEnd()
157 mMediaPorjectionCallback.onStart(mMediaProjectionInfo); in testAutofillServicePackageExemption()
166 mMediaProjectionCallbackCaptor.getValue().onStart(mMediaProjectionInfo); in testDeveloperOptionDisableFeature()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DAodAlphaViewModel.kt36 import kotlinx.coroutines.flow.onStart in <lambda>()
56 goneToAodTransitionViewModel.enterFromTopAnimationAlpha.onStart { emit(0f) }, in <lambda>()
57 goneToDozingTransitionViewModel.lockscreenAlpha.onStart { emit(0f) }, in <lambda>()
58 keyguardInteractor.keyguardAlpha.onStart { emit(1f) }, in <lambda>()
81 goneToAodTransitionViewModel.enterFromTopAnimationAlpha.onStart { emit(0f) }, in <lambda>()
82 goneToDozingTransitionViewModel.lockscreenAlpha.onStart { emit(0f) }, in <lambda>()
83 keyguardInteractor.keyguardAlpha.onStart { emit(1f) }, in <lambda>()
DAodBurnInViewModel.kt43 import kotlinx.coroutines.flow.onStart in <lambda>()
80 keyguardInteractor.keyguardTranslationY.onStart { emit(0f) }, in <lambda>()
81 burnIn(params).onStart { emit(BurnInModel()) }, in <lambda>()
84 .onStart { emit(StateToValue()) }, in <lambda>()
85 occludedToLockscreenTransitionViewModel.lockscreenTranslationY.onStart { in <lambda>()
88 aodToLockscreenTransitionViewModel.translationY(params.translationY).onStart { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DBatteryControllerExt.kt23 import kotlinx.coroutines.flow.onStart
40 .onStart { emit(isPluggedIn) } in BatteryController()
54 .onStart { emit(isPowerSave) } in isBatteryPowerSaveEnabled()
72 .onStart { emit(0) } in getBatteryLevel()
86 .onStart { emit(isExtremeSaverOn) } in isExtremePowerSaverEnabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/condition/
DConditionalCoreStartableTest.java50 void onStart(); in onStart() method
68 protected void onStart() { in onStart() method in ConditionalCoreStartableTest.FakeConditionalCoreStartable
69 mCallback.onStart(); in onStart()
121 verify(mCallback, never()).onStart(); in testOnStartCallback()
125 verify(mCallback).onStart(); in testOnStartCallback()
146 verify(mCallback, never()).onStart(); in testOnStartCallbackWithNoConditions()
150 verify(mCallback).onStart(); in testOnStartCallbackWithNoConditions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/
DFingerprintPropertyRepository.kt47 import kotlinx.coroutines.flow.onStart in <lambda>()
140 .onStart { emit(props.value != UNINITIALIZED_PROPS) }, in <lambda>()
141 sensorId.map {}.onStart { if (props.value != UNINITIALIZED_PROPS) emit(Unit) }, in <lambda>()
144 .onStart { if (props.value != UNINITIALIZED_PROPS) emit(Unit) }, in <lambda>()
145 sensorType.map {}.onStart { if (props.value != UNINITIALIZED_PROPS) emit(Unit) }, in <lambda>()
146 strength.map {}.onStart { if (props.value != UNINITIALIZED_PROPS) emit(Unit) }, in <lambda>()
/frameworks/base/core/java/android/tracing/inputmethod/
DInputMethodDataSource.java38 public InputMethodDataSource(@NonNull Runnable onStart, @NonNull Runnable onStop) { in InputMethodDataSource() argument
40 mOnStartCallback = onStart; in InputMethodDataSource()
48 protected void onStart(StartCallbackArguments args) { in createInstance()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DAuthServiceTest.java193 mAuthService.onStart(); in testRegisterNullService_doesNotRegister()
223 mAuthService.onStart(); in testRegisterAuthenticator_registerAuthenticators()
255 mAuthService.onStart(); in testAuthenticate_appOpsOk_callsBiometricServiceAuthenticate()
284 mAuthService.onStart(); in testAuthenticate_appOpsDenied_doesNotCallBiometricService()
312 mAuthService.onStart(); in testAuthenticate_missingRequiredParam()
333 mAuthService.onStart(); in testAuthenticate_noVdmInternalService_noCrash()
352 mAuthService.onStart(); in testAuthenticate_callsVirtualDeviceManagerOnAuthenticationPrompt()
398 mAuthService.onStart(); in testAuthenticate_throwsSecurityException()
415 mAuthService.onStart(); in testCanAuthenticate_callsBiometricServiceCanAuthenticate()
441 mAuthService.onStart(); in testHasEnrolledBiometrics_callsBiometricServiceHasEnrolledBiometrics()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAlertDialogWithDelegate.kt48 override fun onStart() { in onStart() method
49 super.onStart() in onStart()
51 delegate.onStart(dialog = this) in onStart()
DSystemUIBottomSheetDialog.kt44 import kotlinx.coroutines.flow.onStart
84 override fun onStart() { in onStart() method
85 super.onStart() in onStart()
97 delegate.onStart(this) in onStart()
151 .onStart { emit(context.resources.configuration) } in create()
/frameworks/base/core/java/android/tracing/transition/
DTransitionDataSource.java37 public TransitionDataSource(Runnable onStart, Runnable onFlush, Runnable onStop) { in TransitionDataSource() argument
39 this.mOnStartStaticCallback = onStart; in TransitionDataSource()
48 protected void onStart(StartCallbackArguments args) { in createInstance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/
DKeepAwakeAnimationListener.java42 onStart(); in onAnimationStart()
57 onStart(); in onAnimationStart()
65 private void onStart() { in onStart() method in KeepAwakeAnimationListener
/frameworks/base/services/tests/servicestests/src/com/android/server/
DSystemServiceManagerTest.java45 public void onStart() { in testSealStartedServices()
51 public void onStart() { in testSealStartedServices()
71 public void onStart() { in testDuplicateServices()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/util/
DAnimatorExtensions.kt39 ): Animator.AnimatorListener = addListener(onStart = action) in doOnEnd()
67 crossinline onStart: (animator: Animator) -> Unit = {}, in <lambda>()
76 override fun onAnimationStart(animator: Animator) = onStart(animator)
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/nestedscroll/
DPriorityNestedScrollConnection.kt43 private val onStart: (offsetAvailable: Offset) -> Unit, in <lambda>() constant in com.android.compose.nestedscroll.PriorityNestedScrollConnection
149 onStart(available) in <lambda>()
175 onStart: (offsetAvailable: Float) -> Unit, in PriorityNestedScrollConnection()
192 onStart = { offsetAvailable -> onStart(offsetAvailable.toFloat()) }, in PriorityNestedScrollConnection()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/
DNotificationScrimNestedScrollConnection.kt40 onStart: (Float) -> Unit = {}, in <lambda>()
64 onStart = { offsetAvailable -> onStart(offsetAvailable) }, in offsetAvailable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/
DMediaDeviceSessionInteractor.kt36 import kotlinx.coroutines.flow.onStart in <lambda>()
70 onStart: in <lambda>()
78 mediaControllerInteractor.stateChanges(controller).onStart { onStart(controller) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerAlwaysOnDisplayViewModel.kt36 import kotlinx.coroutines.flow.onStart in <lambda>()
67 keyguardTransitionInteractor.transitionValue(KeyguardState.AOD).onStart { in <lambda>()
70 keyguardTransitionInteractor.transitionValue(KeyguardState.DOZING).onStart { in <lambda>()
87 .onStart { emit(true) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ui/
DSystemBarUtilsState.kt31 import kotlinx.coroutines.flow.onStart
48 .onStart<Any> { emit(Unit) } in <lambda>()
58 .onStart<Any> { emit(Unit) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSomnambulator.java38 public void onStart() { in onStart() method in Somnambulator
39 super.onStart(); in onStart()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DImeActivityAutoFocus.java21 protected void onStart() { in onStart() method in ImeActivityAutoFocus
22 super.onStart(); in onStart()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DSavedNetworkTrackerTest.java166 savedNetworkTracker.onStart(); in testWifiStateChangeBroadcast_updatesWifiState()
192 savedNetworkTracker.onStart(); in testWifiStateChangeBroadcast_notifiesListener()
211 savedNetworkTracker.onStart(); in testConfiguredNetworksChanged_notifiesListener()
234 savedNetworkTracker.onStart(); in testGetSavedWifiEntries_onStart_entryForEachConfiguredNetwork()
252 savedNetworkTracker.onStart(); in testGetSavedWifiEntries_configuredNetworksChanged_addsEntry()
281 savedNetworkTracker.onStart(); in testGetSavedWifiEntries_configuredNetworksChanged_removesEntry()
302 savedNetworkTracker.onStart(); in testScanResultsAvailableAction_notifiesListener()
323 savedNetworkTracker.onStart(); in testGetSavedWifiEntries_scanResultsAvailableAction_changesLevel()
357 savedNetworkTracker.onStart(); in testGetSubscriptionWifiEntries_returnsPasspointEntries()
401 savedNetworkTracker.onStart(); in testGetSavedNetworks_splitConfigs_entriesMergedBySecurityFamily()
[all …]
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/
DViewCaptureDataSource.java38 ViewCaptureDataSource(Runnable onStart, Runnable onFlush, Runnable onStop) { in ViewCaptureDataSource() argument
40 this.mOnStartStaticCallback = onStart; in ViewCaptureDataSource()
63 protected void onStart(StartCallbackArguments args) { in createInstance()

12345678910>>...23