Full Code of google/iosched for AI

main 738e1e008096 cached
934 files
5.9 MB
1.6M tokens
1 requests
Download .txt
Showing preview only (6,438K chars total). Download the full file or copy to clipboard to get everything.
Repository: google/iosched
Branch: main
Commit: 738e1e008096
Files: 934
Total size: 5.9 MB

Directory structure:
gitextract_nghn_xz8/

├── .github/
│   ├── ci-gradle.properties
│   └── workflows/
│       └── iosched.yaml
├── .gitignore
├── .idea/
│   └── copyright/
│       ├── iosched.xml
│       └── profiles_settings.xml
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── androidTest-shared/
│   ├── build.gradle.kts
│   └── src/
│       └── main/
│           ├── AndroidManifest.xml
│           └── java/
│               └── com/
│                   └── google/
│                       └── samples/
│                           └── apps/
│                               └── iosched/
│                                   └── androidtest/
│                                       └── util/
│                                           └── LiveDataTestUtil.kt
├── ar/
│   ├── build.gradle.kts
│   ├── consumer-proguard-rules.pro
│   └── src/
│       └── main/
│           ├── AndroidManifest.xml
│           ├── assets/
│           │   └── images.imgdb
│           ├── java/
│           │   └── com/
│           │       └── google/
│           │           └── samples/
│           │               └── apps/
│           │                   └── iosched/
│           │                       └── ar/
│           │                           └── ArActivity.kt
│           └── res/
│               └── values/
│                   └── styles.xml
├── benchmark/
│   ├── build.gradle.kts
│   └── src/
│       ├── androidTest/
│       │   ├── AndroidManifest.xml
│       │   └── java/
│       │       └── com/
│       │           └── google/
│       │               └── samples/
│       │                   └── apps/
│       │                       └── iosched/
│       │                           └── benchmark/
│       │                               ├── BootstrapConferenceDataSourceBenchmark.kt
│       │                               └── LoadAgendaUseCaseBenchmark.kt
│       └── main/
│           └── AndroidManifest.xml
├── build.gradle.kts
├── buildSrc/
│   ├── build.gradle.kts
│   └── src/
│       └── main/
│           └── java/
│               ├── Libs.kt
│               └── Versions.kt
├── build_android_release.sh
├── copyright.kt
├── debug.keystore
├── depconstraints/
│   └── build.gradle.kts
├── gradle/
│   └── wrapper/
│       ├── gradle-wrapper.jar
│       └── gradle-wrapper.properties
├── gradle.properties
├── gradlew
├── gradlew.bat
├── kokoro/
│   ├── build.sh
│   ├── continuous.cfg
│   ├── continuous.sh
│   ├── presubmit.cfg
│   └── presubmit.sh
├── macrobenchmark/
│   ├── .gitignore
│   ├── build.gradle
│   ├── consumer-rules.pro
│   ├── proguard-rules.pro
│   └── src/
│       └── main/
│           ├── AndroidManifest.xml
│           └── java/
│               └── com/
│                   └── google/
│                       └── samples/
│                           └── apps/
│                               └── iosched/
│                                   └── macrobenchmark/
│                                       ├── BaselineProfileGenerator.kt
│                                       ├── BenchmarkUtils.kt
│                                       ├── OpenDetailBenchmarks.kt
│                                       ├── ScheduleBenchmarks.kt
│                                       └── StartupBenchmarks.kt
├── mobile/
│   ├── build.gradle.kts
│   ├── google-services.json
│   ├── lint.xml
│   ├── proguard-rules-benchmark.pro
│   ├── proguard-rules.pro
│   ├── sampledata/
│   │   ├── codelabs.json
│   │   ├── day_indicator.json
│   │   ├── map_variants.json
│   │   └── tags.json
│   └── src/
│       ├── androidTest/
│       │   ├── AndroidManifest.xml
│       │   └── java/
│       │       └── com/
│       │           └── google/
│       │               └── samples/
│       │                   └── apps/
│       │                       └── iosched/
│       │                           └── tests/
│       │                               ├── CustomTestRunner.kt
│       │                               ├── FixedTimeRule.kt
│       │                               ├── MainTestApplication.kt
│       │                               ├── SetPreferencesRule.kt
│       │                               ├── di/
│       │                               │   ├── HiltExt.kt
│       │                               │   ├── TestCoroutinesModule.kt
│       │                               │   └── TestPreferencesStorageModule.kt
│       │                               ├── prefs/
│       │                               │   └── DataStorePreferenceStorageTest.kt
│       │                               └── ui/
│       │                                   ├── AgendaTest.kt
│       │                                   ├── CodelabTest.kt
│       │                                   ├── HomeTest.kt
│       │                                   ├── InfoTest.kt
│       │                                   ├── MainActivityTestRule.kt
│       │                                   ├── MapTest.kt
│       │                                   ├── ScheduleTest.kt
│       │                                   ├── SessionDetailTest.kt
│       │                                   └── SettingsTest.kt
│       ├── debugRelease/
│       │   └── java/
│       │       └── com/
│       │           └── google/
│       │               └── samples/
│       │                   └── apps/
│       │                       └── iosched/
│       │                           └── di/
│       │                               └── SignInModule.kt
│       ├── main/
│       │   ├── AndroidManifest.xml
│       │   ├── assets/
│       │   │   ├── anim/
│       │   │   │   ├── 0.json
│       │   │   │   ├── 1.json
│       │   │   │   ├── 2.json
│       │   │   │   ├── 3.json
│       │   │   │   ├── 4.json
│       │   │   │   ├── 5.json
│       │   │   │   ├── 6.json
│       │   │   │   ├── 7.json
│       │   │   │   ├── 8.json
│       │   │   │   └── 9.json
│       │   │   └── licenses.html
│       │   ├── baseline-prof.txt
│       │   ├── java/
│       │   │   └── com/
│       │   │       └── google/
│       │   │           └── samples/
│       │   │               └── apps/
│       │   │                   └── iosched/
│       │   │                       ├── MainApplication.kt
│       │   │                       ├── di/
│       │   │                       │   ├── AppModule.kt
│       │   │                       │   ├── CoroutinesModule.kt
│       │   │                       │   └── PreferencesStorageModule.kt
│       │   │                       ├── ui/
│       │   │                       │   ├── DispatchInsetsNavHostFragment.kt
│       │   │                       │   ├── LaunchViewModel.kt
│       │   │                       │   ├── LauncherActivity.kt
│       │   │                       │   ├── MainActivity.kt
│       │   │                       │   ├── MainActivityViewModel.kt
│       │   │                       │   ├── MainNavigation.kt
│       │   │                       │   ├── NavigationExtensions.kt
│       │   │                       │   ├── SectionHeader.kt
│       │   │                       │   ├── agenda/
│       │   │                       │   │   ├── AgendaAdapter.kt
│       │   │                       │   │   ├── AgendaFragment.kt
│       │   │                       │   │   ├── AgendaHeaderIndexer.kt
│       │   │                       │   │   ├── AgendaHeadersDecoration.kt
│       │   │                       │   │   ├── AgendaItemBindingAdapter.kt
│       │   │                       │   │   └── AgendaViewModel.kt
│       │   │                       │   ├── ar/
│       │   │                       │   │   ├── ArCoreNotSupportedFragment.kt
│       │   │                       │   │   └── NoNetworkConnectionFragment.kt
│       │   │                       │   ├── codelabs/
│       │   │                       │   │   ├── CodelabsActionsHandler.kt
│       │   │                       │   │   ├── CodelabsAdapter.kt
│       │   │                       │   │   ├── CodelabsFragment.kt
│       │   │                       │   │   └── CodelabsViewModel.kt
│       │   │                       │   ├── feed/
│       │   │                       │   │   ├── AnnouncementsFragment.kt
│       │   │                       │   │   ├── AnnouncementsViewModel.kt
│       │   │                       │   │   ├── FeedAdapter.kt
│       │   │                       │   │   ├── FeedAnnouncementViewBinders.kt
│       │   │                       │   │   ├── FeedFragment.kt
│       │   │                       │   │   ├── FeedHeaderViewBinders.kt
│       │   │                       │   │   ├── FeedSectionHeaderViewBinder.kt
│       │   │                       │   │   ├── FeedSessionsViewBinder.kt
│       │   │                       │   │   ├── FeedSocialChannelsSectionViewBinder.kt
│       │   │                       │   │   ├── FeedSustainabilitySectionViewBinder.kt
│       │   │                       │   │   └── FeedViewModel.kt
│       │   │                       │   ├── filters/
│       │   │                       │   │   ├── CloseableFilterChipAdapter.kt
│       │   │                       │   │   ├── FilterChip.kt
│       │   │                       │   │   ├── FiltersFragment.kt
│       │   │                       │   │   ├── FiltersViewBindingAdapters.kt
│       │   │                       │   │   ├── FiltersViewModel.kt
│       │   │                       │   │   ├── FiltersViewModelDelegateModule.kt
│       │   │                       │   │   └── SelectableFilterChipAdapter.kt
│       │   │                       │   ├── info/
│       │   │                       │   │   ├── EventFragment.kt
│       │   │                       │   │   ├── EventInfoViewModel.kt
│       │   │                       │   │   ├── FaqFragment.kt
│       │   │                       │   │   ├── InfoFragment.kt
│       │   │                       │   │   └── TravelFragment.kt
│       │   │                       │   ├── map/
│       │   │                       │   │   ├── LoadGeoJsonFeaturesUseCase.kt
│       │   │                       │   │   ├── MapFragment.kt
│       │   │                       │   │   ├── MapTileProvider.kt
│       │   │                       │   │   ├── MapUtils.kt
│       │   │                       │   │   ├── MapVariant.kt
│       │   │                       │   │   ├── MapVariantAdapter.kt
│       │   │                       │   │   ├── MapVariantSelectionDialogFragment.kt
│       │   │                       │   │   ├── MapViewBindingAdapters.kt
│       │   │                       │   │   └── MapViewModel.kt
│       │   │                       │   ├── messages/
│       │   │                       │   │   ├── SnackbarMessage.kt
│       │   │                       │   │   ├── SnackbarMessageFragmentExtensions.kt
│       │   │                       │   │   └── SnackbarMessageManager.kt
│       │   │                       │   ├── onboarding/
│       │   │                       │   │   ├── OnboardingActivity.kt
│       │   │                       │   │   ├── OnboardingFragment.kt
│       │   │                       │   │   ├── OnboardingSignInFragment.kt
│       │   │                       │   │   ├── OnboardingViewModel.kt
│       │   │                       │   │   ├── ViewPagerPager.kt
│       │   │                       │   │   ├── WelcomeDuringConferenceFragment.kt
│       │   │                       │   │   ├── WelcomePostConferenceFragment.kt
│       │   │                       │   │   └── WelcomePreConferenceFragment.kt
│       │   │                       │   ├── reservation/
│       │   │                       │   │   ├── RemoveReservationDialogFragment.kt
│       │   │                       │   │   ├── RemoveReservationViewModel.kt
│       │   │                       │   │   ├── ReservationTextView.kt
│       │   │                       │   │   ├── ReservationViewState.kt
│       │   │                       │   │   ├── ReserveButton.kt
│       │   │                       │   │   ├── StarReserveFab.kt
│       │   │                       │   │   └── SwapReservationDialogFragment.kt
│       │   │                       │   ├── schedule/
│       │   │                       │   │   ├── DayIndicator.kt
│       │   │                       │   │   ├── DayIndicatorAdapter.kt
│       │   │                       │   │   ├── DaySeparatorItemDecoration.kt
│       │   │                       │   │   ├── ScheduleFragment.kt
│       │   │                       │   │   ├── ScheduleItemBindingAdapter.kt
│       │   │                       │   │   ├── ScheduleNavigationAction.kt
│       │   │                       │   │   ├── ScheduleTimeHeadersDecoration.kt
│       │   │                       │   │   ├── ScheduleTwoPaneFragment.kt
│       │   │                       │   │   ├── ScheduleTwoPaneViewModel.kt
│       │   │                       │   │   ├── ScheduleUiHintsDialogFragment.kt
│       │   │                       │   │   ├── ScheduleViewModel.kt
│       │   │                       │   │   └── SessionHeaderIndexer.kt
│       │   │                       │   ├── search/
│       │   │                       │   │   ├── SearchFilterFragment.kt
│       │   │                       │   │   ├── SearchFragment.kt
│       │   │                       │   │   └── SearchViewModel.kt
│       │   │                       │   ├── sessioncommon/
│       │   │                       │   │   ├── EventActions.kt
│       │   │                       │   │   ├── OnSessionStarClickDelegate.kt
│       │   │                       │   │   ├── OnSessionStarClickDelegateModule.kt
│       │   │                       │   │   ├── SessionCommonExtensions.kt
│       │   │                       │   │   ├── SessionViewPoolModule.kt
│       │   │                       │   │   ├── SessionsAdapter.kt
│       │   │                       │   │   ├── TagAdapter.kt
│       │   │                       │   │   └── TagBindingAdapters.kt
│       │   │                       │   ├── sessiondetail/
│       │   │                       │   │   ├── SessionDetailAdapter.kt
│       │   │                       │   │   ├── SessionDetailDataBindingAdapters.kt
│       │   │                       │   │   ├── SessionDetailFragment.kt
│       │   │                       │   │   ├── SessionDetailNavigationAction.kt
│       │   │                       │   │   ├── SessionDetailViewModel.kt
│       │   │                       │   │   ├── SessionFeedbackFragment.kt
│       │   │                       │   │   └── SessionFeedbackViewModel.kt
│       │   │                       │   ├── settings/
│       │   │                       │   │   ├── SettingsFragment.kt
│       │   │                       │   │   ├── SettingsViewModel.kt
│       │   │                       │   │   └── ThemeSettingDialogFragment.kt
│       │   │                       │   ├── signin/
│       │   │                       │   │   ├── NotificationsPreferenceDialogFragment.kt
│       │   │                       │   │   ├── SignInDialogFragment.kt
│       │   │                       │   │   ├── SignInViewExtensions.kt
│       │   │                       │   │   ├── SignInViewModel.kt
│       │   │                       │   │   ├── SignInViewModelDelegate.kt
│       │   │                       │   │   ├── SignInViewModelDelegateModule.kt
│       │   │                       │   │   └── SignOutDialogFragment.kt
│       │   │                       │   ├── speaker/
│       │   │                       │   │   ├── SpeakerAdapter.kt
│       │   │                       │   │   ├── SpeakerBindingAdapters.kt
│       │   │                       │   │   ├── SpeakerFragment.kt
│       │   │                       │   │   └── SpeakerViewModel.kt
│       │   │                       │   └── theme/
│       │   │                       │       ├── ThemeViewModel.kt
│       │   │                       │       ├── ThemedActivityDelegate.kt
│       │   │                       │       └── ThemedActivityDelegateModule.kt
│       │   │                       ├── util/
│       │   │                       │   ├── CircularOutlineProvider.kt
│       │   │                       │   ├── CrashlyticsTree.kt
│       │   │                       │   ├── Extensions.kt
│       │   │                       │   ├── FirebaseAnalyticsHelper.kt
│       │   │                       │   ├── GlideTargets.kt
│       │   │                       │   ├── NavigationBarScrimBehavior.kt
│       │   │                       │   ├── RecyclerViewExtensions.kt
│       │   │                       │   ├── SharingStartedViews.kt
│       │   │                       │   ├── StatusBarScrimBehavior.kt
│       │   │                       │   ├── UiUtils.kt
│       │   │                       │   ├── ViewBindingAdapters.kt
│       │   │                       │   ├── WindowInsetsListeners.kt
│       │   │                       │   ├── initializers/
│       │   │                       │   │   ├── AndroidThreeTenInitializer.kt
│       │   │                       │   │   ├── StrictModeInitializer.kt
│       │   │                       │   │   └── TimberInitializer.kt
│       │   │                       │   ├── signin/
│       │   │                       │   │   ├── FirebaseAuthErrorCodeConverter.kt
│       │   │                       │   │   ├── SignInHandler.kt
│       │   │                       │   │   └── SignInResult.kt
│       │   │                       │   └── wifi/
│       │   │                       │       └── WifiInstaller.kt
│       │   │                       └── widget/
│       │   │                           ├── BottomSheetBehavior.kt
│       │   │                           ├── BubbleDecoration.kt
│       │   │                           ├── CollapsibleCard.kt
│       │   │                           ├── CountdownView.kt
│       │   │                           ├── CustomSwipeRefreshLayout.kt
│       │   │                           ├── EventCardView.kt
│       │   │                           ├── FadingSnackbar.kt
│       │   │                           ├── HashtagIoDecoration.kt
│       │   │                           ├── IoSlidingPaneLayout.kt
│       │   │                           ├── JumpSmoothScroller.kt
│       │   │                           ├── NavigationBarContentFrameLayout.kt
│       │   │                           ├── NoTouchRecyclerView.kt
│       │   │                           ├── SimpleRatingBar.kt
│       │   │                           ├── SpaceDecoration.kt
│       │   │                           └── transition/
│       │   │                               └── RotateX.kt
│       │   └── res/
│       │       ├── animator/
│       │       │   └── active_alpha.xml
│       │       ├── color/
│       │       │   ├── chip_bg.xml
│       │       │   ├── chip_stroke.xml
│       │       │   ├── map_variant_icon.xml
│       │       │   ├── map_variant_text.xml
│       │       │   ├── navigation_item_background_tint.xml
│       │       │   └── schedule_day_indicator_text.xml
│       │       ├── drawable/
│       │       │   ├── arcore_gray.xml
│       │       │   ├── asld_chip_icon.xml
│       │       │   ├── asld_reservation.xml
│       │       │   ├── asld_star_event.xml
│       │       │   ├── avd_chip_check_to_dot.xml
│       │       │   ├── avd_chip_dot_to_check.xml
│       │       │   ├── avd_pending_to_reservable.xml
│       │       │   ├── avd_pending_to_reserved.xml
│       │       │   ├── avd_pending_to_waitlisted.xml
│       │       │   ├── avd_reservable_to_pending.xml
│       │       │   ├── avd_reserved_to_pending.xml
│       │       │   ├── avd_star_event.xml
│       │       │   ├── avd_unstar_event.xml
│       │       │   ├── avd_waitlisted_to_pending.xml
│       │       │   ├── bullet_small.xml
│       │       │   ├── chip_check.xml
│       │       │   ├── chip_dot.xml
│       │       │   ├── divider_empty_margin_normal.xml
│       │       │   ├── divider_empty_margin_small.xml
│       │       │   ├── divider_slash.xml
│       │       │   ├── event_header_afterhours.xml
│       │       │   ├── event_header_codelabs.xml
│       │       │   ├── event_header_meals.xml
│       │       │   ├── event_header_office_hours.xml
│       │       │   ├── event_header_sandbox.xml
│       │       │   ├── event_header_sessions.xml
│       │       │   ├── event_narrow_afterhours.xml
│       │       │   ├── event_narrow_app_reviews1.xml
│       │       │   ├── event_narrow_app_reviews2.xml
│       │       │   ├── event_narrow_app_reviews3.xml
│       │       │   ├── event_narrow_game_reviews1.xml
│       │       │   ├── event_narrow_game_reviews2.xml
│       │       │   ├── event_narrow_game_reviews3.xml
│       │       │   ├── event_narrow_keynote.xml
│       │       │   ├── event_narrow_office_hours1.xml
│       │       │   ├── event_narrow_office_hours2.xml
│       │       │   ├── event_narrow_office_hours3.xml
│       │       │   ├── event_narrow_other.xml
│       │       │   ├── event_narrow_session1.xml
│       │       │   ├── event_narrow_session2.xml
│       │       │   ├── event_narrow_session3.xml
│       │       │   ├── event_narrow_session4.xml
│       │       │   ├── event_placeholder_keynote.xml
│       │       │   ├── event_placeholder_session1.xml
│       │       │   ├── event_placeholder_session2.xml
│       │       │   ├── event_placeholder_session3.xml
│       │       │   ├── event_placeholder_session4.xml
│       │       │   ├── fading_snackbar_background.xml
│       │       │   ├── filters_sheet_background.xml
│       │       │   ├── filters_sheet_header_shadow.xml
│       │       │   ├── generic_placeholder.xml
│       │       │   ├── hashtag_io19.xml
│       │       │   ├── ic_agenda_after_hours.xml
│       │       │   ├── ic_agenda_badge.xml
│       │       │   ├── ic_agenda_codelab.xml
│       │       │   ├── ic_agenda_concert.xml
│       │       │   ├── ic_agenda_keynote.xml
│       │       │   ├── ic_agenda_meal.xml
│       │       │   ├── ic_agenda_office_hours.xml
│       │       │   ├── ic_agenda_sandbox.xml
│       │       │   ├── ic_agenda_session.xml
│       │       │   ├── ic_agenda_store.xml
│       │       │   ├── ic_arrow_back.xml
│       │       │   ├── ic_arrow_right.xml
│       │       │   ├── ic_clear_all.xml
│       │       │   ├── ic_default_avatar_1.xml
│       │       │   ├── ic_default_avatar_2.xml
│       │       │   ├── ic_default_avatar_3.xml
│       │       │   ├── ic_default_profile_avatar.xml
│       │       │   ├── ic_expand_more.xml
│       │       │   ├── ic_feed_social_button_bg.xml
│       │       │   ├── ic_filter.xml
│       │       │   ├── ic_filter_clear.xml
│       │       │   ├── ic_launch.xml
│       │       │   ├── ic_layers.xml
│       │       │   ├── ic_login.xml
│       │       │   ├── ic_logo_assistant.xml
│       │       │   ├── ic_logo_components.xml
│       │       │   ├── ic_logo_facebook.xml
│       │       │   ├── ic_logo_google_developers.xml
│       │       │   ├── ic_logo_instagram.xml
│       │       │   ├── ic_logo_twitter.xml
│       │       │   ├── ic_logo_youtube.xml
│       │       │   ├── ic_logout.xml
│       │       │   ├── ic_map_after_dark.xml
│       │       │   ├── ic_map_concert.xml
│       │       │   ├── ic_map_daytime.xml
│       │       │   ├── ic_menu.xml
│       │       │   ├── ic_my_location.xml
│       │       │   ├── ic_nav_agenda.xml
│       │       │   ├── ic_nav_codelabs.xml
│       │       │   ├── ic_nav_home.xml
│       │       │   ├── ic_nav_info.xml
│       │       │   ├── ic_nav_map.xml
│       │       │   ├── ic_nav_schedule.xml
│       │       │   ├── ic_nav_settings.xml
│       │       │   ├── ic_nav_signpost.xml
│       │       │   ├── ic_play.xml
│       │       │   ├── ic_play_circle_outline.xml
│       │       │   ├── ic_question_answer.xml
│       │       │   ├── ic_reservable.xml
│       │       │   ├── ic_reservation.xml
│       │       │   ├── ic_reservation_disabled.xml
│       │       │   ├── ic_reservation_pending.xml
│       │       │   ├── ic_reserved.xml
│       │       │   ├── ic_search.xml
│       │       │   ├── ic_share.xml
│       │       │   ├── ic_sustainability_art.xml
│       │       │   ├── ic_tune.xml
│       │       │   ├── ic_waitlist_available.xml
│       │       │   ├── ic_waitlisted.xml
│       │       │   ├── io_logo_color.xml
│       │       │   ├── list_divider.xml
│       │       │   ├── map_marker_1.xml
│       │       │   ├── map_marker_2.xml
│       │       │   ├── map_marker_3.xml
│       │       │   ├── map_marker_4.xml
│       │       │   ├── map_marker_5.xml
│       │       │   ├── map_marker_6.xml
│       │       │   ├── map_marker_7.xml
│       │       │   ├── map_marker_8.xml
│       │       │   ├── map_marker_a.xml
│       │       │   ├── map_marker_b.xml
│       │       │   ├── map_marker_bike.xml
│       │       │   ├── map_marker_c.xml
│       │       │   ├── map_marker_charging.xml
│       │       │   ├── map_marker_d.xml
│       │       │   ├── map_marker_drink.xml
│       │       │   ├── map_marker_e.xml
│       │       │   ├── map_marker_f.xml
│       │       │   ├── map_marker_food.xml
│       │       │   ├── map_marker_g.xml
│       │       │   ├── map_marker_h.xml
│       │       │   ├── map_marker_handicap.xml
│       │       │   ├── map_marker_i.xml
│       │       │   ├── map_marker_info.xml
│       │       │   ├── map_marker_label_background.xml
│       │       │   ├── map_marker_lounge.xml
│       │       │   ├── map_marker_medical.xml
│       │       │   ├── map_marker_mothers_room.xml
│       │       │   ├── map_marker_parking.xml
│       │       │   ├── map_marker_restroom.xml
│       │       │   ├── map_marker_rideshare.xml
│       │       │   ├── map_marker_service_dog.xml
│       │       │   ├── map_marker_shuttle.xml
│       │       │   ├── map_marker_star.xml
│       │       │   ├── map_marker_store.xml
│       │       │   ├── map_marker_water.xml
│       │       │   ├── navigation_item_background.xml
│       │       │   ├── no_items_found_204.xml
│       │       │   ├── onboarding_io_19.xml
│       │       │   ├── onboarding_io_date_2019.xml
│       │       │   ├── onboarding_schedule.xml
│       │       │   ├── page_margin.xml
│       │       │   ├── preview_window.xml
│       │       │   ├── signal_wifi_off.xml
│       │       │   ├── tab_indicator.xml
│       │       │   └── unrated_thumb.xml
│       │       ├── drawable-anydpi-v23/
│       │       │   ├── preview_window.xml
│       │       │   └── preview_window_logo.xml
│       │       ├── layout/
│       │       │   ├── activity_main.xml
│       │       │   ├── activity_onboarding.xml
│       │       │   ├── activity_session_detail.xml
│       │       │   ├── collapsible_card_content.xml
│       │       │   ├── countdown.xml
│       │       │   ├── dialog_schedule_hints.xml
│       │       │   ├── dialog_sign_in.xml
│       │       │   ├── dialog_sign_out.xml
│       │       │   ├── event_card_content.xml
│       │       │   ├── fading_snackbar_layout.xml
│       │       │   ├── fragment_agenda.xml
│       │       │   ├── fragment_announcements.xml
│       │       │   ├── fragment_arcore_not_supported.xml
│       │       │   ├── fragment_codelabs.xml
│       │       │   ├── fragment_feed.xml
│       │       │   ├── fragment_filters.xml
│       │       │   ├── fragment_info.xml
│       │       │   ├── fragment_info_event.xml
│       │       │   ├── fragment_info_faq.xml
│       │       │   ├── fragment_info_travel.xml
│       │       │   ├── fragment_map.xml
│       │       │   ├── fragment_map_variant_select.xml
│       │       │   ├── fragment_no_network.xml
│       │       │   ├── fragment_onboarding.xml
│       │       │   ├── fragment_onboarding_signin.xml
│       │       │   ├── fragment_onboarding_welcome_during.xml
│       │       │   ├── fragment_onboarding_welcome_post.xml
│       │       │   ├── fragment_onboarding_welcome_pre.xml
│       │       │   ├── fragment_schedule.xml
│       │       │   ├── fragment_schedule_two_pane.xml
│       │       │   ├── fragment_search.xml
│       │       │   ├── fragment_session_detail.xml
│       │       │   ├── fragment_session_feedback.xml
│       │       │   ├── fragment_settings.xml
│       │       │   ├── fragment_speaker.xml
│       │       │   ├── include_agenda_contents.xml
│       │       │   ├── info_wifi_card.xml
│       │       │   ├── item_agenda_dark.xml
│       │       │   ├── item_agenda_light.xml
│       │       │   ├── item_codelab.xml
│       │       │   ├── item_codelabs_information_card.xml
│       │       │   ├── item_feed_announcement.xml
│       │       │   ├── item_feed_announcements_empty.xml
│       │       │   ├── item_feed_announcements_header.xml
│       │       │   ├── item_feed_announcements_loading.xml
│       │       │   ├── item_feed_countdown.xml
│       │       │   ├── item_feed_moment.xml
│       │       │   ├── item_feed_session.xml
│       │       │   ├── item_feed_sessions_container.xml
│       │       │   ├── item_feed_social_channels.xml
│       │       │   ├── item_feed_sustainability.xml
│       │       │   ├── item_filter_chip_closeable.xml
│       │       │   ├── item_filter_chip_selectable.xml
│       │       │   ├── item_generic_section_header.xml
│       │       │   ├── item_inline_tag.xml
│       │       │   ├── item_map_variant.xml
│       │       │   ├── item_question.xml
│       │       │   ├── item_schedule_day_indicator.xml
│       │       │   ├── item_session.xml
│       │       │   ├── item_session_info.xml
│       │       │   ├── item_speaker.xml
│       │       │   ├── item_speaker_info.xml
│       │       │   ├── navigation_header.xml
│       │       │   ├── navigation_rail_header.xml
│       │       │   ├── search_active_filters_narrow.xml
│       │       │   └── search_active_filters_wide.xml
│       │       ├── layout-w500dp/
│       │       │   └── event_card_content.xml
│       │       ├── layout-w720dp/
│       │       │   └── activity_main.xml
│       │       ├── layout-w840dp/
│       │       │   └── item_codelab.xml
│       │       ├── menu/
│       │       │   ├── bar_navigation.xml
│       │       │   ├── codelabs_menu.xml
│       │       │   ├── drawer_navigation.xml
│       │       │   ├── map_menu.xml
│       │       │   ├── profile.xml
│       │       │   ├── schedule_menu.xml
│       │       │   ├── search_menu.xml
│       │       │   └── session_detail_menu.xml
│       │       ├── navigation/
│       │       │   ├── nav_graph.xml
│       │       │   ├── schedule_detail.xml
│       │       │   └── schedule_list.xml
│       │       ├── raw/
│       │       │   ├── map_markers_concert.json
│       │       │   ├── map_markers_day.json
│       │       │   ├── map_markers_night.json
│       │       │   ├── map_style_day.json
│       │       │   └── map_style_night.json
│       │       ├── transition/
│       │       │   ├── codelab_toggle.xml
│       │       │   ├── info_card_toggle.xml
│       │       │   └── speaker_shared_enter.xml
│       │       ├── values/
│       │       │   ├── attrs.xml
│       │       │   ├── colors.xml
│       │       │   ├── config.xml
│       │       │   ├── dimens.xml
│       │       │   ├── donottranslate.xml
│       │       │   ├── ids.xml
│       │       │   ├── strings.xml
│       │       │   ├── styles.xml
│       │       │   └── themes.xml
│       │       ├── values-ar/
│       │       │   └── strings.xml
│       │       ├── values-ar-rEG/
│       │       │   └── strings.xml
│       │       ├── values-ar-rSA/
│       │       │   └── strings.xml
│       │       ├── values-de/
│       │       │   └── strings.xml
│       │       ├── values-de-rAT/
│       │       │   └── strings.xml
│       │       ├── values-de-rCH/
│       │       │   └── strings.xml
│       │       ├── values-es-rAR/
│       │       │   └── strings.xml
│       │       ├── values-es-rBO/
│       │       │   └── strings.xml
│       │       ├── values-es-rCL/
│       │       │   └── strings.xml
│       │       ├── values-es-rCO/
│       │       │   └── strings.xml
│       │       ├── values-es-rCR/
│       │       │   └── strings.xml
│       │       ├── values-es-rDO/
│       │       │   └── strings.xml
│       │       ├── values-es-rEC/
│       │       │   └── strings.xml
│       │       ├── values-es-rGT/
│       │       │   └── strings.xml
│       │       ├── values-es-rHN/
│       │       │   └── strings.xml
│       │       ├── values-es-rMX/
│       │       │   └── strings.xml
│       │       ├── values-es-rNI/
│       │       │   └── strings.xml
│       │       ├── values-es-rPA/
│       │       │   └── strings.xml
│       │       ├── values-es-rPE/
│       │       │   └── strings.xml
│       │       ├── values-es-rPR/
│       │       │   └── strings.xml
│       │       ├── values-es-rPY/
│       │       │   └── strings.xml
│       │       ├── values-es-rSV/
│       │       │   └── strings.xml
│       │       ├── values-es-rUS/
│       │       │   └── strings.xml
│       │       ├── values-es-rUY/
│       │       │   └── strings.xml
│       │       ├── values-es-rVE/
│       │       │   └── strings.xml
│       │       ├── values-fa/
│       │       │   └── strings.xml
│       │       ├── values-fr/
│       │       │   └── strings.xml
│       │       ├── values-fr-rCH/
│       │       │   └── strings.xml
│       │       ├── values-gsw/
│       │       │   └── strings.xml
│       │       ├── values-h600dp/
│       │       │   └── dimens.xml
│       │       ├── values-it/
│       │       │   └── strings.xml
│       │       ├── values-ja/
│       │       │   └── strings.xml
│       │       ├── values-ko/
│       │       │   └── strings.xml
│       │       ├── values-land/
│       │       │   └── strings.xml
│       │       ├── values-ldrtl/
│       │       │   └── dimens.xml
│       │       ├── values-ln/
│       │       │   └── strings.xml
│       │       ├── values-night/
│       │       │   └── colors.xml
│       │       ├── values-notnight-v23/
│       │       │   ├── colors.xml
│       │       │   └── config.xml
│       │       ├── values-notnight-v27/
│       │       │   ├── colors.xml
│       │       │   └── config.xml
│       │       ├── values-pt/
│       │       │   └── strings.xml
│       │       ├── values-pt-rBR/
│       │       │   └── strings.xml
│       │       ├── values-ru/
│       │       │   └── strings.xml
│       │       ├── values-sw384dp/
│       │       │   └── dimens.xml
│       │       ├── values-th/
│       │       │   └── strings.xml
│       │       ├── values-v29/
│       │       │   └── themes.xml
│       │       ├── values-vi/
│       │       │   └── strings.xml
│       │       ├── values-w1024dp/
│       │       │   └── dimens.xml
│       │       ├── values-w500dp/
│       │       │   └── dimens.xml
│       │       ├── values-w600dp/
│       │       │   └── dimens.xml
│       │       ├── values-w840dp/
│       │       │   ├── dimens.xml
│       │       │   ├── donottranslate.xml
│       │       │   └── styles.xml
│       │       ├── values-zh/
│       │       │   └── strings.xml
│       │       ├── values-zh-rCN/
│       │       │   └── strings.xml
│       │       ├── values-zh-rHK/
│       │       │   └── strings.xml
│       │       └── values-zh-rTW/
│       │           └── strings.xml
│       ├── release/
│       │   └── google-services.json
│       ├── staging/
│       │   ├── AndroidManifest.xml
│       │   └── java/
│       │       └── com/
│       │           └── google/
│       │               └── samples/
│       │                   └── apps/
│       │                       └── iosched/
│       │                           ├── di/
│       │                           │   └── SignInModule.kt
│       │                           ├── shared/
│       │                           │   └── data/
│       │                           │       └── login/
│       │                           │           ├── StagingSignInHandler.kt
│       │                           │           └── datasources/
│       │                           │               └── StagingUserDataSources.kt
│       │                           └── test/
│       │                               └── HiltTestActivity.kt
│       └── test/
│           └── java/
│               └── com/
│                   └── google/
│                       └── samples/
│                           └── apps/
│                               └── iosched/
│                                   ├── model/
│                                   │   └── MobileTestData.kt
│                                   ├── test/
│                                   │   └── util/
│                                   │       ├── fakes/
│                                   │       │   ├── FakeAnalyticsHelper.kt
│                                   │       │   ├── FakeAppDatabase.kt
│                                   │       │   ├── FakeConferenceDataSource.kt
│                                   │       │   ├── FakeOnSessionStarClickDelegate.kt
│                                   │       │   ├── FakePreferenceStorage.kt
│                                   │       │   ├── FakeSignInViewModelDelegate.kt
│                                   │       │   ├── FakeStarEventUseCase.kt
│                                   │       │   └── FakeThemedActivityDelegate.kt
│                                   │       └── time/
│                                   │           └── FixedTimeProvider.kt
│                                   ├── ui/
│                                   │   ├── LaunchViewModelTest.kt
│                                   │   ├── MainActivityViewModelTest.kt
│                                   │   ├── agenda/
│                                   │   │   ├── AgendaHeaderIndexerTest.kt
│                                   │   │   └── AgendaViewModelTest.kt
│                                   │   ├── codelabs/
│                                   │   │   └── CodelabsViewModelTest.kt
│                                   │   ├── feed/
│                                   │   │   ├── FeedViewModelTest.kt
│                                   │   │   ├── TestAnnouncementDataSource.kt
│                                   │   │   └── TestMomentDataSource.kt
│                                   │   ├── filters/
│                                   │   │   └── FiltersViewModelTest.kt
│                                   │   ├── map/
│                                   │   │   ├── MapVariantTest.kt
│                                   │   │   └── MapViewModelTest.kt
│                                   │   ├── messages/
│                                   │   │   └── SnackbarMessageManagerTest.kt
│                                   │   ├── onboarding/
│                                   │   │   └── OnboardingViewModelTest.kt
│                                   │   ├── reservation/
│                                   │   │   └── RemoveReservationViewModelTest.kt
│                                   │   ├── schedule/
│                                   │   │   ├── MarkScheduleUiHintsShownUseCaseTest.kt
│                                   │   │   ├── ScheduleViewModelTest.kt
│                                   │   │   ├── SessionHeaderIndexerTest.kt
│                                   │   │   └── TestUserEventDataSource.kt
│                                   │   ├── sessioncommon/
│                                   │   │   └── OnSessionStarClickDelegateTest.kt
│                                   │   ├── sessiondetail/
│                                   │   │   ├── SessionDetailViewModelTest.kt
│                                   │   │   └── SessionFeedbackViewModelTest.kt
│                                   │   ├── settings/
│                                   │   │   └── SettingsViewModelTest.kt
│                                   │   ├── signin/
│                                   │   │   ├── FirebaseSignInViewModelDelegateTest.kt
│                                   │   │   └── SignInViewModelTest.kt
│                                   │   └── speaker/
│                                   │       └── SpeakerViewModelTest.kt
│                                   └── util/
│                                       ├── WifiConfigurationStringsTest.kt
│                                       └── signin/
│                                           └── FirebaseAuthErrorCodeConverterTest.kt
├── model/
│   ├── build.gradle.kts
│   └── src/
│       └── main/
│           └── java/
│               └── com/
│                   └── google/
│                       └── samples/
│                           └── apps/
│                               └── iosched/
│                                   └── model/
│                                       ├── Announcement.kt
│                                       ├── Block.kt
│                                       ├── Codelab.kt
│                                       ├── ConferenceData.kt
│                                       ├── ConferenceDay.kt
│                                       ├── ConferenceWifiInfo.kt
│                                       ├── Moment.kt
│                                       ├── Room.kt
│                                       ├── Session.kt
│                                       ├── Speaker.kt
│                                       ├── Tag.kt
│                                       ├── Theme.kt
│                                       ├── User.kt
│                                       ├── filters/
│                                       │   └── Filter.kt
│                                       ├── reservations/
│                                       │   ├── ReservationRequest.kt
│                                       │   └── ReservationRequestResult.kt
│                                       ├── schedule/
│                                       │   └── PinnedSessionsSchedule.kt
│                                       └── userdata/
│                                           ├── UserEvent.kt
│                                           └── UserSession.kt
├── playstore/
│   ├── listing_ar.txt
│   ├── listing_de.txt
│   ├── listing_en.txt
│   ├── listing_es-rES.txt
│   ├── listing_fr.txt
│   ├── listing_it.txt
│   ├── listing_ja.txt
│   ├── listing_ko.txt
│   ├── listing_pt-rBR.txt
│   ├── listing_ru-rRU.txt
│   ├── listing_zh-rCN.txt
│   ├── src/
│   │   └── main/
│   │       └── res/
│   │           ├── values/
│   │           │   └── strings.xml
│   │           ├── values-ar/
│   │           │   └── strings.xml
│   │           ├── values-ar-rEG/
│   │           │   └── strings.xml
│   │           ├── values-ar-rSA/
│   │           │   └── strings.xml
│   │           ├── values-de/
│   │           │   └── strings.xml
│   │           ├── values-de-rAT/
│   │           │   └── strings.xml
│   │           ├── values-de-rCH/
│   │           │   └── strings.xml
│   │           ├── values-es-rAR/
│   │           │   └── strings.xml
│   │           ├── values-es-rBO/
│   │           │   └── strings.xml
│   │           ├── values-es-rCL/
│   │           │   └── strings.xml
│   │           ├── values-es-rCO/
│   │           │   └── strings.xml
│   │           ├── values-es-rCR/
│   │           │   └── strings.xml
│   │           ├── values-es-rDO/
│   │           │   └── strings.xml
│   │           ├── values-es-rEC/
│   │           │   └── strings.xml
│   │           ├── values-es-rGT/
│   │           │   └── strings.xml
│   │           ├── values-es-rHN/
│   │           │   └── strings.xml
│   │           ├── values-es-rMX/
│   │           │   └── strings.xml
│   │           ├── values-es-rNI/
│   │           │   └── strings.xml
│   │           ├── values-es-rPA/
│   │           │   └── strings.xml
│   │           ├── values-es-rPE/
│   │           │   └── strings.xml
│   │           ├── values-es-rPR/
│   │           │   └── strings.xml
│   │           ├── values-es-rPY/
│   │           │   └── strings.xml
│   │           ├── values-es-rSV/
│   │           │   └── strings.xml
│   │           ├── values-es-rUS/
│   │           │   └── strings.xml
│   │           ├── values-es-rUY/
│   │           │   └── strings.xml
│   │           ├── values-es-rVE/
│   │           │   └── strings.xml
│   │           ├── values-fa/
│   │           │   └── strings.xml
│   │           ├── values-fr/
│   │           │   └── strings.xml
│   │           ├── values-fr-rCH/
│   │           │   └── strings.xml
│   │           ├── values-gsw/
│   │           │   └── strings.xml
│   │           ├── values-it/
│   │           │   └── strings.xml
│   │           ├── values-ja/
│   │           │   └── strings.xml
│   │           ├── values-ko/
│   │           │   └── strings.xml
│   │           ├── values-ln/
│   │           │   └── strings.xml
│   │           ├── values-pt/
│   │           │   └── strings.xml
│   │           ├── values-pt-rBR/
│   │           │   └── strings.xml
│   │           ├── values-ru/
│   │           │   └── strings.xml
│   │           ├── values-th/
│   │           │   └── strings.xml
│   │           ├── values-vi/
│   │           │   └── strings.xml
│   │           ├── values-zh/
│   │           │   └── strings.xml
│   │           ├── values-zh-rCN/
│   │           │   └── strings.xml
│   │           ├── values-zh-rHK/
│   │           │   └── strings.xml
│   │           └── values-zh-rTW/
│   │               └── strings.xml
│   └── storelisting_zh-TW.txt
├── settings.gradle.kts
├── shared/
│   ├── build.gradle.kts
│   ├── consumer-proguard-rules.pro
│   ├── google-services.json
│   └── src/
│       ├── debugRelease/
│       │   └── java/
│       │       └── com/
│       │           └── google/
│       │               └── samples/
│       │                   └── apps/
│       │                       └── iosched/
│       │                           └── shared/
│       │                               └── di/
│       │                                   └── SharedModule.kt
│       ├── main/
│       │   ├── AndroidManifest.xml
│       │   ├── java/
│       │   │   └── com/
│       │   │       └── google/
│       │   │           └── samples/
│       │   │               └── apps/
│       │   │                   └── iosched/
│       │   │                       └── shared/
│       │   │                           ├── analytics/
│       │   │                           │   └── AnalyticsHelper.kt
│       │   │                           ├── data/
│       │   │                           │   ├── BootstrapConferenceDataSource.kt
│       │   │                           │   ├── ConferenceDataDownloader.kt
│       │   │                           │   ├── ConferenceDataJsonParser.kt
│       │   │                           │   ├── ConferenceDataRepository.kt
│       │   │                           │   ├── ConferenceDataSource.kt
│       │   │                           │   ├── FirestoreExtensions.kt
│       │   │                           │   ├── NetworkConferenceDataSource.kt
│       │   │                           │   ├── agenda/
│       │   │                           │   │   ├── AgendaBlocks.kt
│       │   │                           │   │   └── AgendaRepository.kt
│       │   │                           │   ├── ar/
│       │   │                           │   │   └── ArDebugFlagEndpoint.kt
│       │   │                           │   ├── codelabs/
│       │   │                           │   │   └── CodelabsRepository.kt
│       │   │                           │   ├── config/
│       │   │                           │   │   ├── AppConfigDataSource.kt
│       │   │                           │   │   └── RemoteAppConfigDataSource.kt
│       │   │                           │   ├── db/
│       │   │                           │   │   ├── AppDatabase.kt
│       │   │                           │   │   ├── CodelabFtsDao.kt
│       │   │                           │   │   ├── CodelabFtsEntity.kt
│       │   │                           │   │   ├── SessionFtsDao.kt
│       │   │                           │   │   ├── SessionFtsEntity.kt
│       │   │                           │   │   ├── SpeakerFtsDao.kt
│       │   │                           │   │   └── SpeakerFtsEntity.kt
│       │   │                           │   ├── feed/
│       │   │                           │   │   ├── DefaultFeedRepository.kt
│       │   │                           │   │   ├── FirestoreAnnouncementDataSource.kt
│       │   │                           │   │   └── FirestoreMomentDataSource.kt
│       │   │                           │   ├── feedback/
│       │   │                           │   │   └── FeedbackEndpoint.kt
│       │   │                           │   ├── job/
│       │   │                           │   │   └── ConferenceDataService.kt
│       │   │                           │   ├── prefs/
│       │   │                           │   │   └── PreferenceStorage.kt
│       │   │                           │   ├── session/
│       │   │                           │   │   ├── SessionRepository.kt
│       │   │                           │   │   └── json/
│       │   │                           │   │       ├── CodelabDeserializer.kt
│       │   │                           │   │       ├── CodelabTemp.kt
│       │   │                           │   │       ├── ColorDeserializer.kt
│       │   │                           │   │       ├── DeserializerUtils.kt
│       │   │                           │   │       ├── RoomDeserializer.kt
│       │   │                           │   │       ├── SessionDeserializer.kt
│       │   │                           │   │       ├── SessionTemp.kt
│       │   │                           │   │       ├── SpeakerDeserializer.kt
│       │   │                           │   │       └── TagDeserializer.kt
│       │   │                           │   ├── signin/
│       │   │                           │   │   ├── AuthenticatedUserInfo.kt
│       │   │                           │   │   ├── AuthenticatedUserRegistration.kt
│       │   │                           │   │   ├── FirebaseRegisteredUserInfo.kt
│       │   │                           │   │   └── datasources/
│       │   │                           │   │       ├── AuthIdDataSource.kt
│       │   │                           │   │       ├── AuthStateUserDataSource.kt
│       │   │                           │   │       ├── FirebaseAuthStateUserDataSource.kt
│       │   │                           │   │       ├── FirestoreRegisteredUserDataSource.kt
│       │   │                           │   │       └── RegisteredUserDataSource.kt
│       │   │                           │   ├── tag/
│       │   │                           │   │   ├── TagDataSource.kt
│       │   │                           │   │   └── TagRepository.kt
│       │   │                           │   └── userevent/
│       │   │                           │       ├── DefaultSessionAndUserEventRepository.kt
│       │   │                           │       ├── FirestoreUserEventDataSource.kt
│       │   │                           │       ├── FirestoreUserEventParser.kt
│       │   │                           │       ├── UserEventDataSource.kt
│       │   │                           │       └── UserEventsMessageGenerator.kt
│       │   │                           ├── di/
│       │   │                           │   ├── CoroutinesQualifiers.kt
│       │   │                           │   ├── FeatureFlagAnnotations.kt
│       │   │                           │   ├── FeatureFlagsModule.kt
│       │   │                           │   └── MainThreadHandler.kt
│       │   │                           ├── domain/
│       │   │                           │   ├── CoroutineUseCase.kt
│       │   │                           │   ├── FlowUseCase.kt
│       │   │                           │   ├── MediatorUseCase.kt
│       │   │                           │   ├── RefreshConferenceDataUseCase.kt
│       │   │                           │   ├── agenda/
│       │   │                           │   │   └── LoadAgendaUseCase.kt
│       │   │                           │   ├── ar/
│       │   │                           │   │   ├── ArConstants.kt
│       │   │                           │   │   └── LoadArDebugFlagUseCase.kt
│       │   │                           │   ├── auth/
│       │   │                           │   │   └── ObserveUserAuthStateUseCase.kt
│       │   │                           │   ├── codelabs/
│       │   │                           │   │   ├── GetCodelabsInfoCardShownUseCase.kt
│       │   │                           │   │   ├── LoadCodelabsUseCase.kt
│       │   │                           │   │   └── SetCodelabsInfoCardShownUseCase.kt
│       │   │                           │   ├── feed/
│       │   │                           │   │   ├── GetConferenceStateUseCase.kt
│       │   │                           │   │   ├── LoadAnnouncementsUseCase.kt
│       │   │                           │   │   └── LoadCurrentMomentUseCase.kt
│       │   │                           │   ├── filters/
│       │   │                           │   │   └── UserSessionFilterMatcher.kt
│       │   │                           │   ├── internal/
│       │   │                           │   │   └── IOSchedHandler.kt
│       │   │                           │   ├── logistics/
│       │   │                           │   │   └── LoadWifiInfoUseCase.kt
│       │   │                           │   ├── prefs/
│       │   │                           │   │   ├── MarkScheduleUiHintsShownUseCase.kt
│       │   │                           │   │   ├── MyLocationOptedInUseCase.kt
│       │   │                           │   │   ├── NotificationsPrefIsShownUseCase.kt
│       │   │                           │   │   ├── NotificationsPrefSaveActionUseCase.kt
│       │   │                           │   │   ├── NotificationsPrefShownActionUseCase.kt
│       │   │                           │   │   ├── OnboardingCompleteActionUseCase.kt
│       │   │                           │   │   ├── OnboardingCompletedUseCase.kt
│       │   │                           │   │   ├── OptIntoMyLocationUseCase.kt
│       │   │                           │   │   ├── ScheduleUiHintsShownUseCase.kt
│       │   │                           │   │   └── StopSnackbarActionUseCase.kt
│       │   │                           │   ├── search/
│       │   │                           │   │   ├── LoadSearchFiltersUseCase.kt
│       │   │                           │   │   ├── Searchable.kt
│       │   │                           │   │   ├── SessionSearchUseCase.kt
│       │   │                           │   │   └── SessionTextMatchStrategy.kt
│       │   │                           │   ├── sessions/
│       │   │                           │   │   ├── ConferenceDayIndexer.kt
│       │   │                           │   │   ├── GetConferenceDaysUseCase.kt
│       │   │                           │   │   ├── LoadPinnedSessionsJsonUseCase.kt
│       │   │                           │   │   ├── LoadScheduleUserSessionsUseCase.kt
│       │   │                           │   │   ├── LoadSessionOneShotUseCase.kt
│       │   │                           │   │   ├── LoadSessionUseCase.kt
│       │   │                           │   │   ├── LoadStarredAndReservedSessionsUseCase.kt
│       │   │                           │   │   ├── LoadUserSessionOneShotUseCase.kt
│       │   │                           │   │   ├── LoadUserSessionUseCase.kt
│       │   │                           │   │   ├── LoadUserSessionsUseCase.kt
│       │   │                           │   │   ├── NotificationAlarmUpdater.kt
│       │   │                           │   │   └── ObserveConferenceDataUseCase.kt
│       │   │                           │   ├── settings/
│       │   │                           │   │   ├── GetAnalyticsSettingUseCase.kt
│       │   │                           │   │   ├── GetAvailableThemesUseCase.kt
│       │   │                           │   │   ├── GetNotificationsSettingUseCase.kt
│       │   │                           │   │   ├── GetThemeUseCase.kt
│       │   │                           │   │   ├── GetTimeZoneUseCase.kt
│       │   │                           │   │   ├── ObserveThemeModeUseCase.kt
│       │   │                           │   │   ├── SetAnalyticsSettingUseCase.kt
│       │   │                           │   │   ├── SetThemeUseCase.kt
│       │   │                           │   │   └── SetTimeZoneUseCase.kt
│       │   │                           │   ├── speakers/
│       │   │                           │   │   └── LoadSpeakerSessionsUseCase.kt
│       │   │                           │   └── users/
│       │   │                           │       ├── FeedbackUseCase.kt
│       │   │                           │       ├── ReservationActionUseCase.kt
│       │   │                           │       ├── StarEventAndNotifyUseCase.kt
│       │   │                           │       └── SwapActionUseCase.kt
│       │   │                           ├── fcm/
│       │   │                           │   ├── FcmTokenUpdater.kt
│       │   │                           │   ├── FcmTopicSubscriber.kt
│       │   │                           │   ├── IoschedFirebaseMessagingService.kt
│       │   │                           │   └── TopicSubscriber.kt
│       │   │                           ├── notifications/
│       │   │                           │   ├── AlarmBroadcastReceiver.kt
│       │   │                           │   ├── CancelNotificationBroadcastReceiver.kt
│       │   │                           │   └── SessionAlarmManager.kt
│       │   │                           ├── result/
│       │   │                           │   ├── Event.kt
│       │   │                           │   └── Result.kt
│       │   │                           ├── time/
│       │   │                           │   └── DefaultTimeProvider.kt
│       │   │                           └── util/
│       │   │                               ├── ColorUtils.kt
│       │   │                               ├── Extensions.kt
│       │   │                               ├── NetworkUtils.kt
│       │   │                               ├── SpeakerUtils.kt
│       │   │                               └── TimeUtils.kt
│       │   ├── res/
│       │   │   ├── drawable/
│       │   │   │   ├── ic_default_avatar.xml
│       │   │   │   ├── ic_event.xml
│       │   │   │   ├── ic_launcher_background.xml
│       │   │   │   ├── ic_livestreamed.xml
│       │   │   │   ├── ic_notification_io_logo.xml
│       │   │   │   ├── ic_star.xml
│       │   │   │   ├── ic_star_border.xml
│       │   │   │   └── tag_dot.xml
│       │   │   ├── drawable-v24/
│       │   │   │   └── ic_launcher_foreground.xml
│       │   │   ├── font/
│       │   │   │   ├── google_sans.xml
│       │   │   │   └── google_sans_medium.xml
│       │   │   ├── mipmap-anydpi-v26/
│       │   │   │   └── ic_launcher.xml
│       │   │   ├── values/
│       │   │   │   ├── colors.xml
│       │   │   │   ├── dimens.xml
│       │   │   │   ├── font_certs.xml
│       │   │   │   ├── preloaded_fonts.xml
│       │   │   │   └── strings.xml
│       │   │   ├── values-ar/
│       │   │   │   └── strings.xml
│       │   │   ├── values-ar-rEG/
│       │   │   │   └── strings.xml
│       │   │   ├── values-ar-rSA/
│       │   │   │   └── strings.xml
│       │   │   ├── values-de/
│       │   │   │   └── strings.xml
│       │   │   ├── values-de-rAT/
│       │   │   │   └── strings.xml
│       │   │   ├── values-de-rCH/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rAR/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rBO/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rCL/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rCO/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rCR/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rDO/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rEC/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rGT/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rHN/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rMX/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rNI/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rPA/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rPE/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rPR/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rPY/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rSV/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rUS/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rUY/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rVE/
│       │   │   │   └── strings.xml
│       │   │   ├── values-fa/
│       │   │   │   └── strings.xml
│       │   │   ├── values-fr/
│       │   │   │   └── strings.xml
│       │   │   ├── values-fr-rCH/
│       │   │   │   └── strings.xml
│       │   │   ├── values-gsw/
│       │   │   │   └── strings.xml
│       │   │   ├── values-it/
│       │   │   │   └── strings.xml
│       │   │   ├── values-ja/
│       │   │   │   └── strings.xml
│       │   │   ├── values-ko/
│       │   │   │   └── strings.xml
│       │   │   ├── values-ln/
│       │   │   │   └── strings.xml
│       │   │   ├── values-pt/
│       │   │   │   └── strings.xml
│       │   │   ├── values-pt-rBR/
│       │   │   │   └── strings.xml
│       │   │   ├── values-ru/
│       │   │   │   └── strings.xml
│       │   │   ├── values-th/
│       │   │   │   └── strings.xml
│       │   │   ├── values-vi/
│       │   │   │   └── strings.xml
│       │   │   ├── values-zh/
│       │   │   │   └── strings.xml
│       │   │   ├── values-zh-rCN/
│       │   │   │   └── strings.xml
│       │   │   ├── values-zh-rHK/
│       │   │   │   └── strings.xml
│       │   │   ├── values-zh-rTW/
│       │   │   │   └── strings.xml
│       │   │   └── xml/
│       │   │       └── remote_config_defaults.xml
│       │   └── resources/
│       │       └── conference_data_2019.json
│       ├── release/
│       │   └── google-services.json
│       ├── staging/
│       │   ├── java/
│       │   │   └── com/
│       │   │       └── google/
│       │   │           └── samples/
│       │   │               └── apps/
│       │   │                   └── iosched/
│       │   │                       └── shared/
│       │   │                           ├── data/
│       │   │                           │   ├── FakeAnnouncementDataSource.kt
│       │   │                           │   ├── FakeAppConfigDataSource.kt
│       │   │                           │   ├── FakeConferenceDataSource.kt
│       │   │                           │   ├── FakeFeedbackEndpoint.kt
│       │   │                           │   ├── ar/
│       │   │                           │   │   └── FakeArDebugFlagEndpoint.kt
│       │   │                           │   ├── feed/
│       │   │                           │   │   └── FakeMomentDataSource.kt
│       │   │                           │   └── userevent/
│       │   │                           │       └── FakeUserEventDataSource.kt
│       │   │                           ├── di/
│       │   │                           │   └── SharedModule.kt
│       │   │                           └── fcm/
│       │   │                               └── StagingTopicSubscriber.kt
│       │   └── res/
│       │       └── drawable/
│       │           └── staging_user_profile.xml
│       └── test/
│           ├── java/
│           │   └── com/
│           │       └── google/
│           │           └── samples/
│           │               └── apps/
│           │                   └── iosched/
│           │                       ├── firestore/
│           │                       │   └── entity/
│           │                       │       ├── ReservationRequestResultTest.kt
│           │                       │       └── UserEventTest.kt
│           │                       ├── shared/
│           │                       │   ├── data/
│           │                       │   │   ├── BootstrapConferenceDataSourceTest.kt
│           │                       │   │   ├── ConferenceDataJsonParserTest.kt
│           │                       │   │   ├── ConferenceDataRepositoryTest.kt
│           │                       │   │   ├── signin/
│           │                       │   │   │   └── ObserveUserAuthStateUseCaseTest.kt
│           │                       │   │   └── userevent/
│           │                       │   │       ├── CompareOldAndNewUserEventsTest.kt
│           │                       │   │       └── DefaultSessionAndUserEventRepositoryTest.kt
│           │                       │   ├── domain/
│           │                       │   │   ├── FlowUseCaseTest.kt
│           │                       │   │   ├── codelabs/
│           │                       │   │   │   └── LoadCodelabsUseCaseTest.kt
│           │                       │   │   ├── feed/
│           │                       │   │   │   ├── GetConferenceStateUseCaseTest.kt
│           │                       │   │   │   ├── LoadAnnouncementsUseCaseTest.kt
│           │                       │   │   │   ├── LoadCurrentMomentUseCaseTest.kt
│           │                       │   │   │   ├── TestAnnouncementDataSource.kt
│           │                       │   │   │   └── TestMomentDataSource.kt
│           │                       │   │   ├── filters/
│           │                       │   │   │   └── UserSessionFilterMatcherTest.kt
│           │                       │   │   ├── repository/
│           │                       │   │   │   └── TestUserEventDataSource.kt
│           │                       │   │   ├── search/
│           │                       │   │   │   ├── LoadSearchFiltersUseCaseTest.kt
│           │                       │   │   │   └── SessionTextMatchStrategyTest.kt
│           │                       │   │   ├── sessions/
│           │                       │   │   │   ├── LoadPinnedSessionsJsonUseCaseTest.kt
│           │                       │   │   │   ├── LoadScheduleUserSessionsUseCaseTest.kt
│           │                       │   │   │   ├── LoadStarredAndReservedSessionsUseCaseTest.kt
│           │                       │   │   │   └── ObserveConferenceDataUseCaseTest.kt
│           │                       │   │   └── users/
│           │                       │   │       ├── FeedbackUseCaseTest.kt
│           │                       │   │       ├── ReservationActionUseCaseTest.kt
│           │                       │   │       └── StarEventUseCaseTest.kt
│           │                       │   ├── model/
│           │                       │   │   ├── SessionTest.kt
│           │                       │   │   ├── SharedTestData.kt
│           │                       │   │   └── TagTest.kt
│           │                       │   └── util/
│           │                       │       ├── ColorUtilsTest.kt
│           │                       │       ├── SpeakerUtilsTest.kt
│           │                       │       └── TimeUtilsTest.kt
│           │                       └── test/
│           │                           └── util/
│           │                               ├── FakeAppDatabase.kt
│           │                               └── FakePreferenceStorage.kt
│           └── resources/
│               ├── malformed_conference_data.json
│               └── test_conference_data1.json
├── test-shared/
│   ├── build.gradle.kts
│   └── src/
│       └── main/
│           └── java/
│               └── com/
│                   └── google/
│                       └── samples/
│                           └── apps/
│                               └── iosched/
│                                   └── test/
│                                       └── data/
│                                           ├── MainCoroutineRule.kt
│                                           └── TestData.kt
└── tools/
    ├── iosched-codestyle.xml
    ├── pre-push
    └── setup.sh

