Home
last modified time | relevance | path

Searched refs:async (Results 1 – 25 of 1268) sorted by relevance

12345678910>>...51

/expo/packages/expo-location/build/
H A DLocation.js18 export async function getProviderStatusAsync() {
27 export async function enableNetworkProviderAsync() {
89 export async function getHeadingAsync() {
90 return new Promise(async (resolve) => {
110 export async function watchHeadingAsync(callback) {
135 export async function geocodeAsync(address, options) {
183 export async function getPermissionsAsync() {
193 export async function requestPermissionsAsync() {
202 export async function getForegroundPermissionsAsync() {
270 export async function hasServicesEnabledAsync() {
[all …]
H A DExpoLocation.web.js42 async function getPermissionsAsync() {
65 async getProviderStatusAsync() {
76 async getCurrentPositionAsync(options) {
89 async removeWatchAsync(watchId) {
92 async watchDeviceHeading(headingId) {
95 async hasServicesEnabledAsync() {
98 async geocodeAsync() {
101 async reverseGeocodeAsync() {
120 async requestPermissionsAsync() {
129 async getForegroundPermissionsAsync() {
[all …]
/expo/packages/expo-screen-capture/src/__tests__/
H A DScreenCapture-test.native.js5 it('isAvailableAsync is defined', async () => {
9 it('preventScreenCapture is defined', async () => {
13 it('allowScreenCapture is defined', async () => {
17 it('usePreventScreenCapture hook is defined', async () => {
21 it('addScreenshotListener is defined', async () => {
25 it('removeScreenshotListener is defined', async () => {
31 afterEach(async () => {
35 it('resolves true for isAvailableAsync on native platforms', async () => {
39 it('Will not call the native method if default key already active', async () => {
49 …it('Passing a different key to allowScreenCaptureAsync does not re-enable screen capture', async (…
[all …]
H A DScreenCapture-test.web.js4 it('isAvailableAsync is defined', async () => {
8 it('preventScreenCapture is defined', async () => {
12 it('allowScreenCapture is defined', async () => {
16 it('usePreventScreenCapture hook is defined', async () => {
20 it('addScreenshotListener is defined', async () => {
24 it('removeScreenshotListener is defined', async () => {
30 it('resolves false for isAvailableAsync on web platform', async () => {
34 it('throws for preventScreenCapture on web platform', async () => {
38 it('throws for allowScreenCapture on web platform', async () => {
/expo/apps/test-suite/tests/
H A DHaptics.js5 export async function test(t) {
6 t.describe('Haptics', async () => {
7 t.it('selectionAsync()', async () => {
12 t.describe('notificationAsync()', async () => {
13 t.it('success', async () => {
18 t.it('warning', async () => {
23 t.it('error', async () => {
29 t.describe('impactAsync()', async () => {
30 t.it('light', async () => {
35 t.it('medium', async () => {
[all …]
H A DAudio.js86 t.beforeAll(async () => {
94 t.afterEach(async () => {
116 t.afterEach(async () => {
129 async () => {
167 async () => {
198 async () => {
244 async () => {
259 async () => {
276 async () => {
519 async () => {
[all …]
H A DImage.js13 export async function test(t, { setPortalChild, cleanupPortal }) {
15 t.afterEach(async () => {
20 t.it('emits an event when the image starts to load (will load successfully)', async () => {
24 t.it('emits an event when the image starts to load (will error)', async () => {
34 t.it('emits an event when the image loads successfully', async () => {
38 t.it('does not emit an event if the image errors', async () => {
55 t.it('emits an event when the image fails to load successfully', async () => {
59 t.it('does not emit an event if the image loads successfully', async () => {
76 t.it('emits an event when the image loads successfully', async () => {
80 t.it('emits an event when the image errors', async () => {
H A DSMS.ios.js25 it(`opens an SMS composer`, async () => {
30 it(`opens an SMS composer with single image attachment`, async () => {
34 it(`opens an SMS composer with two image attachments`, async () => {
38 it(`opens an SMS composer with audio attachment`, async () => {
42 it(`throws when provided with undefined recipient`, async () => {
47 it(`throws when provided with null recipient`, async () => {
55 it(`is unavailable`, async () => {
63 it(`has access to iOS SMS API`, async () => {
67 it(`cannot be used in the iOS simulator`, async () => {
H A DTaskManager.js9 export async function test(t) {
26 t.describe('isTaskRegisteredAsync()', async () => {
27 t.beforeAll(async () => {
31 t.it('returns true for registered tasks', async () => {
39 t.afterAll(async () => {
44 t.describe('getTaskOptionsAsync()', async () => {
47 t.it('returns null for unregistered tasks', async () => {
58 t.it('returns null when unregistered', async () => {
65 t.describe('getRegisteredTasksAsync()', async () => {
90 t.afterAll(async () => {
[all …]
H A DCalendarReminders.js44 export async function test(t) {
64 t.beforeAll(async () => {
90 t.afterAll(async () => {
98 t.beforeAll(async () => {
116 t.afterAll(async () => {
124 t.beforeAll(async () => {
136 t.afterAll(async () => {
144 t.beforeAll(async () => {
159 t.afterAll(async () => {
185 t.afterAll(async () => {
[all …]
H A DLocation.js110 async () => {
119 async () => {
127 async () => {
135 async () => {
150 async () => {
215 async () => {
229 async () => {
242 async () => {
271 async () => {
321 async () => {
[all …]
H A DSMS.js24 it(`opens an SMS composer`, async () => {
28 it(`opens an SMS composer with single image attachment`, async () => {
32 … it(`opens an SMS composer with two image attachments. Only first one is used.`, async () => {
36 it(`opens an SMS composer with audio attachment`, async () => {
40 it(`throws when provided with undefined recipient`, async () => {
45 it(`throws when provided with null recipient`, async () => {
57 it(`has a telephony radio with data communication support`, async () => {
61 it(`is not supported on ${Platform.OS}`, async () => {
H A DRecording.js48 export async function test(t) {
54 t.beforeAll(async () => {
75 t.beforeEach(async () => {
86 t.afterEach(async () => {
209 t.afterEach(async () => {
224 t.afterEach(async () => {
238 t.afterEach(async () => {
255 t.afterEach(async () => {
374 setTimeout(async () => {
466 setTimeout(async () => {
[all …]
H A DNotifications.js215 async () => {
249 async () => {
975 async () => {
993 async () => {
1011 async () => {
1029 async () => {
1059 async () => {
1083 async () => {
1120 async () => {
1157 async () => {
[all …]
/expo/packages/expo-brightness/build/
H A DBrightness.js29 export async function isAvailableAsync() {
38 export async function getBrightnessAsync() {
54 export async function setBrightnessAsync(brightnessValue) {
71 export async function getSystemBrightnessAsync() {
88 export async function setSystemBrightnessAsync(brightnessValue) {
102 export async function useSystemBrightnessAsync() {
112 export async function restoreSystemBrightnessAsync() {
126 export async function isUsingSystemBrightnessAsync() {
140 export async function getSystemBrightnessModeAsync() {
164 export async function getPermissionsAsync() {
[all …]
/expo/docs/pages/versions/v46.0.0/sdk/
H A Dasync-storage.mdx4 sourceCodeUrl: 'https://github.com/react-native-async-storage/async-storage'
5 packageName: '@react-native-async-storage/async-storage'
17 <APIInstallSection href="https://react-native-async-storage.github.io/async-storage/docs/install" />
21 …ation at [https://react-native-async-storage.github.io/async-storage/](https://react-native-async-…
/expo/docs/pages/versions/unversioned/sdk/
H A Dasync-storage.mdx4 sourceCodeUrl: 'https://github.com/react-native-async-storage/async-storage'
5 packageName: '@react-native-async-storage/async-storage'
17 <APIInstallSection href="https://react-native-async-storage.github.io/async-storage/docs/install" />
21 …ation at [https://react-native-async-storage.github.io/async-storage/](https://react-native-async-…
/expo/docs/pages/versions/v49.0.0/sdk/
H A Dasync-storage.mdx4 sourceCodeUrl: 'https://github.com/react-native-async-storage/async-storage'
5 packageName: '@react-native-async-storage/async-storage'
17 <APIInstallSection href="https://react-native-async-storage.github.io/async-storage/docs/install" />
21 …ation at [https://react-native-async-storage.github.io/async-storage/](https://react-native-async-…
/expo/docs/pages/versions/v48.0.0/sdk/
H A Dasync-storage.mdx4 sourceCodeUrl: 'https://github.com/react-native-async-storage/async-storage'
5 packageName: '@react-native-async-storage/async-storage'
17 <APIInstallSection href="https://react-native-async-storage.github.io/async-storage/docs/install" />
21 …ation at [https://react-native-async-storage.github.io/async-storage/](https://react-native-async-…
/expo/docs/pages/versions/v47.0.0/sdk/
H A Dasync-storage.mdx4 sourceCodeUrl: 'https://github.com/react-native-async-storage/async-storage'
5 packageName: '@react-native-async-storage/async-storage'
17 <APIInstallSection href="https://react-native-async-storage.github.io/async-storage/docs/install" />
21 …ation at [https://react-native-async-storage.github.io/async-storage/](https://react-native-async-…
/expo/packages/expo-navigation-bar/build/
H A DNavigationBar.js41 export async function setBackgroundColorAsync(color) {
58 export async function getBackgroundColorAsync() {
74 export async function setBorderColorAsync(color) {
91 export async function getBorderColorAsync() {
123 export async function getVisibilityAsync() {
139 export async function setButtonStyleAsync(style) {
155 export async function getButtonStyleAsync() {
178 export async function setPositionAsync(position) {
198 export async function unstable_getPositionAsync() {
221 export async function setBehaviorAsync(behavior) {
[all …]
/expo/packages/expo-camera/build/
H A DExponentCameraManager.web.js49 async function handleRequestPermissionsAsync() {
147 async isAvailableAsync() {
150 async takePicture(options, camera) {
153 async pausePreview(camera) {
156 async resumePreview(camera) {
159 async getAvailableCameraTypesAsync() {
184 async getPermissionsAsync() {
187 async requestPermissionsAsync() {
190 async getCameraPermissionsAsync() {
193 async requestCameraPermissionsAsync() {
[all …]
/expo/packages/expo-cellular/build/
H A DExpoCellular.web.js18 async getCellularGenerationAsync() {
39 async allowsVoipAsync() {
42 async getIsoCountryCodeAsync() {
45 async getCarrierNameAsync() {
48 async getMobileCountryCodeAsync() {
51 async getMobileNetworkCodeAsync() {
/expo/packages/expo-contacts/build/
H A DContacts.js9 export async function isAvailableAsync() {
43 export async function getContactsAsync(contactQuery = {}) {
72 export async function getContactByIdAsync(id, fields) {
132 export async function updateContactAsync(contact) {
148 export async function removeContactAsync(contactId) {
271 export async function removeGroupAsync(groupId) {
329 export async function getGroupsAsync(groupQuery) {
344 export async function getDefaultContainerIdAsync() {
362 export async function getContainersAsync(containerQuery) {
372 export async function getPermissionsAsync() {
[all …]
/expo/packages/@expo/config-plugins/build/plugins/
H A DwithAndroidBaseMods.js144 async read() {
150 async write() {}
172 async write(filePath, {
202 async write(filePath, {
215 async getFilePath({
259 async getFilePath({
274 async read(filePath, {
307 async getFilePath({
353 async getFilePath({
415 async read(filePath) {
[all …]

12345678910>>...51