[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

api[jx8,android.os] implementation

JavaObject
	buildSubclasses: #(
		#Debug #Vibrator
		#BatteryManager #Environment
	) in: 'android.os'
	reference: 'https://developer.android.com/reference'!

Debug buildStaticFunctions: #(
	#(#changeDebugPort: #(port))
	#(#dumpHprofData: #(fileName) )
	#(#dumpService:fd:args: #(name #(fd json) args) )
	enableEmulatorTraceOutput
	getBinderDeathObjectCount
	getBinderLocalObjectCount
	getBinderProxyObjectCount
	getBinderReceivedTransactions
	getBinderSentTransactions
	getGlobalAllocCount
	getGlobalAllocSize
	getGlobalClassInitCount
	getGlobalClassInitTime
	getGlobalExternalAllocCount
	getGlobalExternalAllocSize
	getGlobalExternalFreedCount
	getGlobalExternalFreedSize
	getGlobalFreedCount
	getGlobalFreedSize
	getGlobalGcInvocationCount
	getLoadedClassCount
	#(#getMemoryInfo: #(#(memoryInfo json)) )
	getNativeHeapAllocatedSize
	getNativeHeapFreeSize
	getNativeHeapSize
	getPss
	#(getRuntimeStat: (statName))
	getRuntimeStats
	getThreadAllocCount
	getThreadAllocSize
	getThreadExternalAllocCount
	getThreadExternalAllocSize
	getThreadGcInvocationCount
	#(#isDebuggerConnected #() #Boolean)
	#(#printLoadedClasses: #(flags) )
	resetAllCounts
	startMethodTracing
	#(#startMethodTracing: #(traceFileName) )
	#(#startMethodTracing:bufferSize:flags: #(traceFileName bufferSize flags) )
	#(#startMethodTracing:bufferSize: #(traceFileName bufferSize) )
	#(#startMethodTracingSampling:bufferSize:intervalUs: #(traceFileName bufferSize intervalUs) )
	startNativeTracing
	stopMethodTracing
	stopNativeTracing
	threadCpuTimeNanos
	waitForDebugger
	#(#waitingForDebugger #() #Boolean)
)!

Vibrator buildFunctions: #(
	cancel
	#(hasVibrator #() #Boolean)
	#(vibrate: #(milliseconds))
	#(vibrate:repeat: #(pattern repeat))
	#(vibrate:repeat:attributes: #(pattern repeat #(attributes json)))
	#(vibrate:attributes: #(pattern #(attributes json)))
)!

BatteryManager buildFunctions: #(
	#(#getIntProperty: #(id))
	#(#getLongProperty: #(id))
	#(#isCharging #() #Boolean)
)!

Environment buildStaticFunctions: #(
	#(#getDataDirectory #() #File)
	#(#getDownloadCacheDirectory #() #File)
	#(#getExternalStorageDirectory #() #File)
	#(#getExternalStoragePublicDirectory: #(type) #File)
	getExternalStorageState
	#(#getExternalStorageState: #(path) )
	#(#getRootDirectory #() #File)
	#(#getStorageState: #(path) )
	#(#isExternalStorageEmulated #() #Boolean)
	#(#isExternalStorageEmulated: #(path) #Boolean)
	#(#isExternalStorageRemovable #() #Boolean)
	#(#isExternalStorageRemovable: #(path) #Boolean)
)!