summaryrefslogtreecommitdiff
path: root/src/components/application_manager/test/mock/include/application_manager/application_manager_impl.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix race condition in Singleton and Application Manager failure to stopAsen Kirov2015-10-221-0/+1
| | | | | | | | | | | | | | | | | When SDL is started, but the HMI is not, and we try to register a mobile app (RegisterAppInterfaceRequest), then in this situation SDL can't be stopped with ctrl+C - it enters in an endless cycle. The reason for the problem is that we can't delete the AM, because the RequestController thread of AM is still running (waiting in a cycle for the HMI to respond). Also a second AM is created, because in the Singleton we set to 0 the instance pointer before deleting it and someone calls instance() before destroy() finishes, because there is no common lock. The separate locks create a race condition. The fix is to use a single mutex for the Singleton methods, introduce a is_stopping_ flag in AM, set it to true in AM's Stop() method, and also destroy RequestController's thread pool there. Then check stop flag in RegisterAppInterfaceRequest::Run() and exit the HMI waiting cycle there.
* Fix tests build.Artem Nosach2015-06-231-1/+1
|
* Wake up streaming correctly.Artem Nosach2015-06-231-1/+1
|
* Post review changes.Artem Nosach2015-06-231-1/+1
|
* Remove notification sending from UnregisterApplication().Artem Nosach2015-06-231-1/+0
|
* Do not resume malformed messaging application.Artem Nosach2015-06-231-2/+2
|
* Merge branch 'hotfix/APPLINK-11782' into release/4.0.0Aleksandr Galiuzov2015-06-121-1/+2
|\
| * Remove PASA specific test methodsDmitriy Klimenko2015-04-301-5/+0
| |
| * APPLINK-11782: OnAppRegistered: SDL must provide the transport type informationDmitriy Klimenko2015-04-301-1/+7
| | | | | | | | | | | | | | | | Conflicts: src/components/application_manager/src/message_helper.cc src/components/application_manager/test/mock/include/application_manager/application_manager_impl.h src/components/interfaces/HMI_API.xml src/components/transport_manager/test/include/mock_transport_adapter.h
* | Rename some methods for better understantingAlexander Kutsan2015-04-271-1/+1
|/ | | | | Conflicts: src/components/application_manager/src/application_manager_impl.cc
* Post review changes.Artem Nosach2015-04-231-0/+1
|
* Mock application manager methods.Artem Nosach2015-04-231-2/+6
|
* Merge remote-tracking branch 'origin/APPLINK-12321' into release/4.0.0Aleksandr Galiuzov2015-04-171-1/+2
|\
| * APPLINK-11372 Change wrong function name.Artem Nosach2015-03-081-1/+1
| |
| * APPLINK-11372 Create DeactivateApplication() method.Artem Nosach2015-03-081-0/+1
| |
* | APPLINK-8555 Add State contextAlexander Kutsan2015-04-151-0/+4
| | | | | | | | | | | | | | | | | | Add states list to StateController If App is registered and there are some active states, app should get HMI status according to active HMIstates Conflicts: src/components/application_manager/src/application_manager_impl.cc src/components/application_manager/src/request_info.cc
* | APPLINK-11447 Remove set_audio_streaming_state from AMAlexander Kutsan2015-04-151-2/+11
| | | | | | | | | | | | | | | | Move ActivateAppLogic to State Ctrl Conflicts: src/components/application_manager/src/commands/hmi/on_app_deactivated_notification.cc src/components/application_manager/src/policies/policy_handler.cc
* | APPLINK-8555 Refactor StateCtrl and add usage of StateCtrlAlexander Kutsan2015-04-151-0/+3
| | | | | | | | | | | | | | | | Conflicts: src/components/application_manager/include/application_manager/application.h src/components/application_manager/include/application_manager/application_impl.h src/components/application_manager/include/application_manager/application_manager_impl.h src/components/application_manager/src/application_manager_impl.cc
* | APPLINK-8555 Review Notes and tests repairAlexander Kutsan2015-04-151-2/+2
| |
* | XAPPLINK-8555. State controller skeleton added.Andrey Oleynik2015-04-151-0/+4
| | | | | | | | | | | | | | | | | | | | Conflicts: src/components/application_manager/include/application_manager/application_manager_impl.h src/components/application_manager/src/application_manager_impl.cc src/components/application_manager/test/mock/include/application_manager/policies/policy_retry_sequence.h src/components/application_manager/test/mock/include/application_manager/policies/pt_exchange_handler.h src/components/application_manager/test/mock/include/application_manager/policies/pt_exchange_handler_ext.h src/components/application_manager/test/mock/include/application_manager/policies/pt_exchange_handler_impl.h
* | APPLINK-8555. Removed odd application audio interfaces.Andrey Oleynik2015-04-151-1/+1
|/ | | | | Conflicts: src/components/application_manager/include/application_manager/application_manager_impl.h
* Bug Fixes and ImprovementsSynchronizationCommitJustin Dickow2015-02-201-16/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Empty perform iteration request Fix type of name from string to enum SendLocation implemented on HTML5 HMI Fixed PI response on VR rejection due to high priority. Fix Apps not responsive/not able to start app/apps remain listed on SYNC even after USB disconnect Mobile API change and processing capabilities Change perform interaction request conditions. Fix SDL must always start 3sec timer before resuming the HMILevel of the app Remove redundant StartSavePersistentDataTimer() call. Change wrong predicate name to right. Added stream request handling feature Made streaming timeout in media manager configurable Put navi app in LIMITED in case of phone call Handling of audio state for applications Add stop streaming timeout into ini file Implement HMILevel resumption for job-1 Fix result code ABORTED when interrupts it by Voice recognition activation Fix incorrect value parameter unexpectedDisconnect in BCOnAppUnregistered Fix SDL send BC.OnAppUnregistered with "unexpectedDisconnect" set to "true" in case received from HMI OnExitAllApplications {"reason":"MASTER_RESET"} Fix Update ini file for iAP1 support Current working directory added to image path Fix helpers to make it workable with more then 2 parameters DCHECK() for ManageMobileCommand() replaced with log message because the latter returns false in some regular situations (e.g. TOO_MANY_PENDING_REQUESTS, see SDLAQ-CRS-10) Remove connection after closing. Signed-off-by: Justin Dickow <jjdickow@gmail.com>
* Latest internal release - last bulk merge before pull request and gitflow!?Justin Dickow2015-01-261-16/+3
| | | | | | Smoke tested on Ubuntu 12.04 Signed-off-by: Justin Dickow <jjdickow@gmail.com>
* HmiStatus modifyJustin Dickow2015-01-241-3/+16
| | | | | | | | | | | | | | | | HU DCHECK occurs during multisession registration Remove unused variable SIGSEGV handler added to flush logger queue FixIncomplete device list in UpdateDeviceList request Fix Memory leak on PutFile break Fix Thread and Timer Fix OnHmiStatus Notification Fix Url array sending for endpoints. Fix HashChange Fix SDL parse incoming JSON message with both members error and result as success message Fix Core crashes while connecting mobile app Signed-off-by: Justin Dickow <jjdickow@gmail.com>
* 3.10.1Justin Dickow2014-10-271-3/+8
| | | | Signed-off-by: Justin Dickow <jjdickow@gmail.com>
* SDL 3.8!Justin Dickow2014-10-201-0/+292
Signed-off-by: Justin Dickow <jjdickow@gmail.com>