Home
last modified time | relevance | path

Searched refs:repo (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopModeTaskRepositoryTest.kt36 private lateinit var repo: DesktopModeTaskRepository variable in com.android.wm.shell.desktopmode.DesktopModeTaskRepositoryTest
40 repo = DesktopModeTaskRepository() in setUp()
46 repo.addActiveTaskListener(listener) in addActiveTask_listenerNotifiedAndTaskIsActive()
48 repo.addActiveTask(DEFAULT_DISPLAY, taskId = 1) in addActiveTask_listenerNotifiedAndTaskIsActive()
50 assertThat(repo.isActiveTask(1)).isTrue() in addActiveTask_listenerNotifiedAndTaskIsActive()
56 repo.addActiveTaskListener(listener) in addActiveTask_sameTaskDoesNotNotify()
58 repo.addActiveTask(DEFAULT_DISPLAY, taskId = 1) in addActiveTask_sameTaskDoesNotNotify()
59 repo.addActiveTask(DEFAULT_DISPLAY, taskId = 1) in addActiveTask_sameTaskDoesNotNotify()
66 repo.addActiveTaskListener(listener) in addActiveTask_multipleTasksAddedNotifiesForEach()
68 repo.addActiveTask(DEFAULT_DISPLAY, taskId = 1) in addActiveTask_multipleTasksAddedNotifiesForEach()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/ui/viewmodel/
DDeviceBasedSatelliteViewModelTest.kt51 private val repo = FakeDeviceBasedSatelliteRepository() constant in com.android.systemui.statusbar.pipeline.satellite.ui.viewmodel.DeviceBasedSatelliteViewModelTest
68 repo, in setUp()
91 repo.isSatelliteAllowedForCurrentLocation.value = false in icon_nullWhenShouldNotShow_satelliteNotAllowed()
111 repo.isSatelliteAllowedForCurrentLocation.value = true in icon_nullWhenShouldNotShow_notAllOos()
132 repo.isSatelliteAllowedForCurrentLocation.value = true in icon_nullWhenShouldNotShow_isEmergencyOnly()
161 repo.isSatelliteAllowedForCurrentLocation.value = true in icon_nullWhenShouldNotShow_apmIsEnabled()
182 repo.isSatelliteAllowedForCurrentLocation.value = true in icon_satelliteIsOn()
206 repo.isSatelliteAllowedForCurrentLocation.value = true in icon_hysteresisWhenEnablingIcon()
239 repo.isSatelliteAllowedForCurrentLocation.value = true in icon_deviceIsProvisioned()
250 repo.isSatelliteProvisioned.value = false in icon_deviceIsProvisioned()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/domain/interactor/
DDeviceBasedSatelliteInteractorTest.kt55 private val repo = FakeDeviceBasedSatelliteRepository() constant in com.android.systemui.statusbar.pipeline.satellite.domain.interactor.DeviceBasedSatelliteInteractorTest
65 repo, in setUp()
80 repo.isSatelliteAllowedForCurrentLocation.value = false in isSatelliteAllowed_falseWhenNotAllowed()
93 repo.isSatelliteAllowedForCurrentLocation.value = true in isSatelliteAllowed_trueWhenAllowed()
108 repo, in isSatelliteAllowed_offWhenFlagIsOff()
118 repo.isSatelliteAllowedForCurrentLocation.value = true in isSatelliteAllowed_offWhenFlagIsOff()
131 repo.connectionState.value = SatelliteConnectionState.Off in connectionState_matchesRepositoryValue()
135 repo.connectionState.value = SatelliteConnectionState.On in connectionState_matchesRepositoryValue()
139 repo.connectionState.value = SatelliteConnectionState.Connected in connectionState_matchesRepositoryValue()
143 repo.connectionState.value = SatelliteConnectionState.Unknown in connectionState_matchesRepositoryValue()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/data/repository/
DMediaProjectionManagerRepositoryTest.kt51 private val repo = kosmos.realMediaProjectionRepository constant in com.android.systemui.mediaprojection.data.repository.MediaProjectionManagerRepositoryTest
57 val state by collectLastValue(repo.mediaProjectionState) in switchProjectedTask_stateIsUpdatedWithNewTask()
60 repo.switchProjectedTask(task) in switchProjectedTask_stateIsUpdatedWithNewTask()
69 val state by collectLastValue(repo.mediaProjectionState) in mediaProjectionState_onStart_emitsNotProjecting()
79 val state by collectLastValue(repo.mediaProjectionState) in mediaProjectionState_onStop_emitsNotProjecting()
89 val state by collectLastValue(repo.mediaProjectionState) in mediaProjectionState_onSessionSet_sessionNull_emitsNotProjecting()
99 val state by collectLastValue(repo.mediaProjectionState) in mediaProjectionState_onSessionSet_contentToRecordDisplay_emitsEntireScreen()
111 val state by collectLastValue(repo.mediaProjectionState) in mediaProjectionState_sessionSet_taskWithToken_noMatchingRunningTask_emitsEntireScreen()
124 val state by collectLastValue(repo.mediaProjectionState) in mediaProjectionState_entireScreen_hasHostPackage()
147 val state by collectLastValue(repo.mediaProjectionState) in mediaProjectionState_sessionSet_taskWithToken_matchingRunningTask_emitsSingleTask()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/taskswitcher/data/repository/
DActivityTaskManagerTasksRepositoryTest.kt42 private val repo = kosmos.activityTaskManagerTasksRepository constant in com.android.systemui.mediaprojection.taskswitcher.data.repository.ActivityTaskManagerTasksRepositoryTest
47 val currentForegroundTask by collectLastValue(repo.foregroundTask) in launchRecentTask_taskIsMovedToForeground()
52 repo.launchRecentTask(newForegroundTask) in launchRecentTask_taskIsMovedToForeground()
63 repo.findRunningTaskFromWindowContainerToken(windowContainerToken = Binder()) in findRunningTaskFromWindowContainerToken_noMatch_returnsNull()
81 repo.findRunningTaskFromWindowContainerToken( in findRunningTaskFromWindowContainerToken_matchingToken_returnsTaskInfo()
92 val foregroundTask by collectLastValue(repo.foregroundTask) in foregroundTask_returnsStreamOfTasksMovedToFront()
107 val foregroundTaskA by collectLastValue(repo.foregroundTask) in foregroundTask_lastValueIsCached()
111 val foregroundTaskB by collectLastValue(repo.foregroundTask) in foregroundTask_lastValueIsCached()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/call/ui/viewmodel/
DCallChipViewModelTest.kt45 private val repo = kosmos.ongoingCallRepository constant
65 repo.setOngoingCallState(OngoingCallModel.NoCall) in chip_noCall_isHidden()
75 repo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 345, intent = null)) in chip_inCall_isShown()
88 repo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 1000, intent = null)) in chip_inCall_startTimeConvertedToElapsedRealtime()
102 repo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 1000, intent = null)) in chip_inCall_iconIsPhone()
116 repo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 1000, intent = null)) in chip_resetsCorrectly()
121 repo.setOngoingCallState(OngoingCallModel.NoCall) in chip_resetsCorrectly()
129 repo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 102_000, intent = null)) in chip_resetsCorrectly()
139 repo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 1000, intent = null)) in chip_inCall_nullIntent_clickListenerDoesNothing()
153 repo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 1000, intent = intent)) in chip_inCall_validIntent_clickListenerLaunchesIntent()
/frameworks/base/
DOWNERS.md46 # Complete include of top-level owners from this repo
48 # Partial include of top-level owners from this repo
52 # Complete include of subdirectory owners from this repo
54 # Partial include of subdirectory owners from this repo
58 # Complete include of top-level owners from another repo
60 # Partial include of top-level owners from another repo
64 # Complete include of subdirectory owners from another repo
66 # Partial include of subdirectory owners from another repo
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/domain/interactor/
DQSPreferencesInteractor.kt25 class QSPreferencesInteractor @Inject constructor(private val repo: QSPreferencesRepository) { constant in com.android.systemui.qs.panels.domain.interactor.QSPreferencesInteractor
26 val showLabels: Flow<Boolean> = repo.showLabels
29 repo.setShowLabels(showLabels) in setShowLabels()
DGridLayoutTypeInteractor.kt26 class GridLayoutTypeInteractor @Inject constructor(private val repo: GridLayoutTypeRepository) { constant in com.android.systemui.qs.panels.domain.interactor.GridLayoutTypeInteractor
27 val layout: StateFlow<GridLayoutType> = repo.layout
30 repo.setLayout(type) in setLayoutType()
DInfiniteGridSizeInteractor.kt25 class InfiniteGridSizeInteractor @Inject constructor(repo: InfiniteGridSizeRepository) {
26 val columns: StateFlow<Int> = repo.columns
DIconTilesInteractor.kt26 class IconTilesInteractor @Inject constructor(private val repo: IconTilesRepository) { constant in com.android.systemui.qs.panels.domain.interactor.IconTilesInteractor
27 fun isIconTile(spec: TileSpec): Boolean = repo.isIconTile(spec)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/domain/interactor/
DHeadsUpNotificationInteractor.kt53 repositories.map { repo -> repo.isPinned.map { isPinned -> repo to isPinned } } in <lambda>() method
55 pairs.filter { (_, isPinned) -> isPinned }.map { (repo, _) -> repo }.toSet() in <lambda>() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/domain/interactor/
DDeviceBasedSatelliteInteractor.kt45 val repo: DeviceBasedSatelliteRepository, in <lambda>() constant in com.android.systemui.statusbar.pipeline.satellite.domain.interactor.DeviceBasedSatelliteInteractor
54 repo.isSatelliteAllowedForCurrentLocation in <lambda>()
63 repo.connectionState in <lambda>()
73 repo.signalStrength in <lambda>()
79 val isSatelliteProvisioned = repo.isSatelliteProvisioned in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/call/domain/interactor/
DCallChipInteractorTest.kt33 val repo = kosmos.ongoingCallRepository constant in com.android.systemui.statusbar.chips.call.domain.interactor.CallChipInteractorTest
43 repo.setOngoingCallState(inCall) in ongoingCallState_matchesRepo()
47 repo.setOngoingCallState(noCall) in ongoingCallState_matchesRepo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/
DFaceSettingsRepository.kt50 FaceUserSettingsRepositoryImpl(id, mainHandler, secureSettings).also { repo -> in forUser() method
51 repo.start() in forUser()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyboard/shortcut/data/repository/
DShortcutHelperTestHelper.kt25 repo: ShortcutHelperRepository,
32 repo.start()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsServiceControllerCompat.java79 ImsFeatureBinderRepository repo) { in ImsServiceControllerCompat() argument
80 super(context, componentName, callbacks, repo, new FeatureFlagsImpl()); in ImsServiceControllerCompat()
87 ImsFeatureBinderRepository repo, MmTelFeatureCompatFactory factory) { in ImsServiceControllerCompat() argument
88 super(context, componentName, callbacks, handler, rebindRetry, repo, in ImsServiceControllerCompat()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionsRepository.kt181 val current = connectionRepoCache[subId]?.repo in <lambda>()
188 return new.repo in <lambda>()
198 val repo = in <lambda>() constant
204 return CacheContainer(repo, lastMobileState = null) in <lambda>()
349 var repo: DemoMobileConnectionRepository, variable in CacheContainer
/frameworks/av/tools/
Dmainline_hook_partial.sh160 You are uploading repo ${RED}${REPO_PATH}${NORMAL} to branch ${RED}${current}${NORMAL}.
196 re-run your repo upload command with the '--no-verify' option
Dmainline_hook_project.sh39 You are uploading repo ${RED}${REPO_PATH}${NORMAL} to branch ${RED}${current}${NORMAL}.
/frameworks/native/libs/binder/trusty/
DREADME.md8 $ repo init -u https://android.googlesource.com/trusty/manifest -b master
9 $ repo sync -j$(nproc) -c --no-tags
/frameworks/av/media/libaaudio/examples/loopback/
DREADME.md2 {cd to top of the repo}
/frameworks/av/media/libaaudio/examples/write_sine/
DREADME.md2 {cd to top of the repo}
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/
DShortcutHelperModule.kt56 fun repo(implLazy: Lazy<ShortcutHelperRepository>): CoreStartable { in activity() method
/frameworks/libs/modules-utils/
DAndroid.bp15 // Limit visibility of all modules in this repo by default.

12