diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java index 8bf0661529..966b18cb82 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java @@ -61,6 +61,9 @@ import org.wso2.carbon.device.mgt.common.exceptions.UnauthorizedDeviceAccessExce import org.wso2.carbon.device.mgt.common.exceptions.UserNotFoundException; import org.wso2.carbon.device.mgt.common.configuration.mgt.ConfigurationManagementException; import org.wso2.carbon.device.mgt.common.configuration.mgt.PlatformConfiguration; +import org.wso2.carbon.device.mgt.common.geo.service.GeoCluster; +import org.wso2.carbon.device.mgt.common.geo.service.GeoCoordinate; +import org.wso2.carbon.device.mgt.common.geo.service.GeoQuery; import org.wso2.carbon.device.mgt.common.invitation.mgt.DeviceEnrollmentInvitationDetails; import org.wso2.carbon.device.mgt.common.license.mgt.License; import org.wso2.carbon.device.mgt.common.operation.mgt.Activity; @@ -72,8 +75,8 @@ import org.wso2.carbon.device.mgt.common.push.notification.NotificationStrategy; import org.wso2.carbon.device.mgt.common.spi.DeviceManagementService; import org.wso2.carbon.device.mgt.core.dto.DeviceType; import org.wso2.carbon.device.mgt.core.dto.DeviceTypeVersion; -import org.wso2.carbon.device.mgt.core.geo.GeoCluster; -import org.wso2.carbon.device.mgt.core.geo.geoHash.GeoCoordinate; + + import org.wso2.carbon.device.mgt.core.service.DeviceManagementProviderService; import org.wso2.carbon.device.mgt.core.service.EmailMetaInfo; import org.wso2.carbon.mdm.services.android.utils.TestUtils; @@ -674,11 +677,12 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv } @Override - public List findGeoClusters(String deviceType, GeoCoordinate geoCoordinate, - GeoCoordinate geoCoordinate1, int i) throws DeviceManagementException { + public List findGeoClusters(GeoQuery geoQuery) throws DeviceManagementException { return null; } + + @Override public int getDeviceCountOfTypeByStatus(String s, String s1) throws DeviceManagementException { return 0; @@ -754,11 +758,11 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv } @Override - public PaginationResult getAppSubscribedDevices(int i, int i1, List list, List list1) - throws DeviceManagementException { + public PaginationResult getAppSubscribedDevices(PaginationRequest paginationRequest, List list) throws DeviceManagementException { return null; } + @Override public PaginationResult getApplications(PaginationRequest paginationRequest) throws ApplicationManagementException, DeviceTypeNotFoundException { @@ -810,4 +814,9 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv @Override public License getLicenseConfig(String s) throws DeviceManagementException { return null; } + + @Override + public PaginationResult getDevicesDetails(PaginationRequest paginationRequest, List list, String s) throws DeviceManagementException { + return null; + } }