Skip to content

Commit

Permalink
namespace name change.
Browse files Browse the repository at this point in the history
  • Loading branch information
h0ker committed Dec 27, 2023
1 parent b8ce04c commit 1a8d566
Show file tree
Hide file tree
Showing 21 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

android {
namespace = "com.hoker.intra_example"
namespace = "com.carbidecowboy.intra_example"
compileSdk = 34

defaultConfig {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hoker.intra
package com.carbidecowboy.intra

import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hoker.intra
package com.carbidecowboy.intra

import org.junit.Test

Expand Down
2 changes: 1 addition & 1 deletion intra/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

android {
namespace = "com.hoker.intra"
namespace = "com.carbidecowboy.intra"
compileSdk = 34

defaultConfig {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package com.hoker.intra.data
package com.carbidecowboy.intra.data

import android.nfc.NdefMessage
import android.nfc.Tag
import android.nfc.tech.IsoDep
import android.nfc.tech.Ndef
import android.util.Log
import com.hoker.intra.domain.ApduUtils
import com.hoker.intra.domain.AuthApiService
import com.hoker.intra.domain.NfcController
import com.hoker.intra.domain.OperationResult
import com.hoker.intra.domain.request.ChallengeRequest
import com.hoker.intra.domain.request.SessionRequest
import com.carbidecowboy.intra.domain.ApduUtils
import com.carbidecowboy.intra.domain.AuthApiService
import com.carbidecowboy.intra.domain.NfcController
import com.carbidecowboy.intra.domain.OperationResult
import com.carbidecowboy.intra.domain.request.ChallengeRequest
import com.carbidecowboy.intra.domain.request.SessionRequest
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.async
import kotlinx.coroutines.flow.MutableStateFlow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.hoker.intra.data
package com.carbidecowboy.intra.data

import android.nfc.NdefMessage
import android.nfc.Tag
import android.nfc.tech.Ndef
import android.nfc.tech.NfcA
import android.util.Log
import com.hoker.intra.domain.ApduUtils
import com.hoker.intra.domain.NfcController
import com.hoker.intra.domain.OperationResult
import com.carbidecowboy.intra.domain.ApduUtils
import com.carbidecowboy.intra.domain.NfcController
import com.carbidecowboy.intra.domain.OperationResult
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.flow.asStateFlow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package com.hoker.intra.data
package com.carbidecowboy.intra.data

import android.nfc.NdefMessage
import android.nfc.Tag
import android.nfc.tech.Ndef
import android.nfc.tech.NfcV
import com.hoker.intra.domain.ApduUtils
import com.hoker.intra.domain.AuthApiService
import com.hoker.intra.domain.NfcController
import com.hoker.intra.domain.OperationResult
import com.hoker.intra.domain.request.ChallengeRequest
import com.hoker.intra.domain.request.SessionRequest
import com.carbidecowboy.intra.domain.ApduUtils
import com.carbidecowboy.intra.domain.AuthApiService
import com.carbidecowboy.intra.domain.NfcController
import com.carbidecowboy.intra.domain.OperationResult
import com.carbidecowboy.intra.domain.request.ChallengeRequest
import com.carbidecowboy.intra.domain.request.SessionRequest
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.async
import kotlinx.coroutines.flow.MutableStateFlow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.hoker.intra.di
package com.carbidecowboy.intra.di

import com.hoker.intra.domain.AuthApiService
import com.carbidecowboy.intra.domain.AuthApiService
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package com.hoker.intra.di
package com.carbidecowboy.intra.di

import android.content.Context
import android.nfc.NfcAdapter
import android.nfc.Tag
import android.nfc.tech.IsoDep
import android.nfc.tech.NfcV
import com.hoker.intra.data.IsodepControllerImpl
import com.hoker.intra.data.NfcVControllerImpl
import com.hoker.intra.domain.NfcAdapterController
import com.hoker.intra.domain.NfcController
import com.hoker.intra.domain.OperationResult
import com.carbidecowboy.intra.data.IsodepControllerImpl
import com.carbidecowboy.intra.data.NfcVControllerImpl
import com.carbidecowboy.intra.domain.NfcAdapterController
import com.carbidecowboy.intra.domain.NfcController
import com.carbidecowboy.intra.domain.OperationResult
import dagger.Binds
import dagger.Module
import dagger.Provides
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hoker.intra.domain
package com.carbidecowboy.intra.domain

import java.io.IOException
import java.nio.ByteBuffer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.hoker.intra.domain
package com.carbidecowboy.intra.domain

import com.hoker.intra.domain.request.ChallengeRequest
import com.hoker.intra.domain.request.SessionRequest
import com.hoker.intra.domain.response.ChallengeResponse
import com.hoker.intra.domain.response.SessionResponse
import com.carbidecowboy.intra.domain.request.ChallengeRequest
import com.carbidecowboy.intra.domain.request.SessionRequest
import com.carbidecowboy.intra.domain.response.ChallengeResponse
import com.carbidecowboy.intra.domain.response.SessionResponse
import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.POST
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hoker.intra.domain
package com.carbidecowboy.intra.domain

object Consts {
const val SUCCESS_RESPONSE = "9000"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hoker.intra.domain
package com.carbidecowboy.intra.domain

import androidx.activity.ComponentActivity
import dagger.hilt.android.AndroidEntryPoint
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hoker.intra.domain
package com.carbidecowboy.intra.domain

import android.app.Activity
import android.nfc.NfcAdapter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hoker.intra.domain
package com.carbidecowboy.intra.domain

import android.nfc.NdefMessage
import android.nfc.Tag
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.hoker.intra.domain
package com.carbidecowboy.intra.domain

import android.nfc.Tag
import androidx.lifecycle.ViewModel
import com.hoker.intra.di.NfcModule
import com.carbidecowboy.intra.di.NfcModule

abstract class NfcViewModel(
private val nfcAdapterController: NfcAdapterController,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hoker.intra.domain
package com.carbidecowboy.intra.domain

sealed class OperationResult<out T> {
data class Success<out T>(val data: T) : OperationResult<T>()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hoker.intra.domain.request
package com.carbidecowboy.intra.domain.request

data class ChallengeRequest(
val scheme: Int,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hoker.intra.domain.request
package com.carbidecowboy.intra.domain.request

data class SessionRequest(
val uid: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hoker.intra.domain.response
package com.carbidecowboy.intra.domain.response

data class ChallengeResponse(
val payload: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hoker.intra.domain.response
package com.carbidecowboy.intra.domain.response

data class SessionResponse (
val token: String
Expand Down

0 comments on commit 1a8d566

Please sign in to comment.