return 0;
}
-//& purpose: Gets the current application's location accessibility status.
-//& type: auto
-
-/**
-* @testcase ITc_location_manager_get_accessibility_state_p
-* @since_tizen 2.3
-* @author SRID(sameer.g1)
-* @reviewer SRID(gupta.sanjay)
-* @type auto
-* @description Gets the current application's location accessibility status.
-* @scenario Create manager\n
-* Get the current application's location accessibility status\n
-* Destroy manager
-* @apicovered location_manager_get_accessibility_state
-* @passcase When location_manager_get_accessibility_state is successful
-* @failcase If target API fails or any precondition API fails
-* @precondition None
-* @postcondition None
-*/
-int ITc_location_manager_get_accessibility_state_p(void)
-{
- START_TEST_MANAGER;
-
- location_accessibility_state_e eState;
-
- // Target API
- location_error_e nRet = location_manager_get_accessibility_state(&eState);
- PRINT_RESULT(LOCATIONS_ERROR_NONE, nRet, "location_manager_get_accessibility_state", LocationManagerGetError(nRet));
- if(strcmp(LocationManagerGetAccessiblilityState(eState),"Unknown") == 0)
- {
- FPRINTF("[Line : %d][%s] location_manager_get_accessibility_state failed, error = state returned is Unknown\\n", __LINE__, API_NAMESPACE);
- return 1;
- }
- return 0;
-}
-
//& purpose: Gets the current accuracy information
//& type: auto
extern int ITc_location_manager_start_stop_p(void);
extern int ITc_location_manager_create_destroy_p(void);
extern int ITc_location_manager_set_unset_service_state_changed_cb_p(void);
-extern int ITc_location_manager_get_accessibility_state_p(void);
+
extern int ITc_location_manager_get_accuracy_p(void);
extern int ITc_location_manager_get_distance_p(void);
extern int ITc_location_manager_get_last_accuracy_p(void);
{"ITc_gps_status_set_unset_satellite_updated_cb_p", ITc_gps_status_set_unset_satellite_updated_cb_p, ITs_location_gps_status_startup, ITs_location_gps_status_cleanup},
{"ITc_location_manager_start_stop_p", ITc_location_manager_start_stop_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
{"ITc_location_manager_create_destroy_p", ITc_location_manager_create_destroy_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
- {"ITc_location_manager_set_unset_service_state_changed_cb_p", ITc_location_manager_set_unset_service_state_changed_cb_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
- {"ITc_location_manager_get_accessibility_state_p", ITc_location_manager_get_accessibility_state_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
+ {"ITc_location_manager_set_unset_service_state_changed_cb_p", ITc_location_manager_set_unset_service_state_changed_cb_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
{"ITc_location_manager_get_accuracy_p", ITc_location_manager_get_accuracy_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
{"ITc_location_manager_get_distance_p", ITc_location_manager_get_distance_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
{"ITc_location_manager_get_last_accuracy_p", ITc_location_manager_get_last_accuracy_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
extern int ITc_location_manager_start_stop_p(void);
extern int ITc_location_manager_create_destroy_p(void);
extern int ITc_location_manager_set_unset_service_state_changed_cb_p(void);
-extern int ITc_location_manager_get_accessibility_state_p(void);
extern int ITc_location_manager_get_accuracy_p(void);
extern int ITc_location_manager_get_distance_p(void);
extern int ITc_location_manager_get_last_accuracy_p(void);
{"ITc_location_manager_start_stop_p", ITc_location_manager_start_stop_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
{"ITc_location_manager_create_destroy_p", ITc_location_manager_create_destroy_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
{"ITc_location_manager_set_unset_service_state_changed_cb_p", ITc_location_manager_set_unset_service_state_changed_cb_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
- {"ITc_location_manager_get_accessibility_state_p", ITc_location_manager_get_accessibility_state_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
{"ITc_location_manager_get_accuracy_p", ITc_location_manager_get_accuracy_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
{"ITc_location_manager_get_distance_p", ITc_location_manager_get_distance_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
{"ITc_location_manager_get_last_accuracy_p", ITc_location_manager_get_last_accuracy_p, ITs_location_manager_startup, ITs_location_manager_cleanup},