Skip to content
Snippets Groups Projects
Commit d9c75871 authored by Aishwarya Mallampati's avatar Aishwarya Mallampati Committed by Sooraj Sasindran
Browse files

Add demo pointing aligned and not aligned duration configs.

Bug: 339040483
Test: make
Change-Id: Ic906fa44cb92fd803833d49971b04b8c6b639a10
Merged-In: Ic906fa44cb92fd803833d49971b04b8c6b639a10
parent 351d100b
No related branches found
No related tags found
No related merge requests found
......@@ -355,4 +355,22 @@
</string-array>
<java-symbol type="array" name="config_force_cellular_transport_capabilities" />
<!-- The time duration in millis after which DemoSimulator will move to CONNECTED state from
NOT_CONNECTED state if the device is aligned to satellite.
-->
<integer name="config_demo_pointing_aligned_duration_millis">15000</integer>
<java-symbol type="integer" name="config_demo_pointing_aligned_duration_millis" />
<!-- The time duration in millis after which DemoSimulator will move to NOT_CONNECTED state from
CONNECTED state if the device is not aligned to satellite.
-->
<integer name="config_demo_pointing_not_aligned_duration_millis">30000</integer>
<java-symbol type="integer" name="config_demo_pointing_not_aligned_duration_millis" />
<!-- Boolean indicating whether Telephony should wait for device alignment with satellite
before sending or receiving datagrams in demo mode.
-->
<bool name="config_wait_for_device_alignment_in_demo_datagram">false</bool>
<java-symbol type="bool" name="config_wait_for_device_alignment_in_demo_datagram" />
</resources>
......@@ -3366,4 +3366,13 @@ interface ITelephony {
+ "android.Manifest.permission.SATELLITE_COMMUNICATION)")
void unregisterForCommunicationAllowedStateChanged(int subId,
in ISatelliteCommunicationAllowedStateCallback callback);
/**
* This API can be used by only CTS to override the boolean configs used by the
* DatagramController module.
*
* @param enable Whether to enable boolean config.
* @return {@code true} if the boolean config is set successfully, {@code false} otherwise.
*/
boolean setDatagramControllerBooleanConfig(boolean reset, int booleanType, boolean enable);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment