global: Add or update copyright headers in Java code

Signed-off-by: Samuel Holland <samuel@sholland.org>
This commit is contained in:
Samuel Holland 2018-05-02 10:29:58 -05:00
parent 24572aa861
commit aa92c4a9d5
45 changed files with 224 additions and 1 deletions

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android;
import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android;
import android.content.BroadcastReceiver;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android;
import android.annotation.TargetApi;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.activity;
import android.content.Intent;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.activity;
import android.content.Intent;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.activity;
import android.content.pm.PackageManager;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.activity;
import android.os.Bundle;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.backend;
import com.wireguard.android.model.Tunnel;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.backend;
import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.backend;
import android.content.BroadcastReceiver;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.configStore;
import com.wireguard.config.Config;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.configStore;
import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.databinding;
import android.databinding.BindingAdapter;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.databinding;
import android.databinding.DataBindingUtil;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.databinding;
import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.fragment;
import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.fragment;
import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.fragment;
import android.os.Bundle;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.fragment;
import android.app.Activity;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.fragment;
import android.annotation.SuppressLint;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.model;
import android.databinding.BaseObservable;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.model;
import android.content.SharedPreferences;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.preference;
import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.preference;
import android.Manifest;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util;
import android.os.Handler;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util;
import android.content.ClipData;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util;
import android.util.Log;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util;
/**

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util;
import java.util.Collection;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util;
import android.databinding.ObservableArrayList;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util;
import android.databinding.ObservableList;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util;
import android.support.annotation.NonNull;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util;
/**

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util;
import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util;
import java.util.Collection;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.util;
import android.content.Context;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.widget;
import android.text.InputFilter;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.android.widget;
import android.text.InputFilter;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.config;
import android.text.TextUtils;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.config;
import android.databinding.BaseObservable;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.config;
import java.net.Inet4Address;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.config;
import android.databinding.BaseObservable;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.config;
import android.databinding.BaseObservable;

View File

@ -1,4 +1,7 @@
/* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
/*
* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.crypto;

View File

@ -1,3 +1,8 @@
/*
* Copyright © 2018 Samuel Holland <samuel@sholland.org>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
package com.wireguard.crypto;
import java.security.SecureRandom;