| /expo/packages/expo-random/src/__tests__/ |
| H A D | Random-test.ts | 2 import * as Random from '../Random'; 13 await expect(Random.getRandomBytesAsync(value)); constant 20 await expect(Random.getRandomBytesAsync(1024)); 25 await expect(Random.getRandomBytesAsync(-1)).rejects.toThrowError(TypeError); 26 await expect(Random.getRandomBytesAsync(1025)).rejects.toThrowError(TypeError); 27 await expect(Random.getRandomBytesAsync('invalid' as any)).rejects.toThrowError(TypeError); 28 await expect(Random.getRandomBytesAsync(null as any)).rejects.toThrowError(TypeError); 29 await expect(Random.getRandomBytesAsync({} as any)).rejects.toThrowError(TypeError); 30 await expect(Random.getRandomBytesAsync(NaN)).rejects.toThrowError(TypeError);
|
| H A D | Random-test.native.ts | 2 import * as Random from '../Random'; 6 const value = await Random.getRandomBytesAsync(0); 13 const value = await Random.getRandomBytesAsync(3); 19 await expect(Random.getRandomBytesAsync(0)); 20 await expect(Random.getRandomBytesAsync(1024)); 21 await expect(Random.getRandomBytesAsync(512.5));
|
| /expo/apps/test-suite/tests/ |
| H A D | Random.js | 1 import * as Random from 'expo-random'; 9 const bytes = await Random.getRandomBytesAsync(length); 17 const bytes = Random.getRandomBytes(length); 26 const firstDraw = Random.getRandomBytes(length); 27 const secondDraw = Random.getRandomBytes(length);
|
| /expo/docs/pages/versions/v46.0.0/sdk/ |
| H A D | random.mdx | 2 title: Random 12 `expo-random` provides a native interface for creating strong random bytes. With `Random` you can c… 23 import * as Random from 'expo-random'; 26 <APISection packageName="expo-random" apiName="Random" />
|
| /expo/docs/pages/versions/v47.0.0/sdk/ |
| H A D | random.mdx | 2 title: Random 12 `expo-random` provides a native interface for creating strong random bytes. With `Random` you can c… 23 import * as Random from 'expo-random'; 26 <APISection packageName="expo-random" apiName="Random" />
|
| /expo/docs/pages/versions/unversioned/sdk/ |
| H A D | random.mdx | 2 title: Random 14 `expo-random` provides a native interface for creating strong random bytes. With `Random` you can c… 25 import * as Random from 'expo-random'; 28 <APISection packageName="expo-random" apiName="Random" />
|
| /expo/docs/pages/versions/v48.0.0/sdk/ |
| H A D | random.mdx | 2 title: Random 14 `expo-random` provides a native interface for creating strong random bytes. With `Random` you can c… 25 import * as Random from 'expo-random'; 28 <APISection packageName="expo-random" apiName="Random" />
|
| /expo/docs/pages/versions/v49.0.0/sdk/ |
| H A D | random.mdx | 2 title: Random 14 `expo-random` provides a native interface for creating strong random bytes. With `Random` you can c… 25 import * as Random from 'expo-random'; 28 <APISection packageName="expo-random" apiName="Random" />
|
| /expo/packages/expo-random/build/ |
| H A D | Random.d.ts.map | 1 {"version":3,"file":"Random.d.ts","sourceRoot":"","sources":["../src/Random.ts"],"names":[],"mappin…
|
| /expo/android/vendored/unversioned/@react-native-async-storage/async-storage/android/src/test/java/com/reactnativecommunity/asyncstorage/next/ |
| H A D | StorageTest.kt | 14 import kotlin.random.Random in <lambda>() 43 val indicesToRemove = (1..4).map { Random.nextInt(0, entriesCount) }.distinct() in <lambda>() 86 private fun createRandomEntries(count: Int = Random.nextInt(10)): List<Entry> { in <lambda>()
|
| /expo/android/vendored/sdk49/@react-native-async-storage/async-storage/android/src/test/java/abi49_0_0/com/reactnativecommunity/asyncstorage/next/ |
| H A D | StorageTest.kt | 14 import kotlin.random.Random in <lambda>() 43 val indicesToRemove = (1..4).map { Random.nextInt(0, entriesCount) }.distinct() in <lambda>() 86 private fun createRandomEntries(count: Int = Random.nextInt(10)): List<Entry> { in <lambda>()
|
| /expo/android/vendored/sdk48/@react-native-async-storage/async-storage/android/src/test/java/abi48_0_0/com/reactnativecommunity/asyncstorage/next/ |
| H A D | StorageTest.kt | 14 import kotlin.random.Random in <lambda>() 43 val indicesToRemove = (1..4).map { Random.nextInt(0, entriesCount) }.distinct() in <lambda>() 86 private fun createRandomEntries(count: Int = Random.nextInt(10)): List<Entry> { in <lambda>()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/modules/api/notifications/ |
| H A D | NotificationsModule.java | 20 import java.util.Random; 233 int notificationId = new Random().nextInt(); in presentLocalNotificationWithChannel() 271 int notificationId = new Random().nextInt(); in scheduleLocalNotificationWithChannel() 351 int notificationId = Math.abs(new Random().nextInt()); in scheduleNotificationWithTimer() 389 int notificationId = Math.abs(new Random().nextInt()); in scheduleNotificationWithCalendar()
|
| /expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/notifications/ |
| H A D | NotificationsModule.java | 20 import java.util.Random; 233 int notificationId = new Random().nextInt(); in presentLocalNotificationWithChannel() 271 int notificationId = new Random().nextInt(); in scheduleLocalNotificationWithChannel() 351 int notificationId = Math.abs(new Random().nextInt()); in scheduleNotificationWithTimer() 389 int notificationId = Math.abs(new Random().nextInt()); in scheduleNotificationWithCalendar()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/notifications/ |
| H A D | NotificationsModule.java | 20 import java.util.Random; 233 int notificationId = new Random().nextInt(); in presentLocalNotificationWithChannel() 271 int notificationId = new Random().nextInt(); in scheduleLocalNotificationWithChannel() 351 int notificationId = Math.abs(new Random().nextInt()); in scheduleNotificationWithTimer() 389 int notificationId = Math.abs(new Random().nextInt()); in scheduleNotificationWithCalendar()
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/notifications/ |
| H A D | NotificationsModule.java | 20 import java.util.Random; 233 int notificationId = new Random().nextInt(); in presentLocalNotificationWithChannel() 271 int notificationId = new Random().nextInt(); in scheduleLocalNotificationWithChannel() 351 int notificationId = Math.abs(new Random().nextInt()); in scheduleNotificationWithTimer() 389 int notificationId = Math.abs(new Random().nextInt()); in scheduleNotificationWithCalendar()
|
| /expo/apps/native-component-list/src/screens/ |
| H A D | RandomScreen.tsx | 25 title: 'Random',
|
| H A D | ExpoApisScreen.tsx | 63 'Random',
|
| /expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/ |
| H A D | AppContextActivityResultRegistry.kt | 67 private var random: Random = Random() in <lambda>() 251 dataPersistor.retrieveSerializable("random")?.let { random = it as Random } in <lambda>()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/activityresult/ |
| H A D | AppContextActivityResultRegistry.kt | 67 private var random: Random = Random() in <lambda>() 251 dataPersistor.retrieveSerializable("random")?.let { random = it as Random } in <lambda>()
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/kotlin/activityresult/ |
| H A D | AppContextActivityResultRegistry.kt | 67 private var random: Random = Random() in <lambda>() 251 dataPersistor.retrieveSerializable("random")?.let { random = it as Random } in <lambda>()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/activityresult/ |
| H A D | AppContextActivityResultRegistry.kt | 67 private var random: Random = Random() in <lambda>() 251 dataPersistor.retrieveSerializable("random")?.let { random = it as Random } in <lambda>()
|
| /expo/guides/ |
| H A D | API Design (SDK Audit).md | 19 | Random | Evan | February 2019 | ✅ | ✅ | |
|
| /expo/packages/expo-random/ |
| H A D | README.md | 8 Provides a native interface for creating strong random bytes. With `Random` you can generate random…
|
| /expo/apps/bare-expo/ |
| H A D | README.md | 12 - ex: `yarn open android Random`
|