Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 25 of 404) sorted by relevance

12345678910>>...17

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionAuditLogger.kt40 @Background private val scope: CoroutineScope, constant in com.android.systemui.keyguard.domain.interactor.KeyguardTransitionAuditLogger
52 scope.launch { in start()
58 scope.launch { in start()
64 scope.launch { in start()
71 scope.launch { in start()
78 scope.launch { in start()
84 scope.launch { in start()
90 scope.launch { in start()
96 scope.launch { in start()
100 scope.launch { in start()
[all …]
DFromDreamingTransitionInteractor.kt51 @Background private val scope: CoroutineScope, in <lambda>() constant
76 listenForTransitionToCamera(scope, keyguardInteractor) in <lambda>()
82 scope.launch("$TAG#listenForDreamingToAlternateBouncer") { in <lambda>()
95 scope.launch("$TAG#listenForDreamingToGlanceableHub", mainDispatcher) { in <lambda>()
105 scope.launch { in <lambda>()
120 scope.launch { in <lambda>()
133 scope.launch { in <lambda>()
143 scope.launch { in <lambda>()
173 scope.launch { in <lambda>()
183 scope.launch { in <lambda>()
[all …]
DFromGlanceableHubTransitionInteractor.kt47 @Background private val scope: CoroutineScope, in <lambda>() constant in com.android.systemui.keyguard.domain.interactor.FromGlanceableHubTransitionInteractor
98 scope.launch("$TAG#listenForGlanceableHubToLockscreenOrDream") { in <lambda>()
118 scope.launch("$TAG#listenForHubToPrimaryBouncer") { in <lambda>()
126 scope.launch("$TAG#listenForHubToAlternateBouncer") { in <lambda>()
136 scope.launch { in <lambda>()
150 scope.launch { in <lambda>()
156 scope.launch { in <lambda>()
169 scope.launch { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DFullMobileConnectionRepository.kt57 @Application scope: CoroutineScope, in <lambda>()
82 .stateIn(scope, SharingStarted.WhileSubscribed(), startingIsCarrierMerged) in <lambda>()
115 .stateIn(scope, SharingStarted.WhileSubscribed(), initial) in <lambda>()
121 .stateIn(scope, SharingStarted.WhileSubscribed(), activeRepo.value.carrierId.value) in <lambda>()
126 .stateIn(scope, SharingStarted.WhileSubscribed(), activeRepo.value.cdmaRoaming.value) in <lambda>()
138 scope, in <lambda>()
152 .stateIn(scope, SharingStarted.WhileSubscribed(), activeRepo.value.isRoaming.value) in <lambda>()
164 scope, in <lambda>()
178 .stateIn(scope, SharingStarted.WhileSubscribed(), activeRepo.value.isInService.value) in <lambda>()
190 scope, in <lambda>()
[all …]
DMobileConnectionRepositoryImpl.kt111 scope: CoroutineScope, in <lambda>()
204 .stateIn(scope = scope, started = SharingStarted.WhileSubscribed(), initial) in <lambda>()
211 .stateIn(scope, SharingStarted.WhileSubscribed(), false) in <lambda>()
223 .stateIn(scope, SharingStarted.WhileSubscribed(), false) in <lambda>()
229 .stateIn(scope, SharingStarted.WhileSubscribed(), null) in <lambda>()
235 .stateIn(scope, SharingStarted.WhileSubscribed(), false) in <lambda>()
241 .stateIn(scope, SharingStarted.WhileSubscribed(), false) in <lambda>()
247 .stateIn(scope, SharingStarted.WhileSubscribed(), false) in <lambda>()
262 .stateIn(scope, SharingStarted.WhileSubscribed(), SIGNAL_STRENGTH_NONE_OR_UNKNOWN) in <lambda>()
268 .stateIn(scope, SharingStarted.WhileSubscribed(), SIGNAL_STRENGTH_NONE_OR_UNKNOWN) in <lambda>()
[all …]
DCarrierMergedConnectionRepository.kt62 @Application private val scope: CoroutineScope, in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository
110 scope, in <lambda>()
126 .stateIn(scope, SharingStarted.WhileSubscribed(), DEFAULT_NUM_LEVELS) in <lambda>()
131 .stateIn(scope, SharingStarted.WhileSubscribed(), SIGNAL_STRENGTH_NONE_OR_UNKNOWN) in <lambda>()
136 .stateIn(scope, SharingStarted.WhileSubscribed(), SIGNAL_STRENGTH_NONE_OR_UNKNOWN) in <lambda>()
150 scope, in <lambda>()
164 .stateIn(scope, SharingStarted.WhileSubscribed(), DataConnectionState.Disconnected) in <lambda>()
207 @Application private val scope: CoroutineScope, in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository.Factory
219 scope, in <lambda>()
/frameworks/base/services/core/java/com/android/server/storage/
DAppFuseBridge.java101 final MountScope scope;
103 scope = mScopes.get(mountId);
104 if (scope == null) {
108 final boolean result = scope.waitForMount();
114 return scope.openFile(mountId, fileId, flags);
122 final MountScope scope = mScopes.get(mountId);
123 if (scope != null) {
124 scope.setMountResultLocked(true);
130 final MountScope scope = mScopes.get(mountId);
131 if (scope != null) {
[all …]
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DAppListViewModel.kt80 private val scope = viewModelScope + Dispatchers.IO constant
86 }.shareIn(scope = scope, started = SharingStarted.Eagerly, replay = 1) in config()
99 .shareIn(scope = scope, started = SharingStarted.Eagerly, replay = 1)
106 .shareIn(scope = scope, started = SharingStarted.Eagerly, replay = 1)
112 }.shareIn(scope = scope, started = SharingStarted.Eagerly, replay = 1) in option()
115 scope.launch { in reloadApps()
124 }.shareIn(scope = scope, started = SharingStarted.Eagerly, replay = 1) in userSubGraphList()
129 }.shareIn(scope = scope, started = SharingStarted.Eagerly, replay = 1) in listModel()
156 }.shareIn(scope = scope, started = SharingStarted.Eagerly, replay = 1)
163 scope.launch { in reloadApps()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/condition/
DCombinedConditionTest.kt40 scope: CoroutineScope,
44 ) : Condition(scope, initialValue, overriding) {
69 FakeCondition(scope = this, initialValue = false, startStrategy = START_WHEN_NEEDED) in <lambda>()
71 FakeCondition(scope = this, initialValue = false, startStrategy = START_EAGERLY) in <lambda>()
73 FakeCondition(scope = this, initialValue = false, startStrategy = START_LAZILY) in <lambda>()
77 scope = this, in <lambda>()
118 FakeCondition(scope = this, initialValue = false, startStrategy = START_WHEN_NEEDED) in <lambda>()
120 FakeCondition(scope = this, initialValue = false, startStrategy = START_EAGERLY) in <lambda>()
122 FakeCondition(scope = this, initialValue = false, startStrategy = START_LAZILY) in <lambda>()
126 scope = this, in <lambda>()
[all …]
DFakeCondition.java26 FakeCondition(CoroutineScope scope) { in FakeCondition() argument
27 super(scope); in FakeCondition()
30 FakeCondition(CoroutineScope scope, Boolean initialValue, boolean overriding) { in FakeCondition() argument
31 super(scope, initialValue, overriding); in FakeCondition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DMobileRepositorySwitcher.kt71 @Application scope: CoroutineScope, in <lambda>()
99 .stateIn(scope, SharingStarted.WhileSubscribed(), demoModeController.isInDemoMode) in <lambda>()
112 .stateIn(scope, SharingStarted.WhileSubscribed(), realRepository) in <lambda>()
117 .stateIn(scope, SharingStarted.WhileSubscribed(), realRepository.subscriptions.value) in <lambda>()
123 scope, in <lambda>()
132 scope, in <lambda>()
144 scope, in <lambda>()
159 scope, in <lambda>()
170 .stateIn(scope, SharingStarted.WhileSubscribed(), realRepository.defaultDataSubId.value) in <lambda>()
175 .stateIn(scope, SharingStarted.WhileSubscribed(), realRepository.mobileIsDefault.value) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScreenshotSoundControllerTest.kt42 private val scope = TestScope(bgDispatcher) constant in com.android.systemui.screenshot.ScreenshotSoundControllerTest
52 scope.advanceUntilIdle() in init_soundLoading()
59 scope.runTest { in init_soundLoadingException_playAndReleaseDoNotThrow()
73 scope.runTest { in playCameraSound_soundLoadingSuccessful_mediaPlayerPlays()
84 scope.runTest { in playCameraSound_illegalStateException_doesNotThrow()
97 scope.runTest { in playCameraSound_soundLoadingSuccessful_mediaPlayerReleases()
107 ScreenshotSoundControllerImpl(soundProvider, scope, bgDispatcher)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/
DWifiRepositorySwitcher.kt65 @Application scope: CoroutineScope, in <lambda>()
89 .stateIn(scope, SharingStarted.WhileSubscribed(), demoModeController.isInDemoMode) in <lambda>()
101 .stateIn(scope, SharingStarted.WhileSubscribed(), realImpl) in <lambda>()
106 .stateIn(scope, SharingStarted.WhileSubscribed(), realImpl.isWifiEnabled.value) in <lambda>()
111 .stateIn(scope, SharingStarted.WhileSubscribed(), realImpl.isWifiDefault.value) in <lambda>()
116 .stateIn(scope, SharingStarted.WhileSubscribed(), realImpl.wifiNetwork.value) in <lambda>()
121 .stateIn(scope, SharingStarted.WhileSubscribed(), realImpl.secondaryNetworks.value) in <lambda>()
126 .stateIn(scope, SharingStarted.WhileSubscribed(), realImpl.wifiActivity.value) in <lambda>()
131 .stateIn(scope, SharingStarted.WhileSubscribed(), realImpl.wifiScanResults.value) in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DCoroutineTestScopeModule.kt35 @get:Provides val scope: TestScope, constant in com.android.systemui.CoroutineTestScopeModule
43 scope: TestScope
44 ) : this(scope, scope.coroutineContext[ContinuationInterceptor] as TestDispatcher)
49 val appScope: CoroutineScope = scope.backgroundScope
52 val bgScope: CoroutineScope = scope.backgroundScope
/frameworks/native/services/surfaceflinger/sysprop/
DSurfaceFlingerProperties.sysprop39 scope: Public
47 scope: Public
56 scope: Public
65 scope: Public
75 scope: Public
85 scope: Public
103 scope: Public
113 scope: Public
131 scope: Public
140 scope: Public
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconViewModel.kt84 scope: CoroutineScope,
93 scope, in <lambda>()
117 .stateIn(scope, SharingStarted.WhileSubscribed(), cellProvider)
122 .stateIn(scope, SharingStarted.WhileSubscribed(), false)
137 .stateIn(scope, SharingStarted.WhileSubscribed(), null)
178 scope: CoroutineScope,
205 .stateIn(scope, SharingStarted.WhileSubscribed(), false)
228 .stateIn(scope, SharingStarted.WhileSubscribed(), null)
248 .stateIn(scope, SharingStarted.WhileSubscribed(), false)
269 .stateIn(scope, SharingStarted.WhileSubscribed(), null)
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DWindowManagerLockscreenVisibilityViewBinder.kt35 scope: CoroutineScope in bind()
37 scope.launch("$TAG#viewModel.surfaceBehindVisibility") { in bind()
43 scope.launch("$TAG#viewModel.lockscreenVisibility") { in bind()
49 scope.launch("$TAG#viewModel.aodVisibility") { in bind()
53 scope.launch("$TAG#viewModel.surfaceBehindAnimating") { in bind()
/frameworks/base/tools/bit/
Daapt.cpp175 Scope* scope = new Scope(NULL, -1); in inspect_apk() local
185 while (depth < scope->depth) { in inspect_apk()
186 Scope* tmp = scope; in inspect_apk()
187 scope = scope->parent; in inspect_apk()
190 scope = new Scope(scope, depth); in inspect_apk()
191 scope->namespaces[match[2]] = match[3]; in inspect_apk()
200 element->ns = scope->namespaces[string(str, 0, colon)]; in inspect_apk()
233 while (scope != NULL) { in inspect_apk()
234 Scope* tmp = scope; in inspect_apk()
235 scope = scope->parent; in inspect_apk()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/airplane/data/repository/
DAirplaneModeRepositoryImplTest.kt57 private val scope = TestScope(testContext) constant in com.android.systemui.statusbar.pipeline.airplane.data.repository.AirplaneModeRepositoryImplTest
74 scope.backgroundScope.coroutineContext, in setUp()
77 scope.backgroundScope, in setUp()
83 scope.runTest { in isAirplaneMode_initiallyGetsSettingsValue()
90 scope.backgroundScope.coroutineContext, in isAirplaneMode_initiallyGetsSettingsValue()
93 scope.backgroundScope, in isAirplaneMode_initiallyGetsSettingsValue()
103 scope.runTest { in isAirplaneMode_settingUpdated_valueUpdated()
121 scope.runTest { in setIsAirplaneMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconsInteractor.kt138 @Application private val scope: CoroutineScope, constant
161 .stateIn(scope, SharingStarted.WhileSubscribed(), false)
166 .stateIn(scope, SharingStarted.WhileSubscribed(), false)
177 .stateIn(scope, SharingStarted.WhileSubscribed(), null)
236 .stateIn(scope, SharingStarted.WhileSubscribed(), listOf())
288 .stateIn(scope, SharingStarted.WhileSubscribed(), emptyList())
314 .stateIn(scope, SharingStarted.WhileSubscribed(), false)
322 scope,
330 .stateIn(scope, SharingStarted.WhileSubscribed(), false)
335 .stateIn(scope, SharingStarted.WhileSubscribed(), false)
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/accessibility/data/repository/
DOneHandedModeRepositoryImplTest.kt44 private val scope = TestScope(testDispatcher) constant
50 scope.backgroundScope,
56 scope.runTest { in isEnabled_settingNotInitialized_returnsFalseByDefault()
66 scope.runTest { in isEnabled_initiallyGetsSettingsValue()
77 scope.runTest { in isEnabled_settingUpdated_valueUpdated()
95 scope.runTest { in isEnabled_settingForUserOneOnly_valueUpdatedForUserOneOnly()
113 scope.runTest { in setEnabled()
124 scope.runTest { in setDisabled()
DColorInversionRepositoryImplTest.kt46 private val scope = TestScope(testDispatcher) constant in com.android.systemui.accessibility.data.repository.ColorInversionRepositoryImplTest
56 scope.backgroundScope, in setUp()
63 scope.runTest { in isEnabled_settingNotInitialized_returnsFalseByDefault()
73 scope.runTest { in isEnabled_initiallyGetsSettingsValue()
84 scope.runTest { in isEnabled_settingUpdated_valueUpdated()
100 scope.runTest { in isEnabled_settingForUserOneOnly_valueUpdatedForUserOneOnly()
118 scope.runTest { in setEnabled()
129 scope.runTest { in setDisabled()
DColorCorrectionRepositoryImplTest.kt46 private val scope = TestScope(testDispatcher) constant in com.android.systemui.accessibility.data.repository.ColorCorrectionRepositoryImplTest
56 scope.backgroundScope, in setUp()
63 scope.runTest { in isEnabled_settingNotInitialized_returnsFalseByDefault()
73 scope.runTest { in isEnabled_initiallyGetsSettingsValue()
84 scope.runTest { in isEnabled_settingUpdated_valueUpdated()
102 scope.runTest { in isEnabled_settingForUserOneOnly_valueUpdatedForUserOneOnly()
122 scope.runTest { in setEnabled()
133 scope.runTest { in setDisabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionRepository.kt58 val scope: CoroutineScope, in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.demo.DemoMobileConnectionRepository
69 .stateIn(scope, SharingStarted.WhileSubscribed(), _carrierId.value) in <lambda>()
80 .stateIn(scope, SharingStarted.WhileSubscribed(), _inflateSignalStrength.value) in <lambda>()
94 .stateIn(scope, SharingStarted.WhileSubscribed(), _isEmergencyOnly.value) in <lambda>()
105 .stateIn(scope, SharingStarted.WhileSubscribed(), _isRoaming.value) in <lambda>()
116 .stateIn(scope, SharingStarted.WhileSubscribed(), _operatorAlphaShort.value) in <lambda>()
127 .stateIn(scope, SharingStarted.WhileSubscribed(), _isInService.value) in <lambda>()
138 .stateIn(scope, SharingStarted.WhileSubscribed(), _isNonTerrestrial.value) in <lambda>()
149 .stateIn(scope, SharingStarted.WhileSubscribed(), _isGsm.value) in <lambda>()
160 .stateIn(scope, SharingStarted.WhileSubscribed(), _cdmaLevel.value) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/data/
DDeviceBasedSatelliteRepositorySwitcher.kt62 @Application scope: CoroutineScope, in <lambda>()
86 .stateIn(scope, SharingStarted.WhileSubscribed(), demoModeController.isInDemoMode) in <lambda>()
98 .stateIn(scope, SharingStarted.WhileSubscribed(), realImpl) in <lambda>()
103 .stateIn(scope, SharingStarted.WhileSubscribed(), realImpl.isSatelliteProvisioned.value) in <lambda>()
108 .stateIn(scope, SharingStarted.WhileSubscribed(), realImpl.connectionState.value) in <lambda>()
113 .stateIn(scope, SharingStarted.WhileSubscribed(), realImpl.signalStrength.value) in <lambda>()
119 scope, in <lambda>()

12345678910>>...17