PasspointProvider.java revision c04479601696f56c9cc240d4c7fc49fa99f51825
1/*
2 * Copyright (C) 2016 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 com.android.server.wifi.hotspot2;
18
19import android.net.wifi.hotspot2.PasspointConfiguration;
20
21/**
22 * Abstraction for Passpoint service provider.  This class contains the both static
23 * Passpoint configuration data and the runtime data (e.g. blacklisted SSIDs, statistics).
24 */
25public class PasspointProvider {
26    private final PasspointConfiguration mConfig;
27
28    public PasspointProvider(PasspointConfiguration config) {
29        mConfig = config;
30    }
31
32    public PasspointConfiguration getConfig() {
33        return mConfig;
34    }
35}
36