================================================
FILE CONTENTS
================================================

================================================
FILE: .github/ci-gradle.properties
================================================
#
# Copyright 2020 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

org.gradle.daemon=false
org.gradle.parallel=true
org.gradle.jvmargs=-Xmx5120m
org.gradle.workers.max=2

kotlin.incremental=false
kotlin.compiler.execution.strategy=in-process

================================================
FILE: .github/workflows/iosched.yaml
================================================
name: iosched

on:
  push:
    branches:
      - main
      - compose
  pull_request:
    branches:
      - main
      - compose

jobs:
  build:
    runs-on: ubuntu-latest
    timeout-minutes: 30

    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Copy CI gradle.properties
        run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties

      - name: Set up JDK 11
        uses: actions/setup-java@v1
        with:
          java-version: 11

      - uses: actions/cache@v2
        with:
          path: |
            ~/.gradle/caches/modules-*
            ~/.gradle/caches/jars-*
            ~/.gradle/caches/build-cache-*
          key: gradle-${{ hashFiles('checksum.txt') }}

      - name: Build project
        run: ./gradlew spotlessCheck assembleDebug --stacktrace

      - name: Upload build reports
        if: always()
        uses: actions/upload-artifact@v2
        with:
          name: build-reports
          path: mobile/build/reports/

  test:
    runs-on: macOS-latest # enables hardware acceleration in the virtual machine
    timeout-minutes: 30
    strategy:
      matrix:
        api-level: [23, 26, 29]

    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Copy CI gradle.properties
        run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties

      - name: Set up JDK 11
        uses: actions/setup-java@v1
        with:
          java-version: 11

      - name: Run instrumentation tests
        uses: reactivecircus/android-emulator-runner@v2
        with:
          api-level: ${{ matrix.api-level }}
          arch: x86
          disable-animations: true
          script: ./gradlew mobile:cAT --stacktrace

      - name: Upload test reports
        if: always()
        uses: actions/upload-artifact@v2
        with:
          name: test-reports
          path: mobile/build/reports/


================================================
FILE: .gitignore
================================================
# built application files
*.apk
*.ap_

# files for the dex VM
*.dex

# Java class files
*.class

# generated files
bin/
gen/
out/
build/

# Local configuration file (sdk path, etc)
local.properties

# Eclipse project files
.classpath
.project

# Windows thumbnail db
.DS_Store

