Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
Lawrence Lomax 2ecfbaa810 Add FBDeviceDiagnosticInformationCommands
Summary:
This is an implementation of FBDiagnosticInformationCommands for devices.

This fetches information about batteries as well as the home screen. All the data returned here is JSON serializable

Reviewed By: zeyadsalloum

Differential Revision: D22790768

fbshipit-source-id: 276099e45c09fee71edae49c5e113470e9638268
2020-07-29 05:59:55 -07:00
Lawrence Lomax b944258608 Add JSON Serializable Filter operation
Summary: This can then be re-used in a new call.

Reviewed By: c-ryan747

Differential Revision: D22661985

fbshipit-source-id: b3b786359d76036d51bba65a4a5414ce380b2e63
2020-07-28 04:45:46 -07:00
Andres Suarez 68dc6fd7c6 Yearless license header
Differential Revision: D18292977

fbshipit-source-id: 726c66fe753450cc6500180bb8e158e66713ebd0
2019-11-03 13:03:11 -08:00
Lawrence Lomax ff8691e4d4 Re-license as MIT
Summary: $TITLE

Reviewed By: zeyadsalloum, JoelMarcey

Differential Revision: D14365624

fbshipit-source-id: 803f4b69f8df5c45ac02ded04a4fd8f61bd502d7
2019-03-08 01:10:44 -08:00
Lawrence Lomax 2a39b137c8 Add FBFuture
Summary: Futures are surprisingly easy to implement and will make the API a lot more friendly for many cases. We're already half of the way there with `FBTerminationAwaitable` so we may as well go all-in as this will allow for a much nicer API to use and combine with other futures.

Reviewed By: c-ryan747

Differential Revision: D5619700

fbshipit-source-id: 8c4b3072256a8ce2991fcb0a79f69940c4ce4d72
2017-08-30 09:38:32 -07:00
Lawrence Lomax 108c75bb74 Add FBJSONDeserializable conformance to FBTestLaunchConfiguration
Summary: This will allow easier conformance to `FBiOSTargetAction`

Reviewed By: marekcirkos

Differential Revision: D4834112

fbshipit-source-id: e5d86dbccab37f0e00861300450f2e5b24102785
2017-04-06 08:18:39 -07:00
Lawrence Lomax 6477f0de87 Use Unisgned Integer (unsigned long long) for enumerations
Summary: `FBSimulatorState` puports to mirror the values of `CoreSimulator` but this isn't completely true as there is a difference in signedness. The dissasembly for CoreSimulator shows the `Invalid` state as being anything greater than `0x4` rather than `-1`. This means that Index Sets can be used as a more efficient way of storing collections of enumerated types, since the states can't be stored in a bitmask.

Reviewed By: marekcirkos

Differential Revision: D3184146

fb-gh-sync-id: 1ffe744611da91cb224b5c9b4cec6d8b9acfd408
fbshipit-source-id: 1ffe744611da91cb224b5c9b4cec6d8b9acfd408
2016-04-18 02:50:23 -07:00