Commit 55f1d580 authored by Nihar Thakkar's avatar Nihar Thakkar

Change package name to "foundation.e.accountmanager"

parent a10202db
Pipeline #2460 passed with stage
in 8 minutes and 6 seconds
......@@ -16,7 +16,7 @@ android {
buildToolsVersion '27.1.1'
defaultConfig {
applicationId "at.bitfire.davdroid"
applicationId "foundation.e.accountmanager"
versionCode 248
buildConfigField "long", "buildTime", System.currentTimeMillis() + "L"
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid
package foundation.e.accountmanager
import android.support.test.InstrumentationRegistry.getInstrumentation
import foundation.e.cert4android.CustomCertManager
......
......@@ -6,14 +6,14 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.model
package foundation.e.accountmanager.model
import android.content.ContentValues
import android.support.test.filters.SmallTest
import foundation.e.dav4android.DavResource
import foundation.e.dav4android.property.ResourceType
import at.bitfire.davdroid.HttpClient
import at.bitfire.davdroid.model.ServiceDB.Collections
import foundation.e.accountmanager.HttpClient
import foundation.e.accountmanager.model.ServiceDB.Collections
import okhttp3.HttpUrl
import okhttp3.mockwebserver.MockResponse
import okhttp3.mockwebserver.MockWebServer
......
......@@ -6,9 +6,9 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.settings
package foundation.e.accountmanager.settings
import at.bitfire.davdroid.App
import foundation.e.accountmanager.App
import junit.framework.Assert.assertEquals
import junit.framework.Assert.assertFalse
import org.junit.Test
......
......@@ -6,11 +6,11 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.settings
package foundation.e.accountmanager.settings
import android.support.test.InstrumentationRegistry
import android.support.test.InstrumentationRegistry.getTargetContext
import at.bitfire.davdroid.App
import foundation.e.accountmanager.App
import junit.framework.Assert.assertFalse
import junit.framework.Assert.assertTrue
import org.junit.After
......
......@@ -6,17 +6,17 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.ui.setup
package foundation.e.accountmanager.ui.setup
import android.support.test.InstrumentationRegistry.getTargetContext
import android.support.test.filters.SmallTest
import foundation.e.dav4android.DavResource
import foundation.e.dav4android.property.AddressbookHomeSet
import foundation.e.dav4android.property.ResourceType
import at.bitfire.davdroid.HttpClient
import at.bitfire.davdroid.log.Logger
import at.bitfire.davdroid.model.Credentials
import at.bitfire.davdroid.ui.setup.DavResourceFinder.Configuration.ServiceInfo
import foundation.e.accountmanager.HttpClient
import foundation.e.accountmanager.log.Logger
import foundation.e.accountmanager.model.Credentials
import foundation.e.accountmanager.ui.setup.DavResourceFinder.Configuration.ServiceInfo
import okhttp3.mockwebserver.Dispatcher
import okhttp3.mockwebserver.MockResponse
import okhttp3.mockwebserver.MockWebServer
......
This diff is collapsed.
package at.bitfire.davdroid.settings;
package foundation.e.accountmanager.settings;
import at.bitfire.davdroid.settings.ISettingsObserver;
import foundation.e.accountmanager.settings.ISettingsObserver;
interface ISettings {
......
package at.bitfire.davdroid.settings;
package foundation.e.accountmanager.settings;
interface ISettingsObserver {
......
......@@ -5,7 +5,7 @@
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid
package foundation.e.accountmanager
import android.accounts.Account
import android.accounts.AccountManager
......@@ -17,17 +17,17 @@ import android.os.Parcel
import android.os.RemoteException
import android.provider.CalendarContract
import android.provider.ContactsContract
import at.bitfire.davdroid.log.Logger
import at.bitfire.davdroid.model.CollectionInfo
import at.bitfire.davdroid.model.Credentials
import at.bitfire.davdroid.model.ServiceDB
import at.bitfire.davdroid.model.ServiceDB.*
import at.bitfire.davdroid.model.ServiceDB.Collections
import at.bitfire.davdroid.model.SyncState
import at.bitfire.davdroid.resource.LocalAddressBook
import at.bitfire.davdroid.resource.LocalCalendar
import at.bitfire.davdroid.resource.LocalTaskList
import at.bitfire.davdroid.settings.ISettings
import foundation.e.accountmanager.log.Logger
import foundation.e.accountmanager.model.CollectionInfo
import foundation.e.accountmanager.model.Credentials
import foundation.e.accountmanager.model.ServiceDB
import foundation.e.accountmanager.model.ServiceDB.*
import foundation.e.accountmanager.model.ServiceDB.Collections
import foundation.e.accountmanager.model.SyncState
import foundation.e.accountmanager.resource.LocalAddressBook
import foundation.e.accountmanager.resource.LocalCalendar
import foundation.e.accountmanager.resource.LocalTaskList
import foundation.e.accountmanager.settings.ISettings
import foundation.e.ical4android.AndroidCalendar
import foundation.e.ical4android.AndroidTaskList
import foundation.e.ical4android.CalendarStorageException
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid
package foundation.e.accountmanager
import android.app.Application
import android.content.Context
......@@ -18,8 +18,8 @@ import android.net.Uri
import android.os.Build
import android.os.StrictMode
import android.support.v7.app.AppCompatDelegate
import at.bitfire.davdroid.log.Logger
import at.bitfire.davdroid.ui.NotificationUtils
import foundation.e.accountmanager.log.Logger
import foundation.e.accountmanager.ui.NotificationUtils
import kotlin.concurrent.thread
class App: Application() {
......
......@@ -5,7 +5,7 @@
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid
package foundation.e.accountmanager
/**
* Authors: Nihar Thakkar and others
......@@ -25,7 +25,7 @@ object Constants {
/**
* Context label for [org.apache.commons.lang3.exception.ContextedException].
* Context value is the [at.bitfire.davdroid.resource.LocalResource]
* Context value is the [foundation.e.accountmanager.resource.LocalResource]
* which is related to the exception cause.
*/
const val EXCEPTION_CONTEXT_LOCAL_RESOURCE = "localResource"
......
......@@ -6,10 +6,10 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid
package foundation.e.accountmanager
import android.os.Build
import at.bitfire.davdroid.log.Logger
import foundation.e.accountmanager.log.Logger
import java.io.IOException
import java.net.InetAddress
import java.net.Socket
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid
package foundation.e.accountmanager
import android.accounts.Account
import android.app.PendingIntent
......@@ -26,13 +26,13 @@ import foundation.e.dav4android.UrlUtils
import foundation.e.dav4android.exception.DavException
import foundation.e.dav4android.exception.HttpException
import foundation.e.dav4android.property.*
import at.bitfire.davdroid.log.Logger
import at.bitfire.davdroid.model.CollectionInfo
import at.bitfire.davdroid.model.ServiceDB.*
import at.bitfire.davdroid.model.ServiceDB.Collections
import at.bitfire.davdroid.settings.Settings
import at.bitfire.davdroid.ui.DebugInfoActivity
import at.bitfire.davdroid.ui.NotificationUtils
import foundation.e.accountmanager.log.Logger
import foundation.e.accountmanager.model.CollectionInfo
import foundation.e.accountmanager.model.ServiceDB.*
import foundation.e.accountmanager.model.ServiceDB.Collections
import foundation.e.accountmanager.settings.Settings
import foundation.e.accountmanager.ui.DebugInfoActivity
import foundation.e.accountmanager.ui.NotificationUtils
import net.openid.appauth.AuthState
import okhttp3.HttpUrl
import okhttp3.OkHttpClient
......
......@@ -6,13 +6,13 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid
package foundation.e.accountmanager
import android.annotation.TargetApi
import android.content.Context
import android.net.ConnectivityManager
import android.os.Build
import at.bitfire.davdroid.log.Logger
import foundation.e.accountmanager.log.Logger
import okhttp3.HttpUrl
import org.xbill.DNS.*
import java.util.*
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid
package foundation.e.accountmanager
import android.content.Context
import android.os.Build
......@@ -15,9 +15,9 @@ import foundation.e.cert4android.CustomCertManager
import foundation.e.dav4android.BasicDigestAuthHandler
import foundation.e.dav4android.Constants
import foundation.e.dav4android.UrlUtils
import at.bitfire.davdroid.log.Logger
import at.bitfire.davdroid.model.Credentials
import at.bitfire.davdroid.settings.ISettings
import foundation.e.accountmanager.log.Logger
import foundation.e.accountmanager.model.Credentials
import foundation.e.accountmanager.settings.ISettings
import okhttp3.Cache
import okhttp3.Interceptor
import okhttp3.OkHttpClient
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid
package foundation.e.accountmanager
import android.accounts.Account
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid
package foundation.e.accountmanager
import okhttp3.Cookie
import okhttp3.CookieJar
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid
package foundation.e.accountmanager
import android.accounts.Account
import android.annotation.SuppressLint
......@@ -15,10 +15,10 @@ import android.content.ContentResolver
import android.content.Context
import android.content.Intent
import android.os.Bundle
import at.bitfire.davdroid.log.Logger
import at.bitfire.davdroid.model.ServiceDB
import at.bitfire.davdroid.model.ServiceDB.Services
import at.bitfire.davdroid.resource.LocalTaskList
import foundation.e.accountmanager.log.Logger
import foundation.e.accountmanager.model.ServiceDB
import foundation.e.accountmanager.model.ServiceDB.Services
import foundation.e.accountmanager.resource.LocalTaskList
import foundation.e.ical4android.TaskProvider
/**
......
package at.bitfire.davdroid.authorization;
package foundation.e.accountmanager.authorization;
/*
* Copyright 2015 The AppAuth Authors. All Rights Reserved.
......@@ -21,7 +21,7 @@ import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.StringRes;
import at.bitfire.davdroid.R;
import foundation.e.accountmanager.R;
import net.openid.appauth.AuthorizationServiceConfiguration;
import net.openid.appauth.AuthorizationServiceConfiguration.RetrieveConfigurationCallback;
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.log
package foundation.e.accountmanager.log
import android.util.Log
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.log
package foundation.e.accountmanager.log
import android.app.PendingIntent
import android.content.Context
......@@ -17,9 +17,9 @@ import android.preference.PreferenceManager
import android.support.v4.app.NotificationCompat
import android.support.v4.app.NotificationManagerCompat
import android.util.Log
import at.bitfire.davdroid.R
import at.bitfire.davdroid.ui.AppSettingsActivity
import at.bitfire.davdroid.ui.NotificationUtils
import foundation.e.accountmanager.R
import foundation.e.accountmanager.ui.AppSettingsActivity
import foundation.e.accountmanager.ui.NotificationUtils
import org.apache.commons.lang3.time.DateFormatUtils
import java.io.File
import java.io.IOException
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.log
package foundation.e.accountmanager.log
import org.apache.commons.lang3.StringUtils
import org.apache.commons.lang3.exception.ExceptionUtils
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.log
package foundation.e.accountmanager.log
import java.util.logging.Handler
import java.util.logging.LogRecord
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.model
package foundation.e.accountmanager.model
import android.content.ContentValues
import android.os.Parcel
......@@ -14,7 +14,7 @@ import android.os.Parcelable
import foundation.e.dav4android.Response
import foundation.e.dav4android.UrlUtils
import foundation.e.dav4android.property.*
import at.bitfire.davdroid.model.ServiceDB.Collections
import foundation.e.accountmanager.model.ServiceDB.Collections
import okhttp3.HttpUrl
/**
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.model
package foundation.e.accountmanager.model
import net.openid.appauth.AuthState
import java.io.Serializable
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.model
package foundation.e.accountmanager.model
import android.content.ContentValues
import android.content.Context
......@@ -14,9 +14,9 @@ import android.database.sqlite.SQLiteDatabase
import android.database.sqlite.SQLiteException
import android.database.sqlite.SQLiteOpenHelper
import android.preference.PreferenceManager
import at.bitfire.davdroid.App
import at.bitfire.davdroid.log.Logger
import at.bitfire.davdroid.ui.StartupDialogFragment
import foundation.e.accountmanager.App
import foundation.e.accountmanager.log.Logger
import foundation.e.accountmanager.ui.StartupDialogFragment
import java.util.logging.Level
/**
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.model
package foundation.e.accountmanager.model
import foundation.e.dav4android.property.SyncToken
import org.json.JSONException
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.model
package foundation.e.accountmanager.model
import android.provider.ContactsContract.RawContacts
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.resource
package foundation.e.accountmanager.resource
import foundation.e.vcard4android.Contact
......
......@@ -5,7 +5,7 @@
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.resource
package foundation.e.accountmanager.resource
import android.accounts.Account
import android.accounts.AccountManager
......@@ -19,12 +19,12 @@ import android.provider.ContactsContract.CommonDataKinds.GroupMembership
import android.provider.ContactsContract.Groups
import android.provider.ContactsContract.RawContacts
import android.util.Base64
import at.bitfire.davdroid.DavUtils
import at.bitfire.davdroid.R
import at.bitfire.davdroid.log.Logger
import at.bitfire.davdroid.model.CollectionInfo
import at.bitfire.davdroid.model.ServiceDB
import at.bitfire.davdroid.model.SyncState
import foundation.e.accountmanager.DavUtils
import foundation.e.accountmanager.R
import foundation.e.accountmanager.log.Logger
import foundation.e.accountmanager.model.CollectionInfo
import foundation.e.accountmanager.model.ServiceDB
import foundation.e.accountmanager.model.SyncState
import foundation.e.vcard4android.*
import java.io.ByteArrayOutputStream
import java.util.*
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.resource
package foundation.e.accountmanager.resource
import android.accounts.Account
import android.content.ContentProviderClient
......@@ -16,11 +16,11 @@ import android.content.ContentValues
import android.net.Uri
import android.provider.CalendarContract
import android.provider.CalendarContract.*
import at.bitfire.davdroid.Constants
import at.bitfire.davdroid.DavUtils
import at.bitfire.davdroid.log.Logger
import at.bitfire.davdroid.model.CollectionInfo
import at.bitfire.davdroid.model.SyncState
import foundation.e.accountmanager.Constants
import foundation.e.accountmanager.DavUtils
import foundation.e.accountmanager.log.Logger
import foundation.e.accountmanager.model.CollectionInfo
import foundation.e.accountmanager.model.SyncState
import foundation.e.ical4android.AndroidCalendar
import foundation.e.ical4android.AndroidCalendarFactory
import foundation.e.ical4android.BatchOperation
......
......@@ -6,9 +6,9 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.resource
package foundation.e.accountmanager.resource
import at.bitfire.davdroid.model.SyncState
import foundation.e.accountmanager.model.SyncState
interface LocalCollection<out T: LocalResource<*>> {
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.resource
package foundation.e.accountmanager.resource
import android.content.ContentProviderOperation
import android.content.ContentValues
......@@ -15,9 +15,9 @@ import android.os.RemoteException
import android.provider.ContactsContract
import android.provider.ContactsContract.CommonDataKinds.GroupMembership
import android.provider.ContactsContract.RawContacts.Data
import at.bitfire.davdroid.BuildConfig
import at.bitfire.davdroid.log.Logger
import at.bitfire.davdroid.model.UnknownProperties
import foundation.e.accountmanager.BuildConfig
import foundation.e.accountmanager.log.Logger
import foundation.e.accountmanager.model.UnknownProperties
import foundation.e.vcard4android.*
import ezvcard.Ezvcard
import java.io.FileNotFoundException
......
......@@ -6,13 +6,13 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.resource
package foundation.e.accountmanager.resource
import android.content.ContentProviderOperation
import android.content.ContentValues
import android.provider.CalendarContract
import android.provider.CalendarContract.Events
import at.bitfire.davdroid.BuildConfig
import foundation.e.accountmanager.BuildConfig
import foundation.e.ical4android.*
import net.fortuna.ical4j.model.property.ProdId
import java.util.*
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.resource
package foundation.e.accountmanager.resource
import android.content.ContentProviderOperation
import android.content.ContentUris
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.resource
package foundation.e.accountmanager.resource
import android.net.Uri
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.resource
package foundation.e.accountmanager.resource
import android.content.ContentProviderOperation
import android.content.ContentValues
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.resource
package foundation.e.accountmanager.resource
import android.accounts.Account
import android.content.ContentProviderClient
......@@ -15,11 +15,11 @@ import android.content.ContentValues
import android.content.Context
import android.net.Uri
import android.os.Build
import at.bitfire.davdroid.Constants
import at.bitfire.davdroid.DavUtils
import at.bitfire.davdroid.log.Logger
import at.bitfire.davdroid.model.CollectionInfo
import at.bitfire.davdroid.model.SyncState
import foundation.e.accountmanager.Constants
import foundation.e.accountmanager.DavUtils
import foundation.e.accountmanager.log.Logger
import foundation.e.accountmanager.model.CollectionInfo
import foundation.e.accountmanager.model.SyncState
import foundation.e.ical4android.AndroidTaskList
import foundation.e.ical4android.AndroidTaskListFactory
import foundation.e.ical4android.TaskProvider
......
......@@ -6,9 +6,9 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.settings
package foundation.e.accountmanager.settings
import at.bitfire.davdroid.App
import foundation.e.accountmanager.App
open class DefaultsProvider(
private val allowOverride: Boolean = true
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.settings
package foundation.e.accountmanager.settings
import java.io.Closeable
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.davdroid.settings
package foundation.e.accountmanager.settings
import android.annotation.TargetApi
import android.app.Service
......@@ -18,7 +18,7 @@ import android.os.Build
import android.os.Handler
import android.os.IBinder
import android.os.Looper
import at.bitfire.davdroid.log.Logger
import foundation.e.accountmanager.log.Logger
import java.lang.ref.WeakReference
import java.util.*
import java.util.logging.Level
......