diff options
author | Joey Grover <joeygrover@gmail.com> | 2017-03-28 13:14:16 -0400 |
---|---|---|
committer | Joey Grover <joeygrover@gmail.com> | 2017-03-28 13:14:16 -0400 |
commit | 7d34a310d14836aae59a411c0c5df3a178c0d5f4 (patch) | |
tree | 2244937467db420353946c214fab20f2c0d42948 /sdl_android | |
parent | d578442ed4c4a18dd43b2edf0e99ad77a8db70a7 (diff) | |
download | sdl_android-7d34a310d14836aae59a411c0c5df3a178c0d5f4.tar.gz |
Move unit test assets and remove old andorid test directory
Diffstat (limited to 'sdl_android')
38 files changed, 1703 insertions, 0 deletions
diff --git a/sdl_android/src/androidTest/assets/AddCommand.json b/sdl_android/src/androidTest/assets/AddCommand.json new file mode 100644 index 000000000..c6567e966 --- /dev/null +++ b/sdl_android/src/androidTest/assets/AddCommand.json @@ -0,0 +1,27 @@ +{ + "request":{ + "name":"AddCommand", + "correlationID":105, + "parameters":{ + "cmdID":1098, + "vrCommands":[ + "vr1", + "vr2", + "vr3" + ], + "cmdIcon":{ + "value":"cmdImage1.png", + "imageType":"DYNAMIC" + }, + "menuParams":{ + "parentID":194, + "position":1, + "menuName":"My Command" + } + } + }, + "response":{ + "name":"AddCommandResponse", + "correlationID":106 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/AddSubMenu.json b/sdl_android/src/androidTest/assets/AddSubMenu.json new file mode 100644 index 000000000..5d86c2615 --- /dev/null +++ b/sdl_android/src/androidTest/assets/AddSubMenu.json @@ -0,0 +1,15 @@ +{ + "request":{ + "name":"AddSubMenu", + "correlationID":107, + "parameters":{ + "menuID":765, + "position":2, + "menuName":"Menu Name" + } + }, + "response":{ + "name":"AddSubMenuResponse", + "correlationID":108 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/Alert.json b/sdl_android/src/androidTest/assets/Alert.json new file mode 100644 index 000000000..ab497110b --- /dev/null +++ b/sdl_android/src/androidTest/assets/Alert.json @@ -0,0 +1,55 @@ +{ + "request":{ + "name":"Alert", + "correlationID":109, + "parameters":{ + "playTone":true, + "duration":500, + "alertText1":"Line 1", + "alertText2":"Line 2", + "alertText3":"Line 3", + "progressIndicator":true, + "ttsChunks":[ + { + "text":"Phrase 1", + "type":"TEXT" + }, + { + "text":"Phrase 2", + "type":"TEXT" + } + ], + "softButtons":[ + { + "isHighlighted":true, + "softButtonID":6, + "systemAction":"STEAL_FOCUS", + "text":"Button 1", + "type":"IMAGE", + "image":{ + "value":"image.png", + "imageType":"STATIC" + } + }, + { + "isHighlighted":false, + "softButtonID":3, + "systemAction":"DEFAULT_ACTION", + "text":"Button 2", + "type":"BOTH", + "image":{ + "value":"image.png", + "imageType":"DYNAMIC" + } + } + ] + } + }, + "response":{ + "name":"AlertResponse", + "correlationID":110, + "parameters":{ + "tryAgainTime":400 + } + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/AlertManeuver.json b/sdl_android/src/androidTest/assets/AlertManeuver.json new file mode 100644 index 000000000..4099f80b0 --- /dev/null +++ b/sdl_android/src/androidTest/assets/AlertManeuver.json @@ -0,0 +1,46 @@ +{ + "request":{ + "name":"AlertManeuver", + "correlationID":194, + "parameters":{ + "ttsChunks":[ + { + "text":"Phrase 1", + "type":"TEXT" + }, + { + "text":"Phrase 2", + "type":"TEXT" + } + ], + "softButtons":[ + { + "isHighlighted":true, + "softButtonID":6, + "systemAction":"STEAL_FOCUS", + "text":"Button 1", + "type":"IMAGE", + "image":{ + "value":"image.png", + "imageType":"STATIC" + } + }, + { + "isHighlighted":false, + "softButtonID":3, + "systemAction":"DEFAULT_ACTION", + "text":"Button 2", + "type":"BOTH", + "image":{ + "value":"image.png", + "imageType":"DYNAMIC" + } + } + ] + } + }, + "response":{ + "name":"AlertManeuverResponse", + "correlationID":195 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/ChangeRegistration.json b/sdl_android/src/androidTest/assets/ChangeRegistration.json new file mode 100644 index 000000000..ceb93ccd3 --- /dev/null +++ b/sdl_android/src/androidTest/assets/ChangeRegistration.json @@ -0,0 +1,14 @@ +{ + "request":{ + "name":"ChangeRegistration", + "correlationID":111, + "parameters":{ + "language":"ES-ES", + "hmiDisplayLanguage":"EN-US" + } + }, + "response":{ + "name":"ChangeRegistrationResponse", + "correlationID":112 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/CreateInteractionChoiceSet.json b/sdl_android/src/androidTest/assets/CreateInteractionChoiceSet.json new file mode 100644 index 000000000..6f01500db --- /dev/null +++ b/sdl_android/src/androidTest/assets/CreateInteractionChoiceSet.json @@ -0,0 +1,61 @@ +{ + "request":{ + "name":"CreateInteractionChoiceSet", + "correlationID":113, + "parameters":{ + "interactionChoiceSetID":56, + "choiceSet":[ + { + "secondaryText":"Secondary Text", + "tertiaryText":"Tertiary Text", + "secondaryImage":{ + "value":"lessImportantImage.png", + "imageType":"STATIC" + }, + "menuName":"Menu Name", + "vrCommands":[ + "vr1", + "vr2", + "vr3", + "vr4", + "vr5", + "vr6", + "vr7" + ], + "choiceID":1, + "image":{ + "value":"image.png", + "imageType":"DYNAMIC" + } + }, + { + "secondaryText":"Secondary Text 2", + "tertiaryText":"Tertiary Text 2", + "secondaryImage":{ + "value":"evenLessImportantImage.png", + "imageType":"STATIC" + }, + "menuName":"Menu Name 2", + "vrCommands":[ + "vr1", + "vr2", + "vr3", + "vr4", + "vr5", + "vr6", + "vr7" + ], + "choiceID":2, + "image":{ + "value":"image.png", + "imageType":"DYNAMIC" + } + } + ] + } + }, + "response":{ + "name":"CreateInteractionChoiceSetResponse", + "correlationID":114 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/DeleteCommand.json b/sdl_android/src/androidTest/assets/DeleteCommand.json new file mode 100644 index 000000000..cba061a03 --- /dev/null +++ b/sdl_android/src/androidTest/assets/DeleteCommand.json @@ -0,0 +1,13 @@ +{ + "request":{ + "name":"DeleteCommand", + "correlationID":115, + "parameters":{ + "cmdID":34 + } + }, + "response":{ + "name":"DeleteCommandResponse", + "correlationID":116 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/DeleteFile.json b/sdl_android/src/androidTest/assets/DeleteFile.json new file mode 100644 index 000000000..ed3ff0cdc --- /dev/null +++ b/sdl_android/src/androidTest/assets/DeleteFile.json @@ -0,0 +1,16 @@ +{ + "request":{ + "name":"DeleteFile", + "correlationID":117, + "parameters":{ + "syncFileName":"fileName.file" + } + }, + "response":{ + "name":"DeleteFileResponse", + "correlationID":118, + "parameters":{ + "spaceAvailable":2345678 + } + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/DeleteInteractionChoiceSet.json b/sdl_android/src/androidTest/assets/DeleteInteractionChoiceSet.json new file mode 100644 index 000000000..40419f005 --- /dev/null +++ b/sdl_android/src/androidTest/assets/DeleteInteractionChoiceSet.json @@ -0,0 +1,13 @@ +{ + "request":{ + "name":"DeleteInteractionChoiceSet", + "correlationID":119, + "parameters":{ + "interactionChoiceSetID":56, + } + }, + "response":{ + "name":"DeleteInteractionChoiceSetResponse", + "correlationID":120 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/DeleteSubMenu.json b/sdl_android/src/androidTest/assets/DeleteSubMenu.json new file mode 100644 index 000000000..d0619a1f6 --- /dev/null +++ b/sdl_android/src/androidTest/assets/DeleteSubMenu.json @@ -0,0 +1,13 @@ +{ + "request":{ + "name":"DeleteSubMenu", + "correlationID":121, + "parameters":{ + "menuID":765, + } + }, + "response":{ + "name":"AddCommandResponse", + "correlationID":122 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/DiagnosticMessage.json b/sdl_android/src/androidTest/assets/DiagnosticMessage.json new file mode 100644 index 000000000..ff5e4a92d --- /dev/null +++ b/sdl_android/src/androidTest/assets/DiagnosticMessage.json @@ -0,0 +1,34 @@ +{ + "request":{ + "name":"DiagnosticMessage", + "correlationID":123, + "parameters":{ + "targetID":46, + "messageLength":231, + "messageData":[ + 33245, + 23456, + 234, + 5465, + 64365, + 132435, + 46576 + ] + } + }, + "response":{ + "name":"DiagnosticMessageResponse", + "correlationID":124, + "parameters":{ + "messageDataResult":[ + 33245, + 23456, + 234, + 5465, + 64365, + 132435, + 46576 + ] + } + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/EndAudioPassThru.json b/sdl_android/src/androidTest/assets/EndAudioPassThru.json new file mode 100644 index 000000000..ed6554bc3 --- /dev/null +++ b/sdl_android/src/androidTest/assets/EndAudioPassThru.json @@ -0,0 +1,10 @@ +{ + "request":{ + "name":"EndAudioPassThru", + "correlationID":125 + }, + "response":{ + "name":"EndAudioPassThruResponse", + "correlationID":126 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/GetDTCs.json b/sdl_android/src/androidTest/assets/GetDTCs.json new file mode 100644 index 000000000..7a0f0e51d --- /dev/null +++ b/sdl_android/src/androidTest/assets/GetDTCs.json @@ -0,0 +1,21 @@ +{ + "request":{ + "name":"GetDTCs", + "correlationID":127, + "parameters":{ + "dtcMask":4356, + "ecuName":4567 + } + }, + "response":{ + "name":"GetDTCsResponse", + "correlationID":128, + "parameters":{ + "dtc":[ + "item1", + "item2", + "item3" + ] + } + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/GetVehicleData.json b/sdl_android/src/androidTest/assets/GetVehicleData.json new file mode 100644 index 000000000..e27937718 --- /dev/null +++ b/sdl_android/src/androidTest/assets/GetVehicleData.json @@ -0,0 +1,157 @@ +{ + "request":{ + "name":"AddCommand", + "correlationID":129, + "parameters":{ + "speed":true, + "rpm":true, + "externalTemperature":false, + "fuelLevel":true, + "vin":true, + "prndl":true, + "tirePressure":true, + "engineTorque":false, + "odometer":true, + "gps":false, + "fuelLevel_State":true, + "instantFuelConsumption":false, + "beltStatus":true, + "bodyInformation":false, + "deviceStatus":true, + "driverBraking":true, + "wiperStatus":false, + "headLampStatus":true, + "accPedalPosition":true, + "steeringWheelAngle":true, + "eCallInfo":false, + "airbagStatus":true, + "emergencyEvent":false, + "clusterModeStatus":true, + "myKey":true + } + }, + "response":{ + "name":"AddCommandResponse", + "correlationID":130, + "parameters":{ + "speed":35.6, + "rpm":2500, + "externalTemperature":140.1, + "fuelLevel":3.7, + "vin":"FIUE4WHR3984579THIRU", + "prndl":"SECOND", + "tirePressure":{ + "pressureTellTale":"ON", + "leftFront":"NORMAL", + "rightFront":"FAULT", + "leftRear":"LOW", + "innerLeftRear":"NORMAL", + "innerRightRear":"LOW", + "rightRear":"ALERT" + }, + "engineTorque":518.3, + "odometer":140000, + "gps":{ + "longitudeDegrees":104.2, + "latitudeDegrees":56.3, + "utcYear":2015, + "utcMonth":7, + "utcDay":14, + "utcHours":11, + "utcMinutes":38, + "utcSeconds":12, + "compassDirection":"NORTHWEST", + "pdop":4.1, + "vdop":2.4, + "hdop":5.5, + "actual":true, + "satellites":3, + "dimension":"_2D", + "altitude":768.5, + "heading":315.0, + "speed":30.5 + }, + "fuelLevel_State":"ALERT", + "instantFuelConsumption":2.76, + "beltStatus":{ + "driverBeltDeployed":"NO", + "passengerBeltDeployed":"YES", + "passengerBuckleBelted":"NO", + "driverBuckleBelted":"NO", + "leftRow2BuckleBelted":"NO_EVENT", + "passengerChildDetected":"NO", + "rightRow2BuckleBelted":"NO_EVENT", + "middleRow2BuckleBelted":"YES", + "middleRow3BuckleBelted":"NO_EVENT", + "leftRow3BuckleBelted":"NO", + "rightRow3BuckleBelted":"NO_EVENT", + "rearInflatableBelted":"NO", + "rightRearInflatableBelted":"NO_EVENT", + "middleRow1BeltDeployed":"NO", + "middleRow1BuckleBelted":"YES" + }, + "bodyInformation":{ + "parkBrakeActive":false, + "ignitionStableStatus":"IGNITION_SWITCH_NOT_STABLE", + "ignitionStatus":"ACCESSORY", + "driverDoorAjar":true, + "passengerDoorAjar":true, + "rearLeftDoorAjar":false, + "rearRightDoorAjar":true + }, + "deviceStatus":{ + "voiceRecOn":true, + "btIconOn":true, + "callActive":true, + "phoneRoaming":false, + "textMsgAvailable":false, + "battLevelStatus":"TWO_LEVEL_BARS", + "stereoAudioOutputMuted":false, + "monoAudioOutputMuted":true, + "signalLevelStatus":"ONE_LEVEL_BARS", + "primaryAudioSource":"BLUETOOTH_STEREO_BTST", + "eCallEventActive":false + }, + "driverBraking":"NO", + "wiperStatus":"COURTESYWIPE", + "headLampStatus":{ + "ambientLightSensorStatus":"TWILIGHT_3", + "highBeamsOn":true, + "lowBeamsOn":false + }, + "accPedalPosition":28.29, + "steeringWheelAngle":70.5, + "eCallInfo":{ + "eCallNotificationStatus":"NOT_SUPPORTED", + "auxECallNotificationStatus":"NOT_USED", + "eCallConfirmationStatus":"ECALL_CONFIGURED_OFF" + }, + "airbagStatus":{ + "driverAirbagDeployed":"NO", + "driverSideAirbagDeployed":"NO", + "driverCurtainAirbagDeployed":"YES", + "driverKneeAirbagDeployed":"NO", + "passengerAirbagDeployed":"NO", + "passengerSideAirbagDeployed":"NO", + "passengerCurtainAirbagDeployed":"YES", + "passengerKneeAirbagDeployed":"NO" + }, + "emergencyEvent":{ + "emergencyEventType":"FRONTAL", + "fuelCutoffStatus":"TERMINATE_FUEL", + "rolloverEvent":"YES", + "maximumChangeVelocity":5, + "multipleEvents":"NO" + }, + "clusterModeStatus":{ + "powerModeActive":true, + "powerModeQualificationStatus":"POWER_MODE_EVALUATION_IN_PROGRESS", + "carModeStatus":"TRANSPORT", + "powerModeStatus":"POST_ACCESORY_0" + }, + "myKey":{ + "e911Override":"NO_DATA_EXISTS" + } + } + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/ListFiles.json b/sdl_android/src/androidTest/assets/ListFiles.json new file mode 100644 index 000000000..d34d64ff0 --- /dev/null +++ b/sdl_android/src/androidTest/assets/ListFiles.json @@ -0,0 +1,18 @@ +{ + "request":{ + "name":"ListFiles", + "correlationID":131 + }, + "response":{ + "name":"ListFilesResponse", + "correlationID":132, + "parameters":{ + "filenames":[ + "file1", + "file2", + "file3" + ], + "spaceAvailable":1947255 + } + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/PerformAudioPassThru.json b/sdl_android/src/androidTest/assets/PerformAudioPassThru.json new file mode 100644 index 000000000..60e88b694 --- /dev/null +++ b/sdl_android/src/androidTest/assets/PerformAudioPassThru.json @@ -0,0 +1,29 @@ +{ + "request":{ + "name":"PerformAudioPassThru", + "correlationID":133, + "parameters":{ + "maxDuration":5, + "audioPassThruDisplayText1":"Text 1", + "audioPassThruDisplayText2":"Text 2", + "muteAudio":true, + "samplingRate":"8KHZ", + "audioType":"PCM", + "initialPrompt":[ + { + "text":"TEXT", + "type":"Hello" + }, + { + "text":"TEXT", + "type":"Goodbye" + } + ], + "bitsPerSample":"8_BIT" + } + }, + "response":{ + "name":"PerformAudioPassThruResponse", + "correlationID":134 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/PerformInteraction.json b/sdl_android/src/androidTest/assets/PerformInteraction.json new file mode 100644 index 000000000..1096d9c4d --- /dev/null +++ b/sdl_android/src/androidTest/assets/PerformInteraction.json @@ -0,0 +1,75 @@ +{ + "request":{ + "name":"PerformInteraction", + "correlationID":135, + "parameters":{ + "initialText":"Initial Text", + "interactionMode":"VR_ONLY", + "interactionChoiceSetIDList":[ + 442, + 2352, + 4623, + 8954 + ], + "interactionLayout":"ICON_ONLY", + "initialPrompt":[ + { + "text":"TEXT", + "type":"Hello" + }, + { + "text":"TEXT", + "type":"Goodbye" + } + ], + "helpPrompt":[ + { + "text":"TEXT", + "type":"Hello2" + }, + { + "text":"TEXT", + "type":"Goodbye2" + } + ], + "timeoutPrompt":[ + { + "text":"TEXT", + "type":"Hello3" + }, + { + "text":"TEXT", + "type":"Goodbye3" + } + ], + "timeout":0, + "vrHelp":[ + { + "position":7, + "text":"Voice Recognition Text", + "image":{ + "value":"image.png", + "imageType":"DYNAMIC" + } + }, + { + "position":3, + "text":"Voice Recognition Text 2", + "image":{ + "value":"image2.png", + "imageType":"STATIC" + } + } + ] + } + }, + "response":{ + "name":"PerformInteractionResponse", + "correlationID":136, + "parameters":{ + "manualTextEntry":"Text Entry", + "triggerSource":"MENU", + "choiceID":45, + } + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/PutFile.json b/sdl_android/src/androidTest/assets/PutFile.json new file mode 100644 index 000000000..1b14dc798 --- /dev/null +++ b/sdl_android/src/androidTest/assets/PutFile.json @@ -0,0 +1,26 @@ +{ + "request":{ + "name":"PutFile", + "correlationID":137, + "parameters":{ + "persistentFile":true, + "systemFile":false, + "fileType":"GRAPHIC_JPEG", + "syncFileName":"filename.txt", + "offset":2, + "length":456, + "bulkData":[ + 0, + 1, + 2 + ] + } + }, + "response":{ + "name":"PutFileResponse", + "correlationID":138, + "parameters":{ + "spaceAvailable":43567543, + } + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/ReadDID.json b/sdl_android/src/androidTest/assets/ReadDID.json new file mode 100644 index 000000000..5cb3403fb --- /dev/null +++ b/sdl_android/src/androidTest/assets/ReadDID.json @@ -0,0 +1,37 @@ +{ + "request":{ + "name":"ReadDID", + "correlationID":139, + "parameters":{ + "ecuName":526, + "didLocation":[ + 5436, + 34574, + 27, + 57, + 74, + 3567, + 67, + 467 + ] + } + }, + "response":{ + "name":"ReadDIDResponse", + "correlationID":140, + "parameters":{ + "didResult":[ + { + "resultCode":"USER_DISALLOWED", + "data":"dataGoesHere", + "didLocation":56484 + }, + { + "resultCode":"SUCCESS", + "data":"moreDataGoesHere", + "didLocation":1647 + } + ] + } + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/RegisterAppInterface.json b/sdl_android/src/androidTest/assets/RegisterAppInterface.json new file mode 100644 index 000000000..abb7611ae --- /dev/null +++ b/sdl_android/src/androidTest/assets/RegisterAppInterface.json @@ -0,0 +1,198 @@ +{ + "request":{ + "name":"RegisterAppInterface", + "correlationID":141, + "parameters":{ + "ttsName":[ + { + "text":"Phrase 1", + "type":"TEXT" + }, + { + "text":"Phrase 2", + "type":"TEXT" + } + ], + "hmiDisplayLanguageDesired":"EN-US", + "appHMIType":[ + "SOCIAL", + "MEDIA" + ], + "appID":"t4weGRSWY", + "languageDesired":"PT-BR", + "deviceInfo":{ + "hardware":"My Hardware", + "firmwareRev":"My Firmware Revision", + "os":"Windows", + "osVersion":"95", + "carrier":"nobody", + "maxNumberRFCOMMPorts":2 + }, + "appName":"Dumb app", + "ngnMediaScreenAppName":"DA", + "isMediaApplication":true, + "vrSynonyms":[ + "dumb", + "really dumb app" + ], + "syncMsgVersion":{ + "majorVersion":3, + "minorVersion":64 + }, + "hashID":"y534htz" + } + }, + "response":{ + "name":"RegisterAppInterfaceResponse", + "correlationID":142, + "parameters":{ + "vehicleType":{ + "make":"Chrysler", + "model":"Crossfire", + "modelYear":"1820", + "trim":"Gold", + }, + "speechCapabilities":[ + "SAPI_PHONEMES", + "TEXT", + "PRE_RECORDED" + ], + "vrCapabilities":[ + "Text" + ], + "audioPassThruCapabilities":[ + { + "samplingRate":"16KHZ", + "audioType":"PCM", + "bitsPerSample":"16_BIT" + }, + { + "samplingRate":"44KHZ", + "audioType":"PCM", + "bitsPerSample":"8_BIT" + } + ], + "hmiZoneCapabilities":[ + "FRONT", + "BACK" + ], + "prerecordedSpeech":[ + "HELP_JINGLE", + "LISTEN_JINGLE", + "NEGATIVE_JINGLE" + ], + "supportedDiagModes":[ + 324, + 2356, + 865, + 211, + 8098 + ], + "syncMsgVersion":{ + "majorVersion":3, + "minorVersion":64 + }, + "language":"EN-US", + "buttonCapabilities":[ + { + "name":"SEEKRIGHT", + "shortPressAvailable":true, + "longPressAvailable":false, + "upDownAvailable":true + }, + { + "name":"TUNEDOWN", + "shortPressAvailable":false, + "longPressAvailable":true, + "upDownAvailable":false + } + ], + "displayCapabilities":{ + "displayType":"TYPE2", + "mediaClockFormats":[ + "CLOCKTEXT3", + "CLOCK1" + ], + "textFields":[ + { + "width":480, + "characterSet":"TYPE5SET", + "rows":360, + "name":"alertText2" + }, + { + "width":1980, + "characterSet":"CID2SET", + "rows":960, + "name":"scrollableMessageBody" + }, + ], + "imageFields":[ + { + "imageTypeSupported":[ + "GRAPHIC_JPEG", + "AUDIO_AAC" + ], + "imageResolution":{ + "resolutionWidth":640, + "resolutionHeight":480 + }, + "name":"menuIcon" + }, + { + "imageTypeSupported":[ + "BINARY", + "AUDIO_WAVE" + ], + "imageResolution":{ + "resolutionWidth":320, + "resolutionHeight":240 + }, + "name":"graphic" + } + ], + "graphicSupported":true, + "screenParams":{ + "resolution":{ + "resolutionWidth":1200, + "resolutionHeight":800 + }, + "touchEventAvailable":{ + "pressAvailable":true, + "multiTouchAvailable":false, + "doublePressAvailable":true + } + }, + "templatesAvailable":[ + "Template 1", + "Template 2", + "Template 3" + ], + "numCustomPresetsAvailable":5 + }, + "hmiDisplayLanguage":"ES-ES", + "softButtonCapabilities":[ + { + "imageSupported":false, + "shortPressAvailable":true, + "longPressAvailable":false, + "upDownAvailable":true + }, + { + "imageSupported":true, + "shortPressAvailable":false, + "longPressAvailable":true, + "upDownAvailable":false + } + ], + "presetBankCapabilities":{ + "OnScreenPresetsAvailable":false + }, + "bulkData":[ + 0, + 1, + 2 + ] + } + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/ResetGlobalProperties.json b/sdl_android/src/androidTest/assets/ResetGlobalProperties.json new file mode 100644 index 000000000..02ff2ba26 --- /dev/null +++ b/sdl_android/src/androidTest/assets/ResetGlobalProperties.json @@ -0,0 +1,17 @@ +{ + "request":{ + "name":"ResetGlobalProperties", + "correlationID":143, + "parameters":{ + "properties":[ + "HELPPROMPT", + "VRHELPTITLE", + "VRHELPITEMS" + ] + } + }, + "response":{ + "name":"ResetGlobalPropertiesResponse", + "correlationID":144 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/ScrollableMessage.json b/sdl_android/src/androidTest/assets/ScrollableMessage.json new file mode 100644 index 000000000..f86dc188c --- /dev/null +++ b/sdl_android/src/androidTest/assets/ScrollableMessage.json @@ -0,0 +1,38 @@ +{ + "request":{ + "name":"ScrollableMessage", + "correlationID":145, + "parameters":{ + "scrollableMessageBody":"Sample body text", + "timeout":1000, + "softButtons":[ + { + "isHighlighted":true, + "softButtonID":6, + "systemAction":"STEAL_FOCUS", + "text":"Button 1", + "type":"IMAGE", + "image":{ + "value":"image.png", + "imageType":"STATIC" + } + }, + { + "isHighlighted":false, + "softButtonID":3, + "systemAction":"DEFAULT_ACTION", + "text":"Button 2", + "type":"BOTH", + "image":{ + "value":"image.png", + "imageType":"DYNAMIC" + } + } + ] + } + }, + "response":{ + "name":"ScrollableMessageResponse", + "correlationID":146 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/SendLocation.json b/sdl_android/src/androidTest/assets/SendLocation.json new file mode 100644 index 000000000..c6553c59c --- /dev/null +++ b/sdl_android/src/androidTest/assets/SendLocation.json @@ -0,0 +1,26 @@ +{ + "request":{ + "name":"SendLocation", + "correlationID":190, + "parameters":{ + "latitudeDegrees":42, + "longitudeDegrees":42, + "locationName":"location", + "locationDescription":"description", + "phoneNumber":"999-999-9999", + "locationImage":{ + "value":"locationImage.png", + "imageType":"DYNAMIC" + }, + "addressLines":[ + "line1", + "line2", + "line3" + ], + } + }, + "response":{ + "name":"SendLocationResponse", + "correlationID":191 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/SetAppIcon.json b/sdl_android/src/androidTest/assets/SetAppIcon.json new file mode 100644 index 000000000..67f3b0b41 --- /dev/null +++ b/sdl_android/src/androidTest/assets/SetAppIcon.json @@ -0,0 +1,13 @@ +{ + "request":{ + "name":"SetAppIcon", + "correlationID":147, + "parameters":{ + "syncFileName":"filename.txt" + } + }, + "response":{ + "name":"SetAppIconResponse", + "correlationID":148 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/SetDisplayLayout.json b/sdl_android/src/androidTest/assets/SetDisplayLayout.json new file mode 100644 index 000000000..3b80dfb36 --- /dev/null +++ b/sdl_android/src/androidTest/assets/SetDisplayLayout.json @@ -0,0 +1,109 @@ +{ + "request":{ + "name":"SetDisplayLayout", + "correlationID":149, + "parameters":{ + "displayLayout":"someDisplayLayout" + } + }, + "response":{ + "name":"SetDisplayLayoutResponse", + "correlationID":150, + "parameters":{ + "buttonCapabilities":[ + { + "name":"SEEKRIGHT", + "shortPressAvailable":true, + "longPressAvailable":false, + "upDownAvailable":true + }, + { + "name":"TUNEDOWN", + "shortPressAvailable":false, + "longPressAvailable":true, + "upDownAvailable":false + } + ], + "displayCapabilities":{ + "displayType":"TYPE2", + "mediaClockFormats":[ + "CLOCKTEXT3", + "CLOCK1" + ], + "textFields":[ + { + "width":480, + "characterSet":"TYPE5SET", + "rows":360, + "name":"alertText2" + }, + { + "width":1980, + "characterSet":"CID2SET", + "rows":960, + "name":"scrollableMessageBody" + }, + ], + "imageFields":[ + { + "imageTypeSupported":[ + "GRAPHIC_JPEG", + "AUDIO_AAC" + ], + "imageResolution":{ + "resolutionWidth":640, + "resolutionHeight":480 + }, + "name":"menuIcon" + }, + { + "imageTypeSupported":[ + "BINARY", + "AUDIO_WAVE" + ], + "imageResolution":{ + "resolutionWidth":320, + "resolutionHeight":240 + }, + "name":"graphic" + } + ], + "graphicSupported":true, + "screenParams":{ + "resolution":{ + "resolutionWidth":1200, + "resolutionHeight":800 + }, + "touchEventAvailable":{ + "pressAvailable":true, + "multiTouchAvailable":false, + "doublePressAvailable":true + } + }, + "templatesAvailable":[ + "Template 1", + "Template 2", + "Template 3" + ], + "numCustomPresetsAvailable":5 + }, + "softButtonCapabilities":[ + { + "imageSupported":false, + "shortPressAvailable":true, + "longPressAvailable":false, + "upDownAvailable":true + }, + { + "imageSupported":true, + "shortPressAvailable":false, + "longPressAvailable":true, + "upDownAvailable":false + } + ], + "presetBankCapabilities":{ + "OnScreenPresetsAvailable":false + } + } + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/SetGlobalProperties.json b/sdl_android/src/androidTest/assets/SetGlobalProperties.json new file mode 100644 index 000000000..955d657a2 --- /dev/null +++ b/sdl_android/src/androidTest/assets/SetGlobalProperties.json @@ -0,0 +1,66 @@ +{ + "request":{ + "name":"SetGlobalProperties", + "correlationID":151, + "parameters":{ + "vrHelpTitle":"Help Title", + "menuTitle":"Menu Title", + "menuIcon":{ + "value":"imageMenu.png", + "imageType":"STATIC" + }, + "keyboardProperties":{ + "keypressMode":"SINGLE_KEYPRESS", + "keyboardLayout":"QWERTY", + "limitedCharacterList":[ + "a", + "b" + ], + "autoCompleteText":"something goes here", + "language":"EN-US", + }, + "helpPrompt":[ + { + "text":"Phrase 1", + "type":"TEXT" + }, + { + "text":"Phrase 2", + "type":"TEXT" + } + ], + "timeoutPrompt":[ + { + "text":"Phrase 1", + "type":"TEXT" + }, + { + "text":"Phrase 2", + "type":"TEXT" + } + ], + "vrHelp":[ + { + "position":2, + "text":"Text 1", + "image":{ + "value":"image.png", + "imageType":"STATIC" + } + }, + { + "position":5, + "text":"Text 2", + "image":{ + "value":"image2.png", + "imageType":"DYNAMIC" + } + } + ] + } + }, + "response":{ + "name":"SetGlobalPropertiesResponse", + "correlationID":152 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/SetMediaClockTimer.json b/sdl_android/src/androidTest/assets/SetMediaClockTimer.json new file mode 100644 index 000000000..af1671200 --- /dev/null +++ b/sdl_android/src/androidTest/assets/SetMediaClockTimer.json @@ -0,0 +1,23 @@ +{ + "request":{ + "name":"SetMediaClockTimer", + "correlationID":153, + "parameters":{ + "startTime":{ + "minutes":49, + "seconds":37, + "hours":12 + }, + "endTime":{ + "minutes":55, + "seconds":19, + "hours":12 + }, + "updateMode":"COUNTDOWN" + } + }, + "response":{ + "name":"SetMediaClockTimerResponse", + "correlationID":154 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/Show.json b/sdl_android/src/androidTest/assets/Show.json new file mode 100644 index 000000000..97ef1f20f --- /dev/null +++ b/sdl_android/src/androidTest/assets/Show.json @@ -0,0 +1,58 @@ +{ + "request":{ + "name":"Show", + "correlationID":155, + "parameters":{ + "graphic":{ + "value":"image.png", + "imageType":"DYNAMIC" + }, + "customPresets":[ + "Preset 1", + "Preset 2", + "Preset 3", + "Preset 4" + ], + "mainField1":"Main Field 1", + "mainField2":"Main Field 2", + "mainField3":"Main Field 3", + "mainField4":"Main Field 4", + "statusBar":"Status", + "mediaClock":"Media Clock", + "alignment":"LEFT_ALIGNED", + "mediaTrack":"Media Track", + "secondaryGraphic":{ + "value":"image2.png", + "imageType":"STATIC" + }, + "softButtons":[ + { + "isHighlighted":true, + "softButtonID":6, + "systemAction":"STEAL_FOCUS", + "text":"Button 1", + "type":"IMAGE", + "image":{ + "value":"image.png", + "imageType":"STATIC" + } + }, + { + "isHighlighted":false, + "softButtonID":3, + "systemAction":"DEFAULT_ACTION", + "text":"Button 2", + "type":"BOTH", + "image":{ + "value":"image.png", + "imageType":"DYNAMIC" + } + } + ] + } + }, + "response":{ + "name":"ShowResponse", + "correlationID":156 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/ShowConstantTBT.json b/sdl_android/src/androidTest/assets/ShowConstantTBT.json new file mode 100644 index 000000000..10e064992 --- /dev/null +++ b/sdl_android/src/androidTest/assets/ShowConstantTBT.json @@ -0,0 +1,52 @@ +{ + "request":{ + "name":"ShowConstantTbt", + "correlationID":196, + "parameters":{ + "navigationText1":"text1", + "navigationText2":"text2", + "eta":"10 minutes", + "totalDistance":"10km", + "distanceToManeuver":10.00, + "distanceToManeuverScale":1.00, + "turnIcon":{ + "value":"turn.png", + "imageType":"STATIC" + }, + "nextTurnIcon":{ + "value":"nextTurn.png", + "imageType":"STATIC" + }, + "maneuverComplete":true, + "softButtons":[ + { + "isHighlighted":true, + "softButtonID":6, + "systemAction":"STEAL_FOCUS", + "text":"Button 1", + "type":"IMAGE", + "image":{ + "value":"image.png", + "imageType":"STATIC" + } + }, + { + "isHighlighted":false, + "softButtonID":3, + "systemAction":"DEFAULT_ACTION", + "text":"Button 2", + "type":"BOTH", + "image":{ + "value":"image.png", + "imageType":"DYNAMIC" + } + } + ], + "timeToDestination":"52 minutes", + } + }, + "response":{ + "name":"ShowConstantTbtResponse", + "correlationID":197 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/Slider.json b/sdl_android/src/androidTest/assets/Slider.json new file mode 100644 index 000000000..4bd5761ed --- /dev/null +++ b/sdl_android/src/androidTest/assets/Slider.json @@ -0,0 +1,25 @@ +{ + "request":{ + "name":"Slider", + "correlationID":157, + "parameters":{ + "numTicks":6, + "sliderHeader":"Example Header", + "sliderFooter":[ + "Header Line 1", + "Header Line 2", + "Header Line 3", + "Header Line 4" + ], + "position":11, + "timeout":30000, + } + }, + "response":{ + "name":"SliderResponse", + "correlationID":158, + "parameters":{ + "sliderPosition":4 + } + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/Speak.json b/sdl_android/src/androidTest/assets/Speak.json new file mode 100644 index 000000000..413535ac6 --- /dev/null +++ b/sdl_android/src/androidTest/assets/Speak.json @@ -0,0 +1,22 @@ +{ + "request":{ + "name":"Speak", + "correlationID":159, + "parameters":{ + "ttsChunks":[ + { + "text":"Phrase 1", + "type":"TEXT" + }, + { + "text":"Phrase 2", + "type":"TEXT" + } + ] + } + }, + "response":{ + "name":"SpeakResponse", + "correlationID":160 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/SubscribeButton.json b/sdl_android/src/androidTest/assets/SubscribeButton.json new file mode 100644 index 000000000..bfb660c7e --- /dev/null +++ b/sdl_android/src/androidTest/assets/SubscribeButton.json @@ -0,0 +1,13 @@ +{ + "request":{ + "name":"SubscribeButton", + "correlationID":161, + "parameters":{ + "buttonName":"TUNEUP" + } + }, + "response":{ + "name":"SubscribeButtonResponse", + "correlationID":162 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/SubscribeVehicleData.json b/sdl_android/src/androidTest/assets/SubscribeVehicleData.json new file mode 100644 index 000000000..977057cf1 --- /dev/null +++ b/sdl_android/src/androidTest/assets/SubscribeVehicleData.json @@ -0,0 +1,134 @@ +{ + "request":{ + "name":"SubscribeVehicleData", + "correlationID":163, + "parameters":{ + "speed":true, + "rpm":true, + "externalTemperature":false, + "fuelLevel":true, + "prndl":true, + "tirePressure":true, + "engineTorque":false, + "odometer":true, + "gps":false, + "fuelLevel_State":true, + "instantFuelConsumption":false, + "beltStatus":true, + "bodyInformation":false, + "deviceStatus":true, + "driverBraking":true, + "wiperStatus":false, + "headLampStatus":true, + "accPedalPosition":true, + "steeringWheelAngle":true, + "eCallInfo":false, + "airbagStatus":true, + "emergencyEvent":false, + "clusterModeStatus":true, + "myKey":true + } + }, + "response":{ + "name":"SubscribeVehicleDataResponse", + "correlationID":164, + "parameters":{ + "speed":{ + "dataType":"VEHICLEDATA_SPEED", + "resultCode":"SUCCESS" + }, + "rpm":{ + "dataType":"VEHICLEDATA_RPM", + "resultCode":"SUCCESS" + }, + "externalTemperature":{ + "dataType":"VEHICLEDATA_EXTERNTEMP", + "resultCode":"SUCCESS" + }, + "fuelLevel":{ + "dataType":"VEHICLEDATA_FUELLEVEL", + "resultCode":"SUCCESS" + }, + "prndl":{ + "dataType":"VEHICLEDATA_PRNDL", + "resultCode":"SUCCESS" + }, + "tirePressure":{ + "dataType":"VEHICLEDATA_TIREPRESSURE", + "resultCode":"VEHICLE_DATA_NOT_AVAILABLE" + }, + "engineTorque":{ + "dataType":"VEHICLEDATA_SPEED", + "resultCode":"INVALID_ID" + }, + "odometer":{ + "dataType":"VEHICLEDATA_ODOMETER", + "resultCode":"SUCCESS" + }, + "gps":{ + "dataType":"VEHICLEDATA_GPS", + "resultCode":"SUCCESS" + }, + "fuelLevel_State":{ + "dataType":"VEHICLEDATA_FUELLEVEL_STATE", + "resultCode":"DISALLOWED" + }, + "instantFuelConsumption":{ + "dataType":"VEHICLEDATA_FUELCONSUMPTION", + "resultCode":"USER_DISALLOWED" + }, + "beltStatus":{ + "dataType":"VEHICLEDATA_BELTSTATUS", + "resultCode":"SUCCESS" + }, + "bodyInformation":{ + "dataType":"VEHICLEDATA_BODYINFO", + "resultCode":"SUCCESS" + }, + "deviceStatus":{ + "dataType":"VEHICLEDATA_DEVICESTATUS", + "resultCode":"SUCCESS" + }, + "driverBraking":{ + "dataType":"VEHICLEDATA_BRAKING", + "resultCode":"DISALLOWED" + }, + "wiperStatus":{ + "dataType":"VEHICLEDATA_WIPERSTATUS", + "resultCode":"VEHICLE_DATA_NOT_AVAILABLE" + }, + "headLampStatus":{ + "dataType":"VEHICLEDATA_HEADLAMPSTATUS", + "resultCode":"USER_DISALLOWED" + }, + "accPedalPosition":{ + "dataType":"VEHICLEDATA_ACCPEDAL", + "resultCode":"DISALLOWED" + }, + "steeringWheelAngle":{ + "dataType":"VEHICLEDATA_STEERINGWHEEL", + "resultCode":"DATA_NOT_SUBSCRIBED" + }, + "eCallInfo":{ + "dataType":"VEHICLEDATA_ECALLINFO", + "resultCode":"SUCCESS" + }, + "airbagStatus":{ + "dataType":"VEHICLEDATA_AIRBAGSTATUS", + "resultCode":"DATA_ALREADY_SUBSCRIBED" + }, + "emergencyEvent":{ + "dataType":"VEHICLEDATA_EMERGENCYEVENT", + "resultCode":"DISALLOWED" + }, + "clusterModeStatus":{ + "dataType":"VEHICLEDATA_CLUSTERMODESTATUS", + "resultCode":"SUCCESS" + }, + "myKey":{ + "dataType":"VEHICLEDATA_MYKEY", + "resultCode":"IGNORED" + } + } + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/SystemRequest.json b/sdl_android/src/androidTest/assets/SystemRequest.json new file mode 100644 index 000000000..7768db7e4 --- /dev/null +++ b/sdl_android/src/androidTest/assets/SystemRequest.json @@ -0,0 +1,20 @@ +{ + "request":{ + "name":"SystemRequest", + "correlationID":165, + "parameters":{ + "fileName":"fileName.txt", + "requestType":"AUTH_CHALLENGE", + "data":[ + "data1", + "data2", + "data3", + "data4" + ] + } + }, + "response":{ + "name":"SystemRequestResponse", + "correlationID":166 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/UnregisterAppInterface.json b/sdl_android/src/androidTest/assets/UnregisterAppInterface.json new file mode 100644 index 000000000..f9cc9f0de --- /dev/null +++ b/sdl_android/src/androidTest/assets/UnregisterAppInterface.json @@ -0,0 +1,10 @@ +{ + "request":{ + "name":"UnregisterAppInterface", + "correlationID":167 + }, + "response":{ + "name":"UnregisterAppInterfaceResponse", + "correlationID":168 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/UnsubscribeButton.json b/sdl_android/src/androidTest/assets/UnsubscribeButton.json new file mode 100644 index 000000000..cb2164d94 --- /dev/null +++ b/sdl_android/src/androidTest/assets/UnsubscribeButton.json @@ -0,0 +1,13 @@ +{ + "request":{ + "name":"UnsubscribeButton", + "correlationID":169, + "parameters":{ + "buttonName":"OK" + } + }, + "response":{ + "name":"UnsubscribeButtonResponse", + "correlationID":170 + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/UnsubscribeVehicleData.json b/sdl_android/src/androidTest/assets/UnsubscribeVehicleData.json new file mode 100644 index 000000000..24b41a0b9 --- /dev/null +++ b/sdl_android/src/androidTest/assets/UnsubscribeVehicleData.json @@ -0,0 +1,134 @@ +{ + "request":{ + "name":"UnsubscribeVehicleData", + "correlationID":171, + "parameters":{ + "speed":true, + "rpm":true, + "externalTemperature":false, + "fuelLevel":true, + "prndl":true, + "tirePressure":true, + "engineTorque":false, + "odometer":true, + "gps":false, + "fuelLevel_State":true, + "instantFuelConsumption":false, + "beltStatus":true, + "bodyInformation":false, + "deviceStatus":true, + "driverBraking":true, + "wiperStatus":false, + "headLampStatus":true, + "accPedalPosition":true, + "steeringWheelAngle":true, + "eCallInfo":false, + "airbagStatus":true, + "emergencyEvent":false, + "clusterModeStatus":true, + "myKey":true + } + }, + "response":{ + "name":"UnsubscribeVehicleDataResponse", + "correlationID":172, + "parameters":{ + "speed":{ + "dataType":"VEHICLEDATA_SPEED", + "resultCode":"SUCCESS" + }, + "rpm":{ + "dataType":"VEHICLEDATA_RPM", + "resultCode":"SUCCESS" + }, + "externalTemperature":{ + "dataType":"VEHICLEDATA_EXTERNTEMP", + "resultCode":"SUCCESS" + }, + "fuelLevel":{ + "dataType":"VEHICLEDATA_FUELLEVEL", + "resultCode":"SUCCESS" + }, + "prndl":{ + "dataType":"VEHICLEDATA_PRNDL", + "resultCode":"SUCCESS" + }, + "tirePressure":{ + "dataType":"VEHICLEDATA_TIREPRESSURE", + "resultCode":"VEHICLE_DATA_NOT_AVAILABLE" + }, + "engineTorque":{ + "dataType":"VEHICLEDATA_SPEED", + "resultCode":"INVALID_ID" + }, + "odometer":{ + "dataType":"VEHICLEDATA_ODOMETER", + "resultCode":"SUCCESS" + }, + "gps":{ + "dataType":"VEHICLEDATA_GPS", + "resultCode":"SUCCESS" + }, + "fuelLevel_State":{ + "dataType":"VEHICLEDATA_FUELLEVEL_STATE", + "resultCode":"DISALLOWED" + }, + "instantFuelConsumption":{ + "dataType":"VEHICLEDATA_FUELCONSUMPTION", + "resultCode":"USER_DISALLOWED" + }, + "beltStatus":{ + "dataType":"VEHICLEDATA_BELTSTATUS", + "resultCode":"SUCCESS" + }, + "bodyInformation":{ + "dataType":"VEHICLEDATA_BODYINFO", + "resultCode":"SUCCESS" + }, + "deviceStatus":{ + "dataType":"VEHICLEDATA_DEVICESTATUS", + "resultCode":"SUCCESS" + }, + "driverBraking":{ + "dataType":"VEHICLEDATA_BRAKING", + "resultCode":"DISALLOWED" + }, + "wiperStatus":{ + "dataType":"VEHICLEDATA_WIPERSTATUS", + "resultCode":"VEHICLE_DATA_NOT_AVAILABLE" + }, + "headLampStatus":{ + "dataType":"VEHICLEDATA_HEADLAMPSTATUS", + "resultCode":"USER_DISALLOWED" + }, + "accPedalPosition":{ + "dataType":"VEHICLEDATA_ACCPEDAL", + "resultCode":"DISALLOWED" + }, + "steeringWheelAngle":{ + "dataType":"VEHICLEDATA_STEERINGWHEEL", + "resultCode":"DATA_NOT_SUBSCRIBED" + }, + "eCallInfo":{ + "dataType":"VEHICLEDATA_ECALLINFO", + "resultCode":"SUCCESS" + }, + "airbagStatus":{ + "dataType":"VEHICLEDATA_AIRBAGSTATUS", + "resultCode":"DATA_ALREADY_SUBSCRIBED" + }, + "emergencyEvent":{ + "dataType":"VEHICLEDATA_EMERGENCYEVENT", + "resultCode":"DISALLOWED" + }, + "clusterModeStatus":{ + "dataType":"VEHICLEDATA_CLUSTERMODESTATUS", + "resultCode":"SUCCESS" + }, + "myKey":{ + "dataType":"VEHICLEDATA_MYKEY", + "resultCode":"IGNORED" + } + } + } +}
\ No newline at end of file diff --git a/sdl_android/src/androidTest/assets/UpdateTurnList.json b/sdl_android/src/androidTest/assets/UpdateTurnList.json new file mode 100644 index 000000000..9cd449acd --- /dev/null +++ b/sdl_android/src/androidTest/assets/UpdateTurnList.json @@ -0,0 +1,52 @@ +{ + "request":{ + "name":"UpdateTurnList", + "correlationID":192, + "parameters":{ + "softButtons":[ + { + "isHighlighted":true, + "softButtonID":6, + "systemAction":"STEAL_FOCUS", + "text":"Button 1", + "type":"IMAGE", + "image":{ + "value":"image.png", + "imageType":"STATIC" + } + }, + { + "isHighlighted":false, + "softButtonID":3, + "systemAction":"DEFAULT_ACTION", + "text":"Button 2", + "type":"BOTH", + "image":{ + "value":"image.png", + "imageType":"DYNAMIC" + } + } + ], + "turnList":[ + { + "navigationText":"nav text 1", + "turnIcon":{ + "value":"image.png", + "imageType":"DYNAMIC" + } + }, + { + "navigationText":"nav text 2", + "turnIcon":{ + "value":"image.png", + "imageType":"STATIC" + } + } + ] + } + }, + "response":{ + "name":"UpdateTurnListResponse", + "correlationID":193 + } +}
\ No newline at end of file |