MCPcopy Create free account

hub / github.com/CovidShield/mobile / functions

Functions264 in github.com/CovidShield/mobile

↓ 26 callersMethodget
()
src/shared/Observable.ts:92
↓ 19 callersFunctioncaptureMessage
(message: string, params: {[key in string]: any} = {})
src/shared/log.ts:1
↓ 16 callersMethodappend
(partial: Partial<T>)
src/shared/Observable.ts:107
↓ 16 callersFunctioncaptureException
(message: string, error: any, params: {[key in string]: any} = {})
src/shared/log.ts:10
↓ 14 callersFunctionlog
android/app/src/main/java/app/covidshield/extensions/LogExtensions.kt:6
↓ 14 callersMethodset
(value: T)
src/shared/Observable.ts:96
↓ 14 callersMethodupdateExposureStatus
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:177
↓ 10 callersMethodstart
()
src/bridge/ExposureNotification/types.ts:58
↓ 9 callersMethodobserve
(cb: (value: T) => void)
src/shared/Observable.ts:101
↓ 8 callersMethodgetItem
(key: string)
src/services/ExposureNotificationService/ExposureNotificationService.ts:64
↓ 8 callersFunctionperiodSinceEpoch
(date: Date, hoursPerPeriod: number)
src/shared/date-fns.ts:9
↓ 8 callersFunctionuseStorage
()
src/services/StorageService/StorageServiceProvider.tsx:24
↓ 7 callersMethodapply
(OkHttpClient.Builder builder)
android/app/src/debug/java/app/covidshield/ReactNativeFlipper.java:41
↓ 7 callersMethodsetItem
(key: string, value: string)
src/services/ExposureNotificationService/ExposureNotificationService.ts:63
↓ 6 callersFunctionuseExposureNotificationService
()
src/services/ExposureNotificationService/ExposureNotificationServiceProvider.tsx:64
↓ 6 callersFunctionwithDarkNav
(Component: React.ElementType)
src/navigation/MainNavigator.tsx:20
↓ 5 callersFunctionuseExposureStatus
()
src/services/ExposureNotificationService/ExposureNotificationServiceProvider.tsx:91
↓ 5 callersFunctionuseSystemStatus
()
src/services/ExposureNotificationService/ExposureNotificationServiceProvider.tsx:75
↓ 4 callersFunctiondaysBetween
(date1: Date, date2: Date)
src/shared/date-fns.ts:35
↓ 4 callersMethodinit
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:214
↓ 4 callersFunctionpluralizeKey
(baseKey: string, number: number)
src/shared/pluralization.ts:1
↓ 4 callersMethodpresentLocalNotification
(payload: NotificationPayload)
src/bridge/PushNotification.ts:11
↓ 4 callersMethodupdateSystemStatus
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:137
↓ 4 callersFunctionuseStartExposureNotificationService
()
src/services/ExposureNotificationService/ExposureNotificationServiceProvider.tsx:68
↓ 3 callersFunctioncreateCancellableCallbackPromise
( nonExceptionCallback: () => Promise<T>, callback: Callback<T>, )
src/shared/cancellablePromise.ts:5
↓ 3 callersMethoddetectExposure
(configuration: ExposureConfiguration, diagnosisKeysURLs: string[])
src/bridge/ExposureNotification/types.ts:66
↓ 3 callersFunctiongetSystemLocale
()
src/locale/locale.ts:3
↓ 3 callersMethodremove
()
src/types/react-native-system-setting.d.ts:3
↓ 3 callersFunctionuseMaxContentWidth
()
src/shared/useMaxContentWidth.ts:6
↓ 3 callersFunctionuseNotificationPermissionStatus
()
src/screens/home/components/NotificationPermissionStatus.tsx:71
↓ 2 callersMethodadd
android/app/src/main/java/app/covidshield/utils/PendingTokenManager.kt:15
↓ 2 callersFunctionaddDays
(date: Date, days: number)
src/shared/date-fns.ts:1
↓ 2 callersFunctionblobFetch
(uri: string, method: 'GET' | 'POST', body?: Uint8Array)
src/shared/fetch.ts:1
↓ 2 callersMethodclear
android/app/src/main/java/app/covidshield/utils/PendingTokenManager.kt:31
↓ 2 callersFunctionconvertJsonToMap
android/app/src/main/java/app/covidshield/extensions/ReactNativeExtensions.kt:32
↓ 2 callersFunctionconvertMapToJson
android/app/src/main/java/app/covidshield/extensions/ReactNativeExtensions.kt:96
↓ 2 callersMethodfetchAndSubmitKeys
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:200
↓ 2 callersMethodgetExposureInformation
( summary: ExposureSummary, userExplanation: string /* used only by iOS */, )
src/bridge/ExposureNotification/types.ts:67
↓ 2 callersFunctiongetRandomBytes
(size: number)
src/bridge/CovidShield.ts:17
↓ 2 callersFunctiongetThemeWithDefault
(region?: Region, mode: 'light' | 'dark' = 'light')
src/shared/theme/ThemeProvider.tsx:22
↓ 2 callersMethodjsonStringContaining
(obj: E)
src/services/ExposureNotificationService/ExposureNotificationService.spec.ts:43
↓ 2 callersFunctiononError
(error)
src/locale/i18n.ts:17
↓ 2 callersMethodremoveSubscription
(sub: Subscription<T>)
src/shared/Observable.ts:75
↓ 2 callersMethodreportDiagnosisKeys
(submissionKeyPair: SubmissionKeySet, keys: TemporaryExposureKey[])
src/services/BackendService/types.ts:11
↓ 2 callersMethodstartKeysSubmission
(oneTimeCode: string)
src/services/ExposureNotificationService/ExposureNotificationService.ts:187
↓ 2 callersFunctionstartOfDay
(date: Date)
src/shared/date-fns.ts:31
↓ 2 callersMethodupdateExposureStatusInBackground
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:142
↓ 2 callersFunctionuseOrientation
()
src/shared/useOrientation.ts:10
↓ 2 callersFunctionuseReduceMotionPreference
()
src/shared/useReduceMotionPreference.ts:4
↓ 2 callersFunctionuseReportDiagnosis
()
src/services/ExposureNotificationService/ExposureNotificationServiceProvider.tsx:105
↓ 1 callersFunctionExposureNotificationAdapter
( exposureNotificationAPI: ExposureNotification, )
src/bridge/ExposureNotification/ExposureNotificationAdapter.ios.ts:5
↓ 1 callersMethodadd
(cb: (value: T) => void)
src/shared/Observable.ts:35
↓ 1 callersMethodaddBluetoothListener
(callback: (enabled: boolean) => void)
src/types/react-native-system-setting.d.ts:7
↓ 1 callersMethodaddSubscription
(sub: Subscription<T>)
src/shared/Observable.ts:65
↓ 1 callersFunctionappInit
()
src/App.tsx:43
↓ 1 callersMethodcalculateNeedsSubmission
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:243
↓ 1 callersFunctioncallable
()
src/shared/cancellablePromise.ts:10
↓ 1 callersMethodclaimOneTimeCode
(code: string)
src/services/BackendService/types.ts:10
↓ 1 callersFunctionconvertArrayToJson
android/app/src/main/java/app/covidshield/extensions/ReactNativeExtensions.kt:117
↓ 1 callersFunctionconvertJsonToArray
android/app/src/main/java/app/covidshield/extensions/ReactNativeExtensions.kt:65
↓ 1 callersFunctiondaysFromNow
(date: Date)
src/shared/date-fns.ts:13
↓ 1 callersMethoddeactivate
()
src/shared/Observable.ts:15
↓ 1 callersMethoddeactivateSubscription
(sub: Subscription<T>)
src/shared/Observable.ts:56
↓ 1 callersFunctiongenerateRandomKeys
(numberOfKeys: number)
src/services/BackendService/BackendService.spec.ts:71
↓ 1 callersMethodgetAlternateExposureConfiguration
* If the exposureConfiguration is not available from the server for some reason, * try and use a previously stored configuration, or use the defaul
src/services/ExposureNotificationService/ExposureNotificationService.ts:223
↓ 1 callersFunctiongetBackgroundI18n
(forceLocale?: string)
src/locale/i18n.ts:7
↓ 1 callersMethodgetExposureConfiguration
()
src/services/BackendService/types.ts:13
↓ 1 callersMethodgetPendingExposureSummary
()
src/bridge/ExposureNotification/types.ts:72
↓ 1 callersMethodgetRandomBytes
(size: number)
src/bridge/CovidShield.ts:12
↓ 1 callersMethodgetReactNativeHost
()
android/app/src/main/java/app/covidshield/MainApplication.java:68
↓ 1 callersMethodgetStatus
()
src/bridge/ExposureNotification/types.ts:62
↓ 1 callersMethodgetTemporaryExposureKeyHistory
()
src/bridge/ExposureNotification/types.ts:64
↓ 1 callersFunctionhoursFromNow
(date: Date)
src/shared/date-fns.ts:19
↓ 1 callersMethodinitializeFlipper
Loads Flipper in React Native templates. Call this in the onCreate method with something like initializeFlipper(this, getReactNativeHost().getReactIns
android/app/src/main/java/app/covidshield/MainApplication.java:44
↓ 1 callersFunctioninputBorderColor
(string: string, position: number)
src/components/CodeInput.tsx:7
↓ 1 callersMethodkeyClaim
(code: string, keyPair: nacl.BoxKeyPair)
src/services/BackendService/BackendService.ts:107
↓ 1 callersMethodkeysSinceLastFetch
( _lastCheckedPeriod?: number, )
src/services/ExposureNotificationService/ExposureNotificationService.ts:261
↓ 1 callersFunctionlaunch
android/app/src/main/java/app/covidshield/extensions/PromiseExtensions.kt:8
↓ 1 callersFunctionloadPersistedState
()
src/navigation/DevPersistedNavigationContainer.tsx:44
↓ 1 callersFunctionminutesFromNow
(date: Date)
src/shared/date-fns.ts:25
↓ 1 callersMethodonPress
()
src/components/TouchableIcon.tsx:13
↓ 1 callersMethodonReceive
android/app/src/main/java/app/covidshield/receiver/ExposureNotificationBroadcastReceiver.kt:20
↓ 1 callersMethodperformExposureStatusUpdate
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:283
↓ 1 callersMethodprocessPendingExposureSummary
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:375
↓ 1 callersMethodpropagate
(value: T)
src/shared/Observable.ts:41
↓ 1 callersMethodreceive
(value: T)
src/shared/Observable.ts:9
↓ 1 callersMethodrecordKeySubmission
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:237
↓ 1 callersFunctionrenderSteps
()
src/components/ProgressCircles.tsx:12
↓ 1 callersMethodretrieve
android/app/src/main/java/app/covidshield/utils/PendingTokenManager.kt:26
↓ 1 callersMethodretrieveDiagnosisKeys
(period: number)
src/services/BackendService/types.ts:12
↓ 1 callersMethodsetEnabled
(enabled: boolean)
src/testMode/MockProvider.tsx:12
↓ 1 callersMethodstop
()
src/bridge/ExposureNotification/types.ts:59
↓ 1 callersMethodtoHaveLength
(length: number)
src/services/BackendService/BackendService.spec.ts:51
↓ 1 callersFunctiontoJson
android/app/src/main/java/app/covidshield/extensions/GsonExtensions.kt:13
↓ 1 callersMethodupload
( payload: Uint8Array, nonce: Uint8Array, serverPublicKey: Uint8Array, appPublicKey: Uint8Arra
src/services/BackendService/BackendService.ts:120
↓ 1 callersFunctionuseExposureNotificationSystemStatusAutomaticUpdater
()
src/services/ExposureNotificationService/ExposureNotificationServiceProvider.tsx:122
↓ 1 callersFunctionuseMock
()
src/testMode/MockProvider.tsx:54
↓ 1 callersFunctionwithLightNav
(Component: React.ElementType)
src/navigation/MainNavigator.tsx:41
FunctionApp
()
src/App.tsx:56
FunctionAppProvider
()
src/App.tsx:82
next →1–100 of 264, ranked by callers