ZTDfuService

class ZTDfuService : DfuBaseService

ZTDfuService

Author

Alexandre Lemoult <a.lemoult@zhortech.com>

Constructors

ZTDfuService
Link copied to clipboard
fun ZTDfuService()

Functions

attachBaseContext
Link copied to clipboard
open override fun attachBaseContext(p0: Context)
bindIsolatedService
Link copied to clipboard
open override fun bindIsolatedService(p0: Intent, p1: Int, p2: String, p3: Executor, p4: ServiceConnection): Boolean
bindService
Link copied to clipboard
open override fun bindService(p0: Intent, p1: ServiceConnection, p2: Int): Boolean
open override fun bindService(p0: Intent, p1: Int, p2: Executor, p3: ServiceConnection): Boolean
bindServiceAsUser
Link copied to clipboard
open override fun bindServiceAsUser(p0: Intent, p1: ServiceConnection, p2: Int, p3: UserHandle): Boolean
checkCallingOrSelfPermission
Link copied to clipboard
open override fun checkCallingOrSelfPermission(p0: String): Int
checkCallingOrSelfUriPermission
Link copied to clipboard
open override fun checkCallingOrSelfUriPermission(p0: Uri, p1: Int): Int
checkCallingPermission
Link copied to clipboard
open override fun checkCallingPermission(p0: String): Int
checkCallingUriPermission
Link copied to clipboard
open override fun checkCallingUriPermission(p0: Uri, p1: Int): Int
checkPermission
Link copied to clipboard
open override fun checkPermission(p0: String, p1: Int, p2: Int): Int
checkSelfPermission
Link copied to clipboard
open override fun checkSelfPermission(p0: String): Int
checkUriPermission
Link copied to clipboard
open override fun checkUriPermission(p0: Uri, p1: Int, p2: Int, p3: Int): Int
open override fun checkUriPermission(p0: Uri?, p1: String?, p2: String?, p3: Int, p4: Int, p5: Int): Int
clearWallpaper
Link copied to clipboard
open override fun clearWallpaper()
close
Link copied to clipboard
open fun close(@NonNull() p0: BluetoothGatt)
connect
Link copied to clipboard
open fun connect(@NonNull() p0: String): BluetoothGatt
createAttributionContext
Link copied to clipboard
open override fun createAttributionContext(p0: String?): Context
createConfigurationContext
Link copied to clipboard
open override fun createConfigurationContext(p0: Configuration): Context
createContextForSplit
Link copied to clipboard
open override fun createContextForSplit(p0: String): Context
createDeviceProtectedStorageContext
Link copied to clipboard
open override fun createDeviceProtectedStorageContext(): Context
createDisplayContext
Link copied to clipboard
open override fun createDisplayContext(p0: Display): Context
createPackageContext
Link copied to clipboard
open override fun createPackageContext(p0: String, p1: Int): Context
createWindowContext
Link copied to clipboard
open override fun createWindowContext(p0: Int, p1: Bundle?): Context
databaseList
Link copied to clipboard
open override fun databaseList(): Array<String>
deleteDatabase
Link copied to clipboard
open override fun deleteDatabase(p0: String): Boolean
deleteFile
Link copied to clipboard
open override fun deleteFile(p0: String): Boolean
deleteSharedPreferences
Link copied to clipboard
open override fun deleteSharedPreferences(p0: String): Boolean
disconnect
Link copied to clipboard
open fun disconnect(@NonNull() p0: BluetoothGatt)
dump
Link copied to clipboard
open fun dump(p0: FileDescriptor, p1: PrintWriter, p2: Array<String>)
enforceCallingOrSelfPermission
Link copied to clipboard
open override fun enforceCallingOrSelfPermission(p0: String, p1: String?)
enforceCallingOrSelfUriPermission
Link copied to clipboard
open override fun enforceCallingOrSelfUriPermission(p0: Uri, p1: Int, p2: String)
enforceCallingPermission
Link copied to clipboard
open override fun enforceCallingPermission(p0: String, p1: String?)
enforceCallingUriPermission
Link copied to clipboard
open override fun enforceCallingUriPermission(p0: Uri, p1: Int, p2: String)
enforcePermission
Link copied to clipboard
open override fun enforcePermission(p0: String, p1: Int, p2: Int, p3: String?)
enforceUriPermission
Link copied to clipboard
open override fun enforceUriPermission(p0: Uri, p1: Int, p2: Int, p3: Int, p4: String)
open override fun enforceUriPermission(p0: Uri?, p1: String?, p2: String?, p3: Int, p4: Int, p5: Int, p6: String?)
fileList
Link copied to clipboard
open override fun fileList(): Array<String>
getApplication
Link copied to clipboard
fun getApplication(): Application
getApplicationContext
Link copied to clipboard
open override fun getApplicationContext(): Context
getApplicationInfo
Link copied to clipboard
open override fun getApplicationInfo(): ApplicationInfo
getAssets
Link copied to clipboard
open override fun getAssets(): AssetManager
getAttributionTag
Link copied to clipboard
open override fun getAttributionTag(): String?
getBaseContext
Link copied to clipboard
open fun getBaseContext(): Context
getCacheDir
Link copied to clipboard
open override fun getCacheDir(): File
getClassLoader
Link copied to clipboard
open override fun getClassLoader(): ClassLoader
getCodeCacheDir
Link copied to clipboard
open override fun getCodeCacheDir(): File
getColor
Link copied to clipboard
fun getColor(p0: Int): Int
getColorStateList
Link copied to clipboard
fun getColorStateList(p0: Int): ColorStateList
getContentResolver
Link copied to clipboard
open override fun getContentResolver(): ContentResolver
getDatabasePath
Link copied to clipboard
open override fun getDatabasePath(p0: String): File
getDataDir
Link copied to clipboard
open override fun getDataDir(): File
getDir
Link copied to clipboard
open override fun getDir(p0: String, p1: Int): File
getDisplay
Link copied to clipboard
open override fun getDisplay(): Display?
getDrawable
Link copied to clipboard
fun getDrawable(p0: Int): Drawable?
getExternalCacheDir
Link copied to clipboard
open override fun getExternalCacheDir(): File?
getExternalCacheDirs
Link copied to clipboard
open override fun getExternalCacheDirs(): Array<File>
getExternalFilesDir
Link copied to clipboard
open override fun getExternalFilesDir(p0: String?): File?
getExternalFilesDirs
Link copied to clipboard
open override fun getExternalFilesDirs(p0: String): Array<File>
getExternalMediaDirs
Link copied to clipboard
open override fun getExternalMediaDirs(): Array<File>
getFilesDir
Link copied to clipboard
open override fun getFilesDir(): File
getFileStreamPath
Link copied to clipboard
open override fun getFileStreamPath(p0: String): File
getForegroundServiceType
Link copied to clipboard
fun getForegroundServiceType(): Int
getMainExecutor
Link copied to clipboard
open override fun getMainExecutor(): Executor
getMainLooper
Link copied to clipboard
open override fun getMainLooper(): Looper
getNoBackupFilesDir
Link copied to clipboard
open override fun getNoBackupFilesDir(): File
getObbDir
Link copied to clipboard
open override fun getObbDir(): File
getObbDirs
Link copied to clipboard
open override fun getObbDirs(): Array<File>
getOpPackageName
Link copied to clipboard
open override fun getOpPackageName(): String
getPackageCodePath
Link copied to clipboard
open override fun getPackageCodePath(): String
getPackageManager
Link copied to clipboard
open override fun getPackageManager(): PackageManager
getPackageName
Link copied to clipboard
open override fun getPackageName(): String
getPackageResourcePath
Link copied to clipboard
open override fun getPackageResourcePath(): String
getResources
Link copied to clipboard
open override fun getResources(): Resources
getSharedPreferences
Link copied to clipboard
open override fun getSharedPreferences(p0: String, p1: Int): SharedPreferences
getString
Link copied to clipboard
fun getString(p0: Int): String
fun getString(p0: Int, vararg p1: Any): String
getSystemService
Link copied to clipboard
fun <T : Any> getSystemService(p0: Class<T>): T
open override fun getSystemService(p0: String): Any
getSystemServiceName
Link copied to clipboard
open override fun getSystemServiceName(p0: Class<*>): String?
getText
Link copied to clipboard
fun getText(p0: Int): CharSequence
getTheme
Link copied to clipboard
open override fun getTheme(): Resources.Theme
getWallpaper
Link copied to clipboard
open override fun getWallpaper(): Drawable
getWallpaperDesiredMinimumHeight
Link copied to clipboard
open override fun getWallpaperDesiredMinimumHeight(): Int
getWallpaperDesiredMinimumWidth
Link copied to clipboard
open override fun getWallpaperDesiredMinimumWidth(): Int
grantUriPermission
Link copied to clipboard
open override fun grantUriPermission(p0: String, p1: Uri, p2: Int)
isDeviceProtectedStorage
Link copied to clipboard
open override fun isDeviceProtectedStorage(): Boolean
isRestricted
Link copied to clipboard
open override fun isRestricted(): Boolean
moveDatabaseFrom
Link copied to clipboard
open override fun moveDatabaseFrom(p0: Context, p1: String): Boolean
moveSharedPreferencesFrom
Link copied to clipboard
open override fun moveSharedPreferencesFrom(p0: Context, p1: String): Boolean
obtainStyledAttributes
Link copied to clipboard
fun obtainStyledAttributes(p0: IntArray): TypedArray
fun obtainStyledAttributes(p0: AttributeSet?, p1: IntArray): TypedArray
fun obtainStyledAttributes(p0: Int, p1: IntArray): TypedArray
fun obtainStyledAttributes(p0: AttributeSet?, p1: IntArray, p2: Int, p3: Int): TypedArray
onBind
Link copied to clipboard
open override fun onBind(p0: Intent): IBinder?
onConfigurationChanged
Link copied to clipboard
open override fun onConfigurationChanged(p0: Configuration)
onCreate
Link copied to clipboard
open override fun onCreate()
onDestroy
Link copied to clipboard
open override fun onDestroy()
onHandleIntent
Link copied to clipboard
open override fun onHandleIntent(p0: Intent?)
onLowMemory
Link copied to clipboard
open override fun onLowMemory()
onRebind
Link copied to clipboard
open fun onRebind(p0: Intent)
onStart
Link copied to clipboard
open override fun onStart(p0: Intent?, p1: Int)
onStartCommand
Link copied to clipboard
open override fun onStartCommand(p0: Intent, p1: Int, p2: Int): Int
onTaskRemoved
Link copied to clipboard
open override fun onTaskRemoved(p0: Intent)
onTrimMemory
Link copied to clipboard
open override fun onTrimMemory(p0: Int)
onUnbind
Link copied to clipboard
open fun onUnbind(p0: Intent): Boolean
openFileInput
Link copied to clipboard
open override fun openFileInput(p0: String): FileInputStream
openFileOutput
Link copied to clipboard
open override fun openFileOutput(p0: String, p1: Int): FileOutputStream
openOrCreateDatabase
Link copied to clipboard
open override fun openOrCreateDatabase(p0: String, p1: Int, p2: SQLiteDatabase.CursorFactory): SQLiteDatabase
open override fun openOrCreateDatabase(p0: String, p1: Int, p2: SQLiteDatabase.CursorFactory, p3: DatabaseErrorHandler?): SQLiteDatabase
peekWallpaper
Link copied to clipboard
open override fun peekWallpaper(): Drawable
refreshDeviceCache
Link copied to clipboard
open fun refreshDeviceCache(@NonNull() p0: BluetoothGatt, p1: Boolean)
registerComponentCallbacks
Link copied to clipboard
open fun registerComponentCallbacks(p0: ComponentCallbacks)
registerReceiver
Link copied to clipboard
open override fun registerReceiver(p0: BroadcastReceiver?, p1: IntentFilter): Intent?
open override fun registerReceiver(p0: BroadcastReceiver?, p1: IntentFilter, p2: Int): Intent?
open override fun registerReceiver(p0: BroadcastReceiver, p1: IntentFilter, p2: String?, p3: Handler?): Intent?
open override fun registerReceiver(p0: BroadcastReceiver, p1: IntentFilter, p2: String?, p3: Handler?, p4: Int): Intent?
removeStickyBroadcast
Link copied to clipboard
open override fun removeStickyBroadcast(p0: Intent)
removeStickyBroadcastAsUser
Link copied to clipboard
open override fun removeStickyBroadcastAsUser(p0: Intent, p1: UserHandle)
revokeUriPermission
Link copied to clipboard
open override fun revokeUriPermission(p0: Uri, p1: Int)
open override fun revokeUriPermission(p0: String, p1: Uri, p2: Int)
sendBroadcast
Link copied to clipboard
open override fun sendBroadcast(p0: Intent)
open override fun sendBroadcast(p0: Intent, p1: String?)
sendBroadcastAsUser
Link copied to clipboard
open override fun sendBroadcastAsUser(p0: Intent, p1: UserHandle)
open override fun sendBroadcastAsUser(p0: Intent, p1: UserHandle, p2: String?)
sendBroadcastWithMultiplePermissions
Link copied to clipboard
open fun sendBroadcastWithMultiplePermissions(p0: Intent, p1: Array<String>)
sendLogBroadcast
Link copied to clipboard
open fun sendLogBroadcast(p0: Int, p1: String)
sendOrderedBroadcast
Link copied to clipboard
open override fun sendOrderedBroadcast(p0: Intent, p1: String?)
open override fun sendOrderedBroadcast(p0: Intent, p1: String?, p2: BroadcastReceiver?, p3: Handler?, p4: Int, p5: String?, p6: Bundle?)
open override fun sendOrderedBroadcast(p0: Intent, p1: String?, p2: String?, p3: BroadcastReceiver?, p4: Handler?, p5: Int, p6: String?, p7: Bundle?)
open fun sendOrderedBroadcast(p0: Intent, p1: Int, p2: String?, p3: String?, p4: BroadcastReceiver?, p5: Handler?, p6: String?, p7: Bundle?, p8: Bundle?)
sendOrderedBroadcastAsUser
Link copied to clipboard
open override fun sendOrderedBroadcastAsUser(p0: Intent, p1: UserHandle, p2: String?, p3: BroadcastReceiver, p4: Handler?, p5: Int, p6: String?, p7: Bundle?)
sendStickyBroadcast
Link copied to clipboard
open override fun sendStickyBroadcast(p0: Intent)
sendStickyBroadcastAsUser
Link copied to clipboard
open override fun sendStickyBroadcastAsUser(p0: Intent, p1: UserHandle)
sendStickyOrderedBroadcast
Link copied to clipboard
open override fun sendStickyOrderedBroadcast(p0: Intent, p1: BroadcastReceiver, p2: Handler?, p3: Int, p4: String?, p5: Bundle?)
sendStickyOrderedBroadcastAsUser
Link copied to clipboard
open override fun sendStickyOrderedBroadcastAsUser(p0: Intent, p1: UserHandle, p2: BroadcastReceiver, p3: Handler?, p4: Int, p5: String?, p6: Bundle?)
setIntentRedelivery
Link copied to clipboard
open fun setIntentRedelivery(p0: Boolean)
setTheme
Link copied to clipboard
open override fun setTheme(p0: Int)
setWallpaper
Link copied to clipboard
open override fun setWallpaper(p0: Bitmap)
open override fun setWallpaper(p0: InputStream)
startActivities
Link copied to clipboard
open override fun startActivities(p0: Array<Intent>)
open override fun startActivities(p0: Array<Intent>, p1: Bundle)
startActivity
Link copied to clipboard
open override fun startActivity(p0: Intent)
open override fun startActivity(p0: Intent, p1: Bundle?)
startForeground
Link copied to clipboard
fun startForeground(p0: Int, p1: Notification)
fun startForeground(p0: Int, p1: Notification, p2: Int)
startForegroundService
Link copied to clipboard
open override fun startForegroundService(p0: Intent): ComponentName?
startInstrumentation
Link copied to clipboard
open override fun startInstrumentation(p0: ComponentName, p1: String?, p2: Bundle?): Boolean
startIntentSender
Link copied to clipboard
open override fun startIntentSender(p0: IntentSender, p1: Intent?, p2: Int, p3: Int, p4: Int)
open override fun startIntentSender(p0: IntentSender, p1: Intent?, p2: Int, p3: Int, p4: Int, p5: Bundle?)
startService
Link copied to clipboard
open override fun startService(p0: Intent): ComponentName?
stopForeground
Link copied to clipboard
fun stopForeground(p0: Boolean)
fun stopForeground(p0: Int)
stopSelf
Link copied to clipboard
fun stopSelf()
fun stopSelf(p0: Int)
stopSelfResult
Link copied to clipboard
fun stopSelfResult(p0: Int): Boolean
stopService
Link copied to clipboard
open override fun stopService(p0: Intent): Boolean
terminateConnection
Link copied to clipboard
open fun terminateConnection(@NonNull() p0: BluetoothGatt, p1: Int)
unbindService
Link copied to clipboard
open override fun unbindService(p0: ServiceConnection)
unregisterComponentCallbacks
Link copied to clipboard
open fun unregisterComponentCallbacks(p0: ComponentCallbacks)
unregisterReceiver
Link copied to clipboard
open override fun unregisterReceiver(p0: BroadcastReceiver)
updateErrorNotification
Link copied to clipboard
open fun updateErrorNotification(@NonNull() p0: NotificationCompat.Builder)
updateForegroundNotification
Link copied to clipboard
open fun updateForegroundNotification(@NonNull() p0: NotificationCompat.Builder)
updateProgressNotification
Link copied to clipboard
open override fun updateProgressNotification()
open fun updateProgressNotification(@NonNull() p0: NotificationCompat.Builder, p1: Int)
updateServiceGroup
Link copied to clipboard
open override fun updateServiceGroup(p0: ServiceConnection, p1: Int, p2: Int)
waitFor
Link copied to clipboard
open fun waitFor(p0: Long)
waitUntilDisconnected
Link copied to clipboard
open fun waitUntilDisconnected()

Properties

mConnectionState
Link copied to clipboard
val mConnectionState: Int
mProgressInfo
Link copied to clipboard
val mProgressInfo: DfuProgressInfo