# IDEA/Android Studio project files, because
# the project can be imported from settings.gradle.kts
*.iml
.idea/*
!.idea/copyright
!.idea/codeStyles/codeStyleConfig.xml

# Gradle cache
.gradle

# Sandbox stuff
_sandbox

# Android Studio captures folder
captures/


================================================
FILE: .idea/copyright/iosched.xml
================================================
<component name="CopyrightManager">
  <copyright>
    <option name="notice" value="Copyright &amp;#36;today.year Google LLC&#10;&#10;Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);&#10;you may not use this file except in compliance with the License.&#10;You may obtain a copy of the License at&#10;&#10;    https://www.apache.org/licenses/LICENSE-2.0&#10;&#10;Unless required by applicable law or agreed to in writing, software&#10;distributed under the License is distributed on an &quot;AS IS&quot; BASIS,&#10;WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#10;See the License for the specific language governing permissions and&#10;limitations under the License." />
    <option name="myName" value="iosched" />
  </copyright>
</component>

================================================
FILE: .idea/copyright/profiles_settings.xml
================================================
<component name="CopyrightManager">
  <settings default="iosched" />
</component>

================================================
FILE: CONTRIBUTING.md
================================================
# How to become a contributor and submit your own code

## Contributor License Agreements

We'd love to accept your sample apps and patches! Before we can take them, we
have to jump a couple of legal hurdles.

Please fill out either the individual or corporate Contributor License Agreement
(CLA).

  * If you are an individual writing original source code and you're sure you
    own the intellectual property, then you'll need to sign an [individual CLA]
    (https://developers.google.com/open-source/cla/individual).
  * If you work for a company that wants to allow you to contribute your work,
    then you'll need to sign a [corporate CLA]
    (https://developers.google.com/open-source/cla/corporate).

Follow either of the two links above to access the appropriate CLA and
instructions for how to sign and return it. Once we receive it, we'll be able to
accept your pull requests.

## Contributing A Patch

1. Submit an issue describing your proposed change to the repo in question.
1. The repo owner will respond to your issue promptly.
1. If your proposed change is accepted, and you haven't already done so, sign a
   Contributor License Agreement (see details above).
1. Fork the desired repo, develop and test your code changes.
1. Ensure that your code adheres to the existing style in the sample to which
   you are contributing. Refer to the
   [Google Cloud Platform Samples Style Guide]
   (https://github.com/GoogleCloudPlatform/Template/wiki/style.html) for the
   recommended coding standards for this organization.
1. Ensure that your code has an appropriate set of unit tests which all pass.
1. Submit a pull request.



================================================
FILE: LICENSE
================================================

                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribution."

      "Contributor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contribution has been received by Licensor and
      subsequently incorporated within the Work.

   2. Grant of Copyright License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyright license to reproduce, prepare Derivative Works of,
      publicly display, publicly perform, sublicense, and distribute the
      Work and such Derivative Works in Source or Object form.

   3. Grant of Patent License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offer to sell, sell, import, and otherwise transfer the Work,
      where such license applies only to those patent claims licensable
      by such Contributor that are necessarily infringed by their
      Contribution(s) alone or by combination of their Contribution(s)
      with the Work to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      cross-claim or counterclaim in a lawsuit) alleging that the Work
      or a Contribution incorporated within the Work constitutes direct
      or contributory patent infringement, then any patent licenses
      granted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistribution. You may reproduce and distribute copies of the
      Work or Derivative Works thereof in any medium, with or without
      modifications, and in Source or Object form, provided that You
      meet the following conditions:

      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
          stating that You changed the files; and

      (c) You must retain, in the Source form of any Derivative Works
          that You distribute, all copyright, patent, trademark, and
          attribution notices from the Source form of the Work,
          excluding those notices that do not pertain to any part of
          the Derivative Works; and

      (d) If the Work includes a "NOTICE" text file as part of its
          distribution, then any Derivative Works that You distribute must
          include a readable copy of the attribution notices contained
          within such NOTICE file, excluding those notices that do not
          pertain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distributed
          as part of the Derivative Works; within the Source form or
          documentation, if provided along with the Derivative Works; or,
          within a display generated by the Derivative Works, if and
          wherever such third-party notices normally appear. The contents
          of the NOTICE file are for informational purposes only and
          do not modify the License. You may add Your own attribution
          notices within Derivative Works that You distribute, alongside
          or as an addendum to the NOTICE text from the Work, provided
          that such additional attribution notices cannot be construed
          as modifying the License.

      You may add Your own copyright statement to Your modifications and
      may provide additional or different license terms and conditions
      for use, reproduction, or distribution of Your modifications, or
      for any such Derivative Works as a whole, provided Your use,
      reproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contributions. Unless You explicitly state otherwise,
      any Contribution intentionally submitted for inclusion in the Work
      by You to the Licensor shall be under the terms and conditions of
      this License, without any additional terms or conditions.
      Notwithstanding the above, nothing herein shall supersede or modify
      the terms of any separate license agreement you may have executed
      with Licensor regarding such Contributions.

   6. Trademarks. This License does not grant permission to use the trade
      names, trademarks, service marks, or product names of the Licensor,
      except as required for reasonable and customary use in describing the
      origin of the Work and reproducing the content of the NOTICE file.

   7. Disclaimer of Warranty. Unless required by applicable law or
      agreed to in writing, Licensor provides the Work (and each
      Contributor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
      implied, including, without limitation, any warranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this
      License. However, in accepting such obligations, You may act only
      on Your own behalf and on Your sole responsibility, not on behalf
      of any other Contributor, and only if You agree to indemnify,
      defend, and hold each Contributor harmless for any liability
      incurred by, or claims asserted against, such Contributor by reason
      of your accepting any such warranty or additional liability.

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "[]"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

   Copyright [yyyy] [name of copyright owner]

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.


================================================
FILE: README.md
================================================
Google I/O Android App (ARCHIVED)
======================

## 2023 Update

**This repository has been archived.** The Google I/O app has guided online and in-person visitors through the Google I/O conference for 10 years since 2009. It has also helped thousands of developers as an open-source sample. 

To follow Modern Android Development best practices, check out the [Now in Android](https://github.com/android/nowinandroid) repository, which replaces iosched as our real-world sample. 

## 2021 Update

**Due to global events, Google I/O 2020 was canceled and Google I/O 2021 is an online-only event, so
the companion app hasn't been updated since 2019. However, the `iosched` team has continued
adding several architecture improvements to its codebase.
The general look and feel of the app is unchanged, and the app
still uses the data from Google I/O 2019.**

Major improvements implemented in 2021:
* Migration from LiveData to Kotlin Flows to observe data.
* Support for large screens and other form factors.
* Migration from SharedPreferences to [Jetpack DataStore](https://developer.android.com/topic/libraries/architecture/datastore).
* (Experimental) Partial migration to Jetpack Compose
(in the [`compose`](https://github.com/google/iosched/tree/compose) branch)

# Description
Google I/O is a developer conference with several days of deep
technical content featuring technical sessions and hundreds of demonstrations
from developers showcasing their technologies.

This project is the Android app for the conference.

# Running the app

The project contains a `staging` variant that replaces some modules at compile time so they
don't depend on remote services such as Firebase. This allows you to try out and test the app
without the API keys.

# Features

The app displays a list of conference events - sessions, office hours, app
reviews, codelabs, etc. - and allows the user to filter these events by event
types and by topics (Android, Firebase, etc.). Users can see details about
events, and they can star events that interest them. Conference attendees can
reserve events to guarantee a seat.

Other features include a Map of the venue, informational pages to
guide attendees during the conference in Info, and time-relevant information
during the conference in Home.

<div>
  <img align="center" src="schedule.png" alt="Schedule screenshot" height="640" width="320">
</div>

# Development Environment

The app is written entirely in Kotlin and uses the Gradle build system.

To build the app, use the `gradlew build` command or use "Import Project" in
Android Studio. Android Studio Arctic Fox or newer is required and may be downloaded
[here](https://developer.android.com/studio/preview).

# Architecture

The architecture is built around
[Android Architecture Components](https://developer.android.com/topic/libraries/architecture/)
and follows the recommendations laid out in the
[Guide to App Architecture](https://developer.android.com/jetpack/docs/guide). Logic is kept away
from Activities and Fragments and moved to
[ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel)s.
Data is observed using
[Kotlin Flows](https://developer.android.com/kotlin/flow/stateflow-and-sharedflow)
and the [Data Binding Library](https://developer.android.com/topic/libraries/data-binding/)
binds UI components in layouts to the app's data sources.

The Repository layer handles data operations. IOSched's data comes
from a few different sources -  user data is stored in
[Cloud Firestore](https://firebase.google.com/docs/firestore/)
(either remotely or in
a local cache for offline use), user preferences and settings are stored in
DataStore, conference data is stored remotely and is fetched and stored
in memory for the app to use, etc. - and the repository modules
are responsible for handling all data operations and abstracting the data sources
from the rest of the app.

A lightweight domain layer sits between the data layer
and the presentation layer, and handles discrete pieces of business logic off
the UI thread. See the `.\*UseCase.kt` files under `shared/domain` for
[examples](https://github.com/google/iosched/search?q=UseCase&unscoped_q=UseCase).

The [Navigation component](https://developer.android.com/guide/navigation) is used
to implement navigation in the app, handling Fragment transactions and providing a consistent
user experience.

[Room](https://developer.android.com/jetpack/androidx/releases/room) is used
for Full Text Search using [Fts4](https://developer.android.com/reference/androidx/room/Fts4)
to search for a session, speaker, or codelab.

UI tests are written with [Espresso](https://developer.android.com/training/testing/espresso/)
and unit tests use Junit4 with
[Mockito](https://github.com/mockito/mockito) when necessary.

The [Jetpack Benchmark library](https://developer.android.com/studio/profile/benchmark)
makes it easy to benchmark your code from within Android Studio.
The library handles warmup, measures your code performance, and outputs benchmarking
results to the Android Studio console. We added a few benchmark tests around
critical paths during app startup - in particular, the parsing of the bootstrap
data. This enables us to automate measuring and monitoring initial startup time.
Here is an example from a benchmark run:

```
Started running tests

Connected to process 30763 on device 'google-pixel_3'.
benchmark:
benchmark:    76,076,101 ns BootstrapConferenceDataSourceBenchmark.benchmark_json_parsing
Tests ran to completion.
```

Dependency Injection is implemented with
[Hilt](https://developer.android.com/training/dependency-injection/hilt-android). For more details
on migrating from *dagger-android* to Hilt, read the
([migration article](https://medium.com/androiddevelopers/migrating-the-google-i-o-app-to-hilt-f3edf03affe5).

[ViewPager2](https://developer.android.com/training/animation/screen-slide-2) offers enhanced functionality over the
original ViewPager library, such as right-to-left and vertical orientation support.
For more details on migrating from ViewPager to ViewPager2, please see this
[migration guide](https://developer.android.com/training/animation/vp2-migration).

## Firebase

The app makes considerable use of the following Firebase components:

- [Cloud Firestore](https://firebase.google.com/docs/firestore/) is our source
for all user data (events starred or reserved by a user). Firestore gave us
automatic sync  and also seamlessly managed offline functionality
for us.
- [Firebase Cloud Functions](https://firebase.google.com/docs/functions/)
allowed us to run backend code. The reservations feature heavily depended on Cloud
Functions working in conjuction with Firestore.
- [Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/concept-options)
let us inform the app about changes to conference data on our server.
- [Remote Config](https://firebase.google.com/docs/remote-config/) helped us
manage in-app constants.

For 2020, the implementation was migrated to the Firebase Kotlin extension (KTX) libraries to
write more idiomatic Kotlin code when calling Firebase APIs. To learn more,
read this
[Firebase blog article](https://firebase.googleblog.com/2020/03/firebase-kotlin-ga.html)
on the Firebase KTX libraries.

## Kotlin

The app is entirely written in Kotlin and uses Jetpack's
[Android Ktx extensions](https://developer.android.com/kotlin/ktx).

Asynchronous tasks are handled with
[coroutines](https://developer.android.com/kotlin/coroutines). Coroutines allow for simple
and safe management of one-shot operations as well as building and consuming streams of data using
[Kotlin Flows](https://developer.android.com/kotlin/flow).

All build scripts are written with the
[Kotlin DSL](https://docs.gradle.org/current/userguide/kotlin_dsl.html).

# Copyright

    Copyright 2014 Google Inc. All rights reserved.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.



================================================
FILE: androidTest-shared/build.gradle.kts
================================================
/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

plugins {
    id("com.android.library")
    kotlin("android")
}

android {
    compileSdk = Versions.COMPILE_SDK
    defaultConfig {
        minSdk = Versions.MIN_SDK
        targetSdk = Versions.TARGET_SDK

        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
    }

    lint {
        // Version changes are beyond our control, so don't warn. The IDE will still mark these.
        disable += "GradleDependency"
    }
}

dependencies {
    api(platform(project(":depconstraints")))

    implementation(Libs.KOTLIN_STDLIB)

    // Architecture Components
    implementation(Libs.LIFECYCLE_LIVE_DATA_KTX)
    implementation(Libs.LIFECYCLE_VIEW_MODEL_KTX)
}


================================================
FILE: androidTest-shared/src/main/AndroidManifest.xml
================================================
<!--
  ~ Copyright 2018 Google LLC
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     https://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.google.samples.apps.iosched.androidtest.util" />


================================================
FILE: androidTest-shared/src/main/java/com/google/samples/apps/iosched/androidtest/util/LiveDataTestUtil.kt
================================================
/*
 * Copyright 2018 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.androidtest.util

import androidx.lifecycle.LiveData
import androidx.lifecycle.Observer
import java.util.concurrent.CountDownLatch
import java.util.concurrent.TimeUnit

/**
 * Safely handles observables from LiveData for testing.
 */
object LiveDataTestUtil {

    /**
     * Gets the value of a LiveData safely.
     */
    @Throws(InterruptedException::class)
    fun <T> getValue(liveData: LiveData<T>): T? {
        var data: T? = null
        val latch = CountDownLatch(1)
        val observer = object : Observer<T> {
            override fun onChanged(o: T?) {
                data = o
                latch.countDown()
                liveData.removeObserver(this)
            }
        }
        liveData.observeForever(observer)
        latch.await(2, TimeUnit.SECONDS)

        return data
    }
}

/**
 * Observes a [LiveData] until the `block` is done executing.
 */
fun <T> LiveData<T>.observeForTesting(block: () -> Unit) {
    val observer = Observer<T> { }
    try {
        observeForever(observer)
        block()
    } finally {
        removeObserver(observer)
    }
}


================================================
FILE: ar/build.gradle.kts
================================================
/*
 * Copyright 2022 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

plugins {
    id("com.android.library")
    kotlin("android")
    kotlin("kapt")
}

android {
    compileSdk = Versions.COMPILE_SDK
    defaultConfig {
        minSdk = Versions.MIN_SDK
        targetSdk = Versions.TARGET_SDK
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
        consumerProguardFiles("consumer-proguard-rules.pro")
    }

    buildTypes {
        maybeCreate("staging")
        getByName("staging") {
            initWith(getByName("debug"))

            // Specifies a sorted list of fallback build types that the
            // plugin should try to use when a dependency does not include a
            // "staging" build type.
            // Used with :test-shared, which doesn't have a staging variant.
            matchingFallbacks += listOf("debug")
        }
        maybeCreate("benchmark")
        getByName("benchmark") {
            initWith(getByName("staging"))
            // Specifies a sorted list of fallback build types that the
            // plugin should try to use when a dependency does not include a
            // "staging" build type.
            // Used with :test-shared, which doesn't have a staging variant.
            matchingFallbacks += listOf("staging", "debug")
        }
    }

    lint {
        disable += "InvalidPackage"
        // Version changes are beyond our control, so don't warn. The IDE will still mark these.
        disable += "GradleDependency"
    }

    // Required by ArWebView
    compileOptions {
        sourceCompatibility = JavaVersion.VERSION_1_8
        targetCompatibility = JavaVersion.VERSION_1_8
    }
}

dependencies {
    api(platform(project(":depconstraints")))
    implementation(project(":shared"))
    implementation(Libs.APPCOMPAT)
    implementation(Libs.ARCORE)
    implementation(Libs.GOOGLE_PLAY_SERVICES_VISION)
    implementation(Libs.KOTLIN_STDLIB)
}


================================================
FILE: ar/consumer-proguard-rules.pro
================================================
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Proguard configuration for the AR feature

-keep class com.google.ar.web.** { *; }
-dontwarn com.google.ar.web.**


================================================
FILE: ar/src/main/AndroidManifest.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright 2019 Google LLC
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     https://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.google.samples.apps.iosched.ar">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

    <application>

        <activity android:name=".ArActivity"
            android:screenOrientation="portrait"
            android:theme="@style/AppTheme.NoActionBar.BlackStatusBar" />
    </application>
</manifest>


================================================
FILE: ar/src/main/java/com/google/samples/apps/iosched/ar/ArActivity.kt
================================================
/*
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.ar

import android.os.Bundle
import android.view.WindowManager
import android.webkit.WebView
import android.webkit.WebViewClient
import androidx.appcompat.app.AppCompatActivity
import com.google.samples.apps.iosched.shared.domain.ar.ArConstants

class ArActivity : AppCompatActivity() {

    private lateinit var arWebView: WebView

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        val pinnedSessionsJson =
            intent?.extras?.getString(ArConstants.PINNED_SESSIONS_JSON_KEY, "") ?: ""
        val canSignedInUserDemoAr =
            intent?.extras?.getBoolean(ArConstants.CAN_SIGNED_IN_USER_DEMO_AR, false) ?: false

        arWebView = WebView(this)
        setContentView(arWebView)
        arWebView.apply {
            webViewClient =
                ArWebViewClient(pinnedSessionsJson, canSignedInUserDemoAr)
            settings.apply {
                mediaPlaybackRequiresUserGesture = false
                domStorageEnabled = true
                databaseEnabled = true
            }
            // Loading a single entry point because all the user flow happens in JavaScript from the
            // teaser page and requesting ARCore apk and camera permission
            loadUrl("https://sp-io2019.appspot.com/")
        }
        window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
    }

    override fun onRestart() {
        super.onRestart()
        arWebView.reload()
    }

    override fun onStop() {
        super.onStop()
        val addOverlayScript =
            "if (window.app && window.app.addIntroOverlay) " +
                "window.app.addIntroOverlay();"
        arWebView.evaluateJavascript(addOverlayScript) {}
    }

    override fun onDestroy() {
        arWebView.destroy()
        window.clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
        super.onDestroy()
    }

    /**
     * WebViewClient that sends the pinned sessions as json to the WebView.
     * Defining it as a class otherwise an anonymous class was stripped from proguard.
     */
    private class ArWebViewClient(
        val json: String,
        val canDemoAr: Boolean
    ) : WebViewClient() {

        override fun onPageFinished(view: WebView?, url: String?) {
            super.onPageFinished(view, url)
            val evalAgendaScript =
                "if (window.app && window.app.sendIOAppUserAgenda) " +
                    "window.app.sendIOAppUserAgenda('$json');"
            view?.evaluateJavascript(evalAgendaScript) {}
            if (canDemoAr) {
                val evalSetDebugUserScript = "if (window.app && window.app.setDebugUser) " +
                    "window.app.setDebugUser()"
                view?.evaluateJavascript(evalSetDebugUserScript) {}
            }
        }
    }
}


================================================
FILE: ar/src/main/res/values/styles.xml
================================================
<!--
  ~ Copyright 2019 Google LLC
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     https://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
<resources>

    <style name="AppTheme.NoActionBar.BlackStatusBar" parent="@style/Theme.AppCompat.NoActionBar">
        <item name="android:statusBarColor">@color/black</item>
    </style>
</resources>


================================================
FILE: benchmark/build.gradle.kts
================================================
/*
 * Copyright 2022 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

plugins {
    id("com.android.library")
    kotlin("android")
    id("androidx.benchmark")
    kotlin("kapt")
}

android {
    compileSdk = Versions.COMPILE_SDK
    defaultConfig {
        minSdk = Versions.MIN_SDK
        targetSdk = Versions.TARGET_SDK
        testInstrumentationRunner = "androidx.benchmark.junit4.AndroidBenchmarkRunner"
    }

    buildTypes {
        maybeCreate("benchmark")
        getByName("benchmark") {
            initWith(getByName("release"))
            signingConfig = signingConfigs.getByName("debug")
            isDefault = true
            isMinifyEnabled = true
            proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"))

            // Specifies a sorted list of fallback build types that the
            // plugin should try to use when a dependency does not include a
            // "staging" build type.
            // Used with :test-shared, which doesn't have a staging variant.
            matchingFallbacks += listOf("staging", "debug")
        }
    }

    testBuildType = "benchmark"

    // To avoid the compile error from benchmarkRule.measureRepeated
    // Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM
    // target 1.6
    kotlinOptions.jvmTarget = "1.8"

    packagingOptions {
        resources.excludes += "META-INF/AL2.0"
        resources.excludes += "META-INF/LGPL2.1"
    }
}

dependencies {
    androidTestImplementation(platform(project(":depconstraints")))
    kapt(platform(project(":depconstraints")))
    androidTestImplementation(project(":model"))
    androidTestImplementation(project(":shared"))
    androidTestImplementation(project(":test-shared"))
    androidTestImplementation(project(":androidTest-shared"))

    // ThreeTenBP is for Date and time API for Java.
    androidTestImplementation(Libs.THREETENABP)

    // Instrumentation tests
    androidTestImplementation(Libs.HAMCREST)
    androidTestImplementation(Libs.EXT_JUNIT)
    androidTestImplementation(Libs.RUNNER)
    androidTestImplementation(Libs.RULES)

    // Benchmark testing
    androidTestImplementation(Libs.BENCHMARK)
}


================================================
FILE: benchmark/src/androidTest/AndroidManifest.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright 2020 Google LLC
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     https://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.google.samples.apps.iosched.benchmark">

    <!-- Important: disable debuggable for accurate performance results. -->
    <application
        android:debuggable="false"
        tools:ignore="HardcodedDebugMode"
        tools:replace="android:debuggable">

        <profileable android:shell="true" />

    </application>

</manifest>


================================================
FILE: benchmark/src/androidTest/java/com/google/samples/apps/iosched/benchmark/BootstrapConferenceDataSourceBenchmark.kt
================================================
/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.benchmark

import androidx.benchmark.junit4.BenchmarkRule
import androidx.benchmark.junit4.measureRepeated
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.google.samples.apps.iosched.shared.data.BootstrapConferenceDataSource
import org.hamcrest.core.IsNot.not
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith

/**
 * Benchmark test for parsing offline data. To keep startup times optimized, this benchmark
 * test is used to monitor potential hot spots when the app first loads content.
 */
@RunWith(AndroidJUnit4::class)
class BootstrapConferenceDataSourceBenchmark {
    @get:Rule
    val benchmarkRule = BenchmarkRule()

    // Parsing JSON data can be quite time consuming. We have custom deserializers to improve the
    // performance. We parse this data when the app starts up which is a critical user path. This
    // benchmark is to ensure we maintain the level of quality around bootstrapping data to minimize
    // the app startup latency. Note that loadAndParseBootstrapData() also normalizes after it has
    // been parsed.
    @Test
    fun benchmark_json_parsing() = benchmarkRule.measureRepeated {
        BootstrapConferenceDataSource.loadAndParseBootstrapData()
    }
}


================================================
FILE: benchmark/src/androidTest/java/com/google/samples/apps/iosched/benchmark/LoadAgendaUseCaseBenchmark.kt
================================================
/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.benchmark

import androidx.benchmark.junit4.BenchmarkRule
import androidx.benchmark.junit4.measureRepeated
import androidx.test.core.app.ApplicationProvider
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.google.samples.apps.iosched.model.Block
import com.google.samples.apps.iosched.shared.data.FakeAppConfigDataSource
import com.google.samples.apps.iosched.shared.data.agenda.DefaultAgendaRepository
import com.google.samples.apps.iosched.shared.domain.agenda.LoadAgendaUseCase
import com.google.samples.apps.iosched.shared.result.Result
import com.google.samples.apps.iosched.shared.result.data
import com.google.samples.apps.iosched.shared.result.succeeded
import com.google.samples.apps.iosched.test.data.MainCoroutineRule
import com.jakewharton.threetenabp.AndroidThreeTen
import kotlinx.coroutines.test.runTest
import org.hamcrest.MatcherAssert.assertThat
import org.hamcrest.collection.IsCollectionWithSize.hasSize
import org.hamcrest.core.Is.`is`
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith

/**
 * Simple benchmark test for loading the agenda. To keep startup times optimized, this benchmark
 * test is used to monitor potential hot spots when the app first loads content.
 */
@RunWith(AndroidJUnit4::class)
class LoadAgendaUseCaseBenchmark {
    @get:Rule
    val benchmarkRule = BenchmarkRule()

    @get:Rule
    var coroutineRule = MainCoroutineRule()

    @Test
    fun loadAgendaUseCase() {
        AndroidThreeTen.init(ApplicationProvider.getApplicationContext())
        // Using FakeAppConfigDataSource to stub out the network call to Firebase's remote config.
        // The repository and useCase do not perform any caching so the creation of the useCase
        // occurs before measuring to focus the benchmark on the creation of the agenda.
        val useCase = LoadAgendaUseCase(
            DefaultAgendaRepository(FakeAppConfigDataSource()),
            coroutineRule.testDispatcher
        )

        benchmarkRule.measureRepeated {
            runTest {
                val result: Result<List<Block>> = useCase.invoke(parameters = true)

                assertThat(result.succeeded, `is`(true))
                assertThat(result.data, hasSize(29))
            }
        }
    }
}


================================================
FILE: benchmark/src/main/AndroidManifest.xml
================================================
<!--
  ~ Copyright 2020 Google LLC
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     https://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.google.samples.apps.iosched.benchmark" />


================================================
FILE: build.gradle.kts
================================================
/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Top-level build file where you can add configuration options common to all
// sub-projects/modules.
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

buildscript {

    repositories {
        google()
        mavenCentral()
        jcenter()
        // Android Build Server
        maven { url = uri("../iosched-prebuilts/m2repository") }
    }
    dependencies {
        classpath("com.android.tools.build:gradle:${Versions.ANDROID_GRADLE_PLUGIN}")
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.KOTLIN}")
        classpath("com.google.gms:google-services:${Versions.GOOGLE_SERVICES}")
        classpath("androidx.benchmark:benchmark-gradle-plugin:${Versions.BENCHMARK}")
        classpath("androidx.navigation:navigation-safe-args-gradle-plugin:${Versions.NAVIGATION}")
        classpath("com.google.firebase:firebase-crashlytics-gradle:${Versions.FIREBASE_CRASHLYTICS}")
        classpath("com.google.dagger:hilt-android-gradle-plugin:${Versions.HILT_AGP}")
    }
}

plugins {
    id("com.diffplug.gradle.spotless") version "3.27.1"
}

allprojects {
    repositories {
        google()
        mavenCentral()
        jcenter()

        // For Android Build Server
        // - Material Design Components
        maven { url = uri("${project.rootDir}/../iosched-prebuilts/repository") }
        // - Other dependencies
        maven { url = uri("${project.rootDir}/../iosched-prebuilts/m2repository") }
        // - Support Libraries, etc
        maven {
            url = uri("${project.rootDir}/../../../prebuilts/fullsdk/linux/extras/support/m2repository")
        }

        flatDir {
            dirs = setOf(file("libs"), project(":ar").file("libs"))
        }
    }
}

subprojects {
    apply(plugin = "com.diffplug.gradle.spotless")
    val ktlintVer = "0.40.0"
    spotless {
        kotlin {
            target("**/*.kt")
            ktlint(ktlintVer).userData(
                mapOf("max_line_length" to "100", "disabled_rules" to "import-ordering")
            )
            licenseHeaderFile(project.rootProject.file("copyright.kt"))
        }
        kotlinGradle {
            // same as kotlin, but for .gradle.kts files (defaults to '*.gradle.kts')
            target("**/*.gradle.kts")
            ktlint(ktlintVer)
            licenseHeaderFile(project.rootProject.file("copyright.kt"), "(plugins |import |include)")
        }
    }

    // `spotlessCheck` runs when a build includes `check`, notably during presubmit. In these cases
    // we prefer `spotlessCheck` run as early as possible since it fails in seconds. This prevents a
    // build from running for several minutes doing other intensive tasks (resource processing, code
    // generation, compilation, etc) only to fail on a formatting nit.
    // Using `mustRunAfter` avoids creating a task dependency. The order is enforced only if
    // `spotlessCheck` is already scheduled to run, so we can still build and launch from the IDE
    // while the code is "dirty".
    tasks.whenTaskAdded {
        if (name == "preBuild") {
            mustRunAfter("spotlessCheck")
        }
    }

    // TODO: Remove when the Coroutine and Flow APIs leave experimental/internal/preview.
    tasks.withType<KotlinCompile>().configureEach {
        kotlinOptions.freeCompilerArgs +=
            "-Xuse-experimental=kotlinx.coroutines.ExperimentalCoroutinesApi"
    }
}


================================================
FILE: buildSrc/build.gradle.kts
================================================
/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

plugins {
    `kotlin-dsl`
}

repositories {
    gradlePluginPortal()
}

================================================
FILE: buildSrc/src/main/java/Libs.kt
================================================
/*
 * Copyright 2020 Google LLC.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

object Libs {
    const val ACTIVITY_COMPOSE = "androidx.activity:activity-compose"
    const val ACTIVITY_KTX = "androidx.activity:activity-ktx"
    const val APPCOMPAT = "androidx.appcompat:appcompat"
    const val APP_STARTUP = "androidx.startup:startup-runtime"
    const val ARCH_TESTING = "androidx.arch.core:core-testing"
    const val ARCORE = "com.google.ar:core"
    const val BENCHMARK = "androidx.benchmark:benchmark-junit4"
    const val BENCHMARK_MACRO = "androidx.benchmark:benchmark-macro-junit4"
    const val BROWSER = "androidx.browser:browser"
    const val CARDVIEW = "androidx.cardview:cardview"
    const val CONSTRAINT_LAYOUT = "androidx.constraintlayout:constraintlayout"
    const val CORE_KTX = "androidx.core:core-ktx"
    const val CRASHLYTICS = "com.google.firebase:firebase-crashlytics"
    const val COMPOSE_ANIMATION = "androidx.compose.animation:animation"
    const val COMPOSE_MATERIAL = "androidx.compose.material:material"
    const val COMPOSE_RUNTIME = "androidx.compose.runtime:runtime"
    const val COMPOSE_TEST = "androidx.compose.ui:ui-test-junit4"
    const val COMPOSE_THEME_ADAPTER = "com.google.android.material:compose-theme-adapter"
    const val COMPOSE_TOOLING = "androidx.compose.ui:ui-tooling"
    const val COROUTINES = "org.jetbrains.kotlinx:kotlinx-coroutines-core"
    const val COROUTINES_TEST = "org.jetbrains.kotlinx:kotlinx-coroutines-test"
    const val DATA_STORE_PREFERENCES = "androidx.datastore:datastore-preferences"
    const val DRAWER_LAYOUT = "androidx.drawerlayout:drawerlayout"
    const val ESPRESSO_CONTRIB = "androidx.test.espresso:espresso-contrib"
    const val ESPRESSO_CORE = "androidx.test.espresso:espresso-core"
    const val EXT_JUNIT = "androidx.test.ext:junit"
    const val FIREBASE_ANALYTICS = "com.google.firebase:firebase-analytics-ktx"
    const val FIREBASE_AUTH = "com.google.firebase:firebase-auth-ktx"
    const val FIREBASE_CONFIG = "com.google.firebase:firebase-config-ktx"
    const val FIREBASE_FIRESTORE = "com.google.firebase:firebase-firestore-ktx"
    const val FIREBASE_FUNCTIONS = "com.google.firebase:firebase-functions-ktx"
    const val FIREBASE_MESSAGING = "com.google.firebase:firebase-messaging"
    const val FIREBASE_UI_AUTH = "com.firebaseui:firebase-ui-auth"
    const val FLEXBOX = "com.google.android:flexbox"
    const val FRAGMENT_KTX = "androidx.fragment:fragment-ktx"
    const val FRAGMENT_TEST = "androidx.fragment:fragment-testing"
    const val GLIDE = "com.github.bumptech.glide:glide"
    const val GLIDE_COMPILER = "com.github.bumptech.glide:compiler"
    const val GOOGLE_MAP_UTILS_KTX = "com.google.maps.android:maps-utils-ktx"
    const val GOOGLE_PLAY_SERVICES_MAPS_KTX = "com.google.maps.android:maps-ktx"
    const val GOOGLE_PLAY_SERVICES_VISION = "com.google.android.gms:play-services-vision"
    const val GSON = "com.google.code.gson:gson"
    const val HAMCREST = "org.hamcrest:hamcrest-library"
    const val HILT_ANDROID = "com.google.dagger:hilt-android"
    const val HILT_COMPILER = "com.google.dagger:hilt-android-compiler"
    const val HILT_TESTING = "com.google.dagger:hilt-android-testing"
    const val INK_PAGE_INDICATOR = "com.pacioianu.david:ink-page-indicator"
    const val JUNIT = "junit:junit"
    const val KOTLIN_STDLIB = "org.jetbrains.kotlin:kotlin-stdlib-jdk7"
    const val LIFECYCLE_COMPILER = "androidx.lifecycle:lifecycle-compiler"
    const val LIFECYCLE_LIVE_DATA_KTX = "androidx.lifecycle:lifecycle-livedata-ktx"
    const val LIFECYCLE_RUNTIME_KTX = "androidx.lifecycle:lifecycle-runtime-ktx"
    const val LIFECYCLE_VIEW_MODEL_KTX = "androidx.lifecycle:lifecycle-viewmodel-ktx"
    const val LOTTIE = "com.airbnb.android:lottie"
    const val MATERIAL = "com.google.android.material:material"
    const val MDC_COMPOSE_THEME_ADAPTER = "com.google.android.material:compose-theme-adapter"
    const val MOCKITO_CORE = "org.mockito:mockito-core"
    const val MOCKITO_KOTLIN = "com.nhaarman:mockito-kotlin"
    const val NAVIGATION_FRAGMENT_KTX = "androidx.navigation:navigation-fragment-ktx"
    const val NAVIGATION_UI_KTX = "androidx.navigation:navigation-ui-ktx"
    const val OKHTTP = "com.squareup.okhttp3:okhttp"
    const val OKHTTP_LOGGING_INTERCEPTOR = "com.squareup.okhttp3:logging-interceptor"
    const val OKIO = "com.squareup.okio:okio"
    const val PROFILE_INSTALLER = "androidx.profileinstaller:profileinstaller"
    const val ROOM_COMPILER = "androidx.room:room-compiler"
    const val ROOM_KTX = "androidx.room:room-ktx"
    const val ROOM_RUNTIME = "androidx.room:room-runtime"
    const val RULES = "androidx.test:rules"
    const val RUNNER = "androidx.test:runner"
    const val SLIDING_PANE_LAYOUT = "androidx.slidingpanelayout:slidingpanelayout"
    const val THREETENABP = "com.jakewharton.threetenabp:threetenabp"
    const val THREETENBP = "org.threeten:threetenbp"
    const val TIMBER = "com.jakewharton.timber:timber"
    const val UI_AUTOMATOR = "androidx.test.uiautomator:uiautomator"
    const val VIEWMODEL_COMPOSE = "androidx.lifecycle:lifecycle-viewmodel-compose"
    const val VIEWPAGER2 = "androidx.viewpager2:viewpager2"
}


================================================
FILE: buildSrc/src/main/java/Versions.kt
================================================
/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

object Versions {
    val versionName = "7.0.15" // X.Y.Z; X = Major, Y = minor, Z = Patch level
    private val versionCodeBase = 70150 // XYYZZM; M = Module (tv, mobile)
    val versionCodeMobile = versionCodeBase + 3

    const val COMPILE_SDK = 31
    const val TARGET_SDK = 30
    const val MIN_SDK = 21

    const val ANDROID_GRADLE_PLUGIN = "7.2.0"
    const val BENCHMARK = "1.1.0-rc02"
    const val COMPOSE = "1.1.1"
    const val FIREBASE_CRASHLYTICS = "2.3.0"
    const val GOOGLE_SERVICES = "4.3.3"
    const val HILT_AGP = "2.40.5"
    const val KOTLIN = "1.6.10"
    const val NAVIGATION = "2.4.1"
    const val PROFILE_INSTALLER = "1.2.0-beta01"

    // TODO: Remove this once the version for
    //  "org.threeten:threetenbp:${Versions.threetenbp}:no-tzdb" using java-platform in the
    //  depconstraints/build.gradle.kts is defined
    const val THREETENBP = "1.3.6"
}


================================================
FILE: build_android_release.sh
================================================
#!/usr/bin/env bash

# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
MOBILE_OUT=$DIR/mobile/build/outputs

export ANDROID_HOME="$(cd $DIR/../../../prebuilts/fullsdk/linux && pwd )"

echo "ANDROID_HOME=$ANDROID_HOME"
cd $DIR

# Build
GRADLE_PARAMS=" --stacktrace"
$DIR/gradlew clean assemble ${GRADLE_PARAMS}
BUILD_RESULT=$?

# Debug
cp $MOBILE_OUT/apk/debug/mobile-debug.apk $DIST_DIR

# Staging
cp $MOBILE_OUT/apk/staging/mobile-staging.apk $DIST_DIR

# Release
cp $MOBILE_OUT/apk/release/mobile-release-unsigned.apk $DIST_DIR/mobile-release.apk
cp $MOBILE_OUT/mapping/release/mapping.txt $DIST_DIR/mobile-release-apk-mapping.txt

# Build App Bundles
# Don't clean here, otherwise all apks are gone.
$DIR/gradlew bundle ${GRADLE_PARAMS}

# Debug
cp $MOBILE_OUT/bundle/debug/mobile-debug.aab $DIST_DIR/mobile-debug.aab

# Staging
cp $MOBILE_OUT/bundle/staging/mobile-staging.aab $DIST_DIR/mobile-staging.aab

# Release
cp $MOBILE_OUT/bundle/release/mobile-release.aab $DIST_DIR/mobile-release.aab
cp $MOBILE_OUT/mapping/release/mapping.txt $DIST_DIR/mobile-release-aab-mapping.txt
BUILD_RESULT=$?

exit $BUILD_RESULT


================================================
FILE: copyright.kt
================================================
/*
 * Copyright $YEAR Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */



================================================
FILE: depconstraints/build.gradle.kts
================================================
/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

plugins {
    id("java-platform")
    id("maven-publish")
}

val appcompat = "1.1.0"
val activity = "1.2.0-rc01"
val activityCompose = "1.3.0-alpha03"
val appStartup = "1.1.0-beta01"
val cardview = "1.0.0"
val archTesting = "2.0.0"
val arcore = "1.7.0"
val benchmark = Versions.BENCHMARK
val browser = "1.0.0"
val compose = Versions.COMPOSE
val composeMaterial = "1.1.0"
val constraintLayout = "1.1.3"
val core = "1.3.2"
val coroutines = "1.6.0"
val coroutinesTest = "1.6.0"
val crashlytics = "17.2.2"
val dataStore = "1.0.0-beta01"
val drawerLayout = "1.1.0-rc01"
val espresso = "3.1.1"
val firebaseAnalytics = "17.4.0"
val firebaseAuth = "19.3.1"
val firebaseConfig = "19.1.4"
val firebaseFirestore = "21.4.3"
val firebaseFunctions = "19.0.2"
val firebaseMessaging = "20.1.6"
val firebaseUi = "4.0.0"
val flexbox = "1.1.0"
val fragment = "1.3.0"
val glide = "4.9.0"
val googlePlayServicesMapsKtx = "3.0.0"
val googlePlayServicesVision = "17.0.2"
val gson = "2.8.6"
val hamcrest = "1.3"
val hilt = Versions.HILT_AGP
val junit = "4.13.2"
val junitExt = "1.1.1"
val lifecycle = "2.4.1"
val lottie = "3.0.0"
val material = "1.4.0-beta01"
val mockito = "3.3.1"
val mockitoKotlin = "1.5.0"
val okhttp = "3.10.0"
val okio = "1.14.0"
val pageIndicator = "1.3.0"
val playCore = "1.6.5"
val profileInstaller = Versions.PROFILE_INSTALLER
val room = "2.4.2"
val rules = "1.1.1"
val runner = "1.2.0"
val slidingpanelayout = "1.2.0-alpha01"
val threetenabp = "1.0.5"
val timber = "5.0.1"
val viewpager2 = "1.0.0"
val viewModelCompose = "1.0.0-alpha02"
val uiAutomator = "2.2.0"

