1 2 /* 3 * Copyright (c) 2023 Huawei Device Co., Ltd. 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 #include "agnss_event_callback_mock.h" 17 18 #include <hdf_base.h> 19 20 namespace OHOS { 21 namespace HDI { 22 namespace Location { 23 namespace Agnss { 24 namespace V2_0 { 25 RequestSetUpAgnssDataLink(const AGnssDataLinkRequest & request)26int32_t AgnssEventCallbackMock::RequestSetUpAgnssDataLink(const AGnssDataLinkRequest& request) 27 { 28 return HDF_SUCCESS; 29 } 30 RequestSubscriberSetId(SubscriberSetIdType type)31int32_t AgnssEventCallbackMock::RequestSubscriberSetId(SubscriberSetIdType type) 32 { 33 return HDF_SUCCESS; 34 } 35 RequestAgnssRefInfo(AGnssRefInfoType type)36int32_t AgnssEventCallbackMock::RequestAgnssRefInfo(AGnssRefInfoType type) 37 { 38 return HDF_SUCCESS; 39 } 40 41 42 } // V2_0 43 } // Gnss 44 } // Location 45 } // HDI 46 } // OHOS