Home
last modified time | relevance | path

Searched refs:udid (Results 1 – 25 of 28) sorted by relevance

12

/expo/packages/@expo/cli/src/start/platforms/ios/__tests__/
H A DpromptAppleDevice-test.ts12 { udid: 'abc' },
13 { udid: 'def' },
14 { udid: 'should-be-first' },
15 { udid: 'ghi' },
17 expect(devices[0].udid).toBe('should-be-first');
23 { udid: 'abc' },
24 { udid: 'def' },
26 expect(devices[0].udid).toBe('abc');
H A DensureSimulatorAppRunning-test.ts14 await ensureSimulatorAppRunningAsync({ udid: '123' });
23 await ensureSimulatorAppRunningAsync({ udid: '123' });
39 ensureSimulatorAppRunningAsync({ udid: '123' }, { maxWaitTime: 100 })
H A Dsimctl-test.ts48 expect(device.udid).toEqual(expect.any(String));
67 { udid: 'FA43A0C6-C2AD-442D-B8B1-EAF3E88CF3BF' },
86 await expect(getContainerPathAsync({ udid: undefined }, { appId: 'foobar' })).resolves.toBe(
101 await expect(getContainerPathAsync({ udid: undefined }, { appId: 'foobar' })).resolves.toBe(
H A DAppleDeviceManager-test.ts15 return new AppleDeviceManager(asDevice({ name: 'iPhone 13', udid: '123' }));
80 { name: 'iPhone 13', udid: '123' },
89 { name: 'iPhone 13', udid: '123' },
H A DApplePlatformManager-test.ts22 async () => new AppleDeviceManager({ udid: '123', name: 'iPhone 13' } as any)
86 { name: 'iPhone 13', udid: '123' },
/expo/packages/@expo/cli/src/run/ios/appleDevice/client/
H A DUsbmuxdClient.ts159 async getDevice(udid?: string): Promise<UsbmuxdDevice> {
160 debug(`getDevice ${udid ? 'udid: ' + udid : ''}`);
167 if (!udid) {
172 if (device.Properties && device.Properties.SerialNumber === udid) {
177 throw new CommandError('APPLE_DEVICE_USBMUXD', `No device found (udid: ${udid})`);
180 async readPairRecord(udid: string): Promise<UsbmuxdPairRecord> {
181 debug(`readPairRecord: ${udid}`);
185 extraFields: { PairRecordID: udid },
200 `There was an error reading pair record for device (udid: ${udid})`,
/expo/packages/@expo/cli/src/start/platforms/ios/
H A DAppleDeviceManager.ts33 { udid, osType }: Partial<Pick<SimControl.Device, 'udid' | 'osType'>> = {},
37 if (!udid) {
49 udid = bestUdid;
55 assert(udid);
56 return SimControl.bootAsync({ udid });
63 return await ensureSimulatorOpenAsync({ udid, osType }, false);
96 return this.device.udid;
107 return ensureSimulatorOpenAsync({ osType: this.device.osType, udid: this.device.udid });
127 `npx expo run:ios -d ${this.device.udid}`
198 `Device ${this.device.name} (${this.device.udid}) has no app to handle the URI: ${url}`
H A DpromptAppleDevice.ts20 while (devices[0].udid !== defaultId && iterations < devices.length) {
35 return devices.find(({ udid }) => results === udid)!;
52 value: item.udid,
H A DgetBestSimulator.ts33 simulatorOpenedByApp?.udid &&
73 const defaultSimulator = simulators.find((device) => device.udid === defaultId);
80 return simulators[0]?.udid ?? null;
103 return simulatorOpenedByApp.udid;
H A DensureSimulatorAppRunning.ts67 async function openSimulatorAppAsync(device: { udid?: string }) {
69 if (device.udid) {
71 args.push('--args', '-CurrentDeviceUDID', device.udid);
H A DsimctlLogging.ts94 SimulatorLogStreamer.cache.find((streamer) => streamer.device.udid === device.udid) ??
112 return getImageNameFromBundleIdentifierAsync(this.device.udid, this.resolver.appId);
121 throw new CommandError(`Could not find pid for ${this.device.udid}`);
128 this.device.udid,
287 udid: string,
290 const containerPath = await getContainerPathAsync({ udid }, { appId: bundleIdentifier });
H A Dsimctl.ts22 udid: string;
127 await bootDeviceAsync({ udid: resolveId(device) });
182 if (device.udid) {
183 return devices.find((bootedDevice) => bootedDevice.udid === device.udid) ?? null;
193 await simctlAsync(['boot', device.udid]);
277 return device.udid ?? 'booted';
/expo/packages/@expo/cli/src/run/ios/options/
H A DresolveDevice.ts54 …`Resolved default device (name: ${manager.device.name}, udid: ${manager.device.udid}, osType: ${os…
85 device.udid.toLowerCase() === searchValue || device.name.toLowerCase() === searchValue
96 logDeviceArgument(device.udid);
98 return ensureSimulatorOpenAsync({ udid: device.udid });
H A DpromptDevice.ts27 value: item.udid,
45 return devices.find((device) => device.udid === value)!;
/expo/packages/@expo/cli/src/run/ios/appleDevice/__tests__/
H A DinstallOnDeviceAsync-test.ts26 udid: 'quux',
42 udid: 'quux',
59 udid: 'quux',
76 udid: 'quux',
/expo/packages/@expo/cli/src/run/ios/options/__tests__/
H A DpromptDevice-test.ts12 udid: '00008101-001964A22629003A',
25 udid: '00008101-001964A22629003A',
37 udid: 'ADEF1A93-5D20-40C3-826C-5A4E04DBBB52',
58 udid: '4DE5F2E1-C6FF-4CCE-BD27-7D40E2674066',
H A DresolveOptions-test.ts16 udid: '123',
29 device: { name: 'mock', udid: '123' },
57 device: { name: 'mock', udid: '123' },
H A DresolveDevice-test.ts7 udid: 'ADEF1A93-5D20-40C3-826C-5A4E04DBBB52',
28 udid: '00008101-001964A22629003A',
87 (await resolveDeviceAsync(`00008101-001964A22629003A`, { osType: undefined })).udid
/expo/packages/@expo/cli/src/run/ios/__tests__/
H A DrunIosAsync-test.ts25 udid: '123',
91 device: { name: 'mock', udid: '123' },
102 device: { name: 'mock', udid: '123' },
116 udid: '00008101-001964A22629003A',
132 udid: '00008101-001964A22629003A',
149 udid: '00008101-001964A22629003A',
H A DlaunchApp-test.ts64 udid: '123',
80 udid: '123',
97 udid: '00008101-001964A22629003A',
H A DXcodeBuild-test.ts28 device: { udid: 'demo-udid', name: 'foobar' },
58 device: { udid: 'demo-udid', name: 'foobar' },
/expo/packages/@expo/cli/src/run/ios/appleDevice/
H A DinstallOnDeviceAsync.ts30 udid: string;
33 const { bundle, bundleIdentifier, appDeltaDirectory, udid, deviceName } = props; constant
39 udid,
H A DAppleDevice.ts21 udid: string; property
56 udid: device.Properties.SerialNumber,
64 udid,
72 udid: string;
84 const clientManager = await ClientManager.create(udid);
/expo/packages/@expo/cli/src/run/ios/
H A DlaunchApp.ts26 udid: props.device.udid,
H A DXcodeBuild.types.ts33 device: { name: string; udid: string };

12