dependencies {
    constraints {
        api("${Libs.ACTIVITY_COMPOSE}:$activityCompose")
        api("${Libs.ACTIVITY_KTX}:$activity")
        api("${Libs.APPCOMPAT}:$appcompat")
        api("${Libs.APP_STARTUP}:$appStartup")
        api("${Libs.CARDVIEW}:$cardview")
        api("${Libs.ARCH_TESTING}:$archTesting")
        api("${Libs.ARCORE}:$arcore")
        api("${Libs.BENCHMARK}:$benchmark")
        api("${Libs.BENCHMARK_MACRO}:$benchmark")
        api("${Libs.BROWSER}:$browser")
        api("${Libs.COMPOSE_ANIMATION}:$compose")
        api("${Libs.COMPOSE_MATERIAL}:$compose")
        api("${Libs.COMPOSE_RUNTIME}:$compose")
        api("${Libs.COMPOSE_TEST}:$compose")
        api("${Libs.COMPOSE_THEME_ADAPTER}:$composeMaterial")
        api("${Libs.COMPOSE_TOOLING}:$compose")
        api("${Libs.CONSTRAINT_LAYOUT}:$constraintLayout")
        api("${Libs.CORE_KTX}:$core")
        api("${Libs.COROUTINES}:$coroutines")
        api("${Libs.COROUTINES_TEST}:$coroutinesTest")
        api("${Libs.CRASHLYTICS}:$crashlytics")
        api("${Libs.DATA_STORE_PREFERENCES}:$dataStore")
        api("${Libs.DRAWER_LAYOUT}:$drawerLayout")
        api("${Libs.ESPRESSO_CORE}:$espresso")
        api("${Libs.ESPRESSO_CONTRIB}:$espresso")
        api("${Libs.FIREBASE_AUTH}:$firebaseAuth")
        api("${Libs.FIREBASE_CONFIG}:$firebaseConfig")
        api("${Libs.FIREBASE_ANALYTICS}:$firebaseAnalytics")
        api("${Libs.FIREBASE_FIRESTORE}:$firebaseFirestore")
        api("${Libs.FIREBASE_FUNCTIONS}:$firebaseFunctions")
        api("${Libs.FIREBASE_MESSAGING}:$firebaseMessaging")
        api("${Libs.FIREBASE_UI_AUTH}:$firebaseUi")
        api("${Libs.FLEXBOX}:$flexbox")
        api("${Libs.FRAGMENT_KTX}:$fragment")
        api("${Libs.FRAGMENT_TEST}:$fragment")
        api("${Libs.GLIDE}:$glide")
        api("${Libs.GLIDE_COMPILER}:$glide")
        api("${Libs.GOOGLE_MAP_UTILS_KTX}:$googlePlayServicesMapsKtx")
        api("${Libs.GOOGLE_PLAY_SERVICES_MAPS_KTX}:$googlePlayServicesMapsKtx")
        api("${Libs.GOOGLE_PLAY_SERVICES_VISION}:$googlePlayServicesVision")
        api("${Libs.GSON}:$gson")
        api("${Libs.HAMCREST}:$hamcrest")
        api("${Libs.HILT_ANDROID}:$hilt")
        api("${Libs.HILT_COMPILER}:$hilt")
        api("${Libs.HILT_TESTING}:$hilt")
        api("${Libs.JUNIT}:$junit")
        api("${Libs.EXT_JUNIT}:$junitExt")
        api("${Libs.KOTLIN_STDLIB}:${Versions.KOTLIN}")
        api("${Libs.LIFECYCLE_COMPILER}:$lifecycle")
        api("${Libs.LIFECYCLE_LIVE_DATA_KTX}:$lifecycle")
        api("${Libs.LIFECYCLE_RUNTIME_KTX}:$lifecycle")
        api("${Libs.LIFECYCLE_VIEW_MODEL_KTX}:$lifecycle")
        api("${Libs.LOTTIE}:$lottie")
        api("${Libs.MATERIAL}:$material")
        api("${Libs.MDC_COMPOSE_THEME_ADAPTER}:$compose")
        api("${Libs.MOCKITO_CORE}:$mockito")
        api("${Libs.MOCKITO_KOTLIN}:$mockitoKotlin")
        api("${Libs.NAVIGATION_FRAGMENT_KTX}:${Versions.NAVIGATION}")
        api("${Libs.NAVIGATION_UI_KTX}:${Versions.NAVIGATION}")
        api("${Libs.PROFILE_INSTALLER}:$profileInstaller")
        api("${Libs.ROOM_KTX}:$room")
        api("${Libs.ROOM_RUNTIME}:$room")
        api("${Libs.ROOM_COMPILER}:$room")
        api("${Libs.OKHTTP}:$okhttp")
        api("${Libs.OKHTTP_LOGGING_INTERCEPTOR}:$okhttp")
        api("${Libs.OKIO}:$okio")
        api("${Libs.INK_PAGE_INDICATOR}:$pageIndicator")
        api("${Libs.RULES}:$rules")
        api("${Libs.RUNNER}:$runner")
        api("${Libs.SLIDING_PANE_LAYOUT}:$slidingpanelayout")
        api("${Libs.THREETENABP}:$threetenabp")
        api("${Libs.THREETENBP}:${Versions.THREETENBP}")
        api("${Libs.TIMBER}:$timber")
        api("${Libs.UI_AUTOMATOR}:$uiAutomator")
        api("${Libs.VIEWPAGER2}:$viewpager2")
        api("${Libs.VIEWMODEL_COMPOSE}:$viewModelCompose")
    }
}

publishing {
    publications {
        create<MavenPublication>("myPlatform") {
            from(components["javaPlatform"])
        }
    }
}


================================================
FILE: gradle/wrapper/gradle-wrapper.properties
================================================
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists


================================================
FILE: gradle.properties
================================================
# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2g
org.gradle.caching=true

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

# AndroidX
android.useAndroidX=true
android.enableJetifier=true

# R8
android.enableR8.fullMode=true

# IOSCHED values
## Date/Time ##
conference_timezone="America/Los_Angeles"

conference_day1_start="2019-05-07T07:00:00-07:00"
conference_day1_end="2019-05-07T22:00:01-07:00"
conference_day2_start="2019-05-08T08:00:00-07:00"
conference_day2_end="2019-05-08T22:00:01-07:00"
conference_day3_start="2019-05-09T08:00:00-07:00"
conference_day3_end="2019-05-09T22:00:00-07:00"

conference_day1_afterhours_start="2019-05-07T18:30:00-07:00"
conference_day2_concert_start="2019-05-08T19:30:00-07:00"

## Wifi ##
conference_wifi_offering_start="2019-05-04T07:00:00-07:00"

## Endpoints ##
bootstrap_conference_data_filename="conference_data_2019.json"

## Map ##
# The supported zoom level range of the map viewport.
map_viewport_min_zoom=16
map_viewport_max_zoom=19.75

# Conference location map bounds
map_viewport_bound_ne=37.428343, -122.074584
map_viewport_bound_sw=37.423205, -122.081757

# Initial camera configuration when the map is displayed.
map_default_camera_bearing=0.0
map_default_camera_target_lat=37.425842
map_default_camera_target_lng=-122.079933
map_default_camera_zoom=16.4
map_default_camera_tilt=0

# Zoom level to use when camera is programmatically centered on a marker
map_camera_focus_zoom=19f

# enable incremental annotation processing
kapt.incremental.apt=true


================================================
FILE: gradlew
================================================
#!/bin/sh

#
# Copyright © 2015-2021 the original authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

##############################################################################
#
#   Gradle start up script for POSIX generated by Gradle.
#
#   Important for running:
#
#   (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
#       noncompliant, but you have some other compliant shell such as ksh or
#       bash, then to run this script, type that shell name before the whole
#       command line, like:
#
#           ksh Gradle
#
#       Busybox and similar reduced shells will NOT work, because this script
#       requires all of these POSIX shell features:
#         * functions;
#         * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
#           «${var#prefix}», «${var%suffix}», and «$( cmd )»;
#         * compound commands having a testable exit status, especially «case»;
#         * various built-in commands including «command», «set», and «ulimit».
#
#   Important for patching:
#
#   (2) This script targets any POSIX shell, so it avoids extensions provided
#       by Bash, Ksh, etc; in particular arrays are avoided.
#
#       The "traditional" practice of packing multiple parameters into a
#       space-separated string is a well documented source of bugs and security
#       problems, so this is (mostly) avoided, by progressively accumulating
#       options in "$@", and eventually passing that to Java.
#
#       Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
#       and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
#       see the in-line comments for details.
#
#       There are tweaks for specific operating systems such as AIX, CygWin,
#       Darwin, MinGW, and NonStop.
#
#   (3) This script is generated from the Groovy template
#       https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
#       within the Gradle project.
#
#       You can find Gradle at https://github.com/gradle/gradle/.
#
##############################################################################

# Attempt to set APP_HOME

# Resolve links: $0 may be a link
app_path=$0

# Need this for daisy-chained symlinks.
while
    APP_HOME=${app_path%"${app_path##*/}"}  # leaves a trailing /; empty if no leading path
    [ -h "$app_path" ]
do
    ls=$( ls -ld "$app_path" )
    link=${ls#*' -> '}
    case $link in             #(
      /*)   app_path=$link ;; #(
      *)    app_path=$APP_HOME$link ;;
    esac
done

APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit

APP_NAME="Gradle"
APP_BASE_NAME=${0##*/}

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum

warn () {
    echo "$*"
} >&2

die () {
    echo
    echo "$*"
    echo
    exit 1
} >&2

# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "$( uname )" in                #(
  CYGWIN* )         cygwin=true  ;; #(
  Darwin* )         darwin=true  ;; #(
  MSYS* | MINGW* )  msys=true    ;; #(
  NONSTOP* )        nonstop=true ;;
esac

CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar


# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
        # IBM's JDK on AIX uses strange locations for the executables
        JAVACMD=$JAVA_HOME/jre/sh/java
    else
        JAVACMD=$JAVA_HOME/bin/java
    fi
    if [ ! -x "$JAVACMD" ] ; then
        die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
    fi
else
    JAVACMD=java
    which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi

# Increase the maximum file descriptors if we can.
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
    case $MAX_FD in #(
      max*)
        MAX_FD=$( ulimit -H -n ) ||
            warn "Could not query maximum file descriptor limit"
    esac
    case $MAX_FD in  #(
      '' | soft) :;; #(
      *)
        ulimit -n "$MAX_FD" ||
            warn "Could not set maximum file descriptor limit to $MAX_FD"
    esac
fi

# Collect all arguments for the java command, stacking in reverse order:
#   * args from the command line
#   * the main class name
#   * -classpath
#   * -D...appname settings
#   * --module-path (only if needed)
#   * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.

# For Cygwin or MSYS, switch paths to Windows format before running java
if "$cygwin" || "$msys" ; then
    APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
    CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )

    JAVACMD=$( cygpath --unix "$JAVACMD" )

    # Now convert the arguments - kludge to limit ourselves to /bin/sh
    for arg do
        if
            case $arg in                                #(
              -*)   false ;;                            # don't mess with options #(
              /?*)  t=${arg#/} t=/${t%%/*}              # looks like a POSIX filepath
                    [ -e "$t" ] ;;                      #(
              *)    false ;;
            esac
        then
            arg=$( cygpath --path --ignore --mixed "$arg" )
        fi
        # Roll the args list around exactly as many times as the number of
        # args, so each arg winds up back in the position where it started, but
        # possibly modified.
        #
        # NB: a `for` loop captures its iteration list before it begins, so
        # changing the positional parameters here affects neither the number of
        # iterations, nor the values presented in `arg`.
        shift                   # remove old arg
        set -- "$@" "$arg"      # push replacement arg
    done
fi

# Collect all arguments for the java command;
#   * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
#     shell script including quotes and variable substitutions, so put them in
#     double quotes to make sure that they get re-expanded; and
#   * put everything else in single quotes, so that it's not re-expanded.

set -- \
        "-Dorg.gradle.appname=$APP_BASE_NAME" \
        -classpath "$CLASSPATH" \
        org.gradle.wrapper.GradleWrapperMain \
        "$@"

# Use "xargs" to parse quoted args.
#
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
#
# In Bash we could simply go:
#
#   readarray ARGS < <( xargs -n1 <<<"$var" ) &&
#   set -- "${ARGS[@]}" "$@"
#
# but POSIX shell has neither arrays nor command substitution, so instead we
# post-process each arg (as a line of input to sed) to backslash-escape any
# character that might be a shell metacharacter, then use eval to reverse
# that process (while maintaining the separation between arguments), and wrap
# the whole thing up as a single "set" statement.
#
# This will of course break if any of these variables contains a newline or
# an unmatched quote.
#

eval "set -- $(
        printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
        xargs -n1 |
        sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
        tr '\n' ' '
    )" '"$@"'

exec "$JAVACMD" "$@"


================================================
FILE: gradlew.bat
================================================
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem      https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem

@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem  Gradle startup script for Windows
@rem
@rem ##########################################################################

@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal

set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi

@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"

@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome

set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto execute

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe

if exist "%JAVA_EXE%" goto execute

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:execute
@rem Setup the command line

set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar


@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*

:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd

:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if  not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1

:mainEnd
if "%OS%"=="Windows_NT" endlocal

:omega


================================================
FILE: kokoro/build.sh
================================================
#!/bin/bash

# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


# Fail on any error.
set -e
# Display commands to stderr.
set -x

GRADLE_FLAGS=()
if [[ -n "$GRADLE_DEBUG" ]]; then
  GRADLE_FLAGS=( --debug --stacktrace )
fi

# Workaround of b/123314680
# We need to update the required dependencies since the Kokoro team stopped updating the custom VM.
export ANDROID_HOME=/opt/android-sdk/current
echo "Installing build-tools..."
echo y | ${ANDROID_HOME}/tools/bin/sdkmanager "build-tools;30.0.3" > /dev/null
echo y | ${ANDROID_HOME}/tools/bin/sdkmanager --licenses

# Workaround for b/148189425
# AGP requires a specific NDK version for running Gradle
echo "Installing NDK that matches the current version of AGP ..."
echo y | ${ANDROID_HOME}/tools/bin/sdkmanager "ndk;21.0.6113669" > /dev/null

cd $KOKORO_ARTIFACTS_DIR/git/iosched

# Use Java 11 (b/181627163)
# This needs to be set after sdkmanager runs, as sdkmanager errors using Java 11
export JAVA_HOME=${KOKORO_GFILE_DIR}
export PATH="$JAVA_HOME/bin:$PATH"

$JAVA_HOME/bin/javac -version

./gradlew "${GRADLE_FLAGS[@]}" build


# For Firebase Test Lab
SERVICE_ACCOUNT_KEY=${KOKORO_GFILE_DIR}/events-dev-62d2e-072ce72b3067.json
gcloud config set project events-dev-62d2e
gcloud auth activate-service-account firebasetestlabforkokoro@events-dev-62d2e.iam.gserviceaccount.com --key-file ${SERVICE_ACCOUNT_KEY}

./gradlew mobile:assembleAndroidTest
./gradlew mobile:assembleStaging

MAX_RETRY=3
run_firebase_test_lab() {
  ## Retry can be done by passing the --num-flaky-test-attempts to gcloud, but gcloud SDK in the
  ## kokoro server doesn't support it yet.

  set +e # To not exit on an error to retry flaky tests
  local counter=0
  local result=1
  while [ $result != 0 -a $counter -lt $MAX_RETRY ]; do
    ## TODO: Add os-version 29 once it's available
    gcloud firebase test android run \
        --type instrumentation \
        --app  mobile/build/outputs/apk/staging/mobile-staging.apk \
        --test mobile/build/outputs/apk/androidTest/staging/mobile-staging-androidTest.apk \
        --device-ids hammerhead,walleye,blueline \
        --os-version-ids 21,26,28 \
        --locales en \
        --timeout 60
    result=$? ;
    let counter=counter+1
  done
  return $result
}

run_firebase_test_lab
exit $?


================================================
FILE: kokoro/continuous.cfg
================================================
# Location of the continuous bash script.
build_file: "iosched/kokoro/continuous.sh"

# Extra input files/directories for the build
gfile_resources: "/x20/teams/iosched-android/keys"

# Use Java 11 (b/181627163)
# Copy a JDK 11 installation from x20
gfile_resources: "/x20/projects/java-platform/linux-amd64/jdk-11-latest"

env_vars {
  key: "GRADLE_DEBUG"
  value: ""
}


================================================
FILE: kokoro/continuous.sh
================================================
#!/bin/bash

# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Fail on any error.
set -e
# Display commands to stderr.
set -x

env | sort
pwd
find .
git/iosched/kokoro/build.sh


================================================
FILE: kokoro/presubmit.cfg
================================================
# Location of the continuous bash script.
build_file: "iosched/kokoro/presubmit.sh"

# Extra input files/directories for the build
gfile_resources: "/x20/teams/iosched-android/keys"

# Use Java 11 (b/181627163)
# Copy a JDK 11 installation from x20
gfile_resources: "/x20/projects/java-platform/linux-amd64/jdk-11-latest"



================================================
FILE: kokoro/presubmit.sh
================================================
#!/bin/bash

# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Fail on any error.
set -e
# Display commands to stderr.
set -x

env | sort
pwd
find .
git/iosched/kokoro/build.sh


================================================
FILE: macrobenchmark/.gitignore
================================================
/build

================================================
FILE: macrobenchmark/build.gradle
================================================
plugins {
    id 'com.android.test'
    id 'kotlin-android'
}

