/*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/packagecom.android.bluetooth.gatt;importandroid.annotation.Nullable;/** @hide */publicclassAdvtFilterOnFoundOnLostInfo{privateintmClientIf;privateintmAdvPktLen;@Nullableprivatebyte[]mAdvPkt;privateintmScanRspLen;@Nullableprivatebyte[]mScanRsp;privateintmFiltIndex;privateintmAdvState;privateintmAdvInfoPresent;privateStringmAddress;privateintmAddrType;privateintmTxPower;privateintmRssiValue;privateintmTimeStamp;publicAdvtFilterOnFoundOnLostInfo(intclient_if,intadv_pkt_len,byte[]adv_pkt,intscan_rsp_len,byte[]scan_rsp,intfilt_index,intadv_state,intadv_info_present,Stringaddress,intaddr_type,inttx_power,intrssi_value,inttime_stamp){mClientIf=client_if;mAdvPktLen=adv_pkt_len;mAdvPkt=adv_pkt;mScanRspLen=scan_rsp_len;mScanRsp=scan_rsp;mFiltIndex=filt_index;mAdvState=adv_state;mAdvInfoPresent=adv_info_present;mAddress=address;mAddrType=addr_type;mTxPower=tx_power;mRssiValue=rssi_value;mTimeStamp=time_stamp;}publicintgetClientIf(){returnmClientIf;}publicintgetFiltIndex(){returnmFiltIndex;}publicintgetAdvState(){returnmAdvState;}publicintgetTxPower(){returnmTxPower;}publicintgetTimeStamp(){returnmTimeStamp;}publicintgetRSSIValue(){returnmRssiValue;}publicintgetAdvInfoPresent(){returnmAdvInfoPresent;}publicStringgetAddress(){returnmAddress;}publicintgetAddressType(){returnmAddrType;}publicbyte[]getAdvPacketData(){returnmAdvPkt;}publicintgetAdvPacketLen(){returnmAdvPktLen;}publicbyte[]getScanRspData(){returnmScanRsp;}publicintgetScanRspLen(){returnmScanRspLen;}}
/*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/packagecom.android.bluetooth.gatt;/** @hide */publicclassFilterParams{privateintmClientIf;privateintmFiltIndex;privateintmFeatSeln;privateintmListLogicType;privateintmFiltLogicType;privateintmRssiHighValue;privateintmRssiLowValue;privateintmDelyMode;privateintmFoundTimeOut;privateintmLostTimeOut;privateintmFoundTimeOutCnt;privateintmNumOfTrackEntries;publicFilterParams(intclient_if,intfilt_index,intfeat_seln,intlist_logic_type,intfilt_logic_type,intrssi_high_thres,intrssi_low_thres,intdely_mode,intfound_timeout,intlost_timeout,intfound_timeout_cnt,intnum_of_tracking_entries){mClientIf=client_if;mFiltIndex=filt_index;mFeatSeln=feat_seln;mListLogicType=list_logic_type;mFiltLogicType=filt_logic_type;mRssiHighValue=rssi_high_thres;mRssiLowValue=rssi_low_thres;mDelyMode=dely_mode;mFoundTimeOut=found_timeout;mLostTimeOut=lost_timeout;mFoundTimeOutCnt=found_timeout_cnt;mNumOfTrackEntries=num_of_tracking_entries;}publicintgetClientIf(){returnmClientIf;}publicintgetFiltIndex(){returnmFiltIndex;}publicintgetFeatSeln(){returnmFeatSeln;}publicintgetDelyMode(){returnmDelyMode;}publicintgetListLogicType(){returnmListLogicType;}publicintgetFiltLogicType(){returnmFiltLogicType;}publicintgetRSSIHighValue(){returnmRssiHighValue;}publicintgetRSSILowValue(){returnmRssiLowValue;}publicintgetFoundTimeout(){returnmFoundTimeOut;}publicintgetFoundTimeOutCnt(){returnmFoundTimeOutCnt;}publicintgetLostTimeout(){returnmLostTimeOut;}publicintgetNumOfTrackEntries(){returnmNumOfTrackEntries;}}