blob: 3e37af06ab2733f226b892416f15b8832cdb41b6 [file] [log] [blame]
Etan Cohen17ba4722017-08-21 10:52:17 -07001/*
2 * Copyright (C) 2017 The Android Open Source Project
3 *
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
17package android.net.wifi.rtt;
18
Etan Cohen4250e782017-10-31 16:01:32 -070019import android.os.WorkSource;
20
Etan Cohen17ba4722017-08-21 10:52:17 -070021import android.net.wifi.rtt.IRttCallback;
22import android.net.wifi.rtt.RangingRequest;
23
24/**
25 * @hide
26 */
27interface IWifiRttManager
28{
Etan Cohen58019f52017-10-25 07:23:35 -070029 boolean isAvailable();
Etan Cohen4250e782017-10-31 16:01:32 -070030 void startRanging(in IBinder binder, in String callingPackage, in WorkSource workSource,
31 in RangingRequest request, in IRttCallback callback);
32 void cancelRanging(in WorkSource workSource);
Etan Cohen17ba4722017-08-21 10:52:17 -070033}