android {
    compileSdkVersion Versions.COMPILE_SDK
    defaultConfig {
        minSdkVersion 23 // Macrobenchmark doesn't work on lower API
        targetSdkVersion Versions.TARGET_SDK

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    kotlinOptions {
        jvmTarget = '1.8'
    }

    buildTypes {
        // declare a build type to match the target app's build type
        benchmark {
            debuggable = true
            signingConfig = debug.signingConfig
        }
    }

    targetProjectPath = ":mobile"
    experimentalProperties["android.experimental.self-instrumenting"] = true
}

androidComponents {
    beforeVariants(selector().all()) {
        // enable only the release buildType, since we only want to measure
        // release build performance
        enabled = buildType == 'benchmark'
    }
}

dependencies {
    api platform(project(":depconstraints"))
    implementation Libs.BENCHMARK_MACRO
    implementation Libs.ESPRESSO_CORE
    implementation Libs.EXT_JUNIT
    implementation Libs.KOTLIN_STDLIB
    implementation Libs.TIMBER
    implementation Libs.UI_AUTOMATOR
}


================================================
FILE: macrobenchmark/consumer-rules.pro
================================================


================================================
FILE: macrobenchmark/proguard-rules.pro
================================================
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
#   http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
#   public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

================================================
FILE: macrobenchmark/src/main/AndroidManifest.xml
================================================
<?xml version="1.0" encoding="utf-8"?><!--
  ~ Copyright 2021 Google LLC
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     https://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.google.samples.apps.iosched.macrobenchmark">

    <uses-permission
        android:name="android.permission.WRITE_EXTERNAL_STORAGE"
        tools:ignore="ScopedStorage" />

</manifest>


================================================
FILE: macrobenchmark/src/main/java/com/google/samples/apps/iosched/macrobenchmark/BaselineProfileGenerator.kt
================================================
/*
 * Copyright 2022 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.macrobenchmark

import androidx.benchmark.macro.ExperimentalBaselineProfilesApi
import androidx.benchmark.macro.junit4.BaselineProfileRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.filters.LargeTest
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith

@LargeTest
@RunWith(AndroidJUnit4::class)
@ExperimentalBaselineProfilesApi
class BaselineProfileGenerator {

    @get:Rule
    val rule = BaselineProfileRule()

    @Test
    fun generate() {
        rule.collectBaselineProfile(TARGET_PACKAGE) {
            // This block defines the app's critical user journey. Here we are interested in
            // optimizing for app startup. But you can also navigate and scroll
            // through your most important UI.
            pressHome()
            startMainAndConfirmDialogs()
            scrollSchedule()
        }
    }
}


================================================
FILE: macrobenchmark/src/main/java/com/google/samples/apps/iosched/macrobenchmark/BenchmarkUtils.kt
================================================
/*
 * Copyright 2021 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.macrobenchmark

import android.content.Intent
import androidx.benchmark.macro.MacrobenchmarkScope
import androidx.test.uiautomator.By
import androidx.test.uiautomator.BySelector
import androidx.test.uiautomator.Direction
import androidx.test.uiautomator.Until
import timber.log.Timber

const val TARGET_PACKAGE = "com.google.samples.apps.iosched"

val scheduleRecyclerSelector: BySelector
    get() = By.res(TARGET_PACKAGE, "recyclerview_schedule")

fun MacrobenchmarkScope.startMainAndWait() {
    // Start activity defined by an action
    val intent = Intent("$TARGET_PACKAGE.STARTUP_ACTIVITY")
    Timber.tag("Benchmark")
    Timber.d("Starting activity $intent")

    // This can be usually without the intent, but in our case we have LauncherActivity with onboarding.
    startActivityAndWait(intent)
}

fun MacrobenchmarkScope.startMainAndConfirmDialogs() {
    startMainAndWait()

    // The first time the app is run, customize schedule dialog is shown
    confirmDialog()

    // Later, it may show I/O notifications dialog
    // Sometimes it happens that both dialogs are shown one after another
    confirmDialog()
}

fun MacrobenchmarkScope.scrollSchedule() {
    // Need to wait until schedule is loaded
    device.wait(Until.hasObject(scheduleRecyclerSelector), 10_000)

    val recycler = device.findObject(scheduleRecyclerSelector)
    // Need to set, otherwise scrolling could trigger system gesture navigation
    recycler.setGestureMargin(device.displayWidth / 5)

    // Fling several times
    repeat(3) { recycler.fling(Direction.DOWN) }
}

fun MacrobenchmarkScope.confirmDialog() {
    // Check if button is appeared or return
    val dialogPositiveButton = device.findObject(By.res("android", "button1")) ?: return
    dialogPositiveButton.click()
    device.waitForIdle()
    // Need short delay, because it may be animating the dialog out
    Thread.sleep(1_000)
}


================================================
FILE: macrobenchmark/src/main/java/com/google/samples/apps/iosched/macrobenchmark/OpenDetailBenchmarks.kt
================================================
/*
 * Copyright 2022 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.macrobenchmark

import androidx.benchmark.macro.FrameTimingMetric
import androidx.benchmark.macro.StartupMode
import androidx.benchmark.macro.junit4.MacrobenchmarkRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.filters.LargeTest
import androidx.test.uiautomator.By
import androidx.test.uiautomator.Direction
import androidx.test.uiautomator.Until
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
import timber.log.Timber

@LargeTest
@RunWith(AndroidJUnit4::class)
class OpenDetailBenchmarks {
    @get:Rule
    val benchmarkRule = MacrobenchmarkRule()

    @Test
    fun openDetail() {
        // need to keep track which index was selected so we can always select different one
        var selectedIndex = 0

        benchmarkRule.measureRepeated(
            packageName = TARGET_PACKAGE,
            metrics = listOf(FrameTimingMetric()),
            startupMode = StartupMode.COLD,
            iterations = 5,
            setupBlock = {
                pressHome()
                startMainAndConfirmDialogs()

                //  the children count is only visible part of the screen,
                //  so if we have too many iterations, we must scroll the recycler to other items
                val recycler = device.findObject(scheduleRecyclerSelector)
                if (selectedIndex >= recycler.childCount) {
                    // need to set, otherwise scrolling could trigger system gesture navigation
                    recycler.setGestureMargin(device.displayWidth / 5)
                    // since scroll is unreliable, we scroll surely far enough to have new items
                    repeat(recycler.childCount) { recycler.scroll(Direction.DOWN, 1f) }
                    // and start again at first visible item on the screen
                    selectedIndex = 0
                }
            }
        ) {
            val recycler = device.findObject(scheduleRecyclerSelector)

            // click on item which navigates to event detail
            val item = recycler.children[selectedIndex]
                ?: error("Session on index $selectedIndex not found")

            val itemTitleView = item.findObject(By.res(TARGET_PACKAGE, "title"))
            Timber.tag("Benchmark")
            Timber.d("Opening detail(${itemTitleView?.text}) at index $selectedIndex")
            item.click()

            // wait until detail title is shown
            device.wait(Until.hasObject(By.res(TARGET_PACKAGE, "session_detail_title")), 10_000)

            // next time select different item
            selectedIndex++
        }
    }
}


================================================
FILE: macrobenchmark/src/main/java/com/google/samples/apps/iosched/macrobenchmark/ScheduleBenchmarks.kt
================================================
/*
 * Copyright 2022 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.macrobenchmark

import androidx.benchmark.macro.FrameTimingMetric
import androidx.benchmark.macro.StartupMode
import androidx.benchmark.macro.junit4.MacrobenchmarkRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.filters.LargeTest
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith

@LargeTest
@RunWith(AndroidJUnit4::class)
class ScheduleBenchmarks {

    @get:Rule
    val benchmarkRule = MacrobenchmarkRule()

    @Test
    fun scrollSchedule() {
        benchmarkRule.measureRepeated(
            metrics = listOf(FrameTimingMetric()),
            packageName = TARGET_PACKAGE,
            iterations = 5,
            startupMode = StartupMode.COLD,
            setupBlock = {
                pressHome()
                startMainAndConfirmDialogs()
            }
        ) {
            scrollSchedule()
        }
    }
}


================================================
FILE: macrobenchmark/src/main/java/com/google/samples/apps/iosched/macrobenchmark/StartupBenchmarks.kt
================================================
/*
 * Copyright 2022 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.macrobenchmark

import androidx.benchmark.macro.CompilationMode
import androidx.benchmark.macro.StartupMode
import androidx.benchmark.macro.StartupTimingMetric
import androidx.benchmark.macro.junit4.MacrobenchmarkRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.filters.LargeTest
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith

@LargeTest
@RunWith(AndroidJUnit4::class)
class StartupBenchmarks {
    @get:Rule
    val benchmarkRule = MacrobenchmarkRule()

    @Test
    fun startupCompilationNone() = startup(CompilationMode.None())

    @Test
    fun startupCompilationPartial() = startup(CompilationMode.Partial())

    @Test
    fun startupCompilationFull() = startup(CompilationMode.Full())

    private fun startup(compilationMode: CompilationMode) = benchmarkRule.measureRepeated(
        packageName = TARGET_PACKAGE,
        compilationMode = compilationMode,
        startupMode = StartupMode.COLD,
        iterations = 5,
        metrics = listOf(StartupTimingMetric()),
        setupBlock = {
            pressHome()
        }
    ) {
        startMainAndWait()
    }
}


================================================
FILE: mobile/build.gradle.kts
================================================
/*
 * Copyright 2022 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

plugins {
    id("com.android.application")
    kotlin("android")
    kotlin("kapt")
    id("androidx.navigation.safeargs.kotlin")
    id("com.google.firebase.crashlytics")
    id("dagger.hilt.android.plugin")
}

android {
    compileSdk = Versions.COMPILE_SDK
    defaultConfig {
        applicationId = "com.google.samples.apps.iosched"
        minSdk = Versions.MIN_SDK
        targetSdk = Versions.TARGET_SDK
        versionCode = Versions.versionCodeMobile
        versionName = Versions.versionName
        testInstrumentationRunner = "com.google.samples.apps.iosched.tests.CustomTestRunner"

        buildConfigField(
            "com.google.android.gms.maps.model.LatLng",
            "MAP_VIEWPORT_BOUND_NE",
            "new com.google.android.gms.maps.model.LatLng(${project.properties["map_viewport_bound_ne"]})"
        )
        buildConfigField(
            "com.google.android.gms.maps.model.LatLng",
            "MAP_VIEWPORT_BOUND_SW",
            "new com.google.android.gms.maps.model.LatLng(${project.properties["map_viewport_bound_sw"]})"
        )

        buildConfigField("float", "MAP_CAMERA_FOCUS_ZOOM", project.properties["map_camera_focus_zoom"] as String)

        resValue("dimen", "map_camera_bearing", project.properties["map_default_camera_bearing"] as String)
        resValue("dimen", "map_camera_target_lat", project.properties["map_default_camera_target_lat"] as String)
        resValue("dimen", "map_camera_target_lng", project.properties["map_default_camera_target_lng"] as String)
        resValue("dimen", "map_camera_tilt", project.properties["map_default_camera_tilt"] as String)
        resValue("dimen", "map_camera_zoom", project.properties["map_default_camera_zoom"] as String)
        resValue("dimen", "map_viewport_min_zoom", project.properties["map_viewport_min_zoom"] as String)
        resValue("dimen", "map_viewport_max_zoom", project.properties["map_viewport_max_zoom"] as String)

        manifestPlaceholders["crashlyticsEnabled"] = true

        vectorDrawables.useSupportLibrary = true

        javaCompileOptions {
            annotationProcessorOptions {
                arguments["room.incremental"] = "true"
            }
        }
    }
    buildTypes {
        getByName("release") {
            isMinifyEnabled = true
            // TODO: b/120517460 shrinkResource can't be used with dynamic-feature at this moment.
            //       Need to ensure the app size has not increased
            manifestPlaceholders["crashlyticsEnabled"] = true
            proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
            resValue(
                "string",
                "google_maps_key",
                "AIzaSyD5jqwKMm1SeoYsW25vxCXfTlhDBeZ4H5c"
            )

            buildConfigField("String", "MAP_TILE_URL_BASE", "\"https://storage.googleapis.com/io2019-festivus-prod/images/maptiles\"")
        }
        getByName("debug") {
            versionNameSuffix = "-debug"
            manifestPlaceholders["crashlyticsEnabled"] = false
            resValue(
                "string",
                "google_maps_key",
                "AIzaSyAhJx57ikQH9rYc8IT8W3d2As5cGHMBvuo"
            )

            buildConfigField("String", "MAP_TILE_URL_BASE", "\"https://storage.googleapis.com/io2019-festivus/images/maptiles\"")
        }
        maybeCreate("staging")
        getByName("staging") {
            initWith(getByName("debug"))
            versionNameSuffix = "-staging"

            // Specifies a sorted list of fallback build types that the
            // plugin should try to use when a dependency does not include a
            // "staging" build type.
            // Used with :test-shared, which doesn't have a staging variant.
            matchingFallbacks += listOf("debug")
        }

        maybeCreate("benchmark")
        getByName("benchmark") {
            initWith(getByName("staging"))
            versionNameSuffix = "-benchmark"
            isMinifyEnabled = true
            isDebuggable = false
            proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro", "proguard-rules-benchmark.pro")

            // Specifies a sorted list of fallback build types that the
            // plugin should try to use when a dependency does not include a
            // "benchmark" build type.
            // Used with :test-shared, which doesn't have a benchmark variant.
            matchingFallbacks += listOf("staging", "debug")
        }
    }

    buildFeatures {
        viewBinding = true
        dataBinding = true
        compose = true
    }

    composeOptions {
        kotlinCompilerExtensionVersion = Versions.COMPOSE
    }

    signingConfigs {
        // We need to sign debug builds with a debug key to make firebase auth happy
        getByName("debug") {
            storeFile = file("../debug.keystore")
            keyAlias = "androiddebugkey"
            keyPassword = "android"
            storePassword = "android"
        }
    }

    // debug and release variants share the same source dir
    sourceSets {
        getByName("debug") {
            java.srcDir("src/debugRelease/java")
        }
        getByName("release") {
            java.srcDir("src/debugRelease/java")
        }
        getByName("benchmark") {
            java.srcDir("src/staging/java")
            res.srcDir("src/staging/res")
        }
    }

    lint {
        // Eliminates UnusedResources false positives for resources used in DataBinding layouts
        checkGeneratedSources = true
        // Running lint over the debug variant is enough
        checkReleaseBuilds = false
        // See lint.xml for rules configuration

        // TODO: Remove when upgrading lifecycle from `2.4.0-alpha01`.
        // Fix: https://android-review.googlesource.com/c/platform/frameworks/support/+/1697465
        // Bug: https://issuetracker.google.com/184830263
        disable += "NullSafeMutableLiveData"
    }

    testBuildType = "staging"

    // Required for AR because it includes a library built with Java 8
    compileOptions {
        sourceCompatibility = JavaVersion.VERSION_1_8
        targetCompatibility = JavaVersion.VERSION_1_8
    }
    // To avoid the compile error: "Cannot inline bytecode built with JVM target 1.8
    // into bytecode that is being built with JVM target 1.6"
    kotlinOptions {
        val options = this as org.jetbrains.kotlin.gradle.dsl.KotlinJvmOptions
        options.jvmTarget = "1.8"
    }

    packagingOptions {
        resources.excludes += "META-INF/AL2.0"
        resources.excludes += "META-INF/LGPL2.1"
    }
}

kapt {
    arguments {
        arg("dagger.hilt.shareTestComponents", "true")
    }
}

dependencies {
    api(platform(project(":depconstraints")))
    kapt(platform(project(":depconstraints")))
    androidTestApi(platform(project(":depconstraints")))

    implementation(project(":shared"))
    implementation(project(":ar"))
    testImplementation(project(":test-shared"))
    testImplementation(project(":androidTest-shared"))
    implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))

    implementation(Libs.CORE_KTX)
    implementation(Libs.APP_STARTUP)
    implementation(Libs.PROFILE_INSTALLER)

    // UI
    implementation(Libs.ACTIVITY_KTX)
    implementation(Libs.APPCOMPAT)
    implementation(Libs.FRAGMENT_KTX)
    implementation(Libs.CARDVIEW)
    implementation(Libs.BROWSER)
    implementation(Libs.CONSTRAINT_LAYOUT)
    implementation(Libs.DRAWER_LAYOUT)
    implementation(Libs.MATERIAL)
    implementation(Libs.FLEXBOX)
    implementation(Libs.LOTTIE)
    implementation(Libs.INK_PAGE_INDICATOR)
    implementation(Libs.SLIDING_PANE_LAYOUT)

    // Architecture Components
    implementation(Libs.LIFECYCLE_LIVE_DATA_KTX)
    implementation(Libs.LIFECYCLE_RUNTIME_KTX)
    kapt(Libs.LIFECYCLE_COMPILER)
    testImplementation(Libs.ARCH_TESTING)
    implementation(Libs.NAVIGATION_FRAGMENT_KTX)
    implementation(Libs.NAVIGATION_UI_KTX)
    implementation(Libs.ROOM_KTX)
    implementation(Libs.ROOM_RUNTIME)
    kapt(Libs.ROOM_COMPILER)
    testImplementation(Libs.ROOM_KTX)
    testImplementation(Libs.ROOM_RUNTIME)

    // Compose
    implementation(Libs.ACTIVITY_COMPOSE)
    implementation(Libs.COMPOSE_ANIMATION)
    implementation(Libs.COMPOSE_MATERIAL)
    implementation(Libs.COMPOSE_RUNTIME)
    implementation(Libs.COMPOSE_THEME_ADAPTER)
    implementation(Libs.COMPOSE_TOOLING)
    implementation(Libs.VIEWMODEL_COMPOSE)
    implementation(Libs.MDC_COMPOSE_THEME_ADAPTER)
    androidTestImplementation(Libs.COMPOSE_TEST)

    // Dagger Hilt
    implementation(Libs.HILT_ANDROID)
    androidTestImplementation(Libs.HILT_TESTING)
    kapt(Libs.HILT_COMPILER)
    kaptAndroidTest(Libs.HILT_COMPILER)

    // DataStore
    implementation(Libs.DATA_STORE_PREFERENCES)
    androidTestImplementation(Libs.DATA_STORE_PREFERENCES)

    // Glide
    implementation(Libs.GLIDE)
    kapt(Libs.GLIDE_COMPILER)

    // Fabric and Firebase
    implementation(Libs.FIREBASE_UI_AUTH)
    implementation(Libs.CRASHLYTICS)

    // Date and time API for Java.
    implementation(Libs.THREETENABP)
    testImplementation(Libs.THREETENBP)

    // Kotlin
    implementation(Libs.KOTLIN_STDLIB)

    // Instrumentation tests
    androidTestImplementation(Libs.ESPRESSO_CORE)
    androidTestImplementation(Libs.ESPRESSO_CONTRIB)
    androidTestImplementation(Libs.EXT_JUNIT)
    androidTestImplementation(Libs.RUNNER)
    androidTestImplementation(Libs.RULES)
    androidTestImplementation(Libs.FRAGMENT_TEST)
    debugImplementation(Libs.FRAGMENT_TEST)
    add("stagingImplementation", Libs.FRAGMENT_TEST)

    // Local unit tests
    testImplementation(Libs.JUNIT)
    testImplementation(Libs.MOCKITO_CORE)
    testImplementation(Libs.MOCKITO_KOTLIN)
    testImplementation(Libs.HAMCREST)

    // Solve conflicts with gson. DataBinding is using an old version.
    implementation(Libs.GSON)

    implementation(Libs.ARCORE)
}

apply(plugin = "com.google.gms.google-services")


================================================
FILE: mobile/google-services.json
================================================
{
  "project_info": {
    "project_number": "447780894619",
    "firebase_url": "https://events-dev-62d2e.firebaseio.com",
    "project_id": "events-dev-62d2e",
    "storage_bucket": "events-dev-62d2e.appspot.com"
  },
  "client": [
    {
      "client_info": {
        "mobilesdk_app_id": "1:447780894619:android:66c485c6a5187053",
        "android_client_info": {
          "package_name": "com.google.samples.apps.iosched"
        }
      },
      "oauth_client": [
        {
          "client_id": "447780894619-an6s48nvj18f25v4nc5te03q2c4g9dqf.apps.googleusercontent.com",
          "client_type": 3
        },
        {
          "client_id": "447780894619-u3o7j05aqv0u0mb0nmu7btseg1csrrlg.apps.googleusercontent.com",
          "client_type": 1,
          "android_info": {
            "package_name": "com.google.samples.apps.iosched",
            "certificate_hash": "e499e9081b4ddf63788f4dfb4e7018c54f93188b"
          }
        },
        {
          "client_id": "447780894619-tbe57ou9oflnoic5scbc8mj8tnnj9o2r.apps.googleusercontent.com",
          "client_type": 3
        }
      ],
      "api_key": [
        {
          "current_key": "AIzaSyC_LbkKaCrAaBJSBp7DbDZgwLLR3BYUJV0"
        }
      ],
      "services": {
        "analytics_service": {
          "status": 1
        },
        "appinvite_service": {
          "status": 2,
          "other_platform_oauth_client": [
            {
              "client_id": "447780894619-an6s48nvj18f25v4nc5te03q2c4g9dqf.apps.googleusercontent.com",
              "client_type": 3
            },
            {
              "client_id": "447780894619-c9ovo169ue58khaq7pmj9pvvkbmjt6l2.apps.googleusercontent.com",
              "client_type": 2,
              "ios_info": {
                "bundle_id": "com.google.iosched.dev"
              }
            }
          ]
        },
        "ads_service": {
          "status": 2
        }
      }
    }
  ],
  "configuration_version": "1"
}

================================================
FILE: mobile/lint.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright 2019 Google LLC
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     https://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<lint>
    <issue id="InvalidPackage" severity="ignore" />

    <!-- Version changes are beyond our control, so don't warn. The IDE will still mark these. -->
    <issue id="GradleDependency" severity="ignore" />

    <!-- Timber needs to update its Lint check -->
    <issue id="ObsoleteLintCustomCheck" severity="ignore" />

    <!-- Translations are added incrementally -->
    <issue id="MissingTranslation" severity="ignore" />

    <!-- We leave these up to translators -->
    <issue id="TypographyDashes" severity="ignore" />
    <issue id="Typos" severity="ignore" />

    <!-- We configure Lint check generated sources to eliminate UnusedResources false positives for
         resources used in DataBinding layouts. However, the generated files produce other Lint
         errors that we can ignore.
    -->
    <issue id="RestrictedApi">
        <ignore path="build" />
    </issue>

    <issue id="UnusedResources">
        <!-- Some dependencies & gradle plugins generate resources that we don't use -->
        <ignore path="build" />
        <!-- Map markers are referenced by name at runtime -->
        <ignore regexp="res/drawable/map_marker_.+\.xml" />
    </issue>
</lint>


================================================
FILE: mobile/proguard-rules-benchmark.pro
================================================
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Obsfuscation must be disabled for the build variant that generates Baseline Profile, otherwise
# wrong symbols would be generated. The generated Baseline Profile will be properly applied if generated
# without obfuscation and your app is being obfuscated.
-dontobfuscate

================================================
FILE: mobile/proguard-rules.pro
================================================
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Glide
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public class * extends com.bumptech.glide.module.AppGlideModule
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
  **[] $VALUES;
  public *;
}
-keepattributes *Annotation*
-keepattributes SourceFile,LineNumberTable
-keep public class * extends java.lang.Exception
-keep class com.crashlytics.** { *; }
-dontwarn com.crashlytics.**

# https://github.com/firebase/FirebaseUI-Android/issues/1429
-keep class com.firebase.ui.auth.** { * ; }

# Firebase Functions
-keep class org.json.** { *; }


================================================
FILE: mobile/sampledata/codelabs.json
================================================
{
  "comment": "Sample codelab data for use with tools:... attributes in layouts",
  "codelabs": [
    {
      "title": "Accelerated Mobile Pages Foundations",
      "description": "In this codelab, you'll learn how to build Accelerated Mobile Pages, or AMP for short. You will implement a simple news article web page that conforms to the AMP specifications while incorporating several typical web features commonly used on mobile news sites.",
      "duration": "39 min"
    },
    {
      "title": "Add Voice Interactions to Your App",
      "description": "In this codelab, you'll learn how to add voice interactions to your app with the Voice Interaction API. The Voice Interaction API allows users of your app to confirm actions and select from a list of options using only their voice.",
      "duration": "19 min"
    },
    {
      "title": "Android Data Binding codelab",
      "description": "In this codelab you'll learn how to set up Data Binding, use layout expressions, work with observable objects and create custom Binding Adapters to reduce boilerplate to a minimum.",
      "duration": "45 min"
    },
    {
      "title": "Android Persistence codelab",
      "description": "In this codelab, you begin with a sample app and add code through a series of steps, integrating the various persistence components as you progress.",
      "duration": "50 min"
    },
    {
      "title": "Android & TensorFlow: Artistic Style Transfer",
      "description": "This codelab will walk you through the process of using an artistic style transfer neural network in an Android app in just 9 lines of code. You can also use the techniques outlined in this codelab to implement any TensorFlow network you have already trained.",
      "duration": "22 min"
    },
    {
      "title": "Building Beautiful UIs with Flutter",
      "description": "Learn how to write a Flutter app that looks natural on both iOS and Android; how to debug your Flutter app; and how to run your Flutter app on a simulator/emulator and on a device.",
      "duration": "90 min"
    },
    {
      "title": "Build a Fast Checkout Experience on the Web with Google Pay",
      "description": "This codelab walks you through integrating Google Pay into an existing site, including determining whether a user is able to pay using a payment method supported by Google Pay, the placement and design of the payment button and the execution of the transaction",
      "duration": "30 min:"
    },
    {
      "title": "Build Actions for the Google Assistant (Level 1)",
      "description": "In this codelab, you'll build a simple conversational Action. This codelab covers beginner-level concepts for developing with Actions on Google. You do not need to have any prior experience with the platform to follow this codelab.",
      "duration": "50 min"
    },
    {
      "title": "Cloud Functions for Firebase",
      "description": "In this codelab, you'll learn how to use the Firebase SDK for Google Cloud Functions to improve a Chat Web app and how to use Cloud Functions to send notifications to users of the Chat app.",
      "duration": "62 min"
    },
    {
      "title": "Enable Deep Linking to your App",
      "description": "In this codelab, you'll learn how to handle deep links in a sample Android app. You'll be able to play with the sample app to simulate deep linking from search results on your own Android device.",
      "duration": "14 min"
    }
  ]
}


================================================
FILE: mobile/sampledata/day_indicator.json
================================================
{
  "comment": "Sample day indicators for use with tools:... attributes in layouts",
  "indicators": [
    {
      "label": "May 7",
      "checked": false
    },
    {
      "label": "May 8",
      "checked": true
    },
    {
      "label": "May 9",
      "checked": false
    }
  ]
}


================================================
FILE: mobile/sampledata/map_variants.json
================================================
{
  "comment": "Sample map variant data for use with tools:... attributes in layouts",
  "variants": [
    {
      "title": "Daytime",
      "checked": true
    },
    {
      "title": "After dark",
      "checked": false
    },
    {
      "title": "Concert",
      "checked": false
    }
  ]
}


================================================
FILE: mobile/sampledata/tags.json
================================================
{
  "comment": "Sample tag data for use with tools:... attributes in layouts, primarily list items",
  "tags": [
    {
      "name": "Ads",
      "color": "#B0BEC5",
      "checked": false
    },
    {
      "name": "Android",
      "color": "#AED581",
      "checked": true
    },
    {
      "name": "Assistant",
      "color": "#1ce8b5",
      "checked": false
    },
    {
      "name": "Cloud",
      "color": "#80CBC4",
      "checked": false
    },
    {
      "name": "Design",
      "color": "#F8BBD0",
      "checked": false
    },
    {
      "name": "Firebase",
      "color": "#FFD54F",
      "checked": false
    },
    {
      "name": "IoT",
      "color": "#BCAAA4",
      "checked": false
    },
    {
      "name": "Location & Maps",
      "color": "#EF9A9A",
      "checked": false
    },
    {
      "name": "Look how long the name of this track is!",
      "color": "#33b5e5",
      "checked": false
    },
    {
      "name": "Machine Learning & AI",
      "color": "#bcc8fb",
      "checked": false
    },
    {
      "name": "Misc",
      "color": "#C5C9E9",
      "checked": false
    },
    {
      "name": "Mobile Web",
      "color": "#FFF176",
      "checked": false
    },
    {
      "name": "Search",
      "color": "#90CAF9",
      "checked": false
    },
    {
      "name": "VR",
      "color": "#FF8A65",
      "checked": false
    }
  ]
}


================================================
FILE: mobile/src/androidTest/AndroidManifest.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright 2021 Google LLC
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     https://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.google.samples.apps.iosched">

    <application>
        <provider
            android:name="androidx.startup.InitializationProvider"
            android:authorities="${applicationId}.androidx-startup"
            android:exported="false"
            tools:node="merge">
            <meta-data
                android:name="com.google.samples.apps.iosched.util.initializers.AndroidThreeTenInitializer"
                android:value="androidx.startup"
                tools:node="remove"/>
            <meta-data
                android:name="com.google.samples.apps.iosched.util.initializers.StrictModeInitializer"
                android:value="androidx.startup"
                tools:node="remove"/>
            <meta-data
                android:name="com.google.samples.apps.iosched.util.initializers.TimberInitializer"
                android:value="androidx.startup"
                tools:node="remove"/>
            <meta-data
                android:name="com.google.samples.apps.iosched.util.initializers.AnalyticsHelperInitializer"
                android:value="androidx.startup"
                tools:node="remove"/>
        </provider>
    </application>

</manifest>


================================================
FILE: mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/CustomTestRunner.kt
================================================
/*
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.tests

import android.app.Application
import android.content.Context
import androidx.test.runner.AndroidJUnitRunner
import dagger.hilt.android.testing.CustomTestApplication

/**
 * A custom [AndroidJUnitRunner] used to replace the application used in tests. Note that Hilt
 * generates a [CustomTestRunner_Application] based on the the [MainTestApplication] defined in
 * the [CustomBaseTestApplication] annotation.
 */
@CustomTestApplication(MainTestApplication::class)
class CustomTestRunner : AndroidJUnitRunner() {

    override fun newApplication(cl: ClassLoader?, name: String?, context: Context?): Application {
        return super.newApplication(cl, CustomTestRunner_Application::class.java.name, context)
    }
}


================================================
FILE: mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/FixedTimeRule.kt
================================================
/*
 * Copyright 2018 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.tests

import com.google.samples.apps.iosched.shared.time.DefaultTimeProvider
import com.google.samples.apps.iosched.shared.time.TimeProvider
import org.junit.rules.TestWatcher
import org.junit.runner.Description
import org.threeten.bp.Instant

/**
 * Rule to be used in tests that sets the clocked used by DefaultTimeProvider.
 */
class FixedTimeRule(
    private val fixedTime: FixedTimeProvider = FixedTimeProvider(1_000_000)
) : TestWatcher() {

    override fun starting(description: Description?) {
        super.starting(description)
        DefaultTimeProvider.setDelegate(fixedTime)
    }

    override fun finished(description: Description?) {
        super.finished(description)
        DefaultTimeProvider.setDelegate(null)
    }
}

/**
 * Fix the TimeProvider to a fixed time
 */
class FixedTimeProvider(private var instant: Instant) : TimeProvider {
    constructor(timeInMilis: Long) : this(Instant.ofEpochMilli(timeInMilis))

    override fun now(): Instant {
        return instant
    }
}


================================================
FILE: mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/MainTestApplication.kt
================================================
/*
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.tests

import android.app.Application
import com.jakewharton.threetenabp.AndroidThreeTen
import timber.log.Timber

/**
 * Used as a base application for Hilt to run instrumented tests through the [CustomTestRunner].
 */
open class MainTestApplication : Application() {

    override fun onCreate() {
        // ThreeTenBP for times and dates, called before super to be available for objects
        AndroidThreeTen.init(this)
        Timber.plant(Timber.DebugTree())
        super.onCreate()
    }
}


================================================
FILE: mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/SetPreferencesRule.kt
================================================
/*
 * Copyright 2018 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.tests

import androidx.test.core.app.ApplicationProvider
import com.google.samples.apps.iosched.shared.data.prefs.PreferenceStorage
import com.google.samples.apps.iosched.shared.di.ApplicationScope
import dagger.hilt.EntryPoint
import dagger.hilt.InstallIn
import dagger.hilt.android.EntryPointAccessors
import dagger.hilt.components.SingletonComponent
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.cancel
import kotlinx.coroutines.test.runTest
import org.junit.rules.TestWatcher
import org.junit.runner.Description

/**
 * Rule to be used in tests that sets the preferences needed for avoiding onboarding flows,
 * resetting filters, etc.
 */
class SetPreferencesRule : TestWatcher() {

    @InstallIn(SingletonComponent::class)
    @EntryPoint
    interface SetPreferencesRuleEntryPoint {
        fun preferenceStorage(): PreferenceStorage
        @ApplicationScope
        fun applicationScope(): CoroutineScope
    }

    override fun starting(description: Description?) {
        super.starting(description)

        EntryPointAccessors.fromApplication(
            ApplicationProvider.getApplicationContext(),
            SetPreferencesRuleEntryPoint::class.java
        ).preferenceStorage().apply {
            runTest {
                completeOnboarding(true)
                showScheduleUiHints(true)
                preferConferenceTimeZone(true)
                selectFilters("")
                sendUsageStatistics(false)
                showNotificationsPreference(true)
            }
        }
    }

    override fun finished(description: Description) {
        // At the end of every test, cancel the application scope
        // So DataStore is closed
        EntryPointAccessors.fromApplication(
            ApplicationProvider.getApplicationContext(),
            SetPreferencesRuleEntryPoint::class.java
        ).applicationScope().cancel()
        super.finished(description)
    }
}


================================================
FILE: mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/di/HiltExt.kt
================================================
/*
 * Copyright 2021 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.tests.di

import android.content.ComponentName
import android.content.Intent
import android.os.Bundle
import androidx.annotation.StyleRes
import androidx.core.util.Preconditions
import androidx.fragment.app.Fragment
import androidx.test.core.app.ActivityScenario
import androidx.test.core.app.ApplicationProvider
import com.google.samples.apps.iosched.R
import com.google.samples.apps.iosched.test.HiltTestActivity

/**
 * launchFragmentInContainer from the androidx.fragment:fragment-testing library
 * is NOT possible to use right now as it uses a hardcoded Activity under the hood
 * (i.e. [EmptyFragmentActivity]) which is not annotated with @AndroidEntryPoint.
 *
 * As a workaround, use this function that is equivalent. It requires you to add
 * [HiltTestActivity] in the debug folder and include it in the debug AndroidManifest.xml file
 * as can be found in this project.
 */
inline fun <reified T : Fragment> launchFragmentInHiltContainer(
    fragmentArgs: Bundle? = null,
    @StyleRes themeResId: Int = R.style.FragmentScenarioEmptyFragmentActivityTheme,
    crossinline action: Fragment.() -> Unit = {}
) {
    val startActivityIntent = Intent.makeMainActivity(
        ComponentName(
            ApplicationProvider.getApplicationContext(),
            HiltTestActivity::class.java
        )
    ).putExtra(
        "androidx.fragment.app.testing.FragmentScenario" +
            ".EmptyFragmentActivity.THEME_EXTRAS_BUNDLE_KEY",
        themeResId
    )

    ActivityScenario.launch<HiltTestActivity>(startActivityIntent).onActivity { activity ->
        val fragment: Fragment = activity.supportFragmentManager.fragmentFactory.instantiate(
            Preconditions.checkNotNull(T::class.java.classLoader),
            T::class.java.name
        )
        fragment.arguments = fragmentArgs
        activity.supportFragmentManager
            .beginTransaction()
            .add(android.R.id.content, fragment, "")
            .commitNow()

        fragment.action()
    }
}


================================================
FILE: mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/di/TestCoroutinesModule.kt
================================================
/*
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.tests.di

import android.os.AsyncTask
import com.google.samples.apps.iosched.di.CoroutinesModule
import com.google.samples.apps.iosched.shared.di.DefaultDispatcher
import com.google.samples.apps.iosched.shared.di.IoDispatcher
import com.google.samples.apps.iosched.shared.di.MainDispatcher
import com.google.samples.apps.iosched.shared.di.MainImmediateDispatcher
import dagger.Module
import dagger.Provides
import dagger.hilt.components.SingletonComponent
import dagger.hilt.testing.TestInstallIn
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.asCoroutineDispatcher

@TestInstallIn(
    components = [SingletonComponent::class],
    replaces = [CoroutinesModule::class]
)
@Module
object TestCoroutinesModule {

    @DefaultDispatcher
    @Provides
    fun providesDefaultDispatcher(): CoroutineDispatcher =
        AsyncTask.THREAD_POOL_EXECUTOR.asCoroutineDispatcher()

    @IoDispatcher
    @Provides
    fun providesIoDispatcher(): CoroutineDispatcher =
        AsyncTask.THREAD_POOL_EXECUTOR.asCoroutineDispatcher()

    @MainDispatcher
    @Provides
    fun providesMainDispatcher(): CoroutineDispatcher = Dispatchers.Main

    @MainImmediateDispatcher
    @Provides
    fun providesMainImmediateDispatcher(): CoroutineDispatcher = Dispatchers.Main.immediate
}


================================================
FILE: mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/di/TestPreferencesStorageModule.kt
================================================
/*
 * Copyright 2021 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.tests.di

import android.content.Context
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.SharedPreferencesMigration
import androidx.datastore.preferences.core.PreferenceDataStoreFactory
import androidx.datastore.preferences.core.Preferences
import androidx.datastore.preferences.preferencesDataStoreFile
import com.google.samples.apps.iosched.shared.data.prefs.DataStorePreferenceStorage.Companion.PREFS_NAME
import com.google.samples.apps.iosched.di.PreferencesStorageModule
import com.google.samples.apps.iosched.shared.data.prefs.DataStorePreferenceStorage
import com.google.samples.apps.iosched.shared.data.prefs.PreferenceStorage
import com.google.samples.apps.iosched.shared.di.ApplicationScope
import dagger.Module
import dagger.Provides
import dagger.hilt.android.qualifiers.ApplicationContext
import dagger.hilt.components.SingletonComponent
import dagger.hilt.testing.TestInstallIn
import kotlinx.coroutines.CoroutineScope
import javax.inject.Singleton

@TestInstallIn(
    components = [SingletonComponent::class],
    replaces = [PreferencesStorageModule::class]
)
@Module
object TestPreferencesStorageModule {

    @Singleton
    @Provides
    fun providePreferenceStorage(dataStore: DataStore<Preferences>): PreferenceStorage =
        DataStorePreferenceStorage(dataStore)

    @Singleton
    @Provides
    fun provideDataStore(
        @ApplicationContext context: Context,
        @ApplicationScope applicationScope: CoroutineScope
    ): DataStore<Preferences> {
        // Using PreferenceDataStoreFactory so we can set our own application scope
        // that we can control and cancel in UI tests
        val datastore = PreferenceDataStoreFactory.create(
            migrations = listOf(SharedPreferencesMigration(context, PREFS_NAME)),
            scope = applicationScope
        ) {
            context.preferencesDataStoreFile(PREFS_NAME)
        }
        return datastore
    }
}


================================================
FILE: mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/prefs/DataStorePreferenceStorageTest.kt
================================================
/*
 * Copyright 2021 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.tests.prefs

import android.content.Context
import androidx.datastore.preferences.preferencesDataStore
import androidx.test.core.app.ApplicationProvider
import com.google.samples.apps.iosched.shared.data.prefs.DataStorePreferenceStorage
import com.google.samples.apps.iosched.shared.data.prefs.PreferenceStorage
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.test.runTest
import org.junit.Assert.assertEquals
import org.junit.Assert.assertTrue
import org.junit.Before
import org.junit.Test

val Context.dataStore by preferencesDataStore(name = "test")

class DataStorePreferenceStorageTest {

    private lateinit var context: Context
    private lateinit var preferenceStorage: PreferenceStorage

    @Before
    fun init() {
        context = ApplicationProvider.getApplicationContext()
        preferenceStorage = DataStorePreferenceStorage(context.dataStore)
    }

    @Test
    fun completeOnboarding() = runTest {
        preferenceStorage.completeOnboarding(true)
        val result = preferenceStorage.onboardingCompleted.first()
        assertTrue(result)
    }

    @Test
    fun showScheduleUiHints() = runTest {
        preferenceStorage.showScheduleUiHints(true)
        val result = preferenceStorage.areScheduleUiHintsShown()
        assertTrue(result)
    }

    @Test
    fun showNotificationsPreference() = runTest {
        preferenceStorage.showNotificationsPreference(true)
        val result = preferenceStorage.notificationsPreferenceShown.first()
        assertTrue(result)
    }

    @Test
    fun preferToReceiveNotifications() = runTest {
        preferenceStorage.preferToReceiveNotifications(true)
        val result = preferenceStorage.preferToReceiveNotifications.first()
        assertTrue(result)
    }

    @Test
    fun optInMyLocation() = runTest {
        preferenceStorage.optInMyLocation(true)
        val result = preferenceStorage.myLocationOptedIn.first()
        assertTrue(result)
    }

    @Test
    fun stopSnackbar() = runTest {
        preferenceStorage.stopSnackbar(true)
        val result = preferenceStorage.isSnackbarStopped()
        assertTrue(result)
    }

    @Test
    fun sendUsageStatistics() = runTest {
        preferenceStorage.sendUsageStatistics(true)
        val result = preferenceStorage.sendUsageStatistics.first()
        assertTrue(result)
    }

    @Test
    fun preferConferenceTimeZone() = runTest {
        preferenceStorage.preferConferenceTimeZone(true)
        val result = preferenceStorage.preferConferenceTimeZone.first()
        assertTrue(result)
    }

    @Test
    fun selectFilters() = runTest {
        val filters = "filter1, filter2"
        preferenceStorage.selectFilters(filters)
        val result = preferenceStorage.selectedFilters.first()
        assertEquals(filters, result)
    }

    @Test
    fun selectTheme() = runTest {
        val theme = "theme"
        preferenceStorage.selectTheme(theme)
        val result = preferenceStorage.selectedTheme.first()
        assertEquals(theme, result)
    }

    @Test
    fun showCodelabsInfo() = runTest {
        preferenceStorage.showCodelabsInfo(true)
        val result = preferenceStorage.codelabsInfoShown.first()
        assertTrue(result)
    }
}


================================================
FILE: mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/AgendaTest.kt
================================================
/*
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.tests.ui

import android.widget.TextView
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.espresso.matcher.ViewMatchers.withParent
import androidx.test.espresso.matcher.ViewMatchers.withText
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.google.samples.apps.iosched.R
import com.google.samples.apps.iosched.tests.SetPreferencesRule
import dagger.hilt.android.testing.HiltAndroidRule
import dagger.hilt.android.testing.HiltAndroidTest
import org.hamcrest.CoreMatchers.allOf
import org.hamcrest.CoreMatchers.instanceOf
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith

@HiltAndroidTest
@RunWith(AndroidJUnit4::class)
class AgendaTest {

    @get:Rule(order = 0)
    var hiltRule = HiltAndroidRule(this)

    // Sets the preferences so no welcome screens are shown
    @get:Rule(order = 1)
    var preferencesRule = SetPreferencesRule()

    @get:Rule(order = 2)
    var activityRule = MainActivityTestRule(R.id.navigation_agenda)

    @Test
    fun agenda_basicViewsDisplayed() {
        // Title
        onView(allOf(instanceOf(TextView::class.java), withParent(withId(R.id.toolbar))))
            .check(matches(withText(R.string.agenda)))
        // One of the blocks
        onView(withText("Breakfast")).check(matches(isDisplayed()))
    }
}


================================================
FILE: mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/CodelabTest.kt
================================================
/*
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.tests.ui

import android.widget.TextView
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.espresso.matcher.ViewMatchers.withParent
import androidx.test.espresso.matcher.ViewMatchers.withText
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.google.samples.apps.iosched.R
import com.google.samples.apps.iosched.shared.data.FakeConferenceDataSource
import com.google.samples.apps.iosched.tests.SetPreferencesRule
import dagger.hilt.android.testing.HiltAndroidRule
import dagger.hilt.android.testing.HiltAndroidTest
import org.hamcrest.CoreMatchers.allOf
import org.hamcrest.CoreMatchers.instanceOf
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith

@HiltAndroidTest
@RunWith(AndroidJUnit4::class)
class CodelabTest {

    @get:Rule(order = 0)
    var hiltRule = HiltAndroidRule(this)

    // Sets the preferences so no welcome screens are shown
    @get:Rule(order = 1)
    var preferencesRule = SetPreferencesRule()

    @get:Rule(order = 2)
    var activityRule = MainActivityTestRule(R.id.navigation_codelabs)

    @Test
    fun codelab_basicViewsDisplayed() {
        // Title
        onView(allOf(instanceOf(TextView::class.java), withParent(withId(R.id.toolbar))))
            .check(matches(withText(R.string.event_codelabs_title)))
        // One of the codelabs
        Thread.sleep(400) // TODO: RecyclerView is async so it makes the test fail
        onView(withText(FakeConferenceDataSource.FAKE_CODELAB_TITLE)).check(matches(isDisplayed()))
    }
}


================================================
FILE: mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/HomeTest.kt
================================================
/*
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.tests.ui

import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView.ViewHolder
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions.scrollTo
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.contrib.RecyclerViewActions.actionOnItemAtPosition
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.espresso.matcher.ViewMatchers.withParent
import androidx.test.espresso.matcher.ViewMatchers.withText
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.google.samples.apps.iosched.R
import com.google.samples.apps.iosched.tests.SetPreferencesRule
import dagger.hilt.android.testing.HiltAndroidRule
import dagger.hilt.android.testing.HiltAndroidTest
import org.hamcrest.CoreMatchers.allOf
import org.hamcrest.CoreMatchers.instanceOf
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith

@HiltAndroidTest
@RunWith(AndroidJUnit4::class)
class HomeTest {

    @get:Rule(order = 0)
    var hiltRule = HiltAndroidRule(this)

    // Sets the preferences so no welcome screens are shown
    @get:Rule(order = 1)
    var preferencesRule = SetPreferencesRule()

    @get:Rule(order = 2)
    var activityRule = MainActivityTestRule(R.id.navigation_feed)

    @Test
    fun home_basicViewsDisplayed() {
        // Title
        onView(allOf(instanceOf(TextView::class.java), withParent(withId(R.id.toolbar))))
            .check(matches(withText(R.string.title_home)))

        // For some reason, recycler view auto scrolls to the bottom in espresso test. Preventing
        // that by scrolling to the top.
        onView(withId(R.id.recyclerView))
            .perform(actionOnItemAtPosition<ViewHolder>(0, scrollTo()))

        // One of the blocks
        onView(withText(R.string.feed_announcement_title)).check(matches(isDisplayed()))
    }
}


================================================
FILE: mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/InfoTest.kt
================================================
/*
 * Copyright 2018 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.tests.ui

import android.content.Context
import android.widget.TextView
import androidx.test.core.app.ApplicationProvider
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
import androidx.test.espresso.matcher.ViewMatchers.withParent
import androidx.test.espresso.matcher.ViewMatchers.withText
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.google.samples.apps.iosched.R
import com.google.samples.apps.iosched.R.id
import com.google.samples.apps.iosched.tests.SetPreferencesRule
import dagger.hilt.android.testing.HiltAndroidRule
import dagger.hilt.android.testing.HiltAndroidTest
import org.hamcrest.CoreMatchers.allOf
import org.hamcrest.CoreMatchers.instanceOf
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith

/**
 * Espresso tests for the Info screen, covering main use case.
 */
@HiltAndroidTest
@RunWith(AndroidJUnit4::class)
class InfoTest {

    @get:Rule(order = 0)
    var hiltRule = HiltAndroidRule(this)

    // Sets the preferences so no welcome screens are shown
    @get:Rule(order = 1)
    var preferencesRule = SetPreferencesRule()

    @get:Rule(order = 2)
    var activityRule = MainActivityTestRule(R.id.navigation_info)

    private val resources = ApplicationProvider.getApplicationContext<Context>().resources

    @Test
    fun info_basicViewsDisplayed() {
        // Title
        onView(allOf(instanceOf(TextView::class.java), withParent(ViewMatchers.withId(id.toolbar))))
            .check(matches(withText(R.string.title_info)))
        onView(withText(resources.getString(R.string.event_types_header)))
            .check(matches(isDisplayed()))
        // Travel tab
        onView(withText(resources.getString(R.string.travel_title))).perform(click())
        onView(withText(resources.getString(R.string.travel_what_to_bring_title)))
            .check(matches(isDisplayed()))
    }
}


================================================
FILE: mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/MainActivityTestRule.kt
================================================
/*
 * Copyright 2018 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.tests.ui

import android.content.Intent
import androidx.test.rule.ActivityTestRule
import com.google.samples.apps.iosched.ui.MainActivity

/**
 * ActivityTestRule for [MainActivity] that can launch with any initial navigation target.
 */
class MainActivityTestRule(
    private val initialNavId: Int
) : ActivityTestRule<MainActivity>(MainActivity::class.java) {

    override fun getActivityIntent(): Intent {
        return Intent(Intent.ACTION_MAIN).apply {
            putExtra(MainActivity.EXTRA_NAVIGATION_ID, initialNavId)
        }
    }
}


================================================
FILE: mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/MapTest.kt
================================================
/*
 * Copyright 2018 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.tests.ui

import android.widget.TextView
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.espresso.matcher.ViewMatchers.withParent
import androidx.test.espresso.matcher.ViewMatchers.withText
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.google.samples.apps.iosched.R
import com.google.samples.apps.iosched.R.id
import com.google.samples.apps.iosched.tests.SetPreferencesRule
import dagger.hilt.android.testing.HiltAndroidRule
import dagger.hilt.android.testing.HiltAndroidTest
import org.hamcrest.CoreMatchers.allOf
import org.hamcrest.CoreMatchers.instanceOf
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith

/**
 * Espresso tests for the Map screen.
 */
@HiltAndroidTest
@RunWith(AndroidJUnit4::class)
class MapTest {

    @get:Rule(order = 0)
    var hiltRule = HiltAndroidRule(this)

    // Sets the preferences so no welcome screens are shown
    @get:Rule(order = 1)
    var preferencesRule = SetPreferencesRule()

    @get:Rule(order = 2)
    var activityRule = MainActivityTestRule(R.id.navigation_map)

    @Test
    fun map_basicViewsDisplayed() {
        onView(allOf(instanceOf(TextView::class.java), withParent(withId(id.toolbar))))
            .check(matches(withText(R.string.title_map)))
    }
}


================================================
FILE: mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/ScheduleTest.kt
================================================
/*
 * Copyright 2018 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.tests.ui

import android.content.Context
import androidx.test.core.app.ApplicationProvider
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.contrib.RecyclerViewActions
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.espresso.matcher.ViewMatchers.withText
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.google.samples.apps.iosched.R
import com.google.samples.apps.iosched.tests.FixedTimeRule
import com.google.samples.apps.iosched.tests.SetPreferencesRule
import com.google.samples.apps.iosched.ui.sessioncommon.SessionViewHolder
import dagger.hilt.android.testing.HiltAndroidRule
import dagger.hilt.android.testing.HiltAndroidTest
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith

/**
 * Basic Espresso tests for the schedule screen.
 */
@HiltAndroidTest
@RunWith(AndroidJUnit4::class)
class ScheduleTest {

    @get:Rule(order = 0)
    var hiltRule = HiltAndroidRule(this)

    // Sets the time to before the conference
    @get:Rule(order = 1)
    var timeProviderRule = FixedTimeRule()

    // Sets the preferences so no welcome screens are shown
    @get:Rule(order = 1)
    var preferencesRule = SetPreferencesRule()

    @get:Rule(order = 2)
    var activityRule = MainActivityTestRule(R.id.navigation_schedule)

    private val resources = ApplicationProvider.getApplicationContext<Context>().resources

    @Test
    fun showFirstDay_sessionOnFirstDayShown() {
        onView(withText(FAKE_SESSION_ON_DAY1))
            .check(matches(isDisplayed()))
    }

    @Test
    @Ignore(
        "Session Details are shown in another pane owned by a parent fragment. This test runs in " +
            "a test Activity that does not include the other pane, so it will never pass."
    )
    fun clickOnFirstItem_detailsShown() {
        onView(withId(R.id.recyclerview_schedule))
            .perform(RecyclerViewActions.actionOnItemAtPosition<SessionViewHolder>(0, click()))

        onView(withId(R.id.session_detail_title)).check(matches(isDisplayed()))
    }

/* TODO(jdkoren) move to new schedule screen
    @Test
    fun clickFilters_showFilters() {
        checkAnimationsDisabled()

        onView(withId(R.id.filter_fab)).perform(click())

        val uncheckedFilterContentDesc =
            getDisabledFilterContDesc(FakeConferenceDataSource.FAKE_SESSION_TAG_NAME)
        val checkedFilterContentDesc =
            getActiveFilterContDesc(FakeConferenceDataSource.FAKE_SESSION_TAG_NAME)

        // Scroll to the filter
        onView(allOf(withId(R.id.recyclerview_filter), withParent(withId(R.id.filter_sheet))))
            .perform(
                RecyclerViewActions.scrollTo<ScheduleFilterAdapter.FilterViewHolder>(
                    withContentDescription(uncheckedFilterContentDesc)
                )
            )

        onView(withContentDescription(uncheckedFilterContentDesc))
            .check(matches(isDisplayed()))
            .perform(click())

        // Check that the filter is enabled
        onView(
            allOf(
                withId(R.id.filter_label),
                withContentDescription(checkedFilterContentDesc),
                not(withParent(withId(R.id.filter_description_tags)))
            )
        )
            .check(matches(isDisplayed()))
            .perform(click())
    }

    @Test
    fun filters_applyAFilter() {
        checkAnimationsDisabled()
        val sessionName = FakeConferenceDataSource.FAKE_SESSION_NAME

        // Apply the filter that will show the session
        applyFilter(FakeConferenceDataSource.FAKE_SESSION_TAG_NAME)

        // Check that it's displayed now
        onView(withText(sessionName))
            .check(matches(isDisplayed()))
    }

    @Test
    fun filters_clearFilters() {
        // Apply the filter that will show the session
        val filter = FakeConferenceDataSource.FAKE_SESSION_TAG_NAME
        applyFilter(filter)

        // Clear
        onView(withId(R.id.clear_filters_shortcut)).perform(click())

        onView(
            allOf(
                withId(R.id.filter_label),
                withContentDescription(getActiveFilterContDesc(filter)),
                withParent(withId(R.id.filter_description_tags))
            )
        ).check(matches(isCompletelyDisplayed()))
    }

    private fun applyFilter(filter: String) {
        // Open the filters sheet
        onView(withId(R.id.filter_fab)).perform(click())

        // Get the content description of the view we need to click on
        val uncheckedFilterContentDesc =
            resources.getString(R.string.a11y_filter_not_applied, filter)

        onView(allOf(withId(R.id.recyclerview_filter), withParent(withId(R.id.filter_sheet))))
            .check(matches(isDisplayed()))

        // Scroll to the filter
        onView(allOf(withId(R.id.recyclerview_filter), withParent(withId(R.id.filter_sheet))))
            .perform(
                RecyclerViewActions.scrollTo<ScheduleFilterAdapter.FilterViewHolder>(
                    withContentDescription(uncheckedFilterContentDesc)
                )
            )

        // Click on the filter
        onView(withContentDescription(uncheckedFilterContentDesc))
            .check(matches(isDisplayed()))
            .perform(click())

        pressBack()
    }

    private fun getDisabledFilterContDesc(filter: String) =
        resources.getString(R.string.a11y_filter_not_applied, filter)

    private fun getActiveFilterContDesc(filter: String) =
        resources.getString(R.string.a11y_filter_applied, filter)

    private fun checkAnimationsDisabled() {
        val scale = Settings.Global.getFloat(
            ApplicationProvider.getApplicationContext<Context>().contentResolver,
            Settings.Global.ANIMATOR_DURATION_SCALE,
            1f
        )

        if (scale > 0) {
            throw Exception(
                "Device must have animations disabled. " +
                    "Developer options -> Animator duration scale"
            )
        }
    }
*/
    companion object {
        private const val FAKE_SESSION_ON_DAY1 = "Fake session on day 1"
    }
}


================================================
FILE: mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/SessionDetailTest.kt
================================================
/*
 * Copyright 2018 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.tests.ui

import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.contrib.RecyclerViewActions
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.espresso.matcher.ViewMatchers.withText
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.google.samples.apps.iosched.R
import com.google.samples.apps.iosched.shared.data.FakeConferenceDataSource
import com.google.samples.apps.iosched.tests.FixedTimeRule
import com.google.samples.apps.iosched.tests.SetPreferencesRule
import com.google.samples.apps.iosched.tests.di.launchFragmentInHiltContainer
import com.google.samples.apps.iosched.ui.sessiondetail.SessionDetailFragment
import com.google.samples.apps.iosched.ui.sessiondetail.SessionDetailFragmentArgs
import com.google.samples.apps.iosched.ui.sessiondetail.SessionDetailViewHolder
import dagger.hilt.android.testing.HiltAndroidRule
import dagger.hilt.android.testing.HiltAndroidTest
import org.hamcrest.CoreMatchers.allOf
import org.junit.Before
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith

/**
 * Espresso tests for the details screen.
 *
 * TODO
 * * Youtube intent
 * * Information is correct, titles, tags, date and time
 * * Start event
 * * Related events present
 * * Star related events
 * * Speakers present
 * * Share intent
 * * Map intent
 * * Navigate to related event
 * * Navigate to speaker
 *
 */
@HiltAndroidTest
@RunWith(AndroidJUnit4::class)
class SessionDetailTest {

    @get:Rule(order = 0)
    var hiltRule = HiltAndroidRule(this)

    // Sets the time to before the conference
    @get:Rule(order = 1)
    var timeProviderRule = FixedTimeRule()

    // Sets the preferences so no welcome screens are shown
    @get:Rule(order = 1)
    var preferencesRule = SetPreferencesRule()

    @Before
    fun launchScreen() {
        val fragmentArgs =
            SessionDetailFragmentArgs(FakeConferenceDataSource.FAKE_SESSION_ID).toBundle()
        launchFragmentInHiltContainer<SessionDetailFragment>(fragmentArgs, R.style.AppTheme)
    }

    @Test
    fun details_basicViewsDisplayed() {
        // On the details screen, scroll down to the speaker
        onView(withId(R.id.session_detail_recycler_view))
            .perform(RecyclerViewActions.scrollToPosition<SessionDetailViewHolder>(2))

        // Check that the speaker name is displayed
        onView(
            allOf(
                withId(R.id.speaker_item_name),
                withText(FakeConferenceDataSource.FAKE_SESSION_SPEAKER_NAME)
            )
        ).check(matches(isDisplayed()))

        // Scroll down to the related events
        onView(withId(R.id.session_detail_recycler_view))
            .perform(RecyclerViewActions.scrollToPosition<SessionDetailViewHolder>(4))

        // Check that the title is correct
        onView(allOf(withId(R.id.session_detail_title), withText("Fake session on day 1")))
            .check(matches(isDisplayed()))
    }
}


================================================
FILE: mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/SettingsTest.kt
================================================
/*
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.tests.ui

import android.content.Context
import android.widget.TextView
import androidx.test.core.app.ApplicationProvider
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.espresso.matcher.ViewMatchers.withParent
import androidx.test.espresso.matcher.ViewMatchers.withText
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.google.samples.apps.iosched.R
import com.google.samples.apps.iosched.R.id
import com.google.samples.apps.iosched.tests.SetPreferencesRule
import dagger.hilt.android.testing.HiltAndroidRule
import dagger.hilt.android.testing.HiltAndroidTest
import org.hamcrest.CoreMatchers.allOf
import org.hamcrest.CoreMatchers.instanceOf
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith

/**
 * Espresso tests for Settings screen
 */
@HiltAndroidTest
@RunWith(AndroidJUnit4::class)
class SettingsTest {

    @get:Rule(order = 0)
    var hiltRule = HiltAndroidRule(this)

    // Sets the preferences so no welcome screens are shown
    @get:Rule(order = 1)
    var preferencesRule = SetPreferencesRule()

    @get:Rule(order = 2)
    var activityRule = MainActivityTestRule(R.id.navigation_settings)

    private val resources = ApplicationProvider.getApplicationContext<Context>().resources

    @Test
    fun settings_basicViewsDisplayed() {
        // Title
        onView(allOf(instanceOf(TextView::class.java), withParent(withId(id.toolbar))))
            .check(matches(withText(R.string.settings_title)))
        // Preference toggle
        onView(withText(resources.getString(R.string.settings_enable_notifications)))
            .check(matches(isDisplayed()))
        // About label
        onView(withText(resources.getString(R.string.about_title)))
            .check(matches(isDisplayed()))
    }
}


================================================
FILE: mobile/src/debugRelease/java/com/google/samples/apps/iosched/di/SignInModule.kt
================================================
/*
 * Copyright 2018 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.iosched.di

import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.auth.ktx.auth
import com.google.firebase.firestore.FirebaseFirestore
import com.google.firebase.ktx.Firebase
import com.google.samples.apps.iosched.shared.data.signin.datasources.AuthIdDataSource
import com.google.samples.apps.iosched.shared.data.signin.datasources.AuthStateUserDataSource
import com.google.samples.apps.iosched.shared.data.signin.datasources.FirebaseAuthStateUserDataSource
import com.google.samples.apps.iosched.shared.data.signin.datasources.FirestoreRegisteredUserDataSource
import com.google.samples.apps.iosched.shared.data.signin.datasources.RegisteredUserDataSource
import com.google.samples.apps.iosched.shared.di.ApplicationScope
import com.google.samples.apps.iosched.shared.di.IoDispatcher
import com.google.samples.apps.iosched.shared.di.MainDispatcher
import com.google.samples.apps.iosched.shared.domain.sessions.NotificationAlarmUpdater
import com.google.samples.apps.iosched.shared.fcm.FcmTokenUpdater
import com.google.samples.apps.iosched.util.signin.FirebaseAuthSignInHandler
import com.google.samples.apps.iosched.util.signin.SignInHandler
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.CoroutineScope
import javax.inject.Singleton

@InstallIn(SingletonComponent::class)
@Module
internal class SignInModule {

    @Provides
    fun provideSignInHandler(
        @ApplicationScope applicationScope: CoroutineScope
    ): SignInHandler = FirebaseAuthSignInHandler(applicationScope)

    @Singleton
    @Provides
    fun provideRegisteredUserDataSource(
        firestore: FirebaseFirestore
    ): RegisteredUserDataSource {
        return FirestoreRegisteredUserDataSource(firestore)
    }

    @Singleton
    @Provides
    fun provideAuthStateUserDataSource(
        firebase: FirebaseAuth,
        firestore: FirebaseFirestore,
        notificationAlarmUpdater: NotificationAlarmUpdater,
        @ApplicationScope applicationScope: CoroutineScope,
        @IoDispatcher ioDispatcher: CoroutineDispatcher,
        @MainDispatcher mainDispatcher: CoroutineDispatcher
    ): AuthStateUserDataSource {

        return FirebaseAuthStateUserDataSource(
            firebase,
            FcmTokenUpdater(applicationScope, mainDispatcher, firestore),
            notificationAlarmUpdater,
            applicationScope,
            ioDispatcher
        )
    }

    @Singleton
    @Provides
    fun provideFirebaseAuth(): FirebaseAuth {
        return Firebase.auth
    }

    @Singleton
    @Provides
    fun providesAuthIdDataSource(
        firebaseAuth: FirebaseAuth
    ): AuthIdDataSource {
        return object : AuthIdDataSource {
            override fun getUserId() = firebaseAuth.currentUser?.uid
        }
    }
}


================================================
FILE: mobile/src/main/AndroidManifest.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright 2018 Google LLC
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     https://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.google.samples.apps.iosched">

    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

    <application
        android:name=".MainApplication"
        android:allowBackup="false"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">

        <!-- Required for apps targeting API 28 and above and using Google Maps. -->
        <uses-library android:name="org.apache.http.legacy" android:required="false" />

        <meta-data android:name="com.google.ar.core" android:value="optional" />

        <meta-data tools:replace="android:value"
            android:name="com.google.ar.core.min_apk_version"
            android:value="190128000" />

        <activity
            android:name=".ui.LauncherActivity"
            android:theme="@style/AppTheme.Launcher">
            <!-- This will have to be placed wherever the activity-alias is pointing to. -->
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <!-- Accept URIs that begin with "iosched://sessions” -->
                <data android:scheme="iosched"
                    android:host="sessions" />
            </intent-filter>
         </activity>

        <activity
            android:name=".ui.MainActivity" >
            <intent-filter>
                <action android:name="com.google.samples.apps.iosched.STARTUP_ACTIVITY" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <activity
            android:name=".ui.onboarding.OnboardingActivity"
            android:theme="@style/AppTheme.Onboarding" />

        <meta-data
            android:name="preloaded_fonts"
            android:resource="@array/preloaded_fonts" />

        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />

        <meta-data
            android:name="com.google.android.geo.API_KEY"
            android:value="@string/google_maps_key" />

        <meta-data
            android:name="firebase_crashlytics_collection_enabled"
            android:value="${crashlyticsEnabled}" />

        <!-- By default, these are not exported since they do not have an intent filter.
             However, explicitly saying exported="false" to communicate that these are not for
             other apps to call -->
        <receiver android:name=".shared.notifications.AlarmBroadcastReceiver"
            android:exported="false" />
        <receiver android:name=".shared.notifications.CancelNotificationBroadcastReceiver"
            android:exported="false" />

        <provider
            android:name="androidx.startup.InitializationProvider"
            android:authorities="${applicationId}.androidx-startup"
            android:exported="false"
            tools:node="merge">
            <meta-data
                android:name="com.google.samples.apps.iosched.util.initializers.AndroidThreeTenInitializer"
                android:value="androidx.startup" />
            <meta-data
                android:name="com.google.samples.apps.iosched.util.initializers.StrictModeInitializer"
                android:value="androidx.startup" />
            <meta-data
                android:name="com.google.samples.apps.iosched.util.initializers.TimberInitializer"
                android:value="androidx.startup" />

        </provider>
        <!-- enable profiling by macrobenchmark -->
        <profileable
            android:shell="true"
            tools:targetApi="q" />
    </application>

</manifest>


================================================
FILE: mobile/src/main/assets/anim/0.json
================================================
{"v":"5.4.3","fr":30,"ip":0,"op":45,"w":130,"h":194,"nm":"00","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":".number-0 .darkfill","cl":"number-0 darkfill","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[69,97,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[60.061,31.625],[-67.939,31.625],[-67.939,-32.375],[60.061,-32.375]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.203921571374,0.658823549747,0.32549020648,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":45,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":".number-0 .darkfill","cl":"number-0 darkfill","tt":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.16,"y":1},"o":{"x":0.84,"y":0},"n":"0p16_1_0p84_0","t":0,"s":[-61,97,0],"e":[69,97,0],"to":[21.6666660308838,0,0],"ti":[-21.6666660308838,0,0]},{"i":{"x":0.16,"y":0.16},"o":{"x":0.84,"y":0.84},"n":"0p16_0p16_0p84_0p84","t":15,"s":[69,97,0],"e":[69,97,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.16,"y":1},"o":{"x":0.84,"y":0},"n":"0p16_1_0p84_0","t":30,"s":[69,97,0],"e":[-61,97,0],"to":[-21.6666660308838,0,0],"ti":[21.6666660308838,0,0]},{"t":44}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[60.061,31.625],[-67.939,31.625],[-67.939,-32.375],[60.061,-32.375]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.203921571374,0.658823549747,0.32549020648,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":".darkfill","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false,"cl":"darkfill"}],"ip":0,"op":45,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":".number-0 .lightfill","cl":"number-0 lightfill","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[69,97,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-35.346,0],[0,35.346],[0,0]],"o":[[35.346,0],[0,0],[0,35.346]],"v":[[-3.939,95.625],[60.061,31.625],[-67.939,31.625]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.807843148708,0.917647063732,0.839215695858,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":45,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":".number-0. lightfill","cl":"number-0 ","tt":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.16,"y":1},"o":{"x":0.84,"y":0},"n":"0p16_1_0p84_0","t":0,"s":[69,31.5,0],"e":[69,97,0],"to":[0,10.9166669845581,0],"ti":[0,-10.9166669845581,0]},{"i":{"x":0.629,"y":0.629},"o":{"x":0.912,"y":0.912},"n":"0p629_0p629_0p912_0p912","t":15,"s":[69,97,0],"e":[69,97,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.16,"y":1},"o":{"x":0.84,"y":0},"n":"0p16_1_0p84_0","t":30,"s":[69,97,0],"e":[69,31.5,0],"to":[0,-10.9166669845581,0],"ti":[0,10.9166669845581,0]},{"t":44}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-35.346,0],[0,35.346],[0,0]],"o":[[35.346,0],[0,0],[0,35.346]],"v":[[-3.939,95.625],[60.061,31.625],[-67.939,31.625]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.807843148708,0.917647063732,0.839215695858,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":".lightfill","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false,"cl":"lightfill"}],"ip":0,"op":45,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":".number-0 .lightstroke","cl":"number-0 lightstroke","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[69,97,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-33.073,0],[-1.317,-32.755]],"o":[[1.317,-32.755],[33.073,0],[0,0]],"v":[[-65.389,-34.875],[-3.939,-93.875],[57.51,-34.875]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.807843148708,0.917647063732,0.839215695858,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":5,"ix":5},"lc":1,"lj":1,"ml":10,"ml2":{"a":0,"k":10,"ix":8},"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":".lightstroke","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false,"cl":"lightstroke"},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.16],"y":[1]},"o":{"x":[0.84],"y":[0]},"n":["0p16_1_0p84_0"],"t":0,"s":[100],"e":[0]},{"i":{"x":[0.16],"y":[1]},"o":{"x":[0.84],"y":[0]},"n":["0p16_1_0p84_0"],"t":15,"s":[0],"e":[0]},{"i":{"x":[0.16],"y":[1]},"o":{"x":[0.84],"y":[0]},"n":["0p16_1_0p84_0"],"t":30,"s":[0],"e":[100]},{"t":44}],"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":45,"st":0,"bm":0}],"markers":[{"tm":15,"cm":"1","dr":0},{"tm":30,"cm":"2","dr":0}]}

================================================
FILE: mobile/src/main/assets/anim/1.json
================================================
{"v":"5.4.3","fr":30,"ip":0,"op":45,"w":130,"h":193,"nm":"01","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":".number-1","cl":"number-1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[34.5,96.5,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.833,1.332],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[-1.571,0]],"v":[[-34.027,-34.935],[4.061,-95.875],[60.061,-95.875],[60.061,-31.875],[-32.331,-31.875]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.984313726425,0.737254917622,0.015686275437,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":45,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":".number-1 .darkfill","cl":"number-1 darkfill","tt":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.16,"y":1},"o":{"x":0.84,"y":0},"n":"0p16_1_0p84_0","t":0,"s":[34.5,162,0],"e":[34.5,96.5,0],"to":[0,-10.9166669845581,0],"ti":[0,10.9166669845581,0]},{"i":{"x":0.16,"y":0.16},"o":{"x":0.84,"y":0.84},"n":"0p16_0p16_0p84_0p84","t":15,"s":[34.5,96.5,0],"e":[34.5,96.5,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.16,"y":1},"o":{"x":0.84,"y":0},"n":"0p16_1_0p84_0","t":30,"s":[34.5,96.5,0],"e":[34.5,162,0],"to":[0,10.9166669845581,0],"ti":[0,-10.9166669845581,0]},{"t":44}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.833,1.332],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[-1.571,0]],"v":[[-34.027,-34.935],[-9.065,-74.875],[4.061,-95.875],[60.061,-95.875],[60.061,-31.875],[-32.331,-31.875]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.984313726425,0.737254917622,0.015686275437,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":".darkfill","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false,"cl":"darkfill"}],"ip":0,"op":45,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":".number-1 .lightfill","cl":"number-1 lightfill","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[34.5,96.5,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[-1.85,93.625],[-1.85,-29.375],[57.15,-29.375],[57.15,93.625]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.996078431373,0.937254901961,0.764705882353,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":6,"ix":5},"lc":1,"lj":1,"ml":10,"ml2":{"a":0,"k":10,"ix":8},"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":".lightstroke","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false,"cl":"lightstroke"},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.16],"y":[1]},"o":{"x":[0.84],"y":[0]},"n":["0p16_1_0p84_0"],"t":0,"s":[100],"e":[0]},{"i":{"x":[0.16],"y":[1]},"o":{"x":[0.84],"y":[0]},"n":["0p16_1_0p84_0"],"t":15,"s":[0],"e":[0]},{"i":{"x":[0.16],"y":[1]},"o":{"x":[0.84],"y":[0]},"n":["0p16_1_0p84_0"],"t":30,"s":[0],"e":[100]},{"t":44}],"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":45,"st":0,"bm":0}],"markers":[{"tm":15,"cm":"1","dr":0},{"tm":30,"cm":"2","dr":0}]}


================================================
FILE: mobile/src/main/assets/anim/2.json
================================================
{"v":"5.4.3","fr":30,"ip":0,"op":45,"w":130,"h":193,"nm":"02","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":".number-2","cl":"number-2","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":15,"s":[69,95,0],"e":[69,95,0],"to":[0,0,0],"ti":[0,0,0]},{"t":30}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,35.346],[0,0],[
Download .txt
gitextract_nghn_xz8/

├── .github/
│   ├── ci-gradle.properties
│   └── workflows/
│       └── iosched.yaml
├── .gitignore
├── .idea/
│   └── copyright/
│       ├── iosched.xml
│       └── profiles_settings.xml
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── androidTest-shared/
│   ├── build.gradle.kts
│   └── src/
│       └── main/
│           ├── AndroidManifest.xml
│           └── java/
│               └── com/
│                   └── google/
│                       └── samples/
│                           └── apps/
│                               └── iosched/
│                                   └── androidtest/
│                                       └── util/
│                                           └── LiveDataTestUtil.kt
├── ar/
│   ├── build.gradle.kts
│   ├── consumer-proguard-rules.pro
│   └── src/
│       └── main/
│           ├── AndroidManifest.xml
│           ├── assets/
│           │   └── images.imgdb
│           ├── java/
│           │   └── com/
│           │       └── google/
│           │           └── samples/
│           │               └── apps/
│           │                   └── iosched/
│           │                       └── ar/
│           │                           └── ArActivity.kt
│           └── res/
│               └── values/
│                   └── styles.xml
├── benchmark/
│   ├── build.gradle.kts
│   └── src/
│       ├── androidTest/
│       │   ├── AndroidManifest.xml
│       │   └── java/
│       │       └── com/
│       │           └── google/
│       │               └── samples/
│       │                   └── apps/
│       │                       └── iosched/
│       │                           └── benchmark/
│       │                               ├── BootstrapConferenceDataSourceBenchmark.kt
│       │                               └── LoadAgendaUseCaseBenchmark.kt
│       └── main/
│           └── AndroidManifest.xml
├── build.gradle.kts
├── buildSrc/
│   ├── build.gradle.kts
│   └── src/
│       └── main/
│           └── java/
│               ├── Libs.kt
│               └── Versions.kt
├── build_android_release.sh
├── copyright.kt
├── debug.keystore
├── depconstraints/
│   └── build.gradle.kts
├── gradle/
│   └── wrapper/
│       ├── gradle-wrapper.jar
│       └── gradle-wrapper.properties
├── gradle.properties
├── gradlew
├── gradlew.bat
├── kokoro/
│   ├── build.sh
│   ├── continuous.cfg
│   ├── continuous.sh
│   ├── presubmit.cfg
│   └── presubmit.sh
├── macrobenchmark/
│   ├── .gitignore
│   ├── build.gradle
│   ├── consumer-rules.pro
│   ├── proguard-rules.pro
│   └── src/
│       └── main/
│           ├── AndroidManifest.xml
│           └── java/
│               └── com/
│                   └── google/
│                       └── samples/
│                           └── apps/
│                               └── iosched/
│                                   └── macrobenchmark/
│                                       ├── BaselineProfileGenerator.kt
│                                       ├── BenchmarkUtils.kt
│                                       ├── OpenDetailBenchmarks.kt
│                                       ├── ScheduleBenchmarks.kt
│                                       └── StartupBenchmarks.kt
├── mobile/
│   ├── build.gradle.kts
│   ├── google-services.json
│   ├── lint.xml
│   ├── proguard-rules-benchmark.pro
│   ├── proguard-rules.pro
│   ├── sampledata/
│   │   ├── codelabs.json
│   │   ├── day_indicator.json
│   │   ├── map_variants.json
│   │   └── tags.json
│   └── src/
│       ├── androidTest/
│       │   ├── AndroidManifest.xml
│       │   └── java/
│       │       └── com/
│       │           └── google/
│       │               └── samples/
│       │                   └── apps/
│       │                       └── iosched/
│       │                           └── tests/
│       │                               ├── CustomTestRunner.kt
│       │                               ├── FixedTimeRule.kt
│       │                               ├── MainTestApplication.kt
│       │                               ├── SetPreferencesRule.kt
│       │                               ├── di/
│       │                               │   ├── HiltExt.kt
│       │                               │   ├── TestCoroutinesModule.kt
│       │                               │   └── TestPreferencesStorageModule.kt
│       │                               ├── prefs/
│       │                               │   └── DataStorePreferenceStorageTest.kt
│       │                               └── ui/
│       │                                   ├── AgendaTest.kt
│       │                                   ├── CodelabTest.kt
│       │                                   ├── HomeTest.kt
│       │                                   ├── InfoTest.kt
│       │                                   ├── MainActivityTestRule.kt
│       │                                   ├── MapTest.kt
│       │                                   ├── ScheduleTest.kt
│       │                                   ├── SessionDetailTest.kt
│       │                                   └── SettingsTest.kt
│       ├── debugRelease/
│       │   └── java/
│       │       └── com/
│       │           └── google/
│       │               └── samples/
│       │                   └── apps/
│       │                       └── iosched/
│       │                           └── di/
│       │                               └── SignInModule.kt
│       ├── main/
│       │   ├── AndroidManifest.xml
│       │   ├── assets/
│       │   │   ├── anim/
│       │   │   │   ├── 0.json
│       │   │   │   ├── 1.json
│       │   │   │   ├── 2.json
│       │   │   │   ├── 3.json
│       │   │   │   ├── 4.json
│       │   │   │   ├── 5.json
│       │   │   │   ├── 6.json
│       │   │   │   ├── 7.json
│       │   │   │   ├── 8.json
│       │   │   │   └── 9.json
│       │   │   └── licenses.html
│       │   ├── baseline-prof.txt
│       │   ├── java/
│       │   │   └── com/
│       │   │       └── google/
│       │   │           └── samples/
│       │   │               └── apps/
│       │   │                   └── iosched/
│       │   │                       ├── MainApplication.kt
│       │   │                       ├── di/
│       │   │                       │   ├── AppModule.kt
│       │   │                       │   ├── CoroutinesModule.kt
│       │   │                       │   └── PreferencesStorageModule.kt
│       │   │                       ├── ui/
│       │   │                       │   ├── DispatchInsetsNavHostFragment.kt
│       │   │                       │   ├── LaunchViewModel.kt
│       │   │                       │   ├── LauncherActivity.kt
│       │   │                       │   ├── MainActivity.kt
│       │   │                       │   ├── MainActivityViewModel.kt
│       │   │                       │   ├── MainNavigation.kt
│       │   │                       │   ├── NavigationExtensions.kt
│       │   │                       │   ├── SectionHeader.kt
│       │   │                       │   ├── agenda/
│       │   │                       │   │   ├── AgendaAdapter.kt
│       │   │                       │   │   ├── AgendaFragment.kt
│       │   │                       │   │   ├── AgendaHeaderIndexer.kt
│       │   │                       │   │   ├── AgendaHeadersDecoration.kt
│       │   │                       │   │   ├── AgendaItemBindingAdapter.kt
│       │   │                       │   │   └── AgendaViewModel.kt
│       │   │                       │   ├── ar/
│       │   │                       │   │   ├── ArCoreNotSupportedFragment.kt
│       │   │                       │   │   └── NoNetworkConnectionFragment.kt
│       │   │                       │   ├── codelabs/
│       │   │                       │   │   ├── CodelabsActionsHandler.kt
│       │   │                       │   │   ├── CodelabsAdapter.kt
│       │   │                       │   │   ├── CodelabsFragment.kt
│       │   │                       │   │   └── CodelabsViewModel.kt
│       │   │                       │   ├── feed/
│       │   │                       │   │   ├── AnnouncementsFragment.kt
│       │   │                       │   │   ├── AnnouncementsViewModel.kt
│       │   │                       │   │   ├── FeedAdapter.kt
│       │   │                       │   │   ├── FeedAnnouncementViewBinders.kt
│       │   │                       │   │   ├── FeedFragment.kt
│       │   │                       │   │   ├── FeedHeaderViewBinders.kt
│       │   │                       │   │   ├── FeedSectionHeaderViewBinder.kt
│       │   │                       │   │   ├── FeedSessionsViewBinder.kt
│       │   │                       │   │   ├── FeedSocialChannelsSectionViewBinder.kt
│       │   │                       │   │   ├── FeedSustainabilitySectionViewBinder.kt
│       │   │                       │   │   └── FeedViewModel.kt
│       │   │                       │   ├── filters/
│       │   │                       │   │   ├── CloseableFilterChipAdapter.kt
│       │   │                       │   │   ├── FilterChip.kt
│       │   │                       │   │   ├── FiltersFragment.kt
│       │   │                       │   │   ├── FiltersViewBindingAdapters.kt
│       │   │                       │   │   ├── FiltersViewModel.kt
│       │   │                       │   │   ├── FiltersViewModelDelegateModule.kt
│       │   │                       │   │   └── SelectableFilterChipAdapter.kt
│       │   │                       │   ├── info/
│       │   │                       │   │   ├── EventFragment.kt
│       │   │                       │   │   ├── EventInfoViewModel.kt
│       │   │                       │   │   ├── FaqFragment.kt
│       │   │                       │   │   ├── InfoFragment.kt
│       │   │                       │   │   └── TravelFragment.kt
│       │   │                       │   ├── map/
│       │   │                       │   │   ├── LoadGeoJsonFeaturesUseCase.kt
│       │   │                       │   │   ├── MapFragment.kt
│       │   │                       │   │   ├── MapTileProvider.kt
│       │   │                       │   │   ├── MapUtils.kt
│       │   │                       │   │   ├── MapVariant.kt
│       │   │                       │   │   ├── MapVariantAdapter.kt
│       │   │                       │   │   ├── MapVariantSelectionDialogFragment.kt
│       │   │                       │   │   ├── MapViewBindingAdapters.kt
│       │   │                       │   │   └── MapViewModel.kt
│       │   │                       │   ├── messages/
│       │   │                       │   │   ├── SnackbarMessage.kt
│       │   │                       │   │   ├── SnackbarMessageFragmentExtensions.kt
│       │   │                       │   │   └── SnackbarMessageManager.kt
│       │   │                       │   ├── onboarding/
│       │   │                       │   │   ├── OnboardingActivity.kt
│       │   │                       │   │   ├── OnboardingFragment.kt
│       │   │                       │   │   ├── OnboardingSignInFragment.kt
│       │   │                       │   │   ├── OnboardingViewModel.kt
│       │   │                       │   │   ├── ViewPagerPager.kt
│       │   │                       │   │   ├── WelcomeDuringConferenceFragment.kt
│       │   │                       │   │   ├── WelcomePostConferenceFragment.kt
│       │   │                       │   │   └── WelcomePreConferenceFragment.kt
│       │   │                       │   ├── reservation/
│       │   │                       │   │   ├── RemoveReservationDialogFragment.kt
│       │   │                       │   │   ├── RemoveReservationViewModel.kt
│       │   │                       │   │   ├── ReservationTextView.kt
│       │   │                       │   │   ├── ReservationViewState.kt
│       │   │                       │   │   ├── ReserveButton.kt
│       │   │                       │   │   ├── StarReserveFab.kt
│       │   │                       │   │   └── SwapReservationDialogFragment.kt
│       │   │                       │   ├── schedule/
│       │   │                       │   │   ├── DayIndicator.kt
│       │   │                       │   │   ├── DayIndicatorAdapter.kt
│       │   │                       │   │   ├── DaySeparatorItemDecoration.kt
│       │   │                       │   │   ├── ScheduleFragment.kt
│       │   │                       │   │   ├── ScheduleItemBindingAdapter.kt
│       │   │                       │   │   ├── ScheduleNavigationAction.kt
│       │   │                       │   │   ├── ScheduleTimeHeadersDecoration.kt
│       │   │                       │   │   ├── ScheduleTwoPaneFragment.kt
│       │   │                       │   │   ├── ScheduleTwoPaneViewModel.kt
│       │   │                       │   │   ├── ScheduleUiHintsDialogFragment.kt
│       │   │                       │   │   ├── ScheduleViewModel.kt
│       │   │                       │   │   └── SessionHeaderIndexer.kt
│       │   │                       │   ├── search/
│       │   │                       │   │   ├── SearchFilterFragment.kt
│       │   │                       │   │   ├── SearchFragment.kt
│       │   │                       │   │   └── SearchViewModel.kt
│       │   │                       │   ├── sessioncommon/
│       │   │                       │   │   ├── EventActions.kt
│       │   │                       │   │   ├── OnSessionStarClickDelegate.kt
│       │   │                       │   │   ├── OnSessionStarClickDelegateModule.kt
│       │   │                       │   │   ├── SessionCommonExtensions.kt
│       │   │                       │   │   ├── SessionViewPoolModule.kt
│       │   │                       │   │   ├── SessionsAdapter.kt
│       │   │                       │   │   ├── TagAdapter.kt
│       │   │                       │   │   └── TagBindingAdapters.kt
│       │   │                       │   ├── sessiondetail/
│       │   │                       │   │   ├── SessionDetailAdapter.kt
│       │   │                       │   │   ├── SessionDetailDataBindingAdapters.kt
│       │   │                       │   │   ├── SessionDetailFragment.kt
│       │   │                       │   │   ├── SessionDetailNavigationAction.kt
│       │   │                       │   │   ├── SessionDetailViewModel.kt
│       │   │                       │   │   ├── SessionFeedbackFragment.kt
│       │   │                       │   │   └── SessionFeedbackViewModel.kt
│       │   │                       │   ├── settings/
│       │   │                       │   │   ├── SettingsFragment.kt
│       │   │                       │   │   ├── SettingsViewModel.kt
│       │   │                       │   │   └── ThemeSettingDialogFragment.kt
│       │   │                       │   ├── signin/
│       │   │                       │   │   ├── NotificationsPreferenceDialogFragment.kt
│       │   │                       │   │   ├── SignInDialogFragment.kt
│       │   │                       │   │   ├── SignInViewExtensions.kt
│       │   │                       │   │   ├── SignInViewModel.kt
│       │   │                       │   │   ├── SignInViewModelDelegate.kt
│       │   │                       │   │   ├── SignInViewModelDelegateModule.kt
│       │   │                       │   │   └── SignOutDialogFragment.kt
│       │   │                       │   ├── speaker/
│       │   │                       │   │   ├── SpeakerAdapter.kt
│       │   │                       │   │   ├── SpeakerBindingAdapters.kt
│       │   │                       │   │   ├── SpeakerFragment.kt
│       │   │                       │   │   └── SpeakerViewModel.kt
│       │   │                       │   └── theme/
│       │   │                       │       ├── ThemeViewModel.kt
│       │   │                       │       ├── ThemedActivityDelegate.kt
│       │   │                       │       └── ThemedActivityDelegateModule.kt
│       │   │                       ├── util/
│       │   │                       │   ├── CircularOutlineProvider.kt
│       │   │                       │   ├── CrashlyticsTree.kt
│       │   │                       │   ├── Extensions.kt
│       │   │                       │   ├── FirebaseAnalyticsHelper.kt
│       │   │                       │   ├── GlideTargets.kt
│       │   │                       │   ├── NavigationBarScrimBehavior.kt
│       │   │                       │   ├── RecyclerViewExtensions.kt
│       │   │                       │   ├── SharingStartedViews.kt
│       │   │                       │   ├── StatusBarScrimBehavior.kt
│       │   │                       │   ├── UiUtils.kt
│       │   │                       │   ├── ViewBindingAdapters.kt
│       │   │                       │   ├── WindowInsetsListeners.kt
│       │   │                       │   ├── initializers/
│       │   │                       │   │   ├── AndroidThreeTenInitializer.kt
│       │   │                       │   │   ├── StrictModeInitializer.kt
│       │   │                       │   │   └── TimberInitializer.kt
│       │   │                       │   ├── signin/
│       │   │                       │   │   ├── FirebaseAuthErrorCodeConverter.kt
│       │   │                       │   │   ├── SignInHandler.kt
│       │   │                       │   │   └── SignInResult.kt
│       │   │                       │   └── wifi/
│       │   │                       │       └── WifiInstaller.kt
│       │   │                       └── widget/
│       │   │                           ├── BottomSheetBehavior.kt
│       │   │                           ├── BubbleDecoration.kt
│       │   │                           ├── CollapsibleCard.kt
│       │   │                           ├── CountdownView.kt
│       │   │                           ├── CustomSwipeRefreshLayout.kt
│       │   │                           ├── EventCardView.kt
│       │   │                           ├── FadingSnackbar.kt
│       │   │                           ├── HashtagIoDecoration.kt
│       │   │                           ├── IoSlidingPaneLayout.kt
│       │   │                           ├── JumpSmoothScroller.kt
│       │   │                           ├── NavigationBarContentFrameLayout.kt
│       │   │                           ├── NoTouchRecyclerView.kt
│       │   │                           ├── SimpleRatingBar.kt
│       │   │                           ├── SpaceDecoration.kt
│       │   │                           └── transition/
│       │   │                               └── RotateX.kt
│       │   └── res/
│       │       ├── animator/
│       │       │   └── active_alpha.xml
│       │       ├── color/
│       │       │   ├── chip_bg.xml
│       │       │   ├── chip_stroke.xml
│       │       │   ├── map_variant_icon.xml
│       │       │   ├── map_variant_text.xml
│       │       │   ├── navigation_item_background_tint.xml
│       │       │   └── schedule_day_indicator_text.xml
│       │       ├── drawable/
│       │       │   ├── arcore_gray.xml
│       │       │   ├── asld_chip_icon.xml
│       │       │   ├── asld_reservation.xml
│       │       │   ├── asld_star_event.xml
│       │       │   ├── avd_chip_check_to_dot.xml
│       │       │   ├── avd_chip_dot_to_check.xml
│       │       │   ├── avd_pending_to_reservable.xml
│       │       │   ├── avd_pending_to_reserved.xml
│       │       │   ├── avd_pending_to_waitlisted.xml
│       │       │   ├── avd_reservable_to_pending.xml
│       │       │   ├── avd_reserved_to_pending.xml
│       │       │   ├── avd_star_event.xml
│       │       │   ├── avd_unstar_event.xml
│       │       │   ├── avd_waitlisted_to_pending.xml
│       │       │   ├── bullet_small.xml
│       │       │   ├── chip_check.xml
│       │       │   ├── chip_dot.xml
│       │       │   ├── divider_empty_margin_normal.xml
│       │       │   ├── divider_empty_margin_small.xml
│       │       │   ├── divider_slash.xml
│       │       │   ├── event_header_afterhours.xml
│       │       │   ├── event_header_codelabs.xml
│       │       │   ├── event_header_meals.xml
│       │       │   ├── event_header_office_hours.xml
│       │       │   ├── event_header_sandbox.xml
│       │       │   ├── event_header_sessions.xml
│       │       │   ├── event_narrow_afterhours.xml
│       │       │   ├── event_narrow_app_reviews1.xml
│       │       │   ├── event_narrow_app_reviews2.xml
│       │       │   ├── event_narrow_app_reviews3.xml
│       │       │   ├── event_narrow_game_reviews1.xml
│       │       │   ├── event_narrow_game_reviews2.xml
│       │       │   ├── event_narrow_game_reviews3.xml
│       │       │   ├── event_narrow_keynote.xml
│       │       │   ├── event_narrow_office_hours1.xml
│       │       │   ├── event_narrow_office_hours2.xml
│       │       │   ├── event_narrow_office_hours3.xml
│       │       │   ├── event_narrow_other.xml
│       │       │   ├── event_narrow_session1.xml
│       │       │   ├── event_narrow_session2.xml
│       │       │   ├── event_narrow_session3.xml
│       │       │   ├── event_narrow_session4.xml
│       │       │   ├── event_placeholder_keynote.xml
│       │       │   ├── event_placeholder_session1.xml
│       │       │   ├── event_placeholder_session2.xml
│       │       │   ├── event_placeholder_session3.xml
│       │       │   ├── event_placeholder_session4.xml
│       │       │   ├── fading_snackbar_background.xml
│       │       │   ├── filters_sheet_background.xml
│       │       │   ├── filters_sheet_header_shadow.xml
│       │       │   ├── generic_placeholder.xml
│       │       │   ├── hashtag_io19.xml
│       │       │   ├── ic_agenda_after_hours.xml
│       │       │   ├── ic_agenda_badge.xml
│       │       │   ├── ic_agenda_codelab.xml
│       │       │   ├── ic_agenda_concert.xml
│       │       │   ├── ic_agenda_keynote.xml
│       │       │   ├── ic_agenda_meal.xml
│       │       │   ├── ic_agenda_office_hours.xml
│       │       │   ├── ic_agenda_sandbox.xml
│       │       │   ├── ic_agenda_session.xml
│       │       │   ├── ic_agenda_store.xml
│       │       │   ├── ic_arrow_back.xml
│       │       │   ├── ic_arrow_right.xml
│       │       │   ├── ic_clear_all.xml
│       │       │   ├── ic_default_avatar_1.xml
│       │       │   ├── ic_default_avatar_2.xml
│       │       │   ├── ic_default_avatar_3.xml
│       │       │   ├── ic_default_profile_avatar.xml
│       │       │   ├── ic_expand_more.xml
│       │       │   ├── ic_feed_social_button_bg.xml
│       │       │   ├── ic_filter.xml
│       │       │   ├── ic_filter_clear.xml
│       │       │   ├── ic_launch.xml
│       │       │   ├── ic_layers.xml
│       │       │   ├── ic_login.xml
│       │       │   ├── ic_logo_assistant.xml
│       │       │   ├── ic_logo_components.xml
│       │       │   ├── ic_logo_facebook.xml
│       │       │   ├── ic_logo_google_developers.xml
│       │       │   ├── ic_logo_instagram.xml
│       │       │   ├── ic_logo_twitter.xml
│       │       │   ├── ic_logo_youtube.xml
│       │       │   ├── ic_logout.xml
│       │       │   ├── ic_map_after_dark.xml
│       │       │   ├── ic_map_concert.xml
│       │       │   ├── ic_map_daytime.xml
│       │       │   ├── ic_menu.xml
│       │       │   ├── ic_my_location.xml
│       │       │   ├── ic_nav_agenda.xml
│       │       │   ├── ic_nav_codelabs.xml
│       │       │   ├── ic_nav_home.xml
│       │       │   ├── ic_nav_info.xml
│       │       │   ├── ic_nav_map.xml
│       │       │   ├── ic_nav_schedule.xml
│       │       │   ├── ic_nav_settings.xml
│       │       │   ├── ic_nav_signpost.xml
│       │       │   ├── ic_play.xml
│       │       │   ├── ic_play_circle_outline.xml
│       │       │   ├── ic_question_answer.xml
│       │       │   ├── ic_reservable.xml
│       │       │   ├── ic_reservation.xml
│       │       │   ├── ic_reservation_disabled.xml
│       │       │   ├── ic_reservation_pending.xml
│       │       │   ├── ic_reserved.xml
│       │       │   ├── ic_search.xml
│       │       │   ├── ic_share.xml
│       │       │   ├── ic_sustainability_art.xml
│       │       │   ├── ic_tune.xml
│       │       │   ├── ic_waitlist_available.xml
│       │       │   ├── ic_waitlisted.xml
│       │       │   ├── io_logo_color.xml
│       │       │   ├── list_divider.xml
│       │       │   ├── map_marker_1.xml
│       │       │   ├── map_marker_2.xml
│       │       │   ├── map_marker_3.xml
│       │       │   ├── map_marker_4.xml
│       │       │   ├── map_marker_5.xml
│       │       │   ├── map_marker_6.xml
│       │       │   ├── map_marker_7.xml
│       │       │   ├── map_marker_8.xml
│       │       │   ├── map_marker_a.xml
│       │       │   ├── map_marker_b.xml
│       │       │   ├── map_marker_bike.xml
│       │       │   ├── map_marker_c.xml
│       │       │   ├── map_marker_charging.xml
│       │       │   ├── map_marker_d.xml
│       │       │   ├── map_marker_drink.xml
│       │       │   ├── map_marker_e.xml
│       │       │   ├── map_marker_f.xml
│       │       │   ├── map_marker_food.xml
│       │       │   ├── map_marker_g.xml
│       │       │   ├── map_marker_h.xml
│       │       │   ├── map_marker_handicap.xml
│       │       │   ├── map_marker_i.xml
│       │       │   ├── map_marker_info.xml
│       │       │   ├── map_marker_label_background.xml
│       │       │   ├── map_marker_lounge.xml
│       │       │   ├── map_marker_medical.xml
│       │       │   ├── map_marker_mothers_room.xml
│       │       │   ├── map_marker_parking.xml
│       │       │   ├── map_marker_restroom.xml
│       │       │   ├── map_marker_rideshare.xml
│       │       │   ├── map_marker_service_dog.xml
│       │       │   ├── map_marker_shuttle.xml
│       │       │   ├── map_marker_star.xml
│       │       │   ├── map_marker_store.xml
│       │       │   ├── map_marker_water.xml
│       │       │   ├── navigation_item_background.xml
│       │       │   ├── no_items_found_204.xml
│       │       │   ├── onboarding_io_19.xml
│       │       │   ├── onboarding_io_date_2019.xml
│       │       │   ├── onboarding_schedule.xml
│       │       │   ├── page_margin.xml
│       │       │   ├── preview_window.xml
│       │       │   ├── signal_wifi_off.xml
│       │       │   ├── tab_indicator.xml
│       │       │   └── unrated_thumb.xml
│       │       ├── drawable-anydpi-v23/
│       │       │   ├── preview_window.xml
│       │       │   └── preview_window_logo.xml
│       │       ├── layout/
│       │       │   ├── activity_main.xml
│       │       │   ├── activity_onboarding.xml
│       │       │   ├── activity_session_detail.xml
│       │       │   ├── collapsible_card_content.xml
│       │       │   ├── countdown.xml
│       │       │   ├── dialog_schedule_hints.xml
│       │       │   ├── dialog_sign_in.xml
│       │       │   ├── dialog_sign_out.xml
│       │       │   ├── event_card_content.xml
│       │       │   ├── fading_snackbar_layout.xml
│       │       │   ├── fragment_agenda.xml
│       │       │   ├── fragment_announcements.xml
│       │       │   ├── fragment_arcore_not_supported.xml
│       │       │   ├── fragment_codelabs.xml
│       │       │   ├── fragment_feed.xml
│       │       │   ├── fragment_filters.xml
│       │       │   ├── fragment_info.xml
│       │       │   ├── fragment_info_event.xml
│       │       │   ├── fragment_info_faq.xml
│       │       │   ├── fragment_info_travel.xml
│       │       │   ├── fragment_map.xml
│       │       │   ├── fragment_map_variant_select.xml
│       │       │   ├── fragment_no_network.xml
│       │       │   ├── fragment_onboarding.xml
│       │       │   ├── fragment_onboarding_signin.xml
│       │       │   ├── fragment_onboarding_welcome_during.xml
│       │       │   ├── fragment_onboarding_welcome_post.xml
│       │       │   ├── fragment_onboarding_welcome_pre.xml
│       │       │   ├── fragment_schedule.xml
│       │       │   ├── fragment_schedule_two_pane.xml
│       │       │   ├── fragment_search.xml
│       │       │   ├── fragment_session_detail.xml
│       │       │   ├── fragment_session_feedback.xml
│       │       │   ├── fragment_settings.xml
│       │       │   ├── fragment_speaker.xml
│       │       │   ├── include_agenda_contents.xml
│       │       │   ├── info_wifi_card.xml
│       │       │   ├── item_agenda_dark.xml
│       │       │   ├── item_agenda_light.xml
│       │       │   ├── item_codelab.xml
│       │       │   ├── item_codelabs_information_card.xml
│       │       │   ├── item_feed_announcement.xml
│       │       │   ├── item_feed_announcements_empty.xml
│       │       │   ├── item_feed_announcements_header.xml
│       │       │   ├── item_feed_announcements_loading.xml
│       │       │   ├── item_feed_countdown.xml
│       │       │   ├── item_feed_moment.xml
│       │       │   ├── item_feed_session.xml
│       │       │   ├── item_feed_sessions_container.xml
│       │       │   ├── item_feed_social_channels.xml
│       │       │   ├── item_feed_sustainability.xml
│       │       │   ├── item_filter_chip_closeable.xml
│       │       │   ├── item_filter_chip_selectable.xml
│       │       │   ├── item_generic_section_header.xml
│       │       │   ├── item_inline_tag.xml
│       │       │   ├── item_map_variant.xml
│       │       │   ├── item_question.xml
│       │       │   ├── item_schedule_day_indicator.xml
│       │       │   ├── item_session.xml
│       │       │   ├── item_session_info.xml
│       │       │   ├── item_speaker.xml
│       │       │   ├── item_speaker_info.xml
│       │       │   ├── navigation_header.xml
│       │       │   ├── navigation_rail_header.xml
│       │       │   ├── search_active_filters_narrow.xml
│       │       │   └── search_active_filters_wide.xml
│       │       ├── layout-w500dp/
│       │       │   └── event_card_content.xml
│       │       ├── layout-w720dp/
│       │       │   └── activity_main.xml
│       │       ├── layout-w840dp/
│       │       │   └── item_codelab.xml
│       │       ├── menu/
│       │       │   ├── bar_navigation.xml
│       │       │   ├── codelabs_menu.xml
│       │       │   ├── drawer_navigation.xml
│       │       │   ├── map_menu.xml
│       │       │   ├── profile.xml
│       │       │   ├── schedule_menu.xml
│       │       │   ├── search_menu.xml
│       │       │   └── session_detail_menu.xml
│       │       ├── navigation/
│       │       │   ├── nav_graph.xml
│       │       │   ├── schedule_detail.xml
│       │       │   └── schedule_list.xml
│       │       ├── raw/
│       │       │   ├── map_markers_concert.json
│       │       │   ├── map_markers_day.json
│       │       │   ├── map_markers_night.json
│       │       │   ├── map_style_day.json
│       │       │   └── map_style_night.json
│       │       ├── transition/
│       │       │   ├── codelab_toggle.xml
│       │       │   ├── info_card_toggle.xml
│       │       │   └── speaker_shared_enter.xml
│       │       ├── values/
│       │       │   ├── attrs.xml
│       │       │   ├── colors.xml
│       │       │   ├── config.xml
│       │       │   ├── dimens.xml
│       │       │   ├── donottranslate.xml
│       │       │   ├── ids.xml
│       │       │   ├── strings.xml
│       │       │   ├── styles.xml
│       │       │   └── themes.xml
│       │       ├── values-ar/
│       │       │   └── strings.xml
│       │       ├── values-ar-rEG/
│       │       │   └── strings.xml
│       │       ├── values-ar-rSA/
│       │       │   └── strings.xml
│       │       ├── values-de/
│       │       │   └── strings.xml
│       │       ├── values-de-rAT/
│       │       │   └── strings.xml
│       │       ├── values-de-rCH/
│       │       │   └── strings.xml
│       │       ├── values-es-rAR/
│       │       │   └── strings.xml
│       │       ├── values-es-rBO/
│       │       │   └── strings.xml
│       │       ├── values-es-rCL/
│       │       │   └── strings.xml
│       │       ├── values-es-rCO/
│       │       │   └── strings.xml
│       │       ├── values-es-rCR/
│       │       │   └── strings.xml
│       │       ├── values-es-rDO/
│       │       │   └── strings.xml
│       │       ├── values-es-rEC/
│       │       │   └── strings.xml
│       │       ├── values-es-rGT/
│       │       │   └── strings.xml
│       │       ├── values-es-rHN/
│       │       │   └── strings.xml
│       │       ├── values-es-rMX/
│       │       │   └── strings.xml
│       │       ├── values-es-rNI/
│       │       │   └── strings.xml
│       │       ├── values-es-rPA/
│       │       │   └── strings.xml
│       │       ├── values-es-rPE/
│       │       │   └── strings.xml
│       │       ├── values-es-rPR/
│       │       │   └── strings.xml
│       │       ├── values-es-rPY/
│       │       │   └── strings.xml
│       │       ├── values-es-rSV/
│       │       │   └── strings.xml
│       │       ├── values-es-rUS/
│       │       │   └── strings.xml
│       │       ├── values-es-rUY/
│       │       │   └── strings.xml
│       │       ├── values-es-rVE/
│       │       │   └── strings.xml
│       │       ├── values-fa/
│       │       │   └── strings.xml
│       │       ├── values-fr/
│       │       │   └── strings.xml
│       │       ├── values-fr-rCH/
│       │       │   └── strings.xml
│       │       ├── values-gsw/
│       │       │   └── strings.xml
│       │       ├── values-h600dp/
│       │       │   └── dimens.xml
│       │       ├── values-it/
│       │       │   └── strings.xml
│       │       ├── values-ja/
│       │       │   └── strings.xml
│       │       ├── values-ko/
│       │       │   └── strings.xml
│       │       ├── values-land/
│       │       │   └── strings.xml
│       │       ├── values-ldrtl/
│       │       │   └── dimens.xml
│       │       ├── values-ln/
│       │       │   └── strings.xml
│       │       ├── values-night/
│       │       │   └── colors.xml
│       │       ├── values-notnight-v23/
│       │       │   ├── colors.xml
│       │       │   └── config.xml
│       │       ├── values-notnight-v27/
│       │       │   ├── colors.xml
│       │       │   └── config.xml
│       │       ├── values-pt/
│       │       │   └── strings.xml
│       │       ├── values-pt-rBR/
│       │       │   └── strings.xml
│       │       ├── values-ru/
│       │       │   └── strings.xml
│       │       ├── values-sw384dp/
│       │       │   └── dimens.xml
│       │       ├── values-th/
│       │       │   └── strings.xml
│       │       ├── values-v29/
│       │       │   └── themes.xml
│       │       ├── values-vi/
│       │       │   └── strings.xml
│       │       ├── values-w1024dp/
│       │       │   └── dimens.xml
│       │       ├── values-w500dp/
│       │       │   └── dimens.xml
│       │       ├── values-w600dp/
│       │       │   └── dimens.xml
│       │       ├── values-w840dp/
│       │       │   ├── dimens.xml
│       │       │   ├── donottranslate.xml
│       │       │   └── styles.xml
│       │       ├── values-zh/
│       │       │   └── strings.xml
│       │       ├── values-zh-rCN/
│       │       │   └── strings.xml
│       │       ├── values-zh-rHK/
│       │       │   └── strings.xml
│       │       └── values-zh-rTW/
│       │           └── strings.xml
│       ├── release/
│       │   └── google-services.json
│       ├── staging/
│       │   ├── AndroidManifest.xml
│       │   └── java/
│       │       └── com/
│       │           └── google/
│       │               └── samples/
│       │                   └── apps/
│       │                       └── iosched/
│       │                           ├── di/
│       │                           │   └── SignInModule.kt
│       │                           ├── shared/
│       │                           │   └── data/
│       │                           │       └── login/
│       │                           │           ├── StagingSignInHandler.kt
│       │                           │           └── datasources/
│       │                           │               └── StagingUserDataSources.kt
│       │                           └── test/
│       │                               └── HiltTestActivity.kt
│       └── test/
│           └── java/
│               └── com/
│                   └── google/
│                       └── samples/
│                           └── apps/
│                               └── iosched/
│                                   ├── model/
│                                   │   └── MobileTestData.kt
│                                   ├── test/
│                                   │   └── util/
│                                   │       ├── fakes/
│                                   │       │   ├── FakeAnalyticsHelper.kt
│                                   │       │   ├── FakeAppDatabase.kt
│                                   │       │   ├── FakeConferenceDataSource.kt
│                                   │       │   ├── FakeOnSessionStarClickDelegate.kt
│                                   │       │   ├── FakePreferenceStorage.kt
│                                   │       │   ├── FakeSignInViewModelDelegate.kt
│                                   │       │   ├── FakeStarEventUseCase.kt
│                                   │       │   └── FakeThemedActivityDelegate.kt
│                                   │       └── time/
│                                   │           └── FixedTimeProvider.kt
│                                   ├── ui/
│                                   │   ├── LaunchViewModelTest.kt
│                                   │   ├── MainActivityViewModelTest.kt
│                                   │   ├── agenda/
│                                   │   │   ├── AgendaHeaderIndexerTest.kt
│                                   │   │   └── AgendaViewModelTest.kt
│                                   │   ├── codelabs/
│                                   │   │   └── CodelabsViewModelTest.kt
│                                   │   ├── feed/
│                                   │   │   ├── FeedViewModelTest.kt
│                                   │   │   ├── TestAnnouncementDataSource.kt
│                                   │   │   └── TestMomentDataSource.kt
│                                   │   ├── filters/
│                                   │   │   └── FiltersViewModelTest.kt
│                                   │   ├── map/
│                                   │   │   ├── MapVariantTest.kt
│                                   │   │   └── MapViewModelTest.kt
│                                   │   ├── messages/
│                                   │   │   └── SnackbarMessageManagerTest.kt
│                                   │   ├── onboarding/
│                                   │   │   └── OnboardingViewModelTest.kt
│                                   │   ├── reservation/
│                                   │   │   └── RemoveReservationViewModelTest.kt
│                                   │   ├── schedule/
│                                   │   │   ├── MarkScheduleUiHintsShownUseCaseTest.kt
│                                   │   │   ├── ScheduleViewModelTest.kt
│                                   │   │   ├── SessionHeaderIndexerTest.kt
│                                   │   │   └── TestUserEventDataSource.kt
│                                   │   ├── sessioncommon/
│                                   │   │   └── OnSessionStarClickDelegateTest.kt
│                                   │   ├── sessiondetail/
│                                   │   │   ├── SessionDetailViewModelTest.kt
│                                   │   │   └── SessionFeedbackViewModelTest.kt
│                                   │   ├── settings/
│                                   │   │   └── SettingsViewModelTest.kt
│                                   │   ├── signin/
│                                   │   │   ├── FirebaseSignInViewModelDelegateTest.kt
│                                   │   │   └── SignInViewModelTest.kt
│                                   │   └── speaker/
│                                   │       └── SpeakerViewModelTest.kt
│                                   └── util/
│                                       ├── WifiConfigurationStringsTest.kt
│                                       └── signin/
│                                           └── FirebaseAuthErrorCodeConverterTest.kt
├── model/
│   ├── build.gradle.kts
│   └── src/
│       └── main/
│           └── java/
│               └── com/
│                   └── google/
│                       └── samples/
│                           └── apps/
│                               └── iosched/
│                                   └── model/
│                                       ├── Announcement.kt
│                                       ├── Block.kt
│                                       ├── Codelab.kt
│                                       ├── ConferenceData.kt
│                                       ├── ConferenceDay.kt
│                                       ├── ConferenceWifiInfo.kt
│                                       ├── Moment.kt
│                                       ├── Room.kt
│                                       ├── Session.kt
│                                       ├── Speaker.kt
│                                       ├── Tag.kt
│                                       ├── Theme.kt
│                                       ├── User.kt
│                                       ├── filters/
│                                       │   └── Filter.kt
│                                       ├── reservations/
│                                       │   ├── ReservationRequest.kt
│                                       │   └── ReservationRequestResult.kt
│                                       ├── schedule/
│                                       │   └── PinnedSessionsSchedule.kt
│                                       └── userdata/
│                                           ├── UserEvent.kt
│                                           └── UserSession.kt
├── playstore/
│   ├── listing_ar.txt
│   ├── listing_de.txt
│   ├── listing_en.txt
│   ├── listing_es-rES.txt
│   ├── listing_fr.txt
│   ├── listing_it.txt
│   ├── listing_ja.txt
│   ├── listing_ko.txt
│   ├── listing_pt-rBR.txt
│   ├── listing_ru-rRU.txt
│   ├── listing_zh-rCN.txt
│   ├── src/
│   │   └── main/
│   │       └── res/
│   │           ├── values/
│   │           │   └── strings.xml
│   │           ├── values-ar/
│   │           │   └── strings.xml
│   │           ├── values-ar-rEG/
│   │           │   └── strings.xml
│   │           ├── values-ar-rSA/
│   │           │   └── strings.xml
│   │           ├── values-de/
│   │           │   └── strings.xml
│   │           ├── values-de-rAT/
│   │           │   └── strings.xml
│   │           ├── values-de-rCH/
│   │           │   └── strings.xml
│   │           ├── values-es-rAR/
│   │           │   └── strings.xml
│   │           ├── values-es-rBO/
│   │           │   └── strings.xml
│   │           ├── values-es-rCL/
│   │           │   └── strings.xml
│   │           ├── values-es-rCO/
│   │           │   └── strings.xml
│   │           ├── values-es-rCR/
│   │           │   └── strings.xml
│   │           ├── values-es-rDO/
│   │           │   └── strings.xml
│   │           ├── values-es-rEC/
│   │           │   └── strings.xml
│   │           ├── values-es-rGT/
│   │           │   └── strings.xml
│   │           ├── values-es-rHN/
│   │           │   └── strings.xml
│   │           ├── values-es-rMX/
│   │           │   └── strings.xml
│   │           ├── values-es-rNI/
│   │           │   └── strings.xml
│   │           ├── values-es-rPA/
│   │           │   └── strings.xml
│   │           ├── values-es-rPE/
│   │           │   └── strings.xml
│   │           ├── values-es-rPR/
│   │           │   └── strings.xml
│   │           ├── values-es-rPY/
│   │           │   └── strings.xml
│   │           ├── values-es-rSV/
│   │           │   └── strings.xml
│   │           ├── values-es-rUS/
│   │           │   └── strings.xml
│   │           ├── values-es-rUY/
│   │           │   └── strings.xml
│   │           ├── values-es-rVE/
│   │           │   └── strings.xml
│   │           ├── values-fa/
│   │           │   └── strings.xml
│   │           ├── values-fr/
│   │           │   └── strings.xml
│   │           ├── values-fr-rCH/
│   │           │   └── strings.xml
│   │           ├── values-gsw/
│   │           │   └── strings.xml
│   │           ├── values-it/
│   │           │   └── strings.xml
│   │           ├── values-ja/
│   │           │   └── strings.xml
│   │           ├── values-ko/
│   │           │   └── strings.xml
│   │           ├── values-ln/
│   │           │   └── strings.xml
│   │           ├── values-pt/
│   │           │   └── strings.xml
│   │           ├── values-pt-rBR/
│   │           │   └── strings.xml
│   │           ├── values-ru/
│   │           │   └── strings.xml
│   │           ├── values-th/
│   │           │   └── strings.xml
│   │           ├── values-vi/
│   │           │   └── strings.xml
│   │           ├── values-zh/
│   │           │   └── strings.xml
│   │           ├── values-zh-rCN/
│   │           │   └── strings.xml
│   │           ├── values-zh-rHK/
│   │           │   └── strings.xml
│   │           └── values-zh-rTW/
│   │               └── strings.xml
│   └── storelisting_zh-TW.txt
├── settings.gradle.kts
├── shared/
│   ├── build.gradle.kts
│   ├── consumer-proguard-rules.pro
│   ├── google-services.json
│   └── src/
│       ├── debugRelease/
│       │   └── java/
│       │       └── com/
│       │           └── google/
│       │               └── samples/
│       │                   └── apps/
│       │                       └── iosched/
│       │                           └── shared/
│       │                               └── di/
│       │                                   └── SharedModule.kt
│       ├── main/
│       │   ├── AndroidManifest.xml
│       │   ├── java/
│       │   │   └── com/
│       │   │       └── google/
│       │   │           └── samples/
│       │   │               └── apps/
│       │   │                   └── iosched/
│       │   │                       └── shared/
│       │   │                           ├── analytics/
│       │   │                           │   └── AnalyticsHelper.kt
│       │   │                           ├── data/
│       │   │                           │   ├── BootstrapConferenceDataSource.kt
│       │   │                           │   ├── ConferenceDataDownloader.kt
│       │   │                           │   ├── ConferenceDataJsonParser.kt
│       │   │                           │   ├── ConferenceDataRepository.kt
│       │   │                           │   ├── ConferenceDataSource.kt
│       │   │                           │   ├── FirestoreExtensions.kt
│       │   │                           │   ├── NetworkConferenceDataSource.kt
│       │   │                           │   ├── agenda/
│       │   │                           │   │   ├── AgendaBlocks.kt
│       │   │                           │   │   └── AgendaRepository.kt
│       │   │                           │   ├── ar/
│       │   │                           │   │   └── ArDebugFlagEndpoint.kt
│       │   │                           │   ├── codelabs/
│       │   │                           │   │   └── CodelabsRepository.kt
│       │   │                           │   ├── config/
│       │   │                           │   │   ├── AppConfigDataSource.kt
│       │   │                           │   │   └── RemoteAppConfigDataSource.kt
│       │   │                           │   ├── db/
│       │   │                           │   │   ├── AppDatabase.kt
│       │   │                           │   │   ├── CodelabFtsDao.kt
│       │   │                           │   │   ├── CodelabFtsEntity.kt
│       │   │                           │   │   ├── SessionFtsDao.kt
│       │   │                           │   │   ├── SessionFtsEntity.kt
│       │   │                           │   │   ├── SpeakerFtsDao.kt
│       │   │                           │   │   └── SpeakerFtsEntity.kt
│       │   │                           │   ├── feed/
│       │   │                           │   │   ├── DefaultFeedRepository.kt
│       │   │                           │   │   ├── FirestoreAnnouncementDataSource.kt
│       │   │                           │   │   └── FirestoreMomentDataSource.kt
│       │   │                           │   ├── feedback/
│       │   │                           │   │   └── FeedbackEndpoint.kt
│       │   │                           │   ├── job/
│       │   │                           │   │   └── ConferenceDataService.kt
│       │   │                           │   ├── prefs/
│       │   │                           │   │   └── PreferenceStorage.kt
│       │   │                           │   ├── session/
│       │   │                           │   │   ├── SessionRepository.kt
│       │   │                           │   │   └── json/
│       │   │                           │   │       ├── CodelabDeserializer.kt
│       │   │                           │   │       ├── CodelabTemp.kt
│       │   │                           │   │       ├── ColorDeserializer.kt
│       │   │                           │   │       ├── DeserializerUtils.kt
│       │   │                           │   │       ├── RoomDeserializer.kt
│       │   │                           │   │       ├── SessionDeserializer.kt
│       │   │                           │   │       ├── SessionTemp.kt
│       │   │                           │   │       ├── SpeakerDeserializer.kt
│       │   │                           │   │       └── TagDeserializer.kt
│       │   │                           │   ├── signin/
│       │   │                           │   │   ├── AuthenticatedUserInfo.kt
│       │   │                           │   │   ├── AuthenticatedUserRegistration.kt
│       │   │                           │   │   ├── FirebaseRegisteredUserInfo.kt
│       │   │                           │   │   └── datasources/
│       │   │                           │   │       ├── AuthIdDataSource.kt
│       │   │                           │   │       ├── AuthStateUserDataSource.kt
│       │   │                           │   │       ├── FirebaseAuthStateUserDataSource.kt
│       │   │                           │   │       ├── FirestoreRegisteredUserDataSource.kt
│       │   │                           │   │       └── RegisteredUserDataSource.kt
│       │   │                           │   ├── tag/
│       │   │                           │   │   ├── TagDataSource.kt
│       │   │                           │   │   └── TagRepository.kt
│       │   │                           │   └── userevent/
│       │   │                           │       ├── DefaultSessionAndUserEventRepository.kt
│       │   │                           │       ├── FirestoreUserEventDataSource.kt
│       │   │                           │       ├── FirestoreUserEventParser.kt
│       │   │                           │       ├── UserEventDataSource.kt
│       │   │                           │       └── UserEventsMessageGenerator.kt
│       │   │                           ├── di/
│       │   │                           │   ├── CoroutinesQualifiers.kt
│       │   │                           │   ├── FeatureFlagAnnotations.kt
│       │   │                           │   ├── FeatureFlagsModule.kt
│       │   │                           │   └── MainThreadHandler.kt
│       │   │                           ├── domain/
│       │   │                           │   ├── CoroutineUseCase.kt
│       │   │                           │   ├── FlowUseCase.kt
│       │   │                           │   ├── MediatorUseCase.kt
│       │   │                           │   ├── RefreshConferenceDataUseCase.kt
│       │   │                           │   ├── agenda/
│       │   │                           │   │   └── LoadAgendaUseCase.kt
│       │   │                           │   ├── ar/
│       │   │                           │   │   ├── ArConstants.kt
│       │   │                           │   │   └── LoadArDebugFlagUseCase.kt
│       │   │                           │   ├── auth/
│       │   │                           │   │   └── ObserveUserAuthStateUseCase.kt
│       │   │                           │   ├── codelabs/
│       │   │                           │   │   ├── GetCodelabsInfoCardShownUseCase.kt
│       │   │                           │   │   ├── LoadCodelabsUseCase.kt
│       │   │                           │   │   └── SetCodelabsInfoCardShownUseCase.kt
│       │   │                           │   ├── feed/
│       │   │                           │   │   ├── GetConferenceStateUseCase.kt
│       │   │                           │   │   ├── LoadAnnouncementsUseCase.kt
│       │   │                           │   │   └── LoadCurrentMomentUseCase.kt
│       │   │                           │   ├── filters/
│       │   │                           │   │   └── UserSessionFilterMatcher.kt
│       │   │                           │   ├── internal/
│       │   │                           │   │   └── IOSchedHandler.kt
│       │   │                           │   ├── logistics/
│       │   │                           │   │   └── LoadWifiInfoUseCase.kt
│       │   │                           │   ├── prefs/
│       │   │                           │   │   ├── MarkScheduleUiHintsShownUseCase.kt
│       │   │                           │   │   ├── MyLocationOptedInUseCase.kt
│       │   │                           │   │   ├── NotificationsPrefIsShownUseCase.kt
│       │   │                           │   │   ├── NotificationsPrefSaveActionUseCase.kt
│       │   │                           │   │   ├── NotificationsPrefShownActionUseCase.kt
│       │   │                           │   │   ├── OnboardingCompleteActionUseCase.kt
│       │   │                           │   │   ├── OnboardingCompletedUseCase.kt
│       │   │                           │   │   ├── OptIntoMyLocationUseCase.kt
│       │   │                           │   │   ├── ScheduleUiHintsShownUseCase.kt
│       │   │                           │   │   └── StopSnackbarActionUseCase.kt
│       │   │                           │   ├── search/
│       │   │                           │   │   ├── LoadSearchFiltersUseCase.kt
│       │   │                           │   │   ├── Searchable.kt
│       │   │                           │   │   ├── SessionSearchUseCase.kt
│       │   │                           │   │   └── SessionTextMatchStrategy.kt
│       │   │                           │   ├── sessions/
│       │   │                           │   │   ├── ConferenceDayIndexer.kt
│       │   │                           │   │   ├── GetConferenceDaysUseCase.kt
│       │   │                           │   │   ├── LoadPinnedSessionsJsonUseCase.kt
│       │   │                           │   │   ├── LoadScheduleUserSessionsUseCase.kt
│       │   │                           │   │   ├── LoadSessionOneShotUseCase.kt
│       │   │                           │   │   ├── LoadSessionUseCase.kt
│       │   │                           │   │   ├── LoadStarredAndReservedSessionsUseCase.kt
│       │   │                           │   │   ├── LoadUserSessionOneShotUseCase.kt
│       │   │                           │   │   ├── LoadUserSessionUseCase.kt
│       │   │                           │   │   ├── LoadUserSessionsUseCase.kt
│       │   │                           │   │   ├── NotificationAlarmUpdater.kt
│       │   │                           │   │   └── ObserveConferenceDataUseCase.kt
│       │   │                           │   ├── settings/
│       │   │                           │   │   ├── GetAnalyticsSettingUseCase.kt
│       │   │                           │   │   ├── GetAvailableThemesUseCase.kt
│       │   │                           │   │   ├── GetNotificationsSettingUseCase.kt
│       │   │                           │   │   ├── GetThemeUseCase.kt
│       │   │                           │   │   ├── GetTimeZoneUseCase.kt
│       │   │                           │   │   ├── ObserveThemeModeUseCase.kt
│       │   │                           │   │   ├── SetAnalyticsSettingUseCase.kt
│       │   │                           │   │   ├── SetThemeUseCase.kt
│       │   │                           │   │   └── SetTimeZoneUseCase.kt
│       │   │                           │   ├── speakers/
│       │   │                           │   │   └── LoadSpeakerSessionsUseCase.kt
│       │   │                           │   └── users/
│       │   │                           │       ├── FeedbackUseCase.kt
│       │   │                           │       ├── ReservationActionUseCase.kt
│       │   │                           │       ├── StarEventAndNotifyUseCase.kt
│       │   │                           │       └── SwapActionUseCase.kt
│       │   │                           ├── fcm/
│       │   │                           │   ├── FcmTokenUpdater.kt
│       │   │                           │   ├── FcmTopicSubscriber.kt
│       │   │                           │   ├── IoschedFirebaseMessagingService.kt
│       │   │                           │   └── TopicSubscriber.kt
│       │   │                           ├── notifications/
│       │   │                           │   ├── AlarmBroadcastReceiver.kt
│       │   │                           │   ├── CancelNotificationBroadcastReceiver.kt
│       │   │                           │   └── SessionAlarmManager.kt
│       │   │                           ├── result/
│       │   │                           │   ├── Event.kt
│       │   │                           │   └── Result.kt
│       │   │                           ├── time/
│       │   │                           │   └── DefaultTimeProvider.kt
│       │   │                           └── util/
│       │   │                               ├── ColorUtils.kt
│       │   │                               ├── Extensions.kt
│       │   │                               ├── NetworkUtils.kt
│       │   │                               ├── SpeakerUtils.kt
│       │   │                               └── TimeUtils.kt
│       │   ├── res/
│       │   │   ├── drawable/
│       │   │   │   ├── ic_default_avatar.xml
│       │   │   │   ├── ic_event.xml
│       │   │   │   ├── ic_launcher_background.xml
│       │   │   │   ├── ic_livestreamed.xml
│       │   │   │   ├── ic_notification_io_logo.xml
│       │   │   │   ├── ic_star.xml
│       │   │   │   ├── ic_star_border.xml
│       │   │   │   └── tag_dot.xml
│       │   │   ├── drawable-v24/
│       │   │   │   └── ic_launcher_foreground.xml
│       │   │   ├── font/
│       │   │   │   ├── google_sans.xml
│       │   │   │   └── google_sans_medium.xml
│       │   │   ├── mipmap-anydpi-v26/
│       │   │   │   └── ic_launcher.xml
│       │   │   ├── values/
│       │   │   │   ├── colors.xml
│       │   │   │   ├── dimens.xml
│       │   │   │   ├── font_certs.xml
│       │   │   │   ├── preloaded_fonts.xml
│       │   │   │   └── strings.xml
│       │   │   ├── values-ar/
│       │   │   │   └── strings.xml
│       │   │   ├── values-ar-rEG/
│       │   │   │   └── strings.xml
│       │   │   ├── values-ar-rSA/
│       │   │   │   └── strings.xml
│       │   │   ├── values-de/
│       │   │   │   └── strings.xml
│       │   │   ├── values-de-rAT/
│       │   │   │   └── strings.xml
│       │   │   ├── values-de-rCH/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rAR/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rBO/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rCL/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rCO/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rCR/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rDO/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rEC/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rGT/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rHN/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rMX/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rNI/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rPA/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rPE/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rPR/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rPY/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rSV/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rUS/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rUY/
│       │   │   │   └── strings.xml
│       │   │   ├── values-es-rVE/
│       │   │   │   └── strings.xml
│       │   │   ├── values-fa/
│       │   │   │   └── strings.xml
│       │   │   ├── values-fr/
│       │   │   │   └── strings.xml
│       │   │   ├── values-fr-rCH/
│       │   │   │   └── strings.xml
│       │   │   ├── values-gsw/
│       │   │   │   └── strings.xml
│       │   │   ├── values-it/
│       │   │   │   └── strings.xml
│       │   │   ├── values-ja/
│       │   │   │   └── strings.xml
│       │   │   ├── values-ko/
│       │   │   │   └── strings.xml
│       │   │   ├── values-ln/
│       │   │   │   └── strings.xml
│       │   │   ├── values-pt/
│       │   │   │   └── strings.xml
│       │   │   ├── values-pt-rBR/
│       │   │   │   └── strings.xml
│       │   │   ├── values-ru/
│       │   │   │   └── strings.xml
│       │   │   ├── values-th/
│       │   │   │   └── strings.xml
│       │   │   ├── values-vi/
│       │   │   │   └── strings.xml
│       │   │   ├── values-zh/
│       │   │   │   └── strings.xml
│       │   │   ├── values-zh-rCN/
│       │   │   │   └── strings.xml
│       │   │   ├── values-zh-rHK/
│       │   │   │   └── strings.xml
│       │   │   ├── values-zh-rTW/
│       │   │   │   └── strings.xml
│       │   │   └── xml/
│       │   │       └── remote_config_defaults.xml
│       │   └── resources/
│       │       └── conference_data_2019.json
│       ├── release/
│       │   └── google-services.json
│       ├── staging/
│       │   ├── java/
│       │   │   └── com/
│       │   │       └── google/
│       │   │           └── samples/
│       │   │               └── apps/
│       │   │                   └── iosched/
│       │   │                       └── shared/
│       │   │                           ├── data/
│       │   │                           │   ├── FakeAnnouncementDataSource.kt
│       │   │                           │   ├── FakeAppConfigDataSource.kt
│       │   │                           │   ├── FakeConferenceDataSource.kt
│       │   │                           │   ├── FakeFeedbackEndpoint.kt
│       │   │                           │   ├── ar/
│       │   │                           │   │   └── FakeArDebugFlagEndpoint.kt
│       │   │                           │   ├── feed/
│       │   │                           │   │   └── FakeMomentDataSource.kt
│       │   │                           │   └── userevent/
│       │   │                           │       └── FakeUserEventDataSource.kt
│       │   │                           ├── di/
│       │   │                           │   └── SharedModule.kt
│       │   │                           └── fcm/
│       │   │                               └── StagingTopicSubscriber.kt
│       │   └── res/
│       │       └── drawable/
│       │           └── staging_user_profile.xml
│       └── test/
│           ├── java/
│           │   └── com/
│           │       └── google/
│           │           └── samples/
│           │               └── apps/
│           │                   └── iosched/
│           │                       ├── firestore/
│           │                       │   └── entity/
│           │                       │       ├── ReservationRequestResultTest.kt
│           │                       │       └── UserEventTest.kt
│           │                       ├── shared/
│           │                       │   ├── data/
│           │                       │   │   ├── BootstrapConferenceDataSourceTest.kt
│           │                       │   │   ├── ConferenceDataJsonParserTest.kt
│           │                       │   │   ├── ConferenceDataRepositoryTest.kt
│           │                       │   │   ├── signin/
│           │                       │   │   │   └── ObserveUserAuthStateUseCaseTest.kt
│           │                       │   │   └── userevent/
│           │                       │   │       ├── CompareOldAndNewUserEventsTest.kt
│           │                       │   │       └── DefaultSessionAndUserEventRepositoryTest.kt
│           │                       │   ├── domain/
│           │                       │   │   ├── FlowUseCaseTest.kt
│           │                       │   │   ├── codelabs/
│           │                       │   │   │   └── LoadCodelabsUseCaseTest.kt
│           │                       │   │   ├── feed/
│           │                       │   │   │   ├── GetConferenceStateUseCaseTest.kt
│           │                       │   │   │   ├── LoadAnnouncementsUseCaseTest.kt
│           │                       │   │   │   ├── LoadCurrentMomentUseCaseTest.kt
│           │                       │   │   │   ├── TestAnnouncementDataSource.kt
│           │                       │   │   │   └── TestMomentDataSource.kt
│           │                       │   │   ├── filters/
│           │                       │   │   │   └── UserSessionFilterMatcherTest.kt
│           │                       │   │   ├── repository/
│           │                       │   │   │   └── TestUserEventDataSource.kt
│           │                       │   │   ├── search/
│           │                       │   │   │   ├── LoadSearchFiltersUseCaseTest.kt
│           │                       │   │   │   └── SessionTextMatchStrategyTest.kt
│           │                       │   │   ├── sessions/
│           │                       │   │   │   ├── LoadPinnedSessionsJsonUseCaseTest.kt
│           │                       │   │   │   ├── LoadScheduleUserSessionsUseCaseTest.kt
│           │                       │   │   │   ├── LoadStarredAndReservedSessionsUseCaseTest.kt
│           │                       │   │   │   └── ObserveConferenceDataUseCaseTest.kt
│           │                       │   │   └── users/
│           │                       │   │       ├── FeedbackUseCaseTest.kt
│           │                       │   │       ├── ReservationActionUseCaseTest.kt
│           │                       │   │       └── StarEventUseCaseTest.kt
│           │                       │   ├── model/
│           │                       │   │   ├── SessionTest.kt
│           │                       │   │   ├── SharedTestData.kt
│           │                       │   │   └── TagTest.kt
│           │                       │   └── util/
│           │                       │       ├── ColorUtilsTest.kt
│           │                       │       ├── SpeakerUtilsTest.kt
│           │                       │       └── TimeUtilsTest.kt
│           │                       └── test/
│           │                           └── util/
│           │                               ├── FakeAppDatabase.kt
│           │                               └── FakePreferenceStorage.kt
│           └── resources/
│               ├── malformed_conference_data.json
│               └── test_conference_data1.json
├── test-shared/
│   ├── build.gradle.kts
│   └── src/
│       └── main/
│           └── java/
│               └── com/
│                   └── google/
│                       └── samples/
│                           └── apps/
│                               └── iosched/
│                                   └── test/
│                                       └── data/
│                                           ├── MainCoroutineRule.kt
│                                           └── TestData.kt
└── tools/
    ├── iosched-codestyle.xml
    ├── pre-push
    └── setup.sh
Condensed preview — 934 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (6,544K chars).
[
  {
    "path": ".github/ci-gradle.properties",
    "chars": 775,
    "preview": "#\n# Copyright 2020 The Android Open Source Project\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n#"
  },
  {
    "path": ".github/workflows/iosched.yaml",
    "chars": 1941,
    "preview": "name: iosched\n\non:\n  push:\n    branches:\n      - main\n      - compose\n  pull_request:\n    branches:\n      - main\n      -"
  },
  {
    "path": ".gitignore",
    "chars": 541,
    "preview": "# built application files\n*.apk\n*.ap_\n\n# files for the dex VM\n*.dex\n\n# Java class files\n*.class\n\n# generated files\nbin/\n"
  },
  {
    "path": ".idea/copyright/iosched.xml",
    "chars": 794,
    "preview": "<component name=\"CopyrightManager\">\n  <copyright>\n    <option name=\"notice\" value=\"Copyright &amp;#36;today.year Google "
  },
  {
    "path": ".idea/copyright/profiles_settings.xml",
    "chars": 81,
    "preview": "<component name=\"CopyrightManager\">\n  <settings default=\"iosched\" />\n</component>"
  },
  {
    "path": "CONTRIBUTING.md",
    "chars": 1643,
    "preview": "# How to become a contributor and submit your own code\n\n## Contributor License Agreements\n\nWe'd love to accept your samp"
  },
  {
    "path": "LICENSE",
    "chars": 11358,
    "preview": "\n                                 Apache License\n                           Version 2.0, January 2004\n                  "
  },
  {
    "path": "README.md",
    "chars": 8453,
    "preview": "Google I/O Android App (ARCHIVED)\n======================\n\n## 2023 Update\n\n**This repository has been archived.** The Goo"
  },
  {
    "path": "androidTest-shared/build.gradle.kts",
    "chars": 1278,
    "preview": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "androidTest-shared/src/main/AndroidManifest.xml",
    "chars": 748,
    "preview": "<!--\n  ~ Copyright 2018 Google LLC\n  ~\n  ~ Licensed under the Apache License, Version 2.0 (the \"License\");\n  ~ you may n"
  },
  {
    "path": "androidTest-shared/src/main/java/com/google/samples/apps/iosched/androidtest/util/LiveDataTestUtil.kt",
    "chars": 1726,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "ar/build.gradle.kts",
    "chars": 2477,
    "preview": "/*\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "ar/consumer-proguard-rules.pro",
    "chars": 692,
    "preview": "# Copyright 2019 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this f"
  },
  {
    "path": "ar/src/main/AndroidManifest.xml",
    "chars": 1204,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!--\n  ~ Copyright 2019 Google LLC\n  ~\n  ~ Licensed under the Apache License, Ver"
  },
  {
    "path": "ar/src/main/java/com/google/samples/apps/iosched/ar/ArActivity.kt",
    "chars": 3439,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "ar/src/main/res/values/styles.xml",
    "chars": 814,
    "preview": "<!--\n  ~ Copyright 2019 Google LLC\n  ~\n  ~ Licensed under the Apache License, Version 2.0 (the \"License\");\n  ~ you may n"
  },
  {
    "path": "benchmark/build.gradle.kts",
    "chars": 2733,
    "preview": "/*\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "benchmark/src/androidTest/AndroidManifest.xml",
    "chars": 1123,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!--\n  ~ Copyright 2020 Google LLC\n  ~\n  ~ Licensed under the Apache License, Ver"
  },
  {
    "path": "benchmark/src/androidTest/java/com/google/samples/apps/iosched/benchmark/BootstrapConferenceDataSourceBenchmark.kt",
    "chars": 1870,
    "preview": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "benchmark/src/androidTest/java/com/google/samples/apps/iosched/benchmark/LoadAgendaUseCaseBenchmark.kt",
    "chars": 2895,
    "preview": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "benchmark/src/main/AndroidManifest.xml",
    "chars": 741,
    "preview": "<!--\n  ~ Copyright 2020 Google LLC\n  ~\n  ~ Licensed under the Apache License, Version 2.0 (the \"License\");\n  ~ you may n"
  },
  {
    "path": "build.gradle.kts",
    "chars": 3972,
    "preview": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "buildSrc/build.gradle.kts",
    "chars": 667,
    "preview": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "buildSrc/src/main/java/Libs.kt",
    "chars": 5730,
    "preview": "/*\n * Copyright 2020 Google LLC.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not us"
  },
  {
    "path": "buildSrc/src/main/java/Versions.kt",
    "chars": 1485,
    "preview": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "build_android_release.sh",
    "chars": 1701,
    "preview": "#!/usr/bin/env bash\n\n# Copyright 2018 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# y"
  },
  {
    "path": "copyright.kt",
    "chars": 597,
    "preview": "/*\n * Copyright $YEAR Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not us"
  },
  {
    "path": "depconstraints/build.gradle.kts",
    "chars": 6139,
    "preview": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "gradle/wrapper/gradle-wrapper.properties",
    "chars": 202,
    "preview": "distributionBase=GRADLE_USER_HOME\ndistributionPath=wrapper/dists\ndistributionUrl=https\\://services.gradle.org/distributi"
  },
  {
    "path": "gradle.properties",
    "chars": 2134,
    "preview": "# Project-wide Gradle settings.\n\n# IDE (e.g. Android Studio) users:\n# Gradle settings configured through the IDE *will o"
  },
  {
    "path": "gradlew",
    "chars": 8047,
    "preview": "#!/bin/sh\n\n#\n# Copyright © 2015-2021 the original authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"Lice"
  },
  {
    "path": "gradlew.bat",
    "chars": 2763,
    "preview": "@rem\r\n@rem Copyright 2015 the original author or authors.\r\n@rem\r\n@rem Licensed under the Apache License, Version 2.0 (th"
  },
  {
    "path": "kokoro/build.sh",
    "chars": 2805,
    "preview": "#!/bin/bash\n\n# Copyright 2018 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may n"
  },
  {
    "path": "kokoro/continuous.cfg",
    "chars": 371,
    "preview": "# Location of the continuous bash script.\nbuild_file: \"iosched/kokoro/continuous.sh\"\n\n# Extra input files/directories fo"
  },
  {
    "path": "kokoro/continuous.sh",
    "chars": 705,
    "preview": "#!/bin/bash\n\n# Copyright 2018 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may n"
  },
  {
    "path": "kokoro/presubmit.cfg",
    "chars": 323,
    "preview": "# Location of the continuous bash script.\nbuild_file: \"iosched/kokoro/presubmit.sh\"\n\n# Extra input files/directories for"
  },
  {
    "path": "kokoro/presubmit.sh",
    "chars": 705,
    "preview": "#!/bin/bash\n\n# Copyright 2018 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may n"
  },
  {
    "path": "macrobenchmark/.gitignore",
    "chars": 6,
    "preview": "/build"
  },
  {
    "path": "macrobenchmark/build.gradle",
    "chars": 1337,
    "preview": "plugins {\n    id 'com.android.test'\n    id 'kotlin-android'\n}\n\nandroid {\n    compileSdkVersion Versions.COMPILE_SDK\n    "
  },
  {
    "path": "macrobenchmark/consumer-rules.pro",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "macrobenchmark/proguard-rules.pro",
    "chars": 750,
    "preview": "# Add project specific ProGuard rules here.\n# You can control the set of applied configuration files using the\n# proguar"
  },
  {
    "path": "macrobenchmark/src/main/AndroidManifest.xml",
    "chars": 973,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?><!--\n  ~ Copyright 2021 Google LLC\n  ~\n  ~ Licensed under the Apache License, Vers"
  },
  {
    "path": "macrobenchmark/src/main/java/com/google/samples/apps/iosched/macrobenchmark/BaselineProfileGenerator.kt",
    "chars": 1522,
    "preview": "/*\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "macrobenchmark/src/main/java/com/google/samples/apps/iosched/macrobenchmark/BenchmarkUtils.kt",
    "chars": 2529,
    "preview": "/*\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "macrobenchmark/src/main/java/com/google/samples/apps/iosched/macrobenchmark/OpenDetailBenchmarks.kt",
    "chars": 3255,
    "preview": "/*\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "macrobenchmark/src/main/java/com/google/samples/apps/iosched/macrobenchmark/ScheduleBenchmarks.kt",
    "chars": 1517,
    "preview": "/*\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "macrobenchmark/src/main/java/com/google/samples/apps/iosched/macrobenchmark/StartupBenchmarks.kt",
    "chars": 1776,
    "preview": "/*\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/build.gradle.kts",
    "chars": 10643,
    "preview": "/*\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/google-services.json",
    "chars": 1948,
    "preview": "{\n  \"project_info\": {\n    \"project_number\": \"447780894619\",\n    \"firebase_url\": \"https://events-dev-62d2e.firebaseio.com"
  },
  {
    "path": "mobile/lint.xml",
    "chars": 1845,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\n  ~ Copyright 2019 Google LLC\n  ~\n  ~ Licensed under the Apache License, Ver"
  },
  {
    "path": "mobile/proguard-rules-benchmark.pro",
    "chars": 848,
    "preview": "# Copyright 2018 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this f"
  },
  {
    "path": "mobile/proguard-rules.pro",
    "chars": 1166,
    "preview": "# Copyright 2018 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this f"
  },
  {
    "path": "mobile/sampledata/codelabs.json",
    "chars": 3450,
    "preview": "{\n  \"comment\": \"Sample codelab data for use with tools:... attributes in layouts\",\n  \"codelabs\": [\n    {\n      \"title\": "
  },
  {
    "path": "mobile/sampledata/day_indicator.json",
    "chars": 287,
    "preview": "{\n  \"comment\": \"Sample day indicators for use with tools:... attributes in layouts\",\n  \"indicators\": [\n    {\n      \"labe"
  },
  {
    "path": "mobile/sampledata/map_variants.json",
    "chars": 296,
    "preview": "{\n  \"comment\": \"Sample map variant data for use with tools:... attributes in layouts\",\n  \"variants\": [\n    {\n      \"titl"
  },
  {
    "path": "mobile/sampledata/tags.json",
    "chars": 1376,
    "preview": "{\n  \"comment\": \"Sample tag data for use with tools:... attributes in layouts, primarily list items\",\n  \"tags\": [\n    {\n "
  },
  {
    "path": "mobile/src/androidTest/AndroidManifest.xml",
    "chars": 1974,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!--\n  ~ Copyright 2021 Google LLC\n  ~\n  ~ Licensed under the Apache License, Ver"
  },
  {
    "path": "mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/CustomTestRunner.kt",
    "chars": 1359,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/FixedTimeRule.kt",
    "chars": 1643,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/MainTestApplication.kt",
    "chars": 1136,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/SetPreferencesRule.kt",
    "chars": 2565,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/di/HiltExt.kt",
    "chars": 2627,
    "preview": "/*\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/di/TestCoroutinesModule.kt",
    "chars": 1965,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/di/TestPreferencesStorageModule.kt",
    "chars": 2576,
    "preview": "/*\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/prefs/DataStorePreferenceStorageTest.kt",
    "chars": 3856,
    "preview": "/*\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/AgendaTest.kt",
    "chars": 2127,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/CodelabTest.kt",
    "chars": 2338,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/HomeTest.kt",
    "chars": 2600,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/InfoTest.kt",
    "chars": 2727,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/MainActivityTestRule.kt",
    "chars": 1184,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/MapTest.kt",
    "chars": 2032,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/ScheduleTest.kt",
    "chars": 6980,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/SessionDetailTest.kt",
    "chars": 3716,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/androidTest/java/com/google/samples/apps/iosched/tests/ui/SettingsTest.kt",
    "chars": 2597,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/debugRelease/java/com/google/samples/apps/iosched/di/SignInModule.kt",
    "chars": 3515,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/AndroidManifest.xml",
    "chars": 5006,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!--\n  ~ Copyright 2018 Google LLC\n  ~\n  ~ Licensed under the Apache License, Ver"
  },
  {
    "path": "mobile/src/main/assets/anim/0.json",
    "chars": 6948,
    "preview": "{\"v\":\"5.4.3\",\"fr\":30,\"ip\":0,\"op\":45,\"w\":130,\"h\":194,\"nm\":\"00\",\"ddd\":0,\"assets\":[],\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":4,\"nm\""
  },
  {
    "path": "mobile/src/main/assets/anim/1.json",
    "chars": 4488,
    "preview": "{\"v\":\"5.4.3\",\"fr\":30,\"ip\":0,\"op\":45,\"w\":130,\"h\":193,\"nm\":\"01\",\"ddd\":0,\"assets\":[],\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":4,\"nm\""
  },
  {
    "path": "mobile/src/main/assets/anim/2.json",
    "chars": 8834,
    "preview": "{\"v\":\"5.4.3\",\"fr\":30,\"ip\":0,\"op\":45,\"w\":130,\"h\":193,\"nm\":\"02\",\"ddd\":0,\"assets\":[],\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":4,\"nm\""
  },
  {
    "path": "mobile/src/main/assets/anim/3.json",
    "chars": 8536,
    "preview": "{\"v\":\"5.4.3\",\"fr\":30,\"ip\":0,\"op\":45,\"w\":140,\"h\":194,\"nm\":\"03\",\"ddd\":0,\"assets\":[],\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":4,\"nm\""
  },
  {
    "path": "mobile/src/main/assets/anim/4.json",
    "chars": 8624,
    "preview": "{\"v\":\"5.4.3\",\"fr\":30,\"ip\":0,\"op\":45,\"w\":130,\"h\":193,\"nm\":\"04\",\"ddd\":0,\"assets\":[],\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":4,\"nm\""
  },
  {
    "path": "mobile/src/main/assets/anim/5.json",
    "chars": 8735,
    "preview": "{\"v\":\"5.4.3\",\"fr\":30,\"ip\":0,\"op\":45,\"w\":130,\"h\":195,\"nm\":\"05\",\"ddd\":0,\"assets\":[],\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":4,\"nm\""
  },
  {
    "path": "mobile/src/main/assets/anim/6.json",
    "chars": 8472,
    "preview": "{\"v\":\"5.4.3\",\"fr\":30,\"ip\":0,\"op\":45,\"w\":130,\"h\":195,\"nm\":\"06\",\"ddd\":0,\"assets\":[],\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":4,\"nm\""
  },
  {
    "path": "mobile/src/main/assets/anim/7.json",
    "chars": 6835,
    "preview": "{\"v\":\"5.4.3\",\"fr\":30,\"ip\":0,\"op\":45,\"w\":130,\"h\":194,\"nm\":\"07\",\"ddd\":0,\"assets\":[],\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":4,\"nm\""
  },
  {
    "path": "mobile/src/main/assets/anim/8.json",
    "chars": 6814,
    "preview": "{\"v\":\"5.4.3\",\"fr\":30,\"ip\":0,\"op\":45,\"w\":130,\"h\":195,\"nm\":\"08\",\"ddd\":0,\"assets\":[],\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":4,\"nm\""
  },
  {
    "path": "mobile/src/main/assets/anim/9.json",
    "chars": 4313,
    "preview": "{\"v\":\"5.4.3\",\"fr\":30,\"ip\":0,\"op\":45,\"w\":130,\"h\":195,\"nm\":\"09\",\"ddd\":0,\"assets\":[],\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":4,\"nm\""
  },
  {
    "path": "mobile/src/main/assets/licenses.html",
    "chars": 35665,
    "preview": "<html>\n<head>\n    <meta name=\"viewport\" content=\"width=device-width\" />\n    <style>\n        body{font-family: sans-serif"
  },
  {
    "path": "mobile/src/main/baseline-prof.txt",
    "chars": 832744,
    "preview": "HPLandroidx/activity/result/ActivityResultRegistry;->registerKey(Ljava/lang/String;)I\nHPLandroidx/appcompat/R$id$$IA$1;-"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/MainApplication.kt",
    "chars": 765,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/di/AppModule.kt",
    "chars": 4240,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/di/CoroutinesModule.kt",
    "chars": 1650,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/di/PreferencesStorageModule.kt",
    "chars": 1768,
    "preview": "/*\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/DispatchInsetsNavHostFragment.kt",
    "chars": 1548,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/LaunchViewModel.kt",
    "chars": 1983,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/LauncherActivity.kt",
    "chars": 2259,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/MainActivity.kt",
    "chars": 12596,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/MainActivityViewModel.kt",
    "chars": 4112,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/MainNavigation.kt",
    "chars": 2332,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/NavigationExtensions.kt",
    "chars": 2541,
    "preview": "/*\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/SectionHeader.kt",
    "chars": 784,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/agenda/AgendaAdapter.kt",
    "chars": 2506,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/agenda/AgendaFragment.kt",
    "chars": 3605,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/agenda/AgendaHeaderIndexer.kt",
    "chars": 1135,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/agenda/AgendaHeadersDecoration.kt",
    "chars": 5104,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/agenda/AgendaItemBindingAdapter.kt",
    "chars": 2713,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/agenda/AgendaViewModel.kt",
    "chars": 2134,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/ar/ArCoreNotSupportedFragment.kt",
    "chars": 1132,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/ar/NoNetworkConnectionFragment.kt",
    "chars": 1123,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/codelabs/CodelabsActionsHandler.kt",
    "chars": 877,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/codelabs/CodelabsAdapter.kt",
    "chars": 6857,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/codelabs/CodelabsFragment.kt",
    "chars": 6141,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/codelabs/CodelabsViewModel.kt",
    "chars": 2590,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/feed/AnnouncementsFragment.kt",
    "chars": 4565,
    "preview": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/feed/AnnouncementsViewModel.kt",
    "chars": 2511,
    "preview": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/feed/FeedAdapter.kt",
    "chars": 3350,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/feed/FeedAnnouncementViewBinders.kt",
    "chars": 6466,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/feed/FeedFragment.kt",
    "chars": 10540,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/feed/FeedHeaderViewBinders.kt",
    "chars": 5575,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/feed/FeedSectionHeaderViewBinder.kt",
    "chars": 2076,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/feed/FeedSessionsViewBinder.kt",
    "chars": 7025,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/feed/FeedSocialChannelsSectionViewBinder.kt",
    "chars": 2798,
    "preview": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/feed/FeedSustainabilitySectionViewBinder.kt",
    "chars": 1976,
    "preview": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/feed/FeedViewModel.kt",
    "chars": 14447,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/filters/CloseableFilterChipAdapter.kt",
    "chars": 2476,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/filters/FilterChip.kt",
    "chars": 2449,
    "preview": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/filters/FiltersFragment.kt",
    "chars": 8708,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/filters/FiltersViewBindingAdapters.kt",
    "chars": 3233,
    "preview": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/filters/FiltersViewModel.kt",
    "chars": 5115,
    "preview": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/filters/FiltersViewModelDelegateModule.kt",
    "chars": 1161,
    "preview": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/filters/SelectableFilterChipAdapter.kt",
    "chars": 5600,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/info/EventFragment.kt",
    "chars": 4204,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/info/EventInfoViewModel.kt",
    "chars": 3795,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/info/FaqFragment.kt",
    "chars": 1848,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/info/InfoFragment.kt",
    "chars": 4270,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/info/TravelFragment.kt",
    "chars": 1841,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/map/LoadGeoJsonFeaturesUseCase.kt",
    "chars": 2554,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/map/MapFragment.kt",
    "chars": 17894,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/map/MapTileProvider.kt",
    "chars": 1794,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/map/MapUtils.kt",
    "chars": 3831,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/map/MapVariant.kt",
    "chars": 2697,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/map/MapVariantAdapter.kt",
    "chars": 3474,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/map/MapVariantSelectionDialogFragment.kt",
    "chars": 3786,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/map/MapViewBindingAdapters.kt",
    "chars": 3082,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/map/MapViewModel.kt",
    "chars": 8831,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/messages/SnackbarMessage.kt",
    "chars": 1326,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/messages/SnackbarMessageFragmentExtensions.kt",
    "chars": 2180,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/messages/SnackbarMessageManager.kt",
    "chars": 3854,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/onboarding/OnboardingActivity.kt",
    "chars": 2807,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/onboarding/OnboardingFragment.kt",
    "chars": 4569,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/onboarding/OnboardingSignInFragment.kt",
    "chars": 1711,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/onboarding/OnboardingViewModel.kt",
    "chars": 2448,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/onboarding/ViewPagerPager.kt",
    "chars": 3011,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/onboarding/WelcomeDuringConferenceFragment.kt",
    "chars": 1934,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/onboarding/WelcomePostConferenceFragment.kt",
    "chars": 1424,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/onboarding/WelcomePreConferenceFragment.kt",
    "chars": 1922,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/reservation/RemoveReservationDialogFragment.kt",
    "chars": 4390,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/reservation/RemoveReservationViewModel.kt",
    "chars": 4011,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/reservation/ReservationTextView.kt",
    "chars": 1997,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/reservation/ReservationViewState.kt",
    "chars": 2915,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/reservation/ReserveButton.kt",
    "chars": 1900,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/reservation/StarReserveFab.kt",
    "chars": 3888,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/reservation/SwapReservationDialogFragment.kt",
    "chars": 3749,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/schedule/DayIndicator.kt",
    "chars": 1262,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/schedule/DayIndicatorAdapter.kt",
    "chars": 3030,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/schedule/DaySeparatorItemDecoration.kt",
    "chars": 5195,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/schedule/ScheduleFragment.kt",
    "chars": 14782,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/schedule/ScheduleItemBindingAdapter.kt",
    "chars": 3150,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/schedule/ScheduleNavigationAction.kt",
    "chars": 890,
    "preview": "/*\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/schedule/ScheduleTimeHeadersDecoration.kt",
    "chars": 7959,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/schedule/ScheduleTwoPaneFragment.kt",
    "chars": 7157,
    "preview": "/*\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/schedule/ScheduleTwoPaneViewModel.kt",
    "chars": 2199,
    "preview": "/*\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/schedule/ScheduleUiHintsDialogFragment.kt",
    "chars": 2037,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/schedule/ScheduleViewModel.kt",
    "chars": 11069,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/schedule/SessionHeaderIndexer.kt",
    "chars": 1370,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/search/SearchFilterFragment.kt",
    "chars": 1164,
    "preview": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/search/SearchFragment.kt",
    "chars": 7855,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/search/SearchViewModel.kt",
    "chars": 5861,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/sessioncommon/EventActions.kt",
    "chars": 994,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/sessioncommon/OnSessionStarClickDelegate.kt",
    "chars": 4300,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/sessioncommon/OnSessionStarClickDelegateModule.kt",
    "chars": 2160,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/sessioncommon/SessionCommonExtensions.kt",
    "chars": 2661,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/sessioncommon/SessionViewPoolModule.kt",
    "chars": 1455,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/sessioncommon/SessionsAdapter.kt",
    "chars": 3241,
    "preview": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/sessioncommon/TagAdapter.kt",
    "chars": 1626,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/sessioncommon/TagBindingAdapters.kt",
    "chars": 1959,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/sessiondetail/SessionDetailAdapter.kt",
    "chars": 8589,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/sessiondetail/SessionDetailDataBindingAdapters.kt",
    "chars": 6705,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/sessiondetail/SessionDetailFragment.kt",
    "chars": 18080,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/sessiondetail/SessionDetailNavigationAction.kt",
    "chars": 1655,
    "preview": "/*\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/sessiondetail/SessionDetailViewModel.kt",
    "chars": 16954,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/sessiondetail/SessionFeedbackFragment.kt",
    "chars": 5146,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/sessiondetail/SessionFeedbackViewModel.kt",
    "chars": 4615,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/settings/SettingsFragment.kt",
    "chars": 3574,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/settings/SettingsViewModel.kt",
    "chars": 5406,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/settings/ThemeSettingDialogFragment.kt",
    "chars": 3806,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/signin/NotificationsPreferenceDialogFragment.kt",
    "chars": 2784,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/signin/SignInDialogFragment.kt",
    "chars": 3555,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/signin/SignInViewExtensions.kt",
    "chars": 3628,
    "preview": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/signin/SignInViewModel.kt",
    "chars": 1399,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  },
  {
    "path": "mobile/src/main/java/com/google/samples/apps/iosched/ui/signin/SignInViewModelDelegate.kt",
    "chars": 7004,
    "preview": "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use"
  }
]

// ... and 734 more files (download for full content)

About this extraction

This page contains the full source code of the google/iosched GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 934 files (5.9 MB), approximately 1.6M tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!