Documentation
¶
Overview ¶
Package os provides Go bindings for android.os.
Index ¶
- Constants
- func Init(env *jni.Env) error
- type AsyncTask
- func (m *AsyncTask) Cancel(arg0 bool) (bool, error)
- func (m *AsyncTask) Execute(arg0 *jni.Object) error
- func (m *AsyncTask) Get0() (*jni.Object, error)
- func (m *AsyncTask) Get2_1(arg0 int64, arg1 *jni.Object) (*jni.Object, error)
- func (m *AsyncTask) GetStatus() (*jni.Object, error)
- func (m *AsyncTask) IsCancelled() (bool, error)
- type AsyncTaskStatus
- type BadParcelableException
- type BaseBundle
- func (m *BaseBundle) Clear() error
- func (m *BaseBundle) ContainsKey(arg0 string) (bool, error)
- func (m *BaseBundle) Get(arg0 string) (*jni.Object, error)
- func (m *BaseBundle) GetBoolean1(arg0 string) (bool, error)
- func (m *BaseBundle) GetBoolean2_1(arg0 string, arg1 bool) (bool, error)
- func (m *BaseBundle) GetBooleanArray(arg0 string) (*jni.Object, error)
- func (m *BaseBundle) GetDouble1(arg0 string) (float64, error)
- func (m *BaseBundle) GetDouble2_1(arg0 string, arg1 float64) (float64, error)
- func (m *BaseBundle) GetDoubleArray(arg0 string) (*jni.Object, error)
- func (m *BaseBundle) GetInt1(arg0 string) (int32, error)
- func (m *BaseBundle) GetInt2_1(arg0 string, arg1 int32) (int32, error)
- func (m *BaseBundle) GetIntArray(arg0 string) (*jni.Object, error)
- func (m *BaseBundle) GetLong1(arg0 string) (int64, error)
- func (m *BaseBundle) GetLong2_1(arg0 string, arg1 int64) (int64, error)
- func (m *BaseBundle) GetLongArray(arg0 string) (*jni.Object, error)
- func (m *BaseBundle) GetString1(arg0 string) (string, error)
- func (m *BaseBundle) GetString2_1(arg0 string, arg1 string) (string, error)
- func (m *BaseBundle) GetStringArray(arg0 string) (*jni.Object, error)
- func (m *BaseBundle) IsEmpty() (bool, error)
- func (m *BaseBundle) PutAll(arg0 *jni.Object) error
- func (m *BaseBundle) PutBoolean(arg0 string, arg1 bool) error
- func (m *BaseBundle) PutBooleanArray(arg0 string, arg1 *jni.Object) error
- func (m *BaseBundle) PutDouble(arg0 string, arg1 float64) error
- func (m *BaseBundle) PutDoubleArray(arg0 string, arg1 *jni.Object) error
- func (m *BaseBundle) PutInt(arg0 string, arg1 int32) error
- func (m *BaseBundle) PutIntArray(arg0 string, arg1 *jni.Object) error
- func (m *BaseBundle) PutLong(arg0 string, arg1 int64) error
- func (m *BaseBundle) PutLongArray(arg0 string, arg1 *jni.Object) error
- func (m *BaseBundle) PutString(arg0 string, arg1 string) error
- func (m *BaseBundle) PutStringArray(arg0 string, arg1 *jni.Object) error
- func (m *BaseBundle) Remove(arg0 string) error
- func (m *BaseBundle) Size() (int32, error)
- type Binder
- func (m *Binder) AttachInterface(arg0 *jni.Object, arg1 string) error
- func (m *Binder) ClearCallingIdentity() (int64, error)
- func (m *Binder) ClearCallingWorkSource() (int64, error)
- func (m *Binder) Dump(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *Binder) DumpAsync(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *Binder) FlushPendingCommands() error
- func (m *Binder) GetCallingPid() (int32, error)
- func (m *Binder) GetCallingUid() (int32, error)
- func (m *Binder) GetCallingUidOrThrow() (int32, error)
- func (m *Binder) GetCallingUserHandle() (*jni.Object, error)
- func (m *Binder) GetCallingWorkSourceUid() (int32, error)
- func (m *Binder) GetInterfaceDescriptor() (string, error)
- func (m *Binder) IsBinderAlive() (bool, error)
- func (m *Binder) JoinThreadPool() error
- func (m *Binder) LinkToDeath(arg0 *jni.Object, arg1 int32) error
- func (m *Binder) PingBinder() (bool, error)
- func (m *Binder) QueryLocalInterface(arg0 string) (*jni.Object, error)
- func (m *Binder) RestoreCallingIdentity(arg0 int64) error
- func (m *Binder) RestoreCallingWorkSource(arg0 int64) error
- func (m *Binder) SetCallingWorkSourceUid(arg0 int32) (int64, error)
- func (m *Binder) Transact(arg0 int32, arg1 *jni.Object, arg2 *jni.Object, arg3 int32) (bool, error)
- func (m *Binder) UnlinkToDeath(arg0 *jni.Object, arg1 int32) (bool, error)
- type BugreportManager
- type BugreportManagerBugreportCallback
- type CombinedVibration
- type CombinedVibrationParallelCombination
- type ConditionVariable
- type CountDownTimer
- type CpuHeadroomParams
- func (m *CpuHeadroomParams) Equals(arg0 *jni.Object) (bool, error)
- func (m *CpuHeadroomParams) GetCalculationType() (int32, error)
- func (m *CpuHeadroomParams) GetCalculationWindowMillis() (int64, error)
- func (m *CpuHeadroomParams) GetTids() (*jni.Object, error)
- func (m *CpuHeadroomParams) HashCode() (int32, error)
- func (m *CpuHeadroomParams) ToBuilder() (*jni.Object, error)
- func (m *CpuHeadroomParams) ToString() (string, error)
- type CpuHeadroomParamsBuilder
- func (m *CpuHeadroomParamsBuilder) Build() (*jni.Object, error)
- func (m *CpuHeadroomParamsBuilder) SetCalculationType(arg0 int32) (*jni.Object, error)
- func (m *CpuHeadroomParamsBuilder) SetCalculationWindowMillis(arg0 int32) (*jni.Object, error)
- func (m *CpuHeadroomParamsBuilder) SetTids(arg0 *jni.Object) (*jni.Object, error)
- type CpuUsageInfo
- type DeadObjectException
- type DeadSystemException
- type Debug
- func (m *Debug) AttachJvmtiAgent(arg0 string, arg1 string, arg2 *jni.Object) error
- func (m *Debug) ChangeDebugPort(arg0 int32) error
- func (m *Debug) DumpHprofData(arg0 string) error
- func (m *Debug) DumpService(arg0 string, arg1 *jni.Object, arg2 *jni.Object) (bool, error)
- func (m *Debug) EnableEmulatorTraceOutput() error
- func (m *Debug) GetBinderDeathObjectCount() (int32, error)
- func (m *Debug) GetBinderLocalObjectCount() (int32, error)
- func (m *Debug) GetBinderProxyObjectCount() (int32, error)
- func (m *Debug) GetBinderReceivedTransactions() (int32, error)
- func (m *Debug) GetBinderSentTransactions() (int32, error)
- func (m *Debug) GetGlobalAllocCount() (int32, error)
- func (m *Debug) GetGlobalAllocSize() (int32, error)
- func (m *Debug) GetGlobalClassInitCount() (int32, error)
- func (m *Debug) GetGlobalClassInitTime() (int32, error)
- func (m *Debug) GetGlobalExternalAllocCount() (int32, error)
- func (m *Debug) GetGlobalExternalAllocSize() (int32, error)
- func (m *Debug) GetGlobalExternalFreedCount() (int32, error)
- func (m *Debug) GetGlobalExternalFreedSize() (int32, error)
- func (m *Debug) GetGlobalFreedCount() (int32, error)
- func (m *Debug) GetGlobalFreedSize() (int32, error)
- func (m *Debug) GetGlobalGcInvocationCount() (int32, error)
- func (m *Debug) GetLoadedClassCount() (int32, error)
- func (m *Debug) GetMemoryInfo(arg0 *jni.Object) error
- func (m *Debug) GetNativeHeapAllocatedSize() (int64, error)
- func (m *Debug) GetNativeHeapFreeSize() (int64, error)
- func (m *Debug) GetNativeHeapSize() (int64, error)
- func (m *Debug) GetPss() (int64, error)
- func (m *Debug) GetRss() (int64, error)
- func (m *Debug) GetRuntimeStat(arg0 string) (string, error)
- func (m *Debug) GetThreadAllocCount() (int32, error)
- func (m *Debug) GetThreadAllocSize() (int32, error)
- func (m *Debug) GetThreadExternalAllocCount() (int32, error)
- func (m *Debug) GetThreadExternalAllocSize() (int32, error)
- func (m *Debug) GetThreadGcInvocationCount() (int32, error)
- func (m *Debug) IsDebuggerConnected() (bool, error)
- func (m *Debug) PrintLoadedClasses(arg0 int32) error
- func (m *Debug) ResetAllCounts() error
- func (m *Debug) ResetGlobalAllocCount() error
- func (m *Debug) ResetGlobalAllocSize() error
- func (m *Debug) ResetGlobalClassInitCount() error
- func (m *Debug) ResetGlobalClassInitTime() error
- func (m *Debug) ResetGlobalExternalAllocCount() error
- func (m *Debug) ResetGlobalExternalAllocSize() error
- func (m *Debug) ResetGlobalExternalFreedCount() error
- func (m *Debug) ResetGlobalExternalFreedSize() error
- func (m *Debug) ResetGlobalFreedCount() error
- func (m *Debug) ResetGlobalFreedSize() error
- func (m *Debug) ResetGlobalGcInvocationCount() error
- func (m *Debug) ResetThreadAllocCount() error
- func (m *Debug) ResetThreadAllocSize() error
- func (m *Debug) ResetThreadExternalAllocCount() error
- func (m *Debug) ResetThreadExternalAllocSize() error
- func (m *Debug) ResetThreadGcInvocationCount() error
- func (m *Debug) SetAllocationLimit(arg0 int32) (int32, error)
- func (m *Debug) SetGlobalAllocationLimit(arg0 int32) (int32, error)
- func (m *Debug) StartAllocCounting() error
- func (m *Debug) StartMethodTracing0() error
- func (m *Debug) StartMethodTracing1_1(arg0 string) error
- func (m *Debug) StartMethodTracing2_2(arg0 string, arg1 int32) error
- func (m *Debug) StartMethodTracing3_3(arg0 string, arg1 int32, arg2 int32) error
- func (m *Debug) StartMethodTracingSampling(arg0 string, arg1 int32, arg2 int32) error
- func (m *Debug) StartNativeTracing() error
- func (m *Debug) StopAllocCounting() error
- func (m *Debug) StopMethodTracing() error
- func (m *Debug) StopNativeTracing() error
- func (m *Debug) ThreadCpuTimeNanos() (int64, error)
- func (m *Debug) WaitForDebugger() error
- func (m *Debug) WaitingForDebugger() (bool, error)
- type DebugInstructionCount
- type DebugMemoryInfo
- func (m *DebugMemoryInfo) DescribeContents() (int32, error)
- func (m *DebugMemoryInfo) GetMemoryStat(arg0 string) (string, error)
- func (m *DebugMemoryInfo) GetTotalPrivateClean() (int32, error)
- func (m *DebugMemoryInfo) GetTotalPrivateDirty() (int32, error)
- func (m *DebugMemoryInfo) GetTotalPss() (int32, error)
- func (m *DebugMemoryInfo) GetTotalSharedClean() (int32, error)
- func (m *DebugMemoryInfo) GetTotalSharedDirty() (int32, error)
- func (m *DebugMemoryInfo) GetTotalSwappablePss() (int32, error)
- func (m *DebugMemoryInfo) ReadFromParcel(arg0 *jni.Object) error
- func (m *DebugMemoryInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type DropBoxManager
- func (m *DropBoxManager) AddData(arg0 string, arg1 *jni.Object, arg2 int32) error
- func (m *DropBoxManager) AddFile(arg0 string, arg1 *jni.Object, arg2 int32) error
- func (m *DropBoxManager) AddText(arg0 string, arg1 string) error
- func (m *DropBoxManager) Close()
- func (m *DropBoxManager) GetNextEntry(arg0 string, arg1 int64) (*jni.Object, error)
- func (m *DropBoxManager) IsTagEnabled(arg0 string) (bool, error)
- type DropBoxManagerEntry
- func (m *DropBoxManagerEntry) Close() error
- func (m *DropBoxManagerEntry) DescribeContents() (int32, error)
- func (m *DropBoxManagerEntry) GetFlags() (int32, error)
- func (m *DropBoxManagerEntry) GetInputStream() (*jni.Object, error)
- func (m *DropBoxManagerEntry) GetTag() (string, error)
- func (m *DropBoxManagerEntry) GetText(arg0 int32) (string, error)
- func (m *DropBoxManagerEntry) GetTimeMillis() (int64, error)
- func (m *DropBoxManagerEntry) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type FileObserver
- type FileUriExposedException
- type FileUtils
- func (m *FileUtils) CloseQuietly1(arg0 *jni.Object) error
- func (m *FileUtils) CloseQuietly1_1(arg0 *jni.Object) error
- func (m *FileUtils) Copy2(arg0 *jni.Object, arg1 *jni.Object) (int64, error)
- func (m *FileUtils) Copy2_2(arg0 *jni.Object, arg1 *jni.Object) (int64, error)
- func (m *FileUtils) Copy5_1(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ...) (int64, error)
- func (m *FileUtils) Copy5_3(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ...) (int64, error)
- type FileUtilsProgressListener
- type GpuHeadroomParams
- func (m *GpuHeadroomParams) Equals(arg0 *jni.Object) (bool, error)
- func (m *GpuHeadroomParams) GetCalculationType() (int32, error)
- func (m *GpuHeadroomParams) GetCalculationWindowMillis() (int32, error)
- func (m *GpuHeadroomParams) HashCode() (int32, error)
- func (m *GpuHeadroomParams) ToString() (string, error)
- type GpuHeadroomParamsBuilder
- type Handler
- func (m *Handler) CreateAsync(arg0 *jni.Object) (*jni.Object, error)
- func (m *Handler) DispatchMessage(arg0 *jni.Object) error
- func (m *Handler) Dump(arg0 *jni.Object, arg1 string) error
- func (m *Handler) GetLooper() (*jni.Object, error)
- func (m *Handler) GetMessageName(arg0 *jni.Object) (string, error)
- func (m *Handler) HandleMessage(arg0 *jni.Object) error
- func (m *Handler) HasCallbacks(arg0 *jni.Object) (bool, error)
- func (m *Handler) HasMessages1(arg0 int32) (bool, error)
- func (m *Handler) HasMessages2_1(arg0 int32, arg1 *jni.Object) (bool, error)
- func (m *Handler) ObtainMessage0() (*jni.Object, error)
- func (m *Handler) ObtainMessage1_1(arg0 int32) (*jni.Object, error)
- func (m *Handler) ObtainMessage2_4(arg0 int32, arg1 *jni.Object) (*jni.Object, error)
- func (m *Handler) ObtainMessage3_2(arg0 int32, arg1 int32, arg2 int32) (*jni.Object, error)
- func (m *Handler) ObtainMessage4_3(arg0 int32, arg1 int32, arg2 int32, arg3 *jni.Object) (*jni.Object, error)
- func (m *Handler) Post(arg0 *jni.Object) (bool, error)
- func (m *Handler) PostAtFrontOfQueue(arg0 *jni.Object) (bool, error)
- func (m *Handler) PostAtTime2_1(arg0 *jni.Object, arg1 int64) (bool, error)
- func (m *Handler) PostAtTime3(arg0 *jni.Object, arg1 *jni.Object, arg2 int64) (bool, error)
- func (m *Handler) PostDelayed2_1(arg0 *jni.Object, arg1 int64) (bool, error)
- func (m *Handler) PostDelayed3(arg0 *jni.Object, arg1 *jni.Object, arg2 int64) (bool, error)
- func (m *Handler) RemoveCallbacks1(arg0 *jni.Object) error
- func (m *Handler) RemoveCallbacks2_1(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *Handler) RemoveCallbacksAndMessages(arg0 *jni.Object) error
- func (m *Handler) RemoveMessages1(arg0 int32) error
- func (m *Handler) RemoveMessages2_1(arg0 int32, arg1 *jni.Object) error
- func (m *Handler) SendEmptyMessage(arg0 int32) (bool, error)
- func (m *Handler) SendEmptyMessageAtTime(arg0 int32, arg1 int64) (bool, error)
- func (m *Handler) SendEmptyMessageDelayed(arg0 int32, arg1 int64) (bool, error)
- func (m *Handler) SendMessage(arg0 *jni.Object) (bool, error)
- func (m *Handler) SendMessageAtFrontOfQueue(arg0 *jni.Object) (bool, error)
- func (m *Handler) SendMessageAtTime(arg0 *jni.Object, arg1 int64) (bool, error)
- func (m *Handler) SendMessageDelayed(arg0 *jni.Object, arg1 int64) (bool, error)
- func (m *Handler) ToString() (string, error)
- type HandlerCallback
- type HandlerThread
- type HardwarePropertiesManager
- type IBinder
- func (m *IBinder) Dump(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *IBinder) DumpAsync(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *IBinder) GetInterfaceDescriptor() (string, error)
- func (m *IBinder) GetSuggestedMaxIpcSizeBytes() (int32, error)
- func (m *IBinder) IsBinderAlive() (bool, error)
- func (m *IBinder) LinkToDeath(arg0 *jni.Object, arg1 int32) error
- func (m *IBinder) PingBinder() (bool, error)
- func (m *IBinder) QueryLocalInterface(arg0 string) (*jni.Object, error)
- func (m *IBinder) Transact(arg0 int32, arg1 *jni.Object, arg2 *jni.Object, arg3 int32) (bool, error)
- func (m *IBinder) UnlinkToDeath(arg0 *jni.Object, arg1 int32) (bool, error)
- type IBinderDeathRecipient
- type IBinderFrozenStateChangeCallback
- type IInterface
- type LimitExceededException
- type LocaleList
- func (m *LocaleList) DescribeContents() (int32, error)
- func (m *LocaleList) Equals(arg0 *jni.Object) (bool, error)
- func (m *LocaleList) ForLanguageTags(arg0 string) (*jni.Object, error)
- func (m *LocaleList) Get(arg0 int32) (*jni.Object, error)
- func (m *LocaleList) GetAdjustedDefault() (*jni.Object, error)
- func (m *LocaleList) GetDefault() (*jni.Object, error)
- func (m *LocaleList) GetEmptyLocaleList() (*jni.Object, error)
- func (m *LocaleList) GetFirstMatch(arg0 *jni.Object) (*jni.Object, error)
- func (m *LocaleList) HashCode() (int32, error)
- func (m *LocaleList) IndexOf(arg0 *jni.Object) (int32, error)
- func (m *LocaleList) IsEmpty() (bool, error)
- func (m *LocaleList) IsPseudoLocale(arg0 *jni.Object) (bool, error)
- func (m *LocaleList) MatchesLanguageAndScript(arg0 *jni.Object, arg1 *jni.Object) (bool, error)
- func (m *LocaleList) SetDefault(arg0 *jni.Object) error
- func (m *LocaleList) Size() (int32, error)
- func (m *LocaleList) ToLanguageTags() (string, error)
- func (m *LocaleList) ToString() (string, error)
- func (m *LocaleList) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type Looper
- func (m *Looper) Dump(arg0 *jni.Object, arg1 string) error
- func (m *Looper) GetMainLooper() (*jni.Object, error)
- func (m *Looper) GetQueue() (*jni.Object, error)
- func (m *Looper) GetThread() (*jni.Object, error)
- func (m *Looper) IsCurrentThread() (bool, error)
- func (m *Looper) Loop() error
- func (m *Looper) MyLooper() (*jni.Object, error)
- func (m *Looper) MyQueue() (*jni.Object, error)
- func (m *Looper) Prepare() error
- func (m *Looper) PrepareMainLooper() error
- func (m *Looper) Quit() error
- func (m *Looper) QuitSafely() error
- func (m *Looper) SetMessageLogging(arg0 *jni.Object) error
- func (m *Looper) ToString() (string, error)
- type MemoryFile
- func (m *MemoryFile) Close() error
- func (m *MemoryFile) GetInputStream() (*jni.Object, error)
- func (m *MemoryFile) GetOutputStream() (*jni.Object, error)
- func (m *MemoryFile) IsPurgingAllowed() (bool, error)
- func (m *MemoryFile) Length() (int32, error)
- func (m *MemoryFile) ReadBytes(arg0 *jni.Object, arg1 int32, arg2 int32, arg3 int32) (int32, error)
- func (m *MemoryFile) WriteBytes(arg0 *jni.Object, arg1 int32, arg2 int32, arg3 int32) error
- type Message
- func (m *Message) CopyFrom(arg0 *jni.Object) error
- func (m *Message) DescribeContents() (int32, error)
- func (m *Message) GetCallback() (*jni.Object, error)
- func (m *Message) GetData() (*jni.Object, error)
- func (m *Message) GetTarget() (*jni.Object, error)
- func (m *Message) GetWhen() (int64, error)
- func (m *Message) IsAsynchronous() (bool, error)
- func (m *Message) Obtain0() (*jni.Object, error)
- func (m *Message) Obtain1_1(arg0 *jni.Object) (*jni.Object, error)
- func (m *Message) PeekData() (*jni.Object, error)
- func (m *Message) Recycle() error
- func (m *Message) SendToTarget() error
- func (m *Message) SetAsynchronous(arg0 bool) error
- func (m *Message) SetData(arg0 *jni.Object) error
- func (m *Message) ToString() (string, error)
- func (m *Message) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type MessageQueue
- type MessageQueueIdleHandler
- type MessageQueueOnFileDescriptorEventListener
- type Messenger
- func (m *Messenger) DescribeContents() (int32, error)
- func (m *Messenger) Equals(arg0 *jni.Object) (bool, error)
- func (m *Messenger) GetBinder() (*jni.Object, error)
- func (m *Messenger) HashCode() (int32, error)
- func (m *Messenger) ReadMessengerOrNullFromParcel(arg0 *jni.Object) (*jni.Object, error)
- func (m *Messenger) Send(arg0 *jni.Object) error
- func (m *Messenger) WriteMessengerOrNullToParcel(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *Messenger) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type NetworkOnMainThreadException
- type OperationCanceledException
- type Parcel
- func (m *Parcel) AppendFrom(arg0 *jni.Object, arg1 int32, arg2 int32) error
- func (m *Parcel) CreateBinderArray() (*jni.Object, error)
- func (m *Parcel) CreateBooleanArray() (*jni.Object, error)
- func (m *Parcel) CreateByteArray() (*jni.Object, error)
- func (m *Parcel) CreateCharArray() (*jni.Object, error)
- func (m *Parcel) CreateDoubleArray() (*jni.Object, error)
- func (m *Parcel) CreateFloatArray() (*jni.Object, error)
- func (m *Parcel) CreateIntArray() (*jni.Object, error)
- func (m *Parcel) CreateLongArray() (*jni.Object, error)
- func (m *Parcel) CreateStringArray() (*jni.Object, error)
- func (m *Parcel) DataAvail() (int32, error)
- func (m *Parcel) DataCapacity() (int32, error)
- func (m *Parcel) DataPosition() (int32, error)
- func (m *Parcel) DataSize() (int32, error)
- func (m *Parcel) EnforceInterface(arg0 string) error
- func (m *Parcel) EnforceNoDataAvail() error
- func (m *Parcel) HasFileDescriptors0() (bool, error)
- func (m *Parcel) HasFileDescriptors2_1(arg0 int32, arg1 int32) (bool, error)
- func (m *Parcel) Marshall() (*jni.Object, error)
- func (m *Parcel) Obtain0() (*jni.Object, error)
- func (m *Parcel) Obtain1_1(arg0 *jni.Object) (*jni.Object, error)
- func (m *Parcel) ReadArray(arg0 *jni.Object) (*jni.Object, error)
- func (m *Parcel) ReadArrayList(arg0 *jni.Object) (*jni.Object, error)
- func (m *Parcel) ReadBinderArray(arg0 *jni.Object) error
- func (m *Parcel) ReadBlob() (*jni.Object, error)
- func (m *Parcel) ReadBoolean() (bool, error)
- func (m *Parcel) ReadBooleanArray(arg0 *jni.Object) error
- func (m *Parcel) ReadBundle0() (*jni.Object, error)
- func (m *Parcel) ReadBundle1_1(arg0 *jni.Object) (*jni.Object, error)
- func (m *Parcel) ReadByteArray(arg0 *jni.Object) error
- func (m *Parcel) ReadByteValue() (int8, error)
- func (m *Parcel) ReadCharArray(arg0 *jni.Object) error
- func (m *Parcel) ReadDouble() (float64, error)
- func (m *Parcel) ReadDoubleArray(arg0 *jni.Object) error
- func (m *Parcel) ReadException0() error
- func (m *Parcel) ReadException2_1(arg0 int32, arg1 string) error
- func (m *Parcel) ReadFileDescriptor() (*jni.Object, error)
- func (m *Parcel) ReadFloat() (float32, error)
- func (m *Parcel) ReadFloatArray(arg0 *jni.Object) error
- func (m *Parcel) ReadHashMap(arg0 *jni.Object) (*jni.Object, error)
- func (m *Parcel) ReadInt() (int32, error)
- func (m *Parcel) ReadIntArray(arg0 *jni.Object) error
- func (m *Parcel) ReadList(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *Parcel) ReadLong() (int64, error)
- func (m *Parcel) ReadLongArray(arg0 *jni.Object) error
- func (m *Parcel) ReadMap(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *Parcel) ReadParcelableArray(arg0 *jni.Object) (*jni.Object, error)
- func (m *Parcel) ReadPersistableBundle0() (*jni.Object, error)
- func (m *Parcel) ReadPersistableBundle1_1(arg0 *jni.Object) (*jni.Object, error)
- func (m *Parcel) ReadSerializable() (*jni.Object, error)
- func (m *Parcel) ReadSize() (*jni.Object, error)
- func (m *Parcel) ReadSizeF() (*jni.Object, error)
- func (m *Parcel) ReadSparseBooleanArray() (*jni.Object, error)
- func (m *Parcel) ReadString() (string, error)
- func (m *Parcel) ReadStringArray(arg0 *jni.Object) error
- func (m *Parcel) ReadStrongBinder() (*jni.Object, error)
- func (m *Parcel) ReadValue(arg0 *jni.Object) (*jni.Object, error)
- func (m *Parcel) Recycle() error
- func (m *Parcel) SetDataCapacity(arg0 int32) error
- func (m *Parcel) SetDataPosition(arg0 int32) error
- func (m *Parcel) SetDataSize(arg0 int32) error
- func (m *Parcel) SetPropagateAllowBlocking() error
- func (m *Parcel) Unmarshall(arg0 *jni.Object, arg1 int32, arg2 int32) error
- func (m *Parcel) WriteArray(arg0 *jni.Object) error
- func (m *Parcel) WriteBinderArray(arg0 *jni.Object) error
- func (m *Parcel) WriteBlob1(arg0 *jni.Object) error
- func (m *Parcel) WriteBlob3_1(arg0 *jni.Object, arg1 int32, arg2 int32) error
- func (m *Parcel) WriteBoolean(arg0 bool) error
- func (m *Parcel) WriteBooleanArray(arg0 *jni.Object) error
- func (m *Parcel) WriteBundle(arg0 *jni.Object) error
- func (m *Parcel) WriteByteArray1(arg0 *jni.Object) error
- func (m *Parcel) WriteByteArray3_1(arg0 *jni.Object, arg1 int32, arg2 int32) error
- func (m *Parcel) WriteByteValue(arg0 int8) error
- func (m *Parcel) WriteCharArray(arg0 *jni.Object) error
- func (m *Parcel) WriteDouble(arg0 float64) error
- func (m *Parcel) WriteDoubleArray(arg0 *jni.Object) error
- func (m *Parcel) WriteException(arg0 *jni.Object) error
- func (m *Parcel) WriteFileDescriptor(arg0 *jni.Object) error
- func (m *Parcel) WriteFloat(arg0 float32) error
- func (m *Parcel) WriteFloatArray(arg0 *jni.Object) error
- func (m *Parcel) WriteInt(arg0 int32) error
- func (m *Parcel) WriteIntArray(arg0 *jni.Object) error
- func (m *Parcel) WriteInterfaceToken(arg0 string) error
- func (m *Parcel) WriteList(arg0 *jni.Object) error
- func (m *Parcel) WriteLong(arg0 int64) error
- func (m *Parcel) WriteLongArray(arg0 *jni.Object) error
- func (m *Parcel) WriteMap(arg0 *jni.Object) error
- func (m *Parcel) WriteNoException() error
- func (m *Parcel) WriteParcelable(arg0 *jni.Object, arg1 int32) error
- func (m *Parcel) WriteParcelableCreator(arg0 *jni.Object) error
- func (m *Parcel) WritePersistableBundle(arg0 *jni.Object) error
- func (m *Parcel) WriteSerializable(arg0 *jni.Object) error
- func (m *Parcel) WriteSize(arg0 *jni.Object) error
- func (m *Parcel) WriteSizeF(arg0 *jni.Object) error
- func (m *Parcel) WriteSparseBooleanArray(arg0 *jni.Object) error
- func (m *Parcel) WriteString(arg0 string) error
- func (m *Parcel) WriteStringArray(arg0 *jni.Object) error
- func (m *Parcel) WriteStrongBinder(arg0 *jni.Object) error
- func (m *Parcel) WriteStrongInterface(arg0 *jni.Object) error
- func (m *Parcel) WriteValue(arg0 *jni.Object) error
- type ParcelFormatException
- type ParcelUuid
- func (m *ParcelUuid) DescribeContents() (int32, error)
- func (m *ParcelUuid) Equals(arg0 *jni.Object) (bool, error)
- func (m *ParcelUuid) FromString(arg0 string) (*jni.Object, error)
- func (m *ParcelUuid) GetUuid() (*jni.Object, error)
- func (m *ParcelUuid) HashCode() (int32, error)
- func (m *ParcelUuid) ToString() (string, error)
- func (m *ParcelUuid) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type Parcelable
- type PatternMatcher
- func (m *PatternMatcher) DescribeContents() (int32, error)
- func (m *PatternMatcher) GetPath() (string, error)
- func (m *PatternMatcher) GetType() (int32, error)
- func (m *PatternMatcher) Match(arg0 string) (bool, error)
- func (m *PatternMatcher) ToString() (string, error)
- func (m *PatternMatcher) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type PerformanceHintManager
- type PerformanceHintManagerSession
- func (m *PerformanceHintManagerSession) Close() error
- func (m *PerformanceHintManagerSession) ReportActualWorkDuration1(arg0 *jni.Object) error
- func (m *PerformanceHintManagerSession) ReportActualWorkDuration1_1(arg0 int64) error
- func (m *PerformanceHintManagerSession) SetPreferPowerEfficiency(arg0 bool) error
- func (m *PerformanceHintManagerSession) SetThreads(arg0 *jni.Object) error
- func (m *PerformanceHintManagerSession) UpdateTargetWorkDuration(arg0 int64) error
- type PersistableBundle
- func (m *PersistableBundle) Clone() (*jni.Object, error)
- func (m *PersistableBundle) DeepCopy() (*jni.Object, error)
- func (m *PersistableBundle) DescribeContents() (int32, error)
- func (m *PersistableBundle) GetPersistableBundle(arg0 string) (*jni.Object, error)
- func (m *PersistableBundle) PutPersistableBundle(arg0 string, arg1 *jni.Object) error
- func (m *PersistableBundle) ReadFromStream(arg0 *jni.Object) (*jni.Object, error)
- func (m *PersistableBundle) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- func (m *PersistableBundle) WriteToStream(arg0 *jni.Object) error
- type PowerMonitor
- type PowerMonitorReadings
- type Process
- func (m *Process) GetAppUidForSdkSandboxUid(arg0 int32) (int32, error)
- func (m *Process) GetElapsedCpuTime() (int64, error)
- func (m *Process) GetExclusiveCores() (*jni.Object, error)
- func (m *Process) GetGidForName(arg0 string) (int32, error)
- func (m *Process) GetSdkSandboxUidForAppUid(arg0 int32) (int32, error)
- func (m *Process) GetStartElapsedRealtime() (int64, error)
- func (m *Process) GetStartRequestedElapsedRealtime() (int64, error)
- func (m *Process) GetStartRequestedUptimeMillis() (int64, error)
- func (m *Process) GetStartUptimeMillis() (int64, error)
- func (m *Process) GetThreadPriority(arg0 int32) (int32, error)
- func (m *Process) GetUidForName(arg0 string) (int32, error)
- func (m *Process) Is64Bit() (bool, error)
- func (m *Process) IsApplicationUid(arg0 int32) (bool, error)
- func (m *Process) IsIsolated() (bool, error)
- func (m *Process) IsIsolatedUid(arg0 int32) (bool, error)
- func (m *Process) IsSdkSandbox() (bool, error)
- func (m *Process) IsSdkSandboxUid(arg0 int32) (bool, error)
- func (m *Process) KillProcess(arg0 int32) error
- func (m *Process) MyPid() (int32, error)
- func (m *Process) MyProcessName() (string, error)
- func (m *Process) MyTid() (int32, error)
- func (m *Process) MyUid() (int32, error)
- func (m *Process) MyUserHandle() (*jni.Object, error)
- func (m *Process) SendSignal(arg0 int32, arg1 int32) error
- func (m *Process) SetThreadPriority1(arg0 int32) error
- func (m *Process) SetThreadPriority2_1(arg0 int32, arg1 int32) error
- func (m *Process) SupportsProcesses() (bool, error)
- type ProfilingManager
- type ProfilingResult
- func (m *ProfilingResult) DescribeContents() (int32, error)
- func (m *ProfilingResult) Equals(arg0 *jni.Object) (bool, error)
- func (m *ProfilingResult) GetErrorCode() (int32, error)
- func (m *ProfilingResult) GetErrorMessage() (string, error)
- func (m *ProfilingResult) GetResultFilePath() (string, error)
- func (m *ProfilingResult) GetTag() (string, error)
- func (m *ProfilingResult) GetTriggerType() (int32, error)
- func (m *ProfilingResult) HashCode() (int32, error)
- func (m *ProfilingResult) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type ProfilingTrigger
- type ProfilingTriggerBuilder
- type ProxyFileDescriptorCallback
- func (m *ProxyFileDescriptorCallback) OnFsync() error
- func (m *ProxyFileDescriptorCallback) OnGetSize() (int64, error)
- func (m *ProxyFileDescriptorCallback) OnRead(arg0 int64, arg1 int32, arg2 *jni.Object) (int32, error)
- func (m *ProxyFileDescriptorCallback) OnRelease() error
- func (m *ProxyFileDescriptorCallback) OnWrite(arg0 int64, arg1 int32, arg2 *jni.Object) (int32, error)
- type RecoverySystem
- func (m *RecoverySystem) InstallPackage(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *RecoverySystem) RebootWipeCache(arg0 *jni.Object) error
- func (m *RecoverySystem) RebootWipeUserData(arg0 *jni.Object) error
- func (m *RecoverySystem) VerifyPackage(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object) error
- type RecoverySystemProgressListener
- type RemoteCallbackList
- func (m *RemoteCallbackList) BeginBroadcast() (int32, error)
- func (m *RemoteCallbackList) FinishBroadcast() error
- func (m *RemoteCallbackList) GetBroadcastCookie(arg0 int32) (*jni.Object, error)
- func (m *RemoteCallbackList) GetExecutor() (*jni.Object, error)
- func (m *RemoteCallbackList) GetFrozenCalleePolicy() (int32, error)
- func (m *RemoteCallbackList) GetMaxQueueSize() (int32, error)
- func (m *RemoteCallbackList) GetRegisteredCallbackCookie(arg0 int32) (*jni.Object, error)
- func (m *RemoteCallbackList) GetRegisteredCallbackCount() (int32, error)
- func (m *RemoteCallbackList) Kill() error
- type RemoteCallbackListBuilder
- type RemoteException
- type ResultReceiver
- type SecurityStateManager
- type SharedMemory
- func (m *SharedMemory) Close() error
- func (m *SharedMemory) Create(arg0 string, arg1 int32) (*jni.Object, error)
- func (m *SharedMemory) DescribeContents() (int32, error)
- func (m *SharedMemory) FromFileDescriptor(arg0 *jni.Object) (*jni.Object, error)
- func (m *SharedMemory) GetSize() (int32, error)
- func (m *SharedMemory) Map(arg0 int32, arg1 int32, arg2 int32) (*jni.Object, error)
- func (m *SharedMemory) MapReadOnly() (*jni.Object, error)
- func (m *SharedMemory) MapReadWrite() (*jni.Object, error)
- func (m *SharedMemory) SetProtect(arg0 int32) (bool, error)
- func (m *SharedMemory) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type StatFs
- func (m *StatFs) GetAvailableBlocks() (int32, error)
- func (m *StatFs) GetAvailableBlocksLong() (int64, error)
- func (m *StatFs) GetAvailableBytes() (int64, error)
- func (m *StatFs) GetBlockCount() (int32, error)
- func (m *StatFs) GetBlockCountLong() (int64, error)
- func (m *StatFs) GetBlockSize() (int32, error)
- func (m *StatFs) GetBlockSizeLong() (int64, error)
- func (m *StatFs) GetFreeBlocks() (int32, error)
- func (m *StatFs) GetFreeBlocksLong() (int64, error)
- func (m *StatFs) GetFreeBytes() (int64, error)
- func (m *StatFs) GetTotalBytes() (int64, error)
- func (m *StatFs) Restat(arg0 string) error
- type StrictMode
- func (m *StrictMode) AllowThreadDiskReads() (*jni.Object, error)
- func (m *StrictMode) AllowThreadDiskWrites() (*jni.Object, error)
- func (m *StrictMode) EnableDefaults() error
- func (m *StrictMode) GetThreadPolicy() (*jni.Object, error)
- func (m *StrictMode) GetVmPolicy() (*jni.Object, error)
- func (m *StrictMode) NoteSlowCall(arg0 string) error
- func (m *StrictMode) SetThreadPolicy(arg0 *jni.Object) error
- func (m *StrictMode) SetVmPolicy(arg0 *jni.Object) error
- type StrictModeOnThreadViolationListener
- type StrictModeOnVmViolationListener
- type StrictModeThreadPolicy
- type StrictModeVmPolicy
- type SystemClock
- func (m *SystemClock) CurrentGnssTimeClock() (*jni.Object, error)
- func (m *SystemClock) CurrentNetworkTimeClock() (*jni.Object, error)
- func (m *SystemClock) CurrentThreadTimeMillis() (int64, error)
- func (m *SystemClock) ElapsedRealtime() (int64, error)
- func (m *SystemClock) ElapsedRealtimeNanos() (int64, error)
- func (m *SystemClock) SetCurrentTimeMillis(arg0 int64) (bool, error)
- func (m *SystemClock) Sleep(arg0 int64) error
- func (m *SystemClock) UptimeMillis() (int64, error)
- func (m *SystemClock) UptimeNanos() (int64, error)
- type TestLooperManager
- func (m *TestLooperManager) Execute(arg0 *jni.Object) error
- func (m *TestLooperManager) GetMessageQueue() (*jni.Object, error)
- func (m *TestLooperManager) IsBlockedOnSyncBarrier() (bool, error)
- func (m *TestLooperManager) Next() (*jni.Object, error)
- func (m *TestLooperManager) PeekWhen() (*jni.Object, error)
- func (m *TestLooperManager) Poll() (*jni.Object, error)
- func (m *TestLooperManager) Recycle(arg0 *jni.Object) error
- func (m *TestLooperManager) Release() error
- type TokenWatcher
- func (m *TokenWatcher) Acquire(arg0 *jni.Object, arg1 string) error
- func (m *TokenWatcher) Acquired() error
- func (m *TokenWatcher) Cleanup(arg0 *jni.Object, arg1 bool) error
- func (m *TokenWatcher) Dump0() error
- func (m *TokenWatcher) Dump1_1(arg0 *jni.Object) error
- func (m *TokenWatcher) IsAcquired() (bool, error)
- func (m *TokenWatcher) Release(arg0 *jni.Object) error
- func (m *TokenWatcher) Released() error
- type Trace
- func (m *Trace) BeginAsyncSection(arg0 string, arg1 int32) error
- func (m *Trace) BeginSection(arg0 string) error
- func (m *Trace) EndAsyncSection(arg0 string, arg1 int32) error
- func (m *Trace) EndSection() error
- func (m *Trace) IsEnabled() (bool, error)
- func (m *Trace) SetCounter(arg0 string, arg1 int64) error
- type TransactionTooLargeException
- type UserHandle
- func (m *UserHandle) DescribeContents() (int32, error)
- func (m *UserHandle) Equals(arg0 *jni.Object) (bool, error)
- func (m *UserHandle) GetUserHandleForUid(arg0 int32) (*jni.Object, error)
- func (m *UserHandle) HashCode() (int32, error)
- func (m *UserHandle) ReadFromParcel(arg0 *jni.Object) (*jni.Object, error)
- func (m *UserHandle) ToString() (string, error)
- func (m *UserHandle) WriteToParcel2(arg0 *jni.Object, arg1 int32) error
- func (m *UserHandle) WriteToParcel2_1(arg0 *jni.Object, arg1 *jni.Object) error
- type UserManager
- func (m *UserManager) Close()
- func (m *UserManager) CreateUserCreationIntent(arg0 string, arg1 string, arg2 string, arg3 *jni.Object) (*jni.Object, error)
- func (m *UserManager) GetApplicationRestrictions(arg0 string) (*jni.Object, error)
- func (m *UserManager) GetSerialNumberForUser(arg0 *jni.Object) (int64, error)
- func (m *UserManager) GetUserCount() (int32, error)
- func (m *UserManager) GetUserCreationTime(arg0 *jni.Object) (int64, error)
- func (m *UserManager) GetUserForSerialNumber(arg0 int64) (*jni.Object, error)
- func (m *UserManager) GetUserName() (string, error)
- func (m *UserManager) GetUserRestrictions0() (*jni.Object, error)
- func (m *UserManager) GetUserRestrictions1_1(arg0 *jni.Object) (*jni.Object, error)
- func (m *UserManager) HasUserRestriction(arg0 string) (bool, error)
- func (m *UserManager) IsAdminUser() (bool, error)
- func (m *UserManager) IsDemoUser() (bool, error)
- func (m *UserManager) IsHeadlessSystemUserMode() (bool, error)
- func (m *UserManager) IsManagedProfile() (bool, error)
- func (m *UserManager) IsProfile() (bool, error)
- func (m *UserManager) IsQuietModeEnabled(arg0 *jni.Object) (bool, error)
- func (m *UserManager) IsSystemUser() (bool, error)
- func (m *UserManager) IsUserAGoat() (bool, error)
- func (m *UserManager) IsUserForeground() (bool, error)
- func (m *UserManager) IsUserRunning(arg0 *jni.Object) (bool, error)
- func (m *UserManager) IsUserRunningOrStopping(arg0 *jni.Object) (bool, error)
- func (m *UserManager) IsUserUnlocked0() (bool, error)
- func (m *UserManager) IsUserUnlocked1_1(arg0 *jni.Object) (bool, error)
- func (m *UserManager) RequestQuietModeEnabled2(arg0 bool, arg1 *jni.Object) (bool, error)
- func (m *UserManager) RequestQuietModeEnabled3_1(arg0 bool, arg1 *jni.Object, arg2 int32) (bool, error)
- func (m *UserManager) SetRestrictionsChallenge(arg0 string) (bool, error)
- func (m *UserManager) SetUserRestriction(arg0 string, arg1 bool) error
- func (m *UserManager) SetUserRestrictions1(arg0 *jni.Object) error
- func (m *UserManager) SetUserRestrictions2_1(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *UserManager) SupportsMultipleUsers() (bool, error)
- type UserManagerUserOperationException
- type VibrationAttributes
- func (m *VibrationAttributes) CreateForUsage(arg0 int32) (*jni.Object, error)
- func (m *VibrationAttributes) DescribeContents() (int32, error)
- func (m *VibrationAttributes) Equals(arg0 *jni.Object) (bool, error)
- func (m *VibrationAttributes) GetFlags() (int32, error)
- func (m *VibrationAttributes) GetUsage() (int32, error)
- func (m *VibrationAttributes) GetUsageClass() (int32, error)
- func (m *VibrationAttributes) HashCode() (int32, error)
- func (m *VibrationAttributes) IsFlagSet(arg0 int32) (bool, error)
- func (m *VibrationAttributes) ToString() (string, error)
- func (m *VibrationAttributes) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type VibrationAttributesBuilder
- type VibrationEffect
- func (m *VibrationEffect) CreateOneShot(arg0 int64, arg1 int32) (*jni.Object, error)
- func (m *VibrationEffect) CreatePredefined(arg0 int32) (*jni.Object, error)
- func (m *VibrationEffect) CreateRepeatingEffect1(arg0 *jni.Object) (*jni.Object, error)
- func (m *VibrationEffect) CreateRepeatingEffect2_1(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)
- func (m *VibrationEffect) CreateWaveform2(arg0 *jni.Object, arg1 int32) (*jni.Object, error)
- func (m *VibrationEffect) CreateWaveform3_1(arg0 *jni.Object, arg1 *jni.Object, arg2 int32) (*jni.Object, error)
- func (m *VibrationEffect) DescribeContents() (int32, error)
- func (m *VibrationEffect) StartComposition() (*jni.Object, error)
- type VibrationEffectBasicEnvelopeBuilder
- type VibrationEffectComposition
- func (m *VibrationEffectComposition) AddPrimitive1(arg0 int32) (*jni.Object, error)
- func (m *VibrationEffectComposition) AddPrimitive2_1(arg0 int32, arg1 float32) (*jni.Object, error)
- func (m *VibrationEffectComposition) AddPrimitive3_2(arg0 int32, arg1 float32, arg2 int32) (*jni.Object, error)
- func (m *VibrationEffectComposition) AddPrimitive4_3(arg0 int32, arg1 float32, arg2 int32, arg3 int32) (*jni.Object, error)
- func (m *VibrationEffectComposition) Compose() (*jni.Object, error)
- type VibrationEffectWaveformEnvelopeBuilder
- func (m *VibrationEffectWaveformEnvelopeBuilder) AddControlPoint(arg0 float32, arg1 float32, arg2 int64) (*jni.Object, error)
- func (m *VibrationEffectWaveformEnvelopeBuilder) Build() (*jni.Object, error)
- func (m *VibrationEffectWaveformEnvelopeBuilder) SetInitialFrequencyHz(arg0 float32) (*jni.Object, error)
- type VibratorManager
- func (m *VibratorManager) Cancel() error
- func (m *VibratorManager) Close()
- func (m *VibratorManager) GetDefaultVibrator() (*jni.Object, error)
- func (m *VibratorManager) GetVibrator(arg0 int32) (*jni.Object, error)
- func (m *VibratorManager) GetVibratorIds() (*jni.Object, error)
- func (m *VibratorManager) Vibrate1(arg0 *jni.Object) error
- func (m *VibratorManager) Vibrate2_1(arg0 *jni.Object, arg1 *jni.Object) error
- type WorkDuration
- func (m *WorkDuration) Equals(arg0 *jni.Object) (bool, error)
- func (m *WorkDuration) GetActualCpuDurationNanos() (int64, error)
- func (m *WorkDuration) GetActualGpuDurationNanos() (int64, error)
- func (m *WorkDuration) GetActualTotalDurationNanos() (int64, error)
- func (m *WorkDuration) GetWorkPeriodStartTimestampNanos() (int64, error)
- func (m *WorkDuration) HashCode() (int32, error)
- func (m *WorkDuration) SetActualCpuDurationNanos(arg0 int64) error
- func (m *WorkDuration) SetActualGpuDurationNanos(arg0 int64) error
- func (m *WorkDuration) SetActualTotalDurationNanos(arg0 int64) error
- func (m *WorkDuration) SetWorkPeriodStartTimestampNanos(arg0 int64) error
- type WorkSource
- func (m *WorkSource) Add(arg0 *jni.Object) (bool, error)
- func (m *WorkSource) Clear() error
- func (m *WorkSource) DescribeContents() (int32, error)
- func (m *WorkSource) Diff(arg0 *jni.Object) (bool, error)
- func (m *WorkSource) Equals(arg0 *jni.Object) (bool, error)
- func (m *WorkSource) HashCode() (int32, error)
- func (m *WorkSource) Remove(arg0 *jni.Object) (bool, error)
- func (m *WorkSource) Set(arg0 *jni.Object) error
- func (m *WorkSource) ToString() (string, error)
- func (m *WorkSource) WriteToParcel(arg0 *jni.Object, arg1 int32) error
Constants ¶
const ( ShowClassloader = consts.ShowClassloader ShowFullDetail = consts.ShowFullDetail ShowInitialized = consts.ShowInitialized TraceCountAllocs = consts.TraceCountAllocs Creator = consts.Creator PatternAdvancedGlob = consts.PatternAdvancedGlob PatternLiteral = consts.PatternLiteral PatternPrefix = consts.PatternPrefix PatternSimpleGlob = consts.PatternSimpleGlob PatternSuffix = consts.PatternSuffix TriggerTypeAnr = consts.TriggerTypeAnr TriggerTypeAppFullyDrawn = consts.TriggerTypeAppFullyDrawn TriggerTypeNone = consts.TriggerTypeNone FlagBypassInterruptionPolicy = consts.FlagBypassInterruptionPolicy UsageAccessibility = consts.UsageAccessibility UsageAlarm = consts.UsageAlarm UsageClassAlarm = consts.UsageClassAlarm UsageClassFeedback = consts.UsageClassFeedback UsageClassMask = consts.UsageClassMask UsageClassMedia = consts.UsageClassMedia UsageClassUnknown = consts.UsageClassUnknown UsageCommunicationRequest = consts.UsageCommunicationRequest UsageHardwareFeedback = consts.UsageHardwareFeedback UsageMedia = consts.UsageMedia UsageNotification = consts.UsageNotification UsagePhysicalEmulation = consts.UsagePhysicalEmulation UsageRingtone = consts.UsageRingtone UsageTouch = consts.UsageTouch UsageUnknown = consts.UsageUnknown DeviceTemperatureBattery = consts.DeviceTemperatureBattery DeviceTemperatureCpu = consts.DeviceTemperatureCpu DeviceTemperatureGpu = consts.DeviceTemperatureGpu DeviceTemperatureSkin = consts.DeviceTemperatureSkin TemperatureCurrent = consts.TemperatureCurrent TemperatureShutdown = consts.TemperatureShutdown TemperatureThrottling = consts.TemperatureThrottling TemperatureThrottlingBelowVrMin = consts.TemperatureThrottlingBelowVrMin SerialExecutor = consts.SerialExecutor ThreadPoolExecutor = consts.ThreadPoolExecutor Finished = consts.Finished Pending = consts.Pending Running = consts.Running BluetoothUid = consts.BluetoothUid FirstApplicationUid = consts.FirstApplicationUid InvalidPid = consts.InvalidPid InvalidUid = consts.InvalidUid LastApplicationUid = consts.LastApplicationUid PhoneUid = consts.PhoneUid RootUid = consts.RootUid ShellUid = consts.ShellUid SignalKill = consts.SignalKill SignalQuit = consts.SignalQuit SignalUsr1 = consts.SignalUsr1 SystemUid = consts.SystemUid ThreadPriorityAudio = consts.ThreadPriorityAudio ThreadPriorityBackground = consts.ThreadPriorityBackground ThreadPriorityDefault = consts.ThreadPriorityDefault ThreadPriorityDisplay = consts.ThreadPriorityDisplay ThreadPriorityForeground = consts.ThreadPriorityForeground ThreadPriorityLessFavorable = consts.ThreadPriorityLessFavorable ThreadPriorityLowest = consts.ThreadPriorityLowest ThreadPriorityMoreFavorable = consts.ThreadPriorityMoreFavorable ThreadPriorityUrgentAudio = consts.ThreadPriorityUrgentAudio ThreadPriorityUrgentDisplay = consts.ThreadPriorityUrgentDisplay ThreadPriorityVideo = consts.ThreadPriorityVideo WifiUid = consts.WifiUid GpuHeadroomCalculationTypeAverage = consts.GpuHeadroomCalculationTypeAverage GpuHeadroomCalculationTypeMin = consts.GpuHeadroomCalculationTypeMin GpuHeadroomCalculationWindowMillisMax = consts.GpuHeadroomCalculationWindowMillisMax GpuHeadroomCalculationWindowMillisMin = consts.GpuHeadroomCalculationWindowMillisMin Access = consts.Access AllEvents = consts.AllEvents Attrib = consts.Attrib CloseNowrite = consts.CloseNowrite CloseWrite = consts.CloseWrite Create = consts.Create Delete = consts.Delete DeleteSelf = consts.DeleteSelf Modify = consts.Modify MovedFrom = consts.MovedFrom MovedTo = consts.MovedTo MoveSelf = consts.MoveSelf Open = consts.Open Empty = consts.Empty ErrorFailedExecuting = consts.ErrorFailedExecuting ErrorFailedInvalidRequest = consts.ErrorFailedInvalidRequest ErrorFailedNoDiskSpace = consts.ErrorFailedNoDiskSpace ErrorFailedPostProcessing = consts.ErrorFailedPostProcessing ErrorFailedProfilingInProgress = consts.ErrorFailedProfilingInProgress ErrorFailedRateLimitProcess = consts.ErrorFailedRateLimitProcess ErrorFailedRateLimitSystem = consts.ErrorFailedRateLimitSystem ErrorNone = consts.ErrorNone ErrorUnknown = consts.ErrorUnknown BugreportErrorAnotherReportInProgress = consts.BugreportErrorAnotherReportInProgress BugreportErrorInvalidInput = consts.BugreportErrorInvalidInput BugreportErrorNoBugreportToRetrieve = consts.BugreportErrorNoBugreportToRetrieve BugreportErrorRuntime = consts.BugreportErrorRuntime BugreportErrorUserConsentTimedOut = consts.BugreportErrorUserConsentTimedOut BugreportErrorUserDeniedConsent = consts.BugreportErrorUserDeniedConsent Lax = consts.Lax EventError = consts.EventError EventInput = consts.EventInput EventOutput = consts.EventOutput ContentsFileDescriptor = consts.ContentsFileDescriptor ParcelableWriteReturnValue = consts.ParcelableWriteReturnValue IsEmpty = consts.IsEmpty IsGzipped = consts.IsGzipped IsText = consts.IsText FrozenCalleePolicyDrop = consts.FrozenCalleePolicyDrop FrozenCalleePolicyEnqueueAll = consts.FrozenCalleePolicyEnqueueAll FrozenCalleePolicyEnqueueMostRecent = consts.FrozenCalleePolicyEnqueueMostRecent FrozenCalleePolicyUnset = consts.FrozenCalleePolicyUnset ProfilingTypeHeapProfile = consts.ProfilingTypeHeapProfile ProfilingTypeJavaHeapDump = consts.ProfilingTypeJavaHeapDump ProfilingTypeStackSampling = consts.ProfilingTypeStackSampling ProfilingTypeSystemTrace = consts.ProfilingTypeSystemTrace StringCreator = consts.StringCreator PowerMonitorTypeConsumer = consts.PowerMonitorTypeConsumer PowerMonitorTypeMeasurement = consts.PowerMonitorTypeMeasurement DumpTransaction = consts.DumpTransaction FirstCallTransaction = consts.FirstCallTransaction FlagOneway = consts.FlagOneway InterfaceTransaction = consts.InterfaceTransaction LastCallTransaction = consts.LastCallTransaction LikeTransaction = consts.LikeTransaction PingTransaction = consts.PingTransaction TweetTransaction = consts.TweetTransaction StateFrozen = consts.StateFrozen StateUnfrozen = consts.StateUnfrozen CpuHeadroomCalculationTypeAverage = consts.CpuHeadroomCalculationTypeAverage CpuHeadroomCalculationTypeMin = consts.CpuHeadroomCalculationTypeMin QuietModeDisableOnlyIfCredentialNotRequired = consts.QuietModeDisableOnlyIfCredentialNotRequired UserCreationFailedNotPermitted = consts.UserCreationFailedNotPermitted UserCreationFailedNoMoreUsers = consts.UserCreationFailedNoMoreUsers UserOperationErrorCurrentUser = consts.UserOperationErrorCurrentUser UserOperationErrorLowStorage = consts.UserOperationErrorLowStorage UserOperationErrorManagedProfile = consts.UserOperationErrorManagedProfile UserOperationErrorMaxRunningUsers = consts.UserOperationErrorMaxRunningUsers UserOperationErrorMaxUsers = consts.UserOperationErrorMaxUsers UserOperationErrorUnknown = consts.UserOperationErrorUnknown UserOperationSuccess = consts.UserOperationSuccess DefaultAmplitude = consts.DefaultAmplitude EffectClick = consts.EffectClick EffectDoubleClick = consts.EffectDoubleClick EffectHeavyClick = consts.EffectHeavyClick EffectTick = consts.EffectTick DelayTypePause = consts.DelayTypePause DelayTypeRelativeStartOffset = consts.DelayTypeRelativeStartOffset PrimitiveClick = consts.PrimitiveClick PrimitiveLowTick = consts.PrimitiveLowTick PrimitiveQuickFall = consts.PrimitiveQuickFall PrimitiveQuickRise = consts.PrimitiveQuickRise PrimitiveSlowRise = consts.PrimitiveSlowRise PrimitiveSpin = consts.PrimitiveSpin PrimitiveThud = consts.PrimitiveThud PrimitiveTick = consts.PrimitiveTick )
const ( ActionDropboxEntryAdded = consts.ActionDropboxEntryAdded ExtraDroppedCount = consts.ExtraDroppedCount ExtraTag = consts.ExtraTag ExtraTime = consts.ExtraTime KeyKernelVersion = consts.KeyKernelVersion KeySystemSpl = consts.KeySystemSpl KeyVendorSpl = consts.KeyVendorSpl AllowParentProfileAppLinking = consts.AllowParentProfileAppLinking DisallowAddManagedProfile = consts.DisallowAddManagedProfile DisallowAddPrivateProfile = consts.DisallowAddPrivateProfile DisallowAddUser = consts.DisallowAddUser DisallowAddWifiConfig = consts.DisallowAddWifiConfig DisallowAdjustVolume = consts.DisallowAdjustVolume DisallowAirplaneMode = consts.DisallowAirplaneMode DisallowAmbientDisplay = consts.DisallowAmbientDisplay DisallowAppsControl = consts.DisallowAppsControl DisallowAssistContent = consts.DisallowAssistContent DisallowAutofill = consts.DisallowAutofill DisallowBluetooth = consts.DisallowBluetooth DisallowBluetoothSharing = consts.DisallowBluetoothSharing DisallowCameraToggle = consts.DisallowCameraToggle DisallowCellular2g = consts.DisallowCellular2g DisallowChangeNearFieldCommunicationRadio = consts.DisallowChangeNearFieldCommunicationRadio DisallowChangeWifiState = consts.DisallowChangeWifiState DisallowConfigBluetooth = consts.DisallowConfigBluetooth DisallowConfigBrightness = consts.DisallowConfigBrightness DisallowConfigCellBroadcasts = consts.DisallowConfigCellBroadcasts DisallowConfigCredentials = consts.DisallowConfigCredentials DisallowConfigDateTime = consts.DisallowConfigDateTime DisallowConfigDefaultApps = consts.DisallowConfigDefaultApps DisallowConfigLocale = consts.DisallowConfigLocale DisallowConfigLocation = consts.DisallowConfigLocation DisallowConfigMobileNetworks = consts.DisallowConfigMobileNetworks DisallowConfigPrivateDns = consts.DisallowConfigPrivateDns DisallowConfigScreenTimeout = consts.DisallowConfigScreenTimeout DisallowConfigTethering = consts.DisallowConfigTethering DisallowConfigVpn = consts.DisallowConfigVpn DisallowConfigWifi = consts.DisallowConfigWifi DisallowContentCapture = consts.DisallowContentCapture DisallowContentSuggestions = consts.DisallowContentSuggestions DisallowCreateWindows = consts.DisallowCreateWindows DisallowCrossProfileCopyPaste = consts.DisallowCrossProfileCopyPaste DisallowDataRoaming = consts.DisallowDataRoaming DisallowDebuggingFeatures = consts.DisallowDebuggingFeatures DisallowFactoryReset = consts.DisallowFactoryReset DisallowFun = consts.DisallowFun DisallowGrantAdmin = consts.DisallowGrantAdmin DisallowInstallApps = consts.DisallowInstallApps DisallowInstallUnknownSources = consts.DisallowInstallUnknownSources DisallowInstallUnknownSourcesGlobally = consts.DisallowInstallUnknownSourcesGlobally DisallowMicrophoneToggle = consts.DisallowMicrophoneToggle DisallowModifyAccounts = consts.DisallowModifyAccounts DisallowMountPhysicalMedia = consts.DisallowMountPhysicalMedia DisallowNearFieldCommunicationRadio = consts.DisallowNearFieldCommunicationRadio DisallowNetworkReset = consts.DisallowNetworkReset DisallowOutgoingBeam = consts.DisallowOutgoingBeam DisallowOutgoingCalls = consts.DisallowOutgoingCalls DisallowPrinting = consts.DisallowPrinting DisallowRemoveManagedProfile = consts.DisallowRemoveManagedProfile DisallowRemoveUser = consts.DisallowRemoveUser DisallowSafeBoot = consts.DisallowSafeBoot DisallowSetUserIcon = consts.DisallowSetUserIcon DisallowSetWallpaper = consts.DisallowSetWallpaper DisallowSharingAdminConfiguredWifi = consts.DisallowSharingAdminConfiguredWifi DisallowSimGlobally = consts.DisallowSimGlobally DisallowSms = consts.DisallowSms DisallowSystemErrorDialogs = consts.DisallowSystemErrorDialogs DisallowThreadNetwork = consts.DisallowThreadNetwork DisallowUltraWidebandRadio = consts.DisallowUltraWidebandRadio DisallowUnifiedPassword = consts.DisallowUnifiedPassword DisallowUninstallApps = consts.DisallowUninstallApps DisallowUnmuteMicrophone = consts.DisallowUnmuteMicrophone DisallowUsbFileTransfer = consts.DisallowUsbFileTransfer DisallowUserSwitch = consts.DisallowUserSwitch DisallowWifiDirect = consts.DisallowWifiDirect DisallowWifiTethering = consts.DisallowWifiTethering EnsureVerifyApps = consts.EnsureVerifyApps KeyRestrictionsPending = consts.KeyRestrictionsPending UserTypeProfileClone = consts.UserTypeProfileClone UserTypeProfileManaged = consts.UserTypeProfileManaged UserTypeProfilePrivate = consts.UserTypeProfilePrivate )
const (
UndefinedTemperature = consts.UndefinedTemperature
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AsyncTask ¶
AsyncTask wraps android.os.AsyncTask.
func (*AsyncTask) IsCancelled ¶
IsCancelled calls android.os.AsyncTask.isCancelled.
type AsyncTaskStatus ¶
AsyncTaskStatus wraps android.os.AsyncTask$Status.
type BadParcelableException ¶
BadParcelableException wraps android.os.BadParcelableException.
func NewBadParcelableException ¶
NewBadParcelableException creates a new android.os.BadParcelableException instance.
type BaseBundle ¶
BaseBundle wraps android.os.BaseBundle.
func (*BaseBundle) Clear ¶
func (m *BaseBundle) Clear() error
Clear calls android.os.BaseBundle.clear.
func (*BaseBundle) ContainsKey ¶
func (m *BaseBundle) ContainsKey(arg0 string) (bool, error)
ContainsKey calls android.os.BaseBundle.containsKey.
func (*BaseBundle) Get ¶
func (m *BaseBundle) Get(arg0 string) (*jni.Object, error)
Get calls android.os.BaseBundle.get.
func (*BaseBundle) GetBoolean1 ¶
func (m *BaseBundle) GetBoolean1(arg0 string) (bool, error)
GetBoolean1 calls android.os.BaseBundle.getBoolean.
func (*BaseBundle) GetBoolean2_1 ¶
func (m *BaseBundle) GetBoolean2_1(arg0 string, arg1 bool) (bool, error)
GetBoolean2_1 calls android.os.BaseBundle.getBoolean.
func (*BaseBundle) GetBooleanArray ¶
func (m *BaseBundle) GetBooleanArray(arg0 string) (*jni.Object, error)
GetBooleanArray calls android.os.BaseBundle.getBooleanArray.
func (*BaseBundle) GetDouble1 ¶
func (m *BaseBundle) GetDouble1(arg0 string) (float64, error)
GetDouble1 calls android.os.BaseBundle.getDouble.
func (*BaseBundle) GetDouble2_1 ¶
func (m *BaseBundle) GetDouble2_1(arg0 string, arg1 float64) (float64, error)
GetDouble2_1 calls android.os.BaseBundle.getDouble.
func (*BaseBundle) GetDoubleArray ¶
func (m *BaseBundle) GetDoubleArray(arg0 string) (*jni.Object, error)
GetDoubleArray calls android.os.BaseBundle.getDoubleArray.
func (*BaseBundle) GetInt1 ¶
func (m *BaseBundle) GetInt1(arg0 string) (int32, error)
GetInt1 calls android.os.BaseBundle.getInt.
func (*BaseBundle) GetInt2_1 ¶
func (m *BaseBundle) GetInt2_1(arg0 string, arg1 int32) (int32, error)
GetInt2_1 calls android.os.BaseBundle.getInt.
func (*BaseBundle) GetIntArray ¶
func (m *BaseBundle) GetIntArray(arg0 string) (*jni.Object, error)
GetIntArray calls android.os.BaseBundle.getIntArray.
func (*BaseBundle) GetLong1 ¶
func (m *BaseBundle) GetLong1(arg0 string) (int64, error)
GetLong1 calls android.os.BaseBundle.getLong.
func (*BaseBundle) GetLong2_1 ¶
func (m *BaseBundle) GetLong2_1(arg0 string, arg1 int64) (int64, error)
GetLong2_1 calls android.os.BaseBundle.getLong.
func (*BaseBundle) GetLongArray ¶
func (m *BaseBundle) GetLongArray(arg0 string) (*jni.Object, error)
GetLongArray calls android.os.BaseBundle.getLongArray.
func (*BaseBundle) GetString1 ¶
func (m *BaseBundle) GetString1(arg0 string) (string, error)
GetString1 calls android.os.BaseBundle.getString.
func (*BaseBundle) GetString2_1 ¶
func (m *BaseBundle) GetString2_1(arg0 string, arg1 string) (string, error)
GetString2_1 calls android.os.BaseBundle.getString.
func (*BaseBundle) GetStringArray ¶
func (m *BaseBundle) GetStringArray(arg0 string) (*jni.Object, error)
GetStringArray calls android.os.BaseBundle.getStringArray.
func (*BaseBundle) IsEmpty ¶
func (m *BaseBundle) IsEmpty() (bool, error)
IsEmpty calls android.os.BaseBundle.isEmpty.
func (*BaseBundle) PutAll ¶
func (m *BaseBundle) PutAll(arg0 *jni.Object) error
PutAll calls android.os.BaseBundle.putAll.
func (*BaseBundle) PutBoolean ¶
func (m *BaseBundle) PutBoolean(arg0 string, arg1 bool) error
PutBoolean calls android.os.BaseBundle.putBoolean.
func (*BaseBundle) PutBooleanArray ¶
func (m *BaseBundle) PutBooleanArray(arg0 string, arg1 *jni.Object) error
PutBooleanArray calls android.os.BaseBundle.putBooleanArray.
func (*BaseBundle) PutDouble ¶
func (m *BaseBundle) PutDouble(arg0 string, arg1 float64) error
PutDouble calls android.os.BaseBundle.putDouble.
func (*BaseBundle) PutDoubleArray ¶
func (m *BaseBundle) PutDoubleArray(arg0 string, arg1 *jni.Object) error
PutDoubleArray calls android.os.BaseBundle.putDoubleArray.
func (*BaseBundle) PutInt ¶
func (m *BaseBundle) PutInt(arg0 string, arg1 int32) error
PutInt calls android.os.BaseBundle.putInt.
func (*BaseBundle) PutIntArray ¶
func (m *BaseBundle) PutIntArray(arg0 string, arg1 *jni.Object) error
PutIntArray calls android.os.BaseBundle.putIntArray.
func (*BaseBundle) PutLong ¶
func (m *BaseBundle) PutLong(arg0 string, arg1 int64) error
PutLong calls android.os.BaseBundle.putLong.
func (*BaseBundle) PutLongArray ¶
func (m *BaseBundle) PutLongArray(arg0 string, arg1 *jni.Object) error
PutLongArray calls android.os.BaseBundle.putLongArray.
func (*BaseBundle) PutString ¶
func (m *BaseBundle) PutString(arg0 string, arg1 string) error
PutString calls android.os.BaseBundle.putString.
func (*BaseBundle) PutStringArray ¶
func (m *BaseBundle) PutStringArray(arg0 string, arg1 *jni.Object) error
PutStringArray calls android.os.BaseBundle.putStringArray.
func (*BaseBundle) Remove ¶
func (m *BaseBundle) Remove(arg0 string) error
Remove calls android.os.BaseBundle.remove.
func (*BaseBundle) Size ¶
func (m *BaseBundle) Size() (int32, error)
Size calls android.os.BaseBundle.size.
type Binder ¶
Binder wraps android.os.Binder.
func (*Binder) AttachInterface ¶
AttachInterface calls android.os.Binder.attachInterface.
func (*Binder) ClearCallingIdentity ¶
ClearCallingIdentity calls android.os.Binder.clearCallingIdentity.
func (*Binder) ClearCallingWorkSource ¶
ClearCallingWorkSource calls android.os.Binder.clearCallingWorkSource.
func (*Binder) FlushPendingCommands ¶
FlushPendingCommands calls android.os.Binder.flushPendingCommands.
func (*Binder) GetCallingPid ¶
GetCallingPid calls android.os.Binder.getCallingPid.
func (*Binder) GetCallingUid ¶
GetCallingUid calls android.os.Binder.getCallingUid.
func (*Binder) GetCallingUidOrThrow ¶
GetCallingUidOrThrow calls android.os.Binder.getCallingUidOrThrow.
func (*Binder) GetCallingUserHandle ¶
GetCallingUserHandle calls android.os.Binder.getCallingUserHandle.
func (*Binder) GetCallingWorkSourceUid ¶
GetCallingWorkSourceUid calls android.os.Binder.getCallingWorkSourceUid.
func (*Binder) GetInterfaceDescriptor ¶
GetInterfaceDescriptor calls android.os.Binder.getInterfaceDescriptor.
func (*Binder) IsBinderAlive ¶
IsBinderAlive calls android.os.Binder.isBinderAlive.
func (*Binder) JoinThreadPool ¶
JoinThreadPool calls android.os.Binder.joinThreadPool.
func (*Binder) LinkToDeath ¶
LinkToDeath calls android.os.Binder.linkToDeath.
func (*Binder) PingBinder ¶
PingBinder calls android.os.Binder.pingBinder.
func (*Binder) QueryLocalInterface ¶
QueryLocalInterface calls android.os.Binder.queryLocalInterface.
func (*Binder) RestoreCallingIdentity ¶
RestoreCallingIdentity calls android.os.Binder.restoreCallingIdentity.
func (*Binder) RestoreCallingWorkSource ¶
RestoreCallingWorkSource calls android.os.Binder.restoreCallingWorkSource.
func (*Binder) SetCallingWorkSourceUid ¶
SetCallingWorkSourceUid calls android.os.Binder.setCallingWorkSourceUid.
type BugreportManager ¶
BugreportManager wraps android.os.BugreportManager.
func NewBugreportManager ¶
func NewBugreportManager(ctx *app.Context) (*BugreportManager, error)
NewBugreportManager obtains android.os.BugreportManager from the Android system service manager.
func (*BugreportManager) CancelBugreport ¶
func (m *BugreportManager) CancelBugreport() error
CancelBugreport calls android.os.BugreportManager.cancelBugreport.
func (*BugreportManager) Close ¶
func (m *BugreportManager) Close()
Close releases the global reference to the underlying Java object. After Close, the BugreportManager must not be used.
func (*BugreportManager) StartConnectivityBugreport ¶
func (m *BugreportManager) StartConnectivityBugreport( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, ) error
StartConnectivityBugreport calls android.os.BugreportManager.startConnectivityBugreport.
type BugreportManagerBugreportCallback ¶
BugreportManagerBugreportCallback wraps android.os.BugreportManager$BugreportCallback.
func (*BugreportManagerBugreportCallback) OnEarlyReportFinished ¶
func (m *BugreportManagerBugreportCallback) OnEarlyReportFinished() error
OnEarlyReportFinished calls android.os.BugreportManager$BugreportCallback.onEarlyReportFinished.
func (*BugreportManagerBugreportCallback) OnError ¶
func (m *BugreportManagerBugreportCallback) OnError(arg0 int32) error
OnError calls android.os.BugreportManager$BugreportCallback.onError.
func (*BugreportManagerBugreportCallback) OnFinished ¶
func (m *BugreportManagerBugreportCallback) OnFinished() error
OnFinished calls android.os.BugreportManager$BugreportCallback.onFinished.
func (*BugreportManagerBugreportCallback) OnProgress ¶
func (m *BugreportManagerBugreportCallback) OnProgress(arg0 float32) error
OnProgress calls android.os.BugreportManager$BugreportCallback.onProgress.
type CombinedVibration ¶
CombinedVibration wraps android.os.CombinedVibration.
func (*CombinedVibration) CreateParallel ¶
CreateParallel calls android.os.CombinedVibration.createParallel.
func (*CombinedVibration) DescribeContents ¶
func (m *CombinedVibration) DescribeContents() (int32, error)
DescribeContents calls android.os.CombinedVibration.describeContents.
func (*CombinedVibration) StartParallel ¶
func (m *CombinedVibration) StartParallel() (*jni.Object, error)
StartParallel calls android.os.CombinedVibration.startParallel.
type CombinedVibrationParallelCombination ¶
CombinedVibrationParallelCombination wraps android.os.CombinedVibration$ParallelCombination.
func (*CombinedVibrationParallelCombination) AddVibrator ¶
func (m *CombinedVibrationParallelCombination) AddVibrator(arg0 int32, arg1 *jni.Object) (*jni.Object, error)
AddVibrator calls android.os.CombinedVibration$ParallelCombination.addVibrator.
type ConditionVariable ¶
ConditionVariable wraps android.os.ConditionVariable.
func NewConditionVariable ¶
func NewConditionVariable(vm *jni.VM) (*ConditionVariable, error)
NewConditionVariable creates a new android.os.ConditionVariable instance.
func (*ConditionVariable) Block0 ¶
func (m *ConditionVariable) Block0() error
Block0 calls android.os.ConditionVariable.block.
func (*ConditionVariable) Block1_1 ¶
func (m *ConditionVariable) Block1_1(arg0 int64) (bool, error)
Block1_1 calls android.os.ConditionVariable.block.
func (*ConditionVariable) Close ¶
func (m *ConditionVariable) Close() error
Close calls android.os.ConditionVariable.close.
func (*ConditionVariable) Open ¶
func (m *ConditionVariable) Open() error
Open calls android.os.ConditionVariable.open.
type CountDownTimer ¶
CountDownTimer wraps android.os.CountDownTimer.
func (*CountDownTimer) OnFinish ¶
func (m *CountDownTimer) OnFinish() error
OnFinish calls android.os.CountDownTimer.onFinish.
func (*CountDownTimer) OnTick ¶
func (m *CountDownTimer) OnTick(arg0 int64) error
OnTick calls android.os.CountDownTimer.onTick.
type CpuHeadroomParams ¶
CpuHeadroomParams wraps android.os.CpuHeadroomParams.
func (*CpuHeadroomParams) Equals ¶
func (m *CpuHeadroomParams) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.os.CpuHeadroomParams.equals.
func (*CpuHeadroomParams) GetCalculationType ¶
func (m *CpuHeadroomParams) GetCalculationType() (int32, error)
GetCalculationType calls android.os.CpuHeadroomParams.getCalculationType.
func (*CpuHeadroomParams) GetCalculationWindowMillis ¶
func (m *CpuHeadroomParams) GetCalculationWindowMillis() (int64, error)
GetCalculationWindowMillis calls android.os.CpuHeadroomParams.getCalculationWindowMillis.
func (*CpuHeadroomParams) GetTids ¶
func (m *CpuHeadroomParams) GetTids() (*jni.Object, error)
GetTids calls android.os.CpuHeadroomParams.getTids.
func (*CpuHeadroomParams) HashCode ¶
func (m *CpuHeadroomParams) HashCode() (int32, error)
HashCode calls android.os.CpuHeadroomParams.hashCode.
func (*CpuHeadroomParams) ToBuilder ¶
func (m *CpuHeadroomParams) ToBuilder() (*jni.Object, error)
ToBuilder calls android.os.CpuHeadroomParams.toBuilder.
func (*CpuHeadroomParams) ToString ¶
func (m *CpuHeadroomParams) ToString() (string, error)
ToString calls android.os.CpuHeadroomParams.toString.
type CpuHeadroomParamsBuilder ¶
CpuHeadroomParamsBuilder wraps android.os.CpuHeadroomParams$Builder.
func (*CpuHeadroomParamsBuilder) Build ¶
func (m *CpuHeadroomParamsBuilder) Build() (*jni.Object, error)
Build calls android.os.CpuHeadroomParams$Builder.build.
func (*CpuHeadroomParamsBuilder) SetCalculationType ¶
func (m *CpuHeadroomParamsBuilder) SetCalculationType(arg0 int32) (*jni.Object, error)
SetCalculationType calls android.os.CpuHeadroomParams$Builder.setCalculationType.
func (*CpuHeadroomParamsBuilder) SetCalculationWindowMillis ¶
func (m *CpuHeadroomParamsBuilder) SetCalculationWindowMillis(arg0 int32) (*jni.Object, error)
SetCalculationWindowMillis calls android.os.CpuHeadroomParams$Builder.setCalculationWindowMillis.
type CpuUsageInfo ¶
CpuUsageInfo wraps android.os.CpuUsageInfo.
func (*CpuUsageInfo) DescribeContents ¶
func (m *CpuUsageInfo) DescribeContents() (int32, error)
DescribeContents calls android.os.CpuUsageInfo.describeContents.
func (*CpuUsageInfo) GetActive ¶
func (m *CpuUsageInfo) GetActive() (int64, error)
GetActive calls android.os.CpuUsageInfo.getActive.
func (*CpuUsageInfo) GetTotal ¶
func (m *CpuUsageInfo) GetTotal() (int64, error)
GetTotal calls android.os.CpuUsageInfo.getTotal.
func (*CpuUsageInfo) WriteToParcel ¶
func (m *CpuUsageInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.os.CpuUsageInfo.writeToParcel.
type DeadObjectException ¶
DeadObjectException wraps android.os.DeadObjectException.
func NewDeadObjectException ¶
func NewDeadObjectException(vm *jni.VM) (*DeadObjectException, error)
NewDeadObjectException creates a new android.os.DeadObjectException instance.
type DeadSystemException ¶
DeadSystemException wraps android.os.DeadSystemException.
func NewDeadSystemException ¶
func NewDeadSystemException(vm *jni.VM) (*DeadSystemException, error)
NewDeadSystemException creates a new android.os.DeadSystemException instance.
type Debug ¶
Debug wraps android.os.Debug.
func (*Debug) AttachJvmtiAgent ¶
AttachJvmtiAgent calls android.os.Debug.attachJvmtiAgent.
func (*Debug) ChangeDebugPort ¶
ChangeDebugPort calls android.os.Debug.changeDebugPort.
func (*Debug) DumpHprofData ¶
DumpHprofData calls android.os.Debug.dumpHprofData.
func (*Debug) DumpService ¶
DumpService calls android.os.Debug.dumpService.
func (*Debug) EnableEmulatorTraceOutput ¶
EnableEmulatorTraceOutput calls android.os.Debug.enableEmulatorTraceOutput.
func (*Debug) GetBinderDeathObjectCount ¶
GetBinderDeathObjectCount calls android.os.Debug.getBinderDeathObjectCount.
func (*Debug) GetBinderLocalObjectCount ¶
GetBinderLocalObjectCount calls android.os.Debug.getBinderLocalObjectCount.
func (*Debug) GetBinderProxyObjectCount ¶
GetBinderProxyObjectCount calls android.os.Debug.getBinderProxyObjectCount.
func (*Debug) GetBinderReceivedTransactions ¶
GetBinderReceivedTransactions calls android.os.Debug.getBinderReceivedTransactions.
func (*Debug) GetBinderSentTransactions ¶
GetBinderSentTransactions calls android.os.Debug.getBinderSentTransactions.
func (*Debug) GetGlobalAllocCount ¶
GetGlobalAllocCount calls android.os.Debug.getGlobalAllocCount.
func (*Debug) GetGlobalAllocSize ¶
GetGlobalAllocSize calls android.os.Debug.getGlobalAllocSize.
func (*Debug) GetGlobalClassInitCount ¶
GetGlobalClassInitCount calls android.os.Debug.getGlobalClassInitCount.
func (*Debug) GetGlobalClassInitTime ¶
GetGlobalClassInitTime calls android.os.Debug.getGlobalClassInitTime.
func (*Debug) GetGlobalExternalAllocCount ¶
GetGlobalExternalAllocCount calls android.os.Debug.getGlobalExternalAllocCount.
func (*Debug) GetGlobalExternalAllocSize ¶
GetGlobalExternalAllocSize calls android.os.Debug.getGlobalExternalAllocSize.
func (*Debug) GetGlobalExternalFreedCount ¶
GetGlobalExternalFreedCount calls android.os.Debug.getGlobalExternalFreedCount.
func (*Debug) GetGlobalExternalFreedSize ¶
GetGlobalExternalFreedSize calls android.os.Debug.getGlobalExternalFreedSize.
func (*Debug) GetGlobalFreedCount ¶
GetGlobalFreedCount calls android.os.Debug.getGlobalFreedCount.
func (*Debug) GetGlobalFreedSize ¶
GetGlobalFreedSize calls android.os.Debug.getGlobalFreedSize.
func (*Debug) GetGlobalGcInvocationCount ¶
GetGlobalGcInvocationCount calls android.os.Debug.getGlobalGcInvocationCount.
func (*Debug) GetLoadedClassCount ¶
GetLoadedClassCount calls android.os.Debug.getLoadedClassCount.
func (*Debug) GetMemoryInfo ¶
GetMemoryInfo calls android.os.Debug.getMemoryInfo.
func (*Debug) GetNativeHeapAllocatedSize ¶
GetNativeHeapAllocatedSize calls android.os.Debug.getNativeHeapAllocatedSize.
func (*Debug) GetNativeHeapFreeSize ¶
GetNativeHeapFreeSize calls android.os.Debug.getNativeHeapFreeSize.
func (*Debug) GetNativeHeapSize ¶
GetNativeHeapSize calls android.os.Debug.getNativeHeapSize.
func (*Debug) GetRuntimeStat ¶
GetRuntimeStat calls android.os.Debug.getRuntimeStat.
func (*Debug) GetThreadAllocCount ¶
GetThreadAllocCount calls android.os.Debug.getThreadAllocCount.
func (*Debug) GetThreadAllocSize ¶
GetThreadAllocSize calls android.os.Debug.getThreadAllocSize.
func (*Debug) GetThreadExternalAllocCount ¶
GetThreadExternalAllocCount calls android.os.Debug.getThreadExternalAllocCount.
func (*Debug) GetThreadExternalAllocSize ¶
GetThreadExternalAllocSize calls android.os.Debug.getThreadExternalAllocSize.
func (*Debug) GetThreadGcInvocationCount ¶
GetThreadGcInvocationCount calls android.os.Debug.getThreadGcInvocationCount.
func (*Debug) IsDebuggerConnected ¶
IsDebuggerConnected calls android.os.Debug.isDebuggerConnected.
func (*Debug) PrintLoadedClasses ¶
PrintLoadedClasses calls android.os.Debug.printLoadedClasses.
func (*Debug) ResetAllCounts ¶
ResetAllCounts calls android.os.Debug.resetAllCounts.
func (*Debug) ResetGlobalAllocCount ¶
ResetGlobalAllocCount calls android.os.Debug.resetGlobalAllocCount.
func (*Debug) ResetGlobalAllocSize ¶
ResetGlobalAllocSize calls android.os.Debug.resetGlobalAllocSize.
func (*Debug) ResetGlobalClassInitCount ¶
ResetGlobalClassInitCount calls android.os.Debug.resetGlobalClassInitCount.
func (*Debug) ResetGlobalClassInitTime ¶
ResetGlobalClassInitTime calls android.os.Debug.resetGlobalClassInitTime.
func (*Debug) ResetGlobalExternalAllocCount ¶
ResetGlobalExternalAllocCount calls android.os.Debug.resetGlobalExternalAllocCount.
func (*Debug) ResetGlobalExternalAllocSize ¶
ResetGlobalExternalAllocSize calls android.os.Debug.resetGlobalExternalAllocSize.
func (*Debug) ResetGlobalExternalFreedCount ¶
ResetGlobalExternalFreedCount calls android.os.Debug.resetGlobalExternalFreedCount.
func (*Debug) ResetGlobalExternalFreedSize ¶
ResetGlobalExternalFreedSize calls android.os.Debug.resetGlobalExternalFreedSize.
func (*Debug) ResetGlobalFreedCount ¶
ResetGlobalFreedCount calls android.os.Debug.resetGlobalFreedCount.
func (*Debug) ResetGlobalFreedSize ¶
ResetGlobalFreedSize calls android.os.Debug.resetGlobalFreedSize.
func (*Debug) ResetGlobalGcInvocationCount ¶
ResetGlobalGcInvocationCount calls android.os.Debug.resetGlobalGcInvocationCount.
func (*Debug) ResetThreadAllocCount ¶
ResetThreadAllocCount calls android.os.Debug.resetThreadAllocCount.
func (*Debug) ResetThreadAllocSize ¶
ResetThreadAllocSize calls android.os.Debug.resetThreadAllocSize.
func (*Debug) ResetThreadExternalAllocCount ¶
ResetThreadExternalAllocCount calls android.os.Debug.resetThreadExternalAllocCount.
func (*Debug) ResetThreadExternalAllocSize ¶
ResetThreadExternalAllocSize calls android.os.Debug.resetThreadExternalAllocSize.
func (*Debug) ResetThreadGcInvocationCount ¶
ResetThreadGcInvocationCount calls android.os.Debug.resetThreadGcInvocationCount.
func (*Debug) SetAllocationLimit ¶
SetAllocationLimit calls android.os.Debug.setAllocationLimit.
func (*Debug) SetGlobalAllocationLimit ¶
SetGlobalAllocationLimit calls android.os.Debug.setGlobalAllocationLimit.
func (*Debug) StartAllocCounting ¶
StartAllocCounting calls android.os.Debug.startAllocCounting.
func (*Debug) StartMethodTracing0 ¶
StartMethodTracing0 calls android.os.Debug.startMethodTracing.
func (*Debug) StartMethodTracing1_1 ¶
StartMethodTracing1_1 calls android.os.Debug.startMethodTracing.
func (*Debug) StartMethodTracing2_2 ¶
StartMethodTracing2_2 calls android.os.Debug.startMethodTracing.
func (*Debug) StartMethodTracing3_3 ¶
StartMethodTracing3_3 calls android.os.Debug.startMethodTracing.
func (*Debug) StartMethodTracingSampling ¶
StartMethodTracingSampling calls android.os.Debug.startMethodTracingSampling.
func (*Debug) StartNativeTracing ¶
StartNativeTracing calls android.os.Debug.startNativeTracing.
func (*Debug) StopAllocCounting ¶
StopAllocCounting calls android.os.Debug.stopAllocCounting.
func (*Debug) StopMethodTracing ¶
StopMethodTracing calls android.os.Debug.stopMethodTracing.
func (*Debug) StopNativeTracing ¶
StopNativeTracing calls android.os.Debug.stopNativeTracing.
func (*Debug) ThreadCpuTimeNanos ¶
ThreadCpuTimeNanos calls android.os.Debug.threadCpuTimeNanos.
func (*Debug) WaitForDebugger ¶
WaitForDebugger calls android.os.Debug.waitForDebugger.
func (*Debug) WaitingForDebugger ¶
WaitingForDebugger calls android.os.Debug.waitingForDebugger.
type DebugInstructionCount ¶
DebugInstructionCount wraps android.os.Debug$InstructionCount.
func (*DebugInstructionCount) Collect ¶
func (m *DebugInstructionCount) Collect() (bool, error)
Collect calls android.os.Debug$InstructionCount.collect.
func (*DebugInstructionCount) GlobalMethodInvocations ¶
func (m *DebugInstructionCount) GlobalMethodInvocations() (int32, error)
GlobalMethodInvocations calls android.os.Debug$InstructionCount.globalMethodInvocations.
func (*DebugInstructionCount) GlobalTotal ¶
func (m *DebugInstructionCount) GlobalTotal() (int32, error)
GlobalTotal calls android.os.Debug$InstructionCount.globalTotal.
func (*DebugInstructionCount) ResetAndStart ¶
func (m *DebugInstructionCount) ResetAndStart() (bool, error)
ResetAndStart calls android.os.Debug$InstructionCount.resetAndStart.
type DebugMemoryInfo ¶
DebugMemoryInfo wraps android.os.Debug$MemoryInfo.
func (*DebugMemoryInfo) DescribeContents ¶
func (m *DebugMemoryInfo) DescribeContents() (int32, error)
DescribeContents calls android.os.Debug$MemoryInfo.describeContents.
func (*DebugMemoryInfo) GetMemoryStat ¶
func (m *DebugMemoryInfo) GetMemoryStat(arg0 string) (string, error)
GetMemoryStat calls android.os.Debug$MemoryInfo.getMemoryStat.
func (*DebugMemoryInfo) GetTotalPrivateClean ¶
func (m *DebugMemoryInfo) GetTotalPrivateClean() (int32, error)
GetTotalPrivateClean calls android.os.Debug$MemoryInfo.getTotalPrivateClean.
func (*DebugMemoryInfo) GetTotalPrivateDirty ¶
func (m *DebugMemoryInfo) GetTotalPrivateDirty() (int32, error)
GetTotalPrivateDirty calls android.os.Debug$MemoryInfo.getTotalPrivateDirty.
func (*DebugMemoryInfo) GetTotalPss ¶
func (m *DebugMemoryInfo) GetTotalPss() (int32, error)
GetTotalPss calls android.os.Debug$MemoryInfo.getTotalPss.
func (*DebugMemoryInfo) GetTotalSharedClean ¶
func (m *DebugMemoryInfo) GetTotalSharedClean() (int32, error)
GetTotalSharedClean calls android.os.Debug$MemoryInfo.getTotalSharedClean.
func (*DebugMemoryInfo) GetTotalSharedDirty ¶
func (m *DebugMemoryInfo) GetTotalSharedDirty() (int32, error)
GetTotalSharedDirty calls android.os.Debug$MemoryInfo.getTotalSharedDirty.
func (*DebugMemoryInfo) GetTotalSwappablePss ¶
func (m *DebugMemoryInfo) GetTotalSwappablePss() (int32, error)
GetTotalSwappablePss calls android.os.Debug$MemoryInfo.getTotalSwappablePss.
func (*DebugMemoryInfo) ReadFromParcel ¶
func (m *DebugMemoryInfo) ReadFromParcel(arg0 *jni.Object) error
ReadFromParcel calls android.os.Debug$MemoryInfo.readFromParcel.
func (*DebugMemoryInfo) WriteToParcel ¶
func (m *DebugMemoryInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.os.Debug$MemoryInfo.writeToParcel.
type DropBoxManager ¶
DropBoxManager wraps android.os.DropBoxManager.
func NewDropBoxManager ¶
func NewDropBoxManager(ctx *app.Context) (*DropBoxManager, error)
NewDropBoxManager obtains android.os.DropBoxManager from the Android system service manager.
func (*DropBoxManager) AddText ¶
func (m *DropBoxManager) AddText(arg0 string, arg1 string) error
AddText calls android.os.DropBoxManager.addText.
func (*DropBoxManager) Close ¶
func (m *DropBoxManager) Close()
Close releases the global reference to the underlying Java object. After Close, the DropBoxManager must not be used.
func (*DropBoxManager) GetNextEntry ¶
GetNextEntry calls android.os.DropBoxManager.getNextEntry.
func (*DropBoxManager) IsTagEnabled ¶
func (m *DropBoxManager) IsTagEnabled(arg0 string) (bool, error)
IsTagEnabled calls android.os.DropBoxManager.isTagEnabled.
type DropBoxManagerEntry ¶
DropBoxManagerEntry wraps android.os.DropBoxManager$Entry.
func (*DropBoxManagerEntry) Close ¶
func (m *DropBoxManagerEntry) Close() error
Close calls android.os.DropBoxManager$Entry.close.
func (*DropBoxManagerEntry) DescribeContents ¶
func (m *DropBoxManagerEntry) DescribeContents() (int32, error)
DescribeContents calls android.os.DropBoxManager$Entry.describeContents.
func (*DropBoxManagerEntry) GetFlags ¶
func (m *DropBoxManagerEntry) GetFlags() (int32, error)
GetFlags calls android.os.DropBoxManager$Entry.getFlags.
func (*DropBoxManagerEntry) GetInputStream ¶
func (m *DropBoxManagerEntry) GetInputStream() (*jni.Object, error)
GetInputStream calls android.os.DropBoxManager$Entry.getInputStream.
func (*DropBoxManagerEntry) GetTag ¶
func (m *DropBoxManagerEntry) GetTag() (string, error)
GetTag calls android.os.DropBoxManager$Entry.getTag.
func (*DropBoxManagerEntry) GetText ¶
func (m *DropBoxManagerEntry) GetText(arg0 int32) (string, error)
GetText calls android.os.DropBoxManager$Entry.getText.
func (*DropBoxManagerEntry) GetTimeMillis ¶
func (m *DropBoxManagerEntry) GetTimeMillis() (int64, error)
GetTimeMillis calls android.os.DropBoxManager$Entry.getTimeMillis.
func (*DropBoxManagerEntry) WriteToParcel ¶
func (m *DropBoxManagerEntry) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.os.DropBoxManager$Entry.writeToParcel.
type FileObserver ¶
FileObserver wraps android.os.FileObserver.
func (*FileObserver) OnEvent ¶
func (m *FileObserver) OnEvent(arg0 int32, arg1 string) error
OnEvent calls android.os.FileObserver.onEvent.
func (*FileObserver) StartWatching ¶
func (m *FileObserver) StartWatching() error
StartWatching calls android.os.FileObserver.startWatching.
func (*FileObserver) StopWatching ¶
func (m *FileObserver) StopWatching() error
StopWatching calls android.os.FileObserver.stopWatching.
type FileUriExposedException ¶
FileUriExposedException wraps android.os.FileUriExposedException.
func NewFileUriExposedException ¶
func NewFileUriExposedException(vm *jni.VM, arg0 string) (*FileUriExposedException, error)
NewFileUriExposedException creates a new android.os.FileUriExposedException instance.
type FileUtils ¶
FileUtils wraps android.os.FileUtils.
func (*FileUtils) CloseQuietly1 ¶
CloseQuietly1 calls android.os.FileUtils.closeQuietly.
func (*FileUtils) CloseQuietly1_1 ¶
CloseQuietly1_1 calls android.os.FileUtils.closeQuietly.
type FileUtilsProgressListener ¶
FileUtilsProgressListener wraps android.os.FileUtils$ProgressListener.
func (*FileUtilsProgressListener) OnProgress ¶
func (m *FileUtilsProgressListener) OnProgress(arg0 int64) error
OnProgress calls android.os.FileUtils$ProgressListener.onProgress.
type GpuHeadroomParams ¶
GpuHeadroomParams wraps android.os.GpuHeadroomParams.
func (*GpuHeadroomParams) Equals ¶
func (m *GpuHeadroomParams) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.os.GpuHeadroomParams.equals.
func (*GpuHeadroomParams) GetCalculationType ¶
func (m *GpuHeadroomParams) GetCalculationType() (int32, error)
GetCalculationType calls android.os.GpuHeadroomParams.getCalculationType.
func (*GpuHeadroomParams) GetCalculationWindowMillis ¶
func (m *GpuHeadroomParams) GetCalculationWindowMillis() (int32, error)
GetCalculationWindowMillis calls android.os.GpuHeadroomParams.getCalculationWindowMillis.
func (*GpuHeadroomParams) HashCode ¶
func (m *GpuHeadroomParams) HashCode() (int32, error)
HashCode calls android.os.GpuHeadroomParams.hashCode.
func (*GpuHeadroomParams) ToString ¶
func (m *GpuHeadroomParams) ToString() (string, error)
ToString calls android.os.GpuHeadroomParams.toString.
type GpuHeadroomParamsBuilder ¶
GpuHeadroomParamsBuilder wraps android.os.GpuHeadroomParams$Builder.
func (*GpuHeadroomParamsBuilder) Build ¶
func (m *GpuHeadroomParamsBuilder) Build() (*jni.Object, error)
Build calls android.os.GpuHeadroomParams$Builder.build.
func (*GpuHeadroomParamsBuilder) SetCalculationType ¶
func (m *GpuHeadroomParamsBuilder) SetCalculationType(arg0 int32) (*jni.Object, error)
SetCalculationType calls android.os.GpuHeadroomParams$Builder.setCalculationType.
func (*GpuHeadroomParamsBuilder) SetCalculationWindowMillis ¶
func (m *GpuHeadroomParamsBuilder) SetCalculationWindowMillis(arg0 int32) (*jni.Object, error)
SetCalculationWindowMillis calls android.os.GpuHeadroomParams$Builder.setCalculationWindowMillis.
type Handler ¶
Handler wraps android.os.Handler.
func NewHandler ¶
NewHandler creates a new android.os.Handler instance.
func (*Handler) CreateAsync ¶
CreateAsync calls android.os.Handler.createAsync.
func (*Handler) DispatchMessage ¶
DispatchMessage calls android.os.Handler.dispatchMessage.
func (*Handler) GetMessageName ¶
GetMessageName calls android.os.Handler.getMessageName.
func (*Handler) HandleMessage ¶
HandleMessage calls android.os.Handler.handleMessage.
func (*Handler) HasCallbacks ¶
HasCallbacks calls android.os.Handler.hasCallbacks.
func (*Handler) HasMessages1 ¶
HasMessages1 calls android.os.Handler.hasMessages.
func (*Handler) HasMessages2_1 ¶
HasMessages2_1 calls android.os.Handler.hasMessages.
func (*Handler) ObtainMessage0 ¶
ObtainMessage0 calls android.os.Handler.obtainMessage.
func (*Handler) ObtainMessage1_1 ¶
ObtainMessage1_1 calls android.os.Handler.obtainMessage.
func (*Handler) ObtainMessage2_4 ¶
ObtainMessage2_4 calls android.os.Handler.obtainMessage.
func (*Handler) ObtainMessage3_2 ¶
ObtainMessage3_2 calls android.os.Handler.obtainMessage.
func (*Handler) ObtainMessage4_3 ¶
func (m *Handler) ObtainMessage4_3( arg0 int32, arg1 int32, arg2 int32, arg3 *jni.Object, ) (*jni.Object, error)
ObtainMessage4_3 calls android.os.Handler.obtainMessage.
func (*Handler) PostAtFrontOfQueue ¶
PostAtFrontOfQueue calls android.os.Handler.postAtFrontOfQueue.
func (*Handler) PostAtTime2_1 ¶
PostAtTime2_1 calls android.os.Handler.postAtTime.
func (*Handler) PostAtTime3 ¶
PostAtTime3 calls android.os.Handler.postAtTime.
func (*Handler) PostDelayed2_1 ¶
PostDelayed2_1 calls android.os.Handler.postDelayed.
func (*Handler) PostDelayed3 ¶
PostDelayed3 calls android.os.Handler.postDelayed.
func (*Handler) RemoveCallbacks1 ¶
RemoveCallbacks1 calls android.os.Handler.removeCallbacks.
func (*Handler) RemoveCallbacks2_1 ¶
RemoveCallbacks2_1 calls android.os.Handler.removeCallbacks.
func (*Handler) RemoveCallbacksAndMessages ¶
RemoveCallbacksAndMessages calls android.os.Handler.removeCallbacksAndMessages.
func (*Handler) RemoveMessages1 ¶
RemoveMessages1 calls android.os.Handler.removeMessages.
func (*Handler) RemoveMessages2_1 ¶
RemoveMessages2_1 calls android.os.Handler.removeMessages.
func (*Handler) SendEmptyMessage ¶
SendEmptyMessage calls android.os.Handler.sendEmptyMessage.
func (*Handler) SendEmptyMessageAtTime ¶
SendEmptyMessageAtTime calls android.os.Handler.sendEmptyMessageAtTime.
func (*Handler) SendEmptyMessageDelayed ¶
SendEmptyMessageDelayed calls android.os.Handler.sendEmptyMessageDelayed.
func (*Handler) SendMessage ¶
SendMessage calls android.os.Handler.sendMessage.
func (*Handler) SendMessageAtFrontOfQueue ¶
SendMessageAtFrontOfQueue calls android.os.Handler.sendMessageAtFrontOfQueue.
func (*Handler) SendMessageAtTime ¶
SendMessageAtTime calls android.os.Handler.sendMessageAtTime.
func (*Handler) SendMessageDelayed ¶
SendMessageDelayed calls android.os.Handler.sendMessageDelayed.
type HandlerCallback ¶
HandlerCallback wraps android.os.Handler$Callback.
func (*HandlerCallback) HandleMessage ¶
func (m *HandlerCallback) HandleMessage(arg0 *jni.Object) (bool, error)
HandleMessage calls android.os.Handler$Callback.handleMessage.
type HandlerThread ¶
HandlerThread wraps android.os.HandlerThread.
func NewHandlerThread ¶
func NewHandlerThread(vm *jni.VM, arg0 string) (*HandlerThread, error)
NewHandlerThread creates a new android.os.HandlerThread instance.
func (*HandlerThread) Close ¶
func (m *HandlerThread) Close()
Close quits the thread safely and releases the global reference.
func (*HandlerThread) GetLooper ¶
func (m *HandlerThread) GetLooper() (*jni.Object, error)
GetLooper calls android.os.HandlerThread.getLooper.
func (*HandlerThread) GetThreadId ¶
func (m *HandlerThread) GetThreadId() (int32, error)
GetThreadId calls android.os.HandlerThread.getThreadId.
func (*HandlerThread) Quit ¶
func (m *HandlerThread) Quit() (bool, error)
Quit calls android.os.HandlerThread.quit.
func (*HandlerThread) QuitSafely ¶
func (m *HandlerThread) QuitSafely() (bool, error)
QuitSafely calls android.os.HandlerThread.quitSafely.
func (*HandlerThread) Run ¶
func (m *HandlerThread) Run() error
Run calls android.os.HandlerThread.run.
type HardwarePropertiesManager ¶
HardwarePropertiesManager wraps android.os.HardwarePropertiesManager.
func NewHardwarePropertiesManager ¶
func NewHardwarePropertiesManager(ctx *app.Context) (*HardwarePropertiesManager, error)
NewHardwarePropertiesManager obtains android.os.HardwarePropertiesManager from the Android system service manager.
func (*HardwarePropertiesManager) Close ¶
func (m *HardwarePropertiesManager) Close()
Close releases the global reference to the underlying Java object. After Close, the HardwarePropertiesManager must not be used.
func (*HardwarePropertiesManager) GetCpuUsages ¶
func (m *HardwarePropertiesManager) GetCpuUsages() (*jni.Object, error)
GetCpuUsages calls android.os.HardwarePropertiesManager.getCpuUsages.
func (*HardwarePropertiesManager) GetDeviceTemperatures ¶
func (m *HardwarePropertiesManager) GetDeviceTemperatures(arg0 int32, arg1 int32) (*jni.Object, error)
GetDeviceTemperatures calls android.os.HardwarePropertiesManager.getDeviceTemperatures.
func (*HardwarePropertiesManager) GetFanSpeeds ¶
func (m *HardwarePropertiesManager) GetFanSpeeds() (*jni.Object, error)
GetFanSpeeds calls android.os.HardwarePropertiesManager.getFanSpeeds.
type IBinder ¶
IBinder wraps android.os.IBinder.
func (*IBinder) GetInterfaceDescriptor ¶
GetInterfaceDescriptor calls android.os.IBinder.getInterfaceDescriptor.
func (*IBinder) GetSuggestedMaxIpcSizeBytes ¶
GetSuggestedMaxIpcSizeBytes calls android.os.IBinder.getSuggestedMaxIpcSizeBytes.
func (*IBinder) IsBinderAlive ¶
IsBinderAlive calls android.os.IBinder.isBinderAlive.
func (*IBinder) LinkToDeath ¶
LinkToDeath calls android.os.IBinder.linkToDeath.
func (*IBinder) PingBinder ¶
PingBinder calls android.os.IBinder.pingBinder.
func (*IBinder) QueryLocalInterface ¶
QueryLocalInterface calls android.os.IBinder.queryLocalInterface.
type IBinderDeathRecipient ¶
IBinderDeathRecipient wraps android.os.IBinder$DeathRecipient.
func (*IBinderDeathRecipient) BinderDied ¶
func (m *IBinderDeathRecipient) BinderDied() error
BinderDied calls android.os.IBinder$DeathRecipient.binderDied.
type IBinderFrozenStateChangeCallback ¶
IBinderFrozenStateChangeCallback wraps android.os.IBinder$FrozenStateChangeCallback.
func (*IBinderFrozenStateChangeCallback) OnFrozenStateChanged ¶
func (m *IBinderFrozenStateChangeCallback) OnFrozenStateChanged(arg0 *jni.Object, arg1 int32) error
OnFrozenStateChanged calls android.os.IBinder$FrozenStateChangeCallback.onFrozenStateChanged.
type IInterface ¶
IInterface wraps android.os.IInterface.
type LimitExceededException ¶
LimitExceededException wraps android.os.LimitExceededException.
func NewLimitExceededException ¶
func NewLimitExceededException(vm *jni.VM) (*LimitExceededException, error)
NewLimitExceededException creates a new android.os.LimitExceededException instance.
type LocaleList ¶
LocaleList wraps android.os.LocaleList.
func NewLocaleList ¶
NewLocaleList creates a new android.os.LocaleList instance.
func (*LocaleList) DescribeContents ¶
func (m *LocaleList) DescribeContents() (int32, error)
DescribeContents calls android.os.LocaleList.describeContents.
func (*LocaleList) Equals ¶
func (m *LocaleList) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.os.LocaleList.equals.
func (*LocaleList) ForLanguageTags ¶
func (m *LocaleList) ForLanguageTags(arg0 string) (*jni.Object, error)
ForLanguageTags calls android.os.LocaleList.forLanguageTags.
func (*LocaleList) Get ¶
func (m *LocaleList) Get(arg0 int32) (*jni.Object, error)
Get calls android.os.LocaleList.get.
func (*LocaleList) GetAdjustedDefault ¶
func (m *LocaleList) GetAdjustedDefault() (*jni.Object, error)
GetAdjustedDefault calls android.os.LocaleList.getAdjustedDefault.
func (*LocaleList) GetDefault ¶
func (m *LocaleList) GetDefault() (*jni.Object, error)
GetDefault calls android.os.LocaleList.getDefault.
func (*LocaleList) GetEmptyLocaleList ¶
func (m *LocaleList) GetEmptyLocaleList() (*jni.Object, error)
GetEmptyLocaleList calls android.os.LocaleList.getEmptyLocaleList.
func (*LocaleList) GetFirstMatch ¶
GetFirstMatch calls android.os.LocaleList.getFirstMatch.
func (*LocaleList) HashCode ¶
func (m *LocaleList) HashCode() (int32, error)
HashCode calls android.os.LocaleList.hashCode.
func (*LocaleList) IndexOf ¶
func (m *LocaleList) IndexOf(arg0 *jni.Object) (int32, error)
IndexOf calls android.os.LocaleList.indexOf.
func (*LocaleList) IsEmpty ¶
func (m *LocaleList) IsEmpty() (bool, error)
IsEmpty calls android.os.LocaleList.isEmpty.
func (*LocaleList) IsPseudoLocale ¶
func (m *LocaleList) IsPseudoLocale(arg0 *jni.Object) (bool, error)
IsPseudoLocale calls android.os.LocaleList.isPseudoLocale.
func (*LocaleList) MatchesLanguageAndScript ¶
MatchesLanguageAndScript calls android.os.LocaleList.matchesLanguageAndScript.
func (*LocaleList) SetDefault ¶
func (m *LocaleList) SetDefault(arg0 *jni.Object) error
SetDefault calls android.os.LocaleList.setDefault.
func (*LocaleList) Size ¶
func (m *LocaleList) Size() (int32, error)
Size calls android.os.LocaleList.size.
func (*LocaleList) ToLanguageTags ¶
func (m *LocaleList) ToLanguageTags() (string, error)
ToLanguageTags calls android.os.LocaleList.toLanguageTags.
func (*LocaleList) ToString ¶
func (m *LocaleList) ToString() (string, error)
ToString calls android.os.LocaleList.toString.
func (*LocaleList) WriteToParcel ¶
func (m *LocaleList) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.os.LocaleList.writeToParcel.
type Looper ¶
Looper wraps android.os.Looper.
func (*Looper) GetMainLooper ¶
GetMainLooper calls android.os.Looper.getMainLooper.
func (*Looper) IsCurrentThread ¶
IsCurrentThread calls android.os.Looper.isCurrentThread.
func (*Looper) PrepareMainLooper ¶
PrepareMainLooper calls android.os.Looper.prepareMainLooper.
func (*Looper) QuitSafely ¶
QuitSafely calls android.os.Looper.quitSafely.
func (*Looper) SetMessageLogging ¶
SetMessageLogging calls android.os.Looper.setMessageLogging.
type MemoryFile ¶
MemoryFile wraps android.os.MemoryFile.
func NewMemoryFile ¶
NewMemoryFile creates a new android.os.MemoryFile instance.
func (*MemoryFile) Close ¶
func (m *MemoryFile) Close() error
Close calls android.os.MemoryFile.close.
func (*MemoryFile) GetInputStream ¶
func (m *MemoryFile) GetInputStream() (*jni.Object, error)
GetInputStream calls android.os.MemoryFile.getInputStream.
func (*MemoryFile) GetOutputStream ¶
func (m *MemoryFile) GetOutputStream() (*jni.Object, error)
GetOutputStream calls android.os.MemoryFile.getOutputStream.
func (*MemoryFile) IsPurgingAllowed ¶
func (m *MemoryFile) IsPurgingAllowed() (bool, error)
IsPurgingAllowed calls android.os.MemoryFile.isPurgingAllowed.
func (*MemoryFile) Length ¶
func (m *MemoryFile) Length() (int32, error)
Length calls android.os.MemoryFile.length.
func (*MemoryFile) ReadBytes ¶
func (m *MemoryFile) ReadBytes( arg0 *jni.Object, arg1 int32, arg2 int32, arg3 int32, ) (int32, error)
ReadBytes calls android.os.MemoryFile.readBytes.
func (*MemoryFile) WriteBytes ¶
WriteBytes calls android.os.MemoryFile.writeBytes.
type Message ¶
Message wraps android.os.Message.
func NewMessage ¶
NewMessage creates a new android.os.Message instance.
func (*Message) DescribeContents ¶
DescribeContents calls android.os.Message.describeContents.
func (*Message) GetCallback ¶
GetCallback calls android.os.Message.getCallback.
func (*Message) IsAsynchronous ¶
IsAsynchronous calls android.os.Message.isAsynchronous.
func (*Message) SendToTarget ¶
SendToTarget calls android.os.Message.sendToTarget.
func (*Message) SetAsynchronous ¶
SetAsynchronous calls android.os.Message.setAsynchronous.
type MessageQueue ¶
MessageQueue wraps android.os.MessageQueue.
func (*MessageQueue) AddOnFileDescriptorEventListener ¶
func (m *MessageQueue) AddOnFileDescriptorEventListener( arg0 *jni.Object, arg1 int32, arg2 *jni.Object, ) error
AddOnFileDescriptorEventListener calls android.os.MessageQueue.addOnFileDescriptorEventListener.
func (*MessageQueue) IsIdle ¶
func (m *MessageQueue) IsIdle() (bool, error)
IsIdle calls android.os.MessageQueue.isIdle.
func (*MessageQueue) RemoveOnFileDescriptorEventListener ¶
func (m *MessageQueue) RemoveOnFileDescriptorEventListener(arg0 *jni.Object) error
RemoveOnFileDescriptorEventListener calls android.os.MessageQueue.removeOnFileDescriptorEventListener.
type MessageQueueIdleHandler ¶
MessageQueueIdleHandler wraps android.os.MessageQueue$IdleHandler.
func (*MessageQueueIdleHandler) QueueIdle ¶
func (m *MessageQueueIdleHandler) QueueIdle() (bool, error)
QueueIdle calls android.os.MessageQueue$IdleHandler.queueIdle.
type MessageQueueOnFileDescriptorEventListener ¶
MessageQueueOnFileDescriptorEventListener wraps android.os.MessageQueue$OnFileDescriptorEventListener.
func (*MessageQueueOnFileDescriptorEventListener) OnFileDescriptorEvents ¶
func (m *MessageQueueOnFileDescriptorEventListener) OnFileDescriptorEvents(arg0 *jni.Object, arg1 int32) (int32, error)
OnFileDescriptorEvents calls android.os.MessageQueue$OnFileDescriptorEventListener.onFileDescriptorEvents.
type Messenger ¶
Messenger wraps android.os.Messenger.
func NewMessenger ¶
NewMessenger creates a new android.os.Messenger instance.
func (*Messenger) DescribeContents ¶
DescribeContents calls android.os.Messenger.describeContents.
func (*Messenger) ReadMessengerOrNullFromParcel ¶
ReadMessengerOrNullFromParcel calls android.os.Messenger.readMessengerOrNullFromParcel.
func (*Messenger) WriteMessengerOrNullToParcel ¶
WriteMessengerOrNullToParcel calls android.os.Messenger.writeMessengerOrNullToParcel.
type NetworkOnMainThreadException ¶
NetworkOnMainThreadException wraps android.os.NetworkOnMainThreadException.
func NewNetworkOnMainThreadException ¶
func NewNetworkOnMainThreadException(vm *jni.VM) (*NetworkOnMainThreadException, error)
NewNetworkOnMainThreadException creates a new android.os.NetworkOnMainThreadException instance.
type OperationCanceledException ¶
OperationCanceledException wraps android.os.OperationCanceledException.
func NewOperationCanceledException ¶
func NewOperationCanceledException(vm *jni.VM) (*OperationCanceledException, error)
NewOperationCanceledException creates a new android.os.OperationCanceledException instance.
type Parcel ¶
Parcel wraps android.os.Parcel.
func (*Parcel) AppendFrom ¶
AppendFrom calls android.os.Parcel.appendFrom.
func (*Parcel) CreateBinderArray ¶
CreateBinderArray calls android.os.Parcel.createBinderArray.
func (*Parcel) CreateBooleanArray ¶
CreateBooleanArray calls android.os.Parcel.createBooleanArray.
func (*Parcel) CreateByteArray ¶
CreateByteArray calls android.os.Parcel.createByteArray.
func (*Parcel) CreateCharArray ¶
CreateCharArray calls android.os.Parcel.createCharArray.
func (*Parcel) CreateDoubleArray ¶
CreateDoubleArray calls android.os.Parcel.createDoubleArray.
func (*Parcel) CreateFloatArray ¶
CreateFloatArray calls android.os.Parcel.createFloatArray.
func (*Parcel) CreateIntArray ¶
CreateIntArray calls android.os.Parcel.createIntArray.
func (*Parcel) CreateLongArray ¶
CreateLongArray calls android.os.Parcel.createLongArray.
func (*Parcel) CreateStringArray ¶
CreateStringArray calls android.os.Parcel.createStringArray.
func (*Parcel) DataCapacity ¶
DataCapacity calls android.os.Parcel.dataCapacity.
func (*Parcel) DataPosition ¶
DataPosition calls android.os.Parcel.dataPosition.
func (*Parcel) EnforceInterface ¶
EnforceInterface calls android.os.Parcel.enforceInterface.
func (*Parcel) EnforceNoDataAvail ¶
EnforceNoDataAvail calls android.os.Parcel.enforceNoDataAvail.
func (*Parcel) HasFileDescriptors0 ¶
HasFileDescriptors0 calls android.os.Parcel.hasFileDescriptors.
func (*Parcel) HasFileDescriptors2_1 ¶
HasFileDescriptors2_1 calls android.os.Parcel.hasFileDescriptors.
func (*Parcel) ReadArrayList ¶
ReadArrayList calls android.os.Parcel.readArrayList.
func (*Parcel) ReadBinderArray ¶
ReadBinderArray calls android.os.Parcel.readBinderArray.
func (*Parcel) ReadBoolean ¶
ReadBoolean calls android.os.Parcel.readBoolean.
func (*Parcel) ReadBooleanArray ¶
ReadBooleanArray calls android.os.Parcel.readBooleanArray.
func (*Parcel) ReadBundle0 ¶
ReadBundle0 calls android.os.Parcel.readBundle.
func (*Parcel) ReadBundle1_1 ¶
ReadBundle1_1 calls android.os.Parcel.readBundle.
func (*Parcel) ReadByteArray ¶
ReadByteArray calls android.os.Parcel.readByteArray.
func (*Parcel) ReadByteValue ¶
ReadByteValue calls android.os.Parcel.readByte.
func (*Parcel) ReadCharArray ¶
ReadCharArray calls android.os.Parcel.readCharArray.
func (*Parcel) ReadDouble ¶
ReadDouble calls android.os.Parcel.readDouble.
func (*Parcel) ReadDoubleArray ¶
ReadDoubleArray calls android.os.Parcel.readDoubleArray.
func (*Parcel) ReadException0 ¶
ReadException0 calls android.os.Parcel.readException.
func (*Parcel) ReadException2_1 ¶
ReadException2_1 calls android.os.Parcel.readException.
func (*Parcel) ReadFileDescriptor ¶
ReadFileDescriptor calls android.os.Parcel.readFileDescriptor.
func (*Parcel) ReadFloatArray ¶
ReadFloatArray calls android.os.Parcel.readFloatArray.
func (*Parcel) ReadHashMap ¶
ReadHashMap calls android.os.Parcel.readHashMap.
func (*Parcel) ReadIntArray ¶
ReadIntArray calls android.os.Parcel.readIntArray.
func (*Parcel) ReadLongArray ¶
ReadLongArray calls android.os.Parcel.readLongArray.
func (*Parcel) ReadParcelableArray ¶
ReadParcelableArray calls android.os.Parcel.readParcelableArray.
func (*Parcel) ReadPersistableBundle0 ¶
ReadPersistableBundle0 calls android.os.Parcel.readPersistableBundle.
func (*Parcel) ReadPersistableBundle1_1 ¶
ReadPersistableBundle1_1 calls android.os.Parcel.readPersistableBundle.
func (*Parcel) ReadSerializable ¶
ReadSerializable calls android.os.Parcel.readSerializable.
func (*Parcel) ReadSparseBooleanArray ¶
ReadSparseBooleanArray calls android.os.Parcel.readSparseBooleanArray.
func (*Parcel) ReadString ¶
ReadString calls android.os.Parcel.readString.
func (*Parcel) ReadStringArray ¶
ReadStringArray calls android.os.Parcel.readStringArray.
func (*Parcel) ReadStrongBinder ¶
ReadStrongBinder calls android.os.Parcel.readStrongBinder.
func (*Parcel) SetDataCapacity ¶
SetDataCapacity calls android.os.Parcel.setDataCapacity.
func (*Parcel) SetDataPosition ¶
SetDataPosition calls android.os.Parcel.setDataPosition.
func (*Parcel) SetDataSize ¶
SetDataSize calls android.os.Parcel.setDataSize.
func (*Parcel) SetPropagateAllowBlocking ¶
SetPropagateAllowBlocking calls android.os.Parcel.setPropagateAllowBlocking.
func (*Parcel) Unmarshall ¶
Unmarshall calls android.os.Parcel.unmarshall.
func (*Parcel) WriteArray ¶
WriteArray calls android.os.Parcel.writeArray.
func (*Parcel) WriteBinderArray ¶
WriteBinderArray calls android.os.Parcel.writeBinderArray.
func (*Parcel) WriteBlob1 ¶
WriteBlob1 calls android.os.Parcel.writeBlob.
func (*Parcel) WriteBlob3_1 ¶
WriteBlob3_1 calls android.os.Parcel.writeBlob.
func (*Parcel) WriteBoolean ¶
WriteBoolean calls android.os.Parcel.writeBoolean.
func (*Parcel) WriteBooleanArray ¶
WriteBooleanArray calls android.os.Parcel.writeBooleanArray.
func (*Parcel) WriteBundle ¶
WriteBundle calls android.os.Parcel.writeBundle.
func (*Parcel) WriteByteArray1 ¶
WriteByteArray1 calls android.os.Parcel.writeByteArray.
func (*Parcel) WriteByteArray3_1 ¶
WriteByteArray3_1 calls android.os.Parcel.writeByteArray.
func (*Parcel) WriteByteValue ¶
WriteByteValue calls android.os.Parcel.writeByte.
func (*Parcel) WriteCharArray ¶
WriteCharArray calls android.os.Parcel.writeCharArray.
func (*Parcel) WriteDouble ¶
WriteDouble calls android.os.Parcel.writeDouble.
func (*Parcel) WriteDoubleArray ¶
WriteDoubleArray calls android.os.Parcel.writeDoubleArray.
func (*Parcel) WriteException ¶
WriteException calls android.os.Parcel.writeException.
func (*Parcel) WriteFileDescriptor ¶
WriteFileDescriptor calls android.os.Parcel.writeFileDescriptor.
func (*Parcel) WriteFloat ¶
WriteFloat calls android.os.Parcel.writeFloat.
func (*Parcel) WriteFloatArray ¶
WriteFloatArray calls android.os.Parcel.writeFloatArray.
func (*Parcel) WriteIntArray ¶
WriteIntArray calls android.os.Parcel.writeIntArray.
func (*Parcel) WriteInterfaceToken ¶
WriteInterfaceToken calls android.os.Parcel.writeInterfaceToken.
func (*Parcel) WriteLongArray ¶
WriteLongArray calls android.os.Parcel.writeLongArray.
func (*Parcel) WriteNoException ¶
WriteNoException calls android.os.Parcel.writeNoException.
func (*Parcel) WriteParcelable ¶
WriteParcelable calls android.os.Parcel.writeParcelable.
func (*Parcel) WriteParcelableCreator ¶
WriteParcelableCreator calls android.os.Parcel.writeParcelableCreator.
func (*Parcel) WritePersistableBundle ¶
WritePersistableBundle calls android.os.Parcel.writePersistableBundle.
func (*Parcel) WriteSerializable ¶
WriteSerializable calls android.os.Parcel.writeSerializable.
func (*Parcel) WriteSizeF ¶
WriteSizeF calls android.os.Parcel.writeSizeF.
func (*Parcel) WriteSparseBooleanArray ¶
WriteSparseBooleanArray calls android.os.Parcel.writeSparseBooleanArray.
func (*Parcel) WriteString ¶
WriteString calls android.os.Parcel.writeString.
func (*Parcel) WriteStringArray ¶
WriteStringArray calls android.os.Parcel.writeStringArray.
func (*Parcel) WriteStrongBinder ¶
WriteStrongBinder calls android.os.Parcel.writeStrongBinder.
func (*Parcel) WriteStrongInterface ¶
WriteStrongInterface calls android.os.Parcel.writeStrongInterface.
type ParcelFormatException ¶
ParcelFormatException wraps android.os.ParcelFormatException.
func NewParcelFormatException ¶
func NewParcelFormatException(vm *jni.VM) (*ParcelFormatException, error)
NewParcelFormatException creates a new android.os.ParcelFormatException instance.
type ParcelUuid ¶
ParcelUuid wraps android.os.ParcelUuid.
func NewParcelUuid ¶
NewParcelUuid creates a new android.os.ParcelUuid instance.
func (*ParcelUuid) DescribeContents ¶
func (m *ParcelUuid) DescribeContents() (int32, error)
DescribeContents calls android.os.ParcelUuid.describeContents.
func (*ParcelUuid) Equals ¶
func (m *ParcelUuid) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.os.ParcelUuid.equals.
func (*ParcelUuid) FromString ¶
func (m *ParcelUuid) FromString(arg0 string) (*jni.Object, error)
FromString calls android.os.ParcelUuid.fromString.
func (*ParcelUuid) GetUuid ¶
func (m *ParcelUuid) GetUuid() (*jni.Object, error)
GetUuid calls android.os.ParcelUuid.getUuid.
func (*ParcelUuid) HashCode ¶
func (m *ParcelUuid) HashCode() (int32, error)
HashCode calls android.os.ParcelUuid.hashCode.
func (*ParcelUuid) ToString ¶
func (m *ParcelUuid) ToString() (string, error)
ToString calls android.os.ParcelUuid.toString.
func (*ParcelUuid) WriteToParcel ¶
func (m *ParcelUuid) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.os.ParcelUuid.writeToParcel.
type Parcelable ¶
Parcelable wraps android.os.Parcelable.
func (*Parcelable) DescribeContents ¶
func (m *Parcelable) DescribeContents() (int32, error)
DescribeContents calls android.os.Parcelable.describeContents.
func (*Parcelable) WriteToParcel ¶
func (m *Parcelable) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.os.Parcelable.writeToParcel.
type PatternMatcher ¶
PatternMatcher wraps android.os.PatternMatcher.
func NewPatternMatcher ¶
NewPatternMatcher creates a new android.os.PatternMatcher instance.
func (*PatternMatcher) DescribeContents ¶
func (m *PatternMatcher) DescribeContents() (int32, error)
DescribeContents calls android.os.PatternMatcher.describeContents.
func (*PatternMatcher) GetPath ¶
func (m *PatternMatcher) GetPath() (string, error)
GetPath calls android.os.PatternMatcher.getPath.
func (*PatternMatcher) GetType ¶
func (m *PatternMatcher) GetType() (int32, error)
GetType calls android.os.PatternMatcher.getType.
func (*PatternMatcher) Match ¶
func (m *PatternMatcher) Match(arg0 string) (bool, error)
Match calls android.os.PatternMatcher.match.
func (*PatternMatcher) ToString ¶
func (m *PatternMatcher) ToString() (string, error)
ToString calls android.os.PatternMatcher.toString.
func (*PatternMatcher) WriteToParcel ¶
func (m *PatternMatcher) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.os.PatternMatcher.writeToParcel.
type PerformanceHintManager ¶
PerformanceHintManager wraps android.os.PerformanceHintManager.
func NewPerformanceHintManager ¶
func NewPerformanceHintManager(ctx *app.Context) (*PerformanceHintManager, error)
NewPerformanceHintManager obtains android.os.PerformanceHintManager from the Android system service manager.
func (*PerformanceHintManager) Close ¶
func (m *PerformanceHintManager) Close()
Close releases the global reference to the underlying Java object. After Close, the PerformanceHintManager must not be used.
func (*PerformanceHintManager) CreateHintSession ¶
func (m *PerformanceHintManager) CreateHintSession(arg0 *jni.Object, arg1 int64) (*jni.Object, error)
CreateHintSession calls android.os.PerformanceHintManager.createHintSession.
func (*PerformanceHintManager) GetPreferredUpdateRateNanos ¶
func (m *PerformanceHintManager) GetPreferredUpdateRateNanos() (int64, error)
GetPreferredUpdateRateNanos calls android.os.PerformanceHintManager.getPreferredUpdateRateNanos.
type PerformanceHintManagerSession ¶
PerformanceHintManagerSession wraps android.os.PerformanceHintManager$Session.
func (*PerformanceHintManagerSession) Close ¶
func (m *PerformanceHintManagerSession) Close() error
Close calls android.os.PerformanceHintManager$Session.close.
func (*PerformanceHintManagerSession) ReportActualWorkDuration1 ¶
func (m *PerformanceHintManagerSession) ReportActualWorkDuration1(arg0 *jni.Object) error
ReportActualWorkDuration1 calls android.os.PerformanceHintManager$Session.reportActualWorkDuration.
func (*PerformanceHintManagerSession) ReportActualWorkDuration1_1 ¶
func (m *PerformanceHintManagerSession) ReportActualWorkDuration1_1(arg0 int64) error
ReportActualWorkDuration1_1 calls android.os.PerformanceHintManager$Session.reportActualWorkDuration.
func (*PerformanceHintManagerSession) SetPreferPowerEfficiency ¶
func (m *PerformanceHintManagerSession) SetPreferPowerEfficiency(arg0 bool) error
SetPreferPowerEfficiency calls android.os.PerformanceHintManager$Session.setPreferPowerEfficiency.
func (*PerformanceHintManagerSession) SetThreads ¶
func (m *PerformanceHintManagerSession) SetThreads(arg0 *jni.Object) error
SetThreads calls android.os.PerformanceHintManager$Session.setThreads.
func (*PerformanceHintManagerSession) UpdateTargetWorkDuration ¶
func (m *PerformanceHintManagerSession) UpdateTargetWorkDuration(arg0 int64) error
UpdateTargetWorkDuration calls android.os.PerformanceHintManager$Session.updateTargetWorkDuration.
type PersistableBundle ¶
PersistableBundle wraps android.os.PersistableBundle.
func NewPersistableBundle ¶
func NewPersistableBundle(vm *jni.VM) (*PersistableBundle, error)
NewPersistableBundle creates a new android.os.PersistableBundle instance.
func (*PersistableBundle) Clone ¶
func (m *PersistableBundle) Clone() (*jni.Object, error)
Clone calls android.os.PersistableBundle.clone.
func (*PersistableBundle) DeepCopy ¶
func (m *PersistableBundle) DeepCopy() (*jni.Object, error)
DeepCopy calls android.os.PersistableBundle.deepCopy.
func (*PersistableBundle) DescribeContents ¶
func (m *PersistableBundle) DescribeContents() (int32, error)
DescribeContents calls android.os.PersistableBundle.describeContents.
func (*PersistableBundle) GetPersistableBundle ¶
func (m *PersistableBundle) GetPersistableBundle(arg0 string) (*jni.Object, error)
GetPersistableBundle calls android.os.PersistableBundle.getPersistableBundle.
func (*PersistableBundle) PutPersistableBundle ¶
func (m *PersistableBundle) PutPersistableBundle(arg0 string, arg1 *jni.Object) error
PutPersistableBundle calls android.os.PersistableBundle.putPersistableBundle.
func (*PersistableBundle) ReadFromStream ¶
ReadFromStream calls android.os.PersistableBundle.readFromStream.
func (*PersistableBundle) WriteToParcel ¶
func (m *PersistableBundle) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.os.PersistableBundle.writeToParcel.
func (*PersistableBundle) WriteToStream ¶
func (m *PersistableBundle) WriteToStream(arg0 *jni.Object) error
WriteToStream calls android.os.PersistableBundle.writeToStream.
type PowerMonitor ¶
PowerMonitor wraps android.os.PowerMonitor.
func (*PowerMonitor) DescribeContents ¶
func (m *PowerMonitor) DescribeContents() (int32, error)
DescribeContents calls android.os.PowerMonitor.describeContents.
func (*PowerMonitor) GetName ¶
func (m *PowerMonitor) GetName() (string, error)
GetName calls android.os.PowerMonitor.getName.
func (*PowerMonitor) GetType ¶
func (m *PowerMonitor) GetType() (int32, error)
GetType calls android.os.PowerMonitor.getType.
func (*PowerMonitor) WriteToParcel ¶
func (m *PowerMonitor) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.os.PowerMonitor.writeToParcel.
type PowerMonitorReadings ¶
PowerMonitorReadings wraps android.os.PowerMonitorReadings.
func (*PowerMonitorReadings) GetConsumedEnergy ¶
func (m *PowerMonitorReadings) GetConsumedEnergy(arg0 *jni.Object) (int64, error)
GetConsumedEnergy calls android.os.PowerMonitorReadings.getConsumedEnergy.
func (*PowerMonitorReadings) GetTimestampMillis ¶
func (m *PowerMonitorReadings) GetTimestampMillis(arg0 *jni.Object) (int64, error)
GetTimestampMillis calls android.os.PowerMonitorReadings.getTimestampMillis.
func (*PowerMonitorReadings) ToString ¶
func (m *PowerMonitorReadings) ToString() (string, error)
ToString calls android.os.PowerMonitorReadings.toString.
type Process ¶
Process wraps android.os.Process.
func NewProcess ¶
NewProcess creates a new android.os.Process instance.
func (*Process) GetAppUidForSdkSandboxUid ¶
GetAppUidForSdkSandboxUid calls android.os.Process.getAppUidForSdkSandboxUid.
func (*Process) GetElapsedCpuTime ¶
GetElapsedCpuTime calls android.os.Process.getElapsedCpuTime.
func (*Process) GetExclusiveCores ¶
GetExclusiveCores calls android.os.Process.getExclusiveCores.
func (*Process) GetGidForName ¶
GetGidForName calls android.os.Process.getGidForName.
func (*Process) GetSdkSandboxUidForAppUid ¶
GetSdkSandboxUidForAppUid calls android.os.Process.getSdkSandboxUidForAppUid.
func (*Process) GetStartElapsedRealtime ¶
GetStartElapsedRealtime calls android.os.Process.getStartElapsedRealtime.
func (*Process) GetStartRequestedElapsedRealtime ¶
GetStartRequestedElapsedRealtime calls android.os.Process.getStartRequestedElapsedRealtime.
func (*Process) GetStartRequestedUptimeMillis ¶
GetStartRequestedUptimeMillis calls android.os.Process.getStartRequestedUptimeMillis.
func (*Process) GetStartUptimeMillis ¶
GetStartUptimeMillis calls android.os.Process.getStartUptimeMillis.
func (*Process) GetThreadPriority ¶
GetThreadPriority calls android.os.Process.getThreadPriority.
func (*Process) GetUidForName ¶
GetUidForName calls android.os.Process.getUidForName.
func (*Process) IsApplicationUid ¶
IsApplicationUid calls android.os.Process.isApplicationUid.
func (*Process) IsIsolated ¶
IsIsolated calls android.os.Process.isIsolated.
func (*Process) IsIsolatedUid ¶
IsIsolatedUid calls android.os.Process.isIsolatedUid.
func (*Process) IsSdkSandbox ¶
IsSdkSandbox calls android.os.Process.isSdkSandbox.
func (*Process) IsSdkSandboxUid ¶
IsSdkSandboxUid calls android.os.Process.isSdkSandboxUid.
func (*Process) KillProcess ¶
KillProcess calls android.os.Process.killProcess.
func (*Process) MyProcessName ¶
MyProcessName calls android.os.Process.myProcessName.
func (*Process) MyUserHandle ¶
MyUserHandle calls android.os.Process.myUserHandle.
func (*Process) SendSignal ¶
SendSignal calls android.os.Process.sendSignal.
func (*Process) SetThreadPriority1 ¶
SetThreadPriority1 calls android.os.Process.setThreadPriority.
func (*Process) SetThreadPriority2_1 ¶
SetThreadPriority2_1 calls android.os.Process.setThreadPriority.
func (*Process) SupportsProcesses ¶
SupportsProcesses calls android.os.Process.supportsProcesses.
type ProfilingManager ¶
ProfilingManager wraps android.os.ProfilingManager.
func NewProfilingManager ¶
func NewProfilingManager(ctx *app.Context) (*ProfilingManager, error)
NewProfilingManager obtains android.os.ProfilingManager from the Android system service manager.
func (*ProfilingManager) ClearProfilingTriggers ¶
func (m *ProfilingManager) ClearProfilingTriggers() error
ClearProfilingTriggers calls android.os.ProfilingManager.clearProfilingTriggers.
func (*ProfilingManager) Close ¶
func (m *ProfilingManager) Close()
Close releases the global reference to the underlying Java object. After Close, the ProfilingManager must not be used.
func (*ProfilingManager) RemoveProfilingTriggersByType ¶
func (m *ProfilingManager) RemoveProfilingTriggersByType(arg0 *jni.Object) error
RemoveProfilingTriggersByType calls android.os.ProfilingManager.removeProfilingTriggersByType.
type ProfilingResult ¶
ProfilingResult wraps android.os.ProfilingResult.
func (*ProfilingResult) DescribeContents ¶
func (m *ProfilingResult) DescribeContents() (int32, error)
DescribeContents calls android.os.ProfilingResult.describeContents.
func (*ProfilingResult) Equals ¶
func (m *ProfilingResult) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.os.ProfilingResult.equals.
func (*ProfilingResult) GetErrorCode ¶
func (m *ProfilingResult) GetErrorCode() (int32, error)
GetErrorCode calls android.os.ProfilingResult.getErrorCode.
func (*ProfilingResult) GetErrorMessage ¶
func (m *ProfilingResult) GetErrorMessage() (string, error)
GetErrorMessage calls android.os.ProfilingResult.getErrorMessage.
func (*ProfilingResult) GetResultFilePath ¶
func (m *ProfilingResult) GetResultFilePath() (string, error)
GetResultFilePath calls android.os.ProfilingResult.getResultFilePath.
func (*ProfilingResult) GetTag ¶
func (m *ProfilingResult) GetTag() (string, error)
GetTag calls android.os.ProfilingResult.getTag.
func (*ProfilingResult) GetTriggerType ¶
func (m *ProfilingResult) GetTriggerType() (int32, error)
GetTriggerType calls android.os.ProfilingResult.getTriggerType.
func (*ProfilingResult) HashCode ¶
func (m *ProfilingResult) HashCode() (int32, error)
HashCode calls android.os.ProfilingResult.hashCode.
func (*ProfilingResult) WriteToParcel ¶
func (m *ProfilingResult) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.os.ProfilingResult.writeToParcel.
type ProfilingTrigger ¶
ProfilingTrigger wraps android.os.ProfilingTrigger.
func (*ProfilingTrigger) GetRateLimitingPeriodHours ¶
func (m *ProfilingTrigger) GetRateLimitingPeriodHours() (int32, error)
GetRateLimitingPeriodHours calls android.os.ProfilingTrigger.getRateLimitingPeriodHours.
func (*ProfilingTrigger) GetTriggerType ¶
func (m *ProfilingTrigger) GetTriggerType() (int32, error)
GetTriggerType calls android.os.ProfilingTrigger.getTriggerType.
type ProfilingTriggerBuilder ¶
ProfilingTriggerBuilder wraps android.os.ProfilingTrigger$Builder.
func (*ProfilingTriggerBuilder) Build ¶
func (m *ProfilingTriggerBuilder) Build() (*jni.Object, error)
Build calls android.os.ProfilingTrigger$Builder.build.
func (*ProfilingTriggerBuilder) SetRateLimitingPeriodHours ¶
func (m *ProfilingTriggerBuilder) SetRateLimitingPeriodHours(arg0 int32) (*jni.Object, error)
SetRateLimitingPeriodHours calls android.os.ProfilingTrigger$Builder.setRateLimitingPeriodHours.
type ProxyFileDescriptorCallback ¶
ProxyFileDescriptorCallback wraps android.os.ProxyFileDescriptorCallback.
func (*ProxyFileDescriptorCallback) OnFsync ¶
func (m *ProxyFileDescriptorCallback) OnFsync() error
OnFsync calls android.os.ProxyFileDescriptorCallback.onFsync.
func (*ProxyFileDescriptorCallback) OnGetSize ¶
func (m *ProxyFileDescriptorCallback) OnGetSize() (int64, error)
OnGetSize calls android.os.ProxyFileDescriptorCallback.onGetSize.
func (*ProxyFileDescriptorCallback) OnRead ¶
func (m *ProxyFileDescriptorCallback) OnRead( arg0 int64, arg1 int32, arg2 *jni.Object, ) (int32, error)
OnRead calls android.os.ProxyFileDescriptorCallback.onRead.
func (*ProxyFileDescriptorCallback) OnRelease ¶
func (m *ProxyFileDescriptorCallback) OnRelease() error
OnRelease calls android.os.ProxyFileDescriptorCallback.onRelease.
type RecoverySystem ¶
RecoverySystem wraps android.os.RecoverySystem.
func (*RecoverySystem) InstallPackage ¶
InstallPackage calls android.os.RecoverySystem.installPackage.
func (*RecoverySystem) RebootWipeCache ¶
func (m *RecoverySystem) RebootWipeCache(arg0 *jni.Object) error
RebootWipeCache calls android.os.RecoverySystem.rebootWipeCache.
func (*RecoverySystem) RebootWipeUserData ¶
func (m *RecoverySystem) RebootWipeUserData(arg0 *jni.Object) error
RebootWipeUserData calls android.os.RecoverySystem.rebootWipeUserData.
func (*RecoverySystem) VerifyPackage ¶
func (m *RecoverySystem) VerifyPackage( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, ) error
VerifyPackage calls android.os.RecoverySystem.verifyPackage.
type RecoverySystemProgressListener ¶
RecoverySystemProgressListener wraps android.os.RecoverySystem$ProgressListener.
func (*RecoverySystemProgressListener) OnProgress ¶
func (m *RecoverySystemProgressListener) OnProgress(arg0 int32) error
OnProgress calls android.os.RecoverySystem$ProgressListener.onProgress.
type RemoteCallbackList ¶
RemoteCallbackList wraps android.os.RemoteCallbackList.
func NewRemoteCallbackList ¶
func NewRemoteCallbackList(vm *jni.VM) (*RemoteCallbackList, error)
NewRemoteCallbackList creates a new android.os.RemoteCallbackList instance.
func (*RemoteCallbackList) BeginBroadcast ¶
func (m *RemoteCallbackList) BeginBroadcast() (int32, error)
BeginBroadcast calls android.os.RemoteCallbackList.beginBroadcast.
func (*RemoteCallbackList) FinishBroadcast ¶
func (m *RemoteCallbackList) FinishBroadcast() error
FinishBroadcast calls android.os.RemoteCallbackList.finishBroadcast.
func (*RemoteCallbackList) GetBroadcastCookie ¶
func (m *RemoteCallbackList) GetBroadcastCookie(arg0 int32) (*jni.Object, error)
GetBroadcastCookie calls android.os.RemoteCallbackList.getBroadcastCookie.
func (*RemoteCallbackList) GetExecutor ¶
func (m *RemoteCallbackList) GetExecutor() (*jni.Object, error)
GetExecutor calls android.os.RemoteCallbackList.getExecutor.
func (*RemoteCallbackList) GetFrozenCalleePolicy ¶
func (m *RemoteCallbackList) GetFrozenCalleePolicy() (int32, error)
GetFrozenCalleePolicy calls android.os.RemoteCallbackList.getFrozenCalleePolicy.
func (*RemoteCallbackList) GetMaxQueueSize ¶
func (m *RemoteCallbackList) GetMaxQueueSize() (int32, error)
GetMaxQueueSize calls android.os.RemoteCallbackList.getMaxQueueSize.
func (*RemoteCallbackList) GetRegisteredCallbackCookie ¶
func (m *RemoteCallbackList) GetRegisteredCallbackCookie(arg0 int32) (*jni.Object, error)
GetRegisteredCallbackCookie calls android.os.RemoteCallbackList.getRegisteredCallbackCookie.
func (*RemoteCallbackList) GetRegisteredCallbackCount ¶
func (m *RemoteCallbackList) GetRegisteredCallbackCount() (int32, error)
GetRegisteredCallbackCount calls android.os.RemoteCallbackList.getRegisteredCallbackCount.
func (*RemoteCallbackList) Kill ¶
func (m *RemoteCallbackList) Kill() error
Kill calls android.os.RemoteCallbackList.kill.
type RemoteCallbackListBuilder ¶
RemoteCallbackListBuilder wraps android.os.RemoteCallbackList$Builder.
func (*RemoteCallbackListBuilder) SetExecutor ¶
SetExecutor calls android.os.RemoteCallbackList$Builder.setExecutor.
func (*RemoteCallbackListBuilder) SetMaxQueueSize ¶
func (m *RemoteCallbackListBuilder) SetMaxQueueSize(arg0 int32) (*jni.Object, error)
SetMaxQueueSize calls android.os.RemoteCallbackList$Builder.setMaxQueueSize.
type RemoteException ¶
RemoteException wraps android.os.RemoteException.
func NewRemoteException ¶
func NewRemoteException(vm *jni.VM) (*RemoteException, error)
NewRemoteException creates a new android.os.RemoteException instance.
func (*RemoteException) RethrowAsRuntimeException ¶
func (m *RemoteException) RethrowAsRuntimeException() (*jni.Object, error)
RethrowAsRuntimeException calls android.os.RemoteException.rethrowAsRuntimeException.
func (*RemoteException) RethrowFromSystemServer ¶
func (m *RemoteException) RethrowFromSystemServer() (*jni.Object, error)
RethrowFromSystemServer calls android.os.RemoteException.rethrowFromSystemServer.
type ResultReceiver ¶
ResultReceiver wraps android.os.ResultReceiver.
func NewResultReceiver ¶
NewResultReceiver creates a new android.os.ResultReceiver instance.
func (*ResultReceiver) DescribeContents ¶
func (m *ResultReceiver) DescribeContents() (int32, error)
DescribeContents calls android.os.ResultReceiver.describeContents.
func (*ResultReceiver) Send ¶
func (m *ResultReceiver) Send(arg0 int32, arg1 *jni.Object) error
Send calls android.os.ResultReceiver.send.
func (*ResultReceiver) WriteToParcel ¶
func (m *ResultReceiver) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.os.ResultReceiver.writeToParcel.
type SecurityStateManager ¶
SecurityStateManager wraps android.os.SecurityStateManager.
func NewSecurityStateManager ¶
func NewSecurityStateManager(ctx *app.Context) (*SecurityStateManager, error)
NewSecurityStateManager obtains android.os.SecurityStateManager from the Android system service manager.
func (*SecurityStateManager) Close ¶
func (m *SecurityStateManager) Close()
Close releases the global reference to the underlying Java object. After Close, the SecurityStateManager must not be used.
func (*SecurityStateManager) GetGlobalSecurityState ¶
func (m *SecurityStateManager) GetGlobalSecurityState() (*jni.Object, error)
GetGlobalSecurityState calls android.os.SecurityStateManager.getGlobalSecurityState.
type SharedMemory ¶
type SharedMemory struct {
}
SharedMemory wraps android.os.SharedMemory.
func (*SharedMemory) Close ¶
func (m *SharedMemory) Close() error
Close calls android.os.SharedMemory.close.
func (*SharedMemory) DescribeContents ¶
func (m *SharedMemory) DescribeContents() (int32, error)
DescribeContents calls android.os.SharedMemory.describeContents.
func (*SharedMemory) FromFileDescriptor ¶
FromFileDescriptor calls android.os.SharedMemory.fromFileDescriptor.
func (*SharedMemory) GetSize ¶
func (m *SharedMemory) GetSize() (int32, error)
GetSize calls android.os.SharedMemory.getSize.
func (*SharedMemory) MapReadOnly ¶
func (m *SharedMemory) MapReadOnly() (*jni.Object, error)
MapReadOnly calls android.os.SharedMemory.mapReadOnly.
func (*SharedMemory) MapReadWrite ¶
func (m *SharedMemory) MapReadWrite() (*jni.Object, error)
MapReadWrite calls android.os.SharedMemory.mapReadWrite.
func (*SharedMemory) SetProtect ¶
func (m *SharedMemory) SetProtect(arg0 int32) (bool, error)
SetProtect calls android.os.SharedMemory.setProtect.
func (*SharedMemory) WriteToParcel ¶
func (m *SharedMemory) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.os.SharedMemory.writeToParcel.
type StatFs ¶
StatFs wraps android.os.StatFs.
func (*StatFs) GetAvailableBlocks ¶
GetAvailableBlocks calls android.os.StatFs.getAvailableBlocks.
func (*StatFs) GetAvailableBlocksLong ¶
GetAvailableBlocksLong calls android.os.StatFs.getAvailableBlocksLong.
func (*StatFs) GetAvailableBytes ¶
GetAvailableBytes calls android.os.StatFs.getAvailableBytes.
func (*StatFs) GetBlockCount ¶
GetBlockCount calls android.os.StatFs.getBlockCount.
func (*StatFs) GetBlockCountLong ¶
GetBlockCountLong calls android.os.StatFs.getBlockCountLong.
func (*StatFs) GetBlockSize ¶
GetBlockSize calls android.os.StatFs.getBlockSize.
func (*StatFs) GetBlockSizeLong ¶
GetBlockSizeLong calls android.os.StatFs.getBlockSizeLong.
func (*StatFs) GetFreeBlocks ¶
GetFreeBlocks calls android.os.StatFs.getFreeBlocks.
func (*StatFs) GetFreeBlocksLong ¶
GetFreeBlocksLong calls android.os.StatFs.getFreeBlocksLong.
func (*StatFs) GetFreeBytes ¶
GetFreeBytes calls android.os.StatFs.getFreeBytes.
func (*StatFs) GetTotalBytes ¶
GetTotalBytes calls android.os.StatFs.getTotalBytes.
type StrictMode ¶
StrictMode wraps android.os.StrictMode.
func (*StrictMode) AllowThreadDiskReads ¶
func (m *StrictMode) AllowThreadDiskReads() (*jni.Object, error)
AllowThreadDiskReads calls android.os.StrictMode.allowThreadDiskReads.
func (*StrictMode) AllowThreadDiskWrites ¶
func (m *StrictMode) AllowThreadDiskWrites() (*jni.Object, error)
AllowThreadDiskWrites calls android.os.StrictMode.allowThreadDiskWrites.
func (*StrictMode) EnableDefaults ¶
func (m *StrictMode) EnableDefaults() error
EnableDefaults calls android.os.StrictMode.enableDefaults.
func (*StrictMode) GetThreadPolicy ¶
func (m *StrictMode) GetThreadPolicy() (*jni.Object, error)
GetThreadPolicy calls android.os.StrictMode.getThreadPolicy.
func (*StrictMode) GetVmPolicy ¶
func (m *StrictMode) GetVmPolicy() (*jni.Object, error)
GetVmPolicy calls android.os.StrictMode.getVmPolicy.
func (*StrictMode) NoteSlowCall ¶
func (m *StrictMode) NoteSlowCall(arg0 string) error
NoteSlowCall calls android.os.StrictMode.noteSlowCall.
func (*StrictMode) SetThreadPolicy ¶
func (m *StrictMode) SetThreadPolicy(arg0 *jni.Object) error
SetThreadPolicy calls android.os.StrictMode.setThreadPolicy.
func (*StrictMode) SetVmPolicy ¶
func (m *StrictMode) SetVmPolicy(arg0 *jni.Object) error
SetVmPolicy calls android.os.StrictMode.setVmPolicy.
type StrictModeOnThreadViolationListener ¶
StrictModeOnThreadViolationListener wraps android.os.StrictMode$OnThreadViolationListener.
func (*StrictModeOnThreadViolationListener) OnThreadViolation ¶
func (m *StrictModeOnThreadViolationListener) OnThreadViolation(arg0 *jni.Object) error
OnThreadViolation calls android.os.StrictMode$OnThreadViolationListener.onThreadViolation.
type StrictModeOnVmViolationListener ¶
StrictModeOnVmViolationListener wraps android.os.StrictMode$OnVmViolationListener.
func (*StrictModeOnVmViolationListener) OnVmViolation ¶
func (m *StrictModeOnVmViolationListener) OnVmViolation(arg0 *jni.Object) error
OnVmViolation calls android.os.StrictMode$OnVmViolationListener.onVmViolation.
type StrictModeThreadPolicy ¶
StrictModeThreadPolicy wraps android.os.StrictMode$ThreadPolicy.
func (*StrictModeThreadPolicy) ToString ¶
func (m *StrictModeThreadPolicy) ToString() (string, error)
ToString calls android.os.StrictMode$ThreadPolicy.toString.
type StrictModeVmPolicy ¶
StrictModeVmPolicy wraps android.os.StrictMode$VmPolicy.
func (*StrictModeVmPolicy) ToString ¶
func (m *StrictModeVmPolicy) ToString() (string, error)
ToString calls android.os.StrictMode$VmPolicy.toString.
type SystemClock ¶
SystemClock wraps android.os.SystemClock.
func (*SystemClock) CurrentGnssTimeClock ¶
func (m *SystemClock) CurrentGnssTimeClock() (*jni.Object, error)
CurrentGnssTimeClock calls android.os.SystemClock.currentGnssTimeClock.
func (*SystemClock) CurrentNetworkTimeClock ¶
func (m *SystemClock) CurrentNetworkTimeClock() (*jni.Object, error)
CurrentNetworkTimeClock calls android.os.SystemClock.currentNetworkTimeClock.
func (*SystemClock) CurrentThreadTimeMillis ¶
func (m *SystemClock) CurrentThreadTimeMillis() (int64, error)
CurrentThreadTimeMillis calls android.os.SystemClock.currentThreadTimeMillis.
func (*SystemClock) ElapsedRealtime ¶
func (m *SystemClock) ElapsedRealtime() (int64, error)
ElapsedRealtime calls android.os.SystemClock.elapsedRealtime.
func (*SystemClock) ElapsedRealtimeNanos ¶
func (m *SystemClock) ElapsedRealtimeNanos() (int64, error)
ElapsedRealtimeNanos calls android.os.SystemClock.elapsedRealtimeNanos.
func (*SystemClock) SetCurrentTimeMillis ¶
func (m *SystemClock) SetCurrentTimeMillis(arg0 int64) (bool, error)
SetCurrentTimeMillis calls android.os.SystemClock.setCurrentTimeMillis.
func (*SystemClock) Sleep ¶
func (m *SystemClock) Sleep(arg0 int64) error
Sleep calls android.os.SystemClock.sleep.
func (*SystemClock) UptimeMillis ¶
func (m *SystemClock) UptimeMillis() (int64, error)
UptimeMillis calls android.os.SystemClock.uptimeMillis.
func (*SystemClock) UptimeNanos ¶
func (m *SystemClock) UptimeNanos() (int64, error)
UptimeNanos calls android.os.SystemClock.uptimeNanos.
type TestLooperManager ¶
TestLooperManager wraps android.os.TestLooperManager.
func (*TestLooperManager) Execute ¶
func (m *TestLooperManager) Execute(arg0 *jni.Object) error
Execute calls android.os.TestLooperManager.execute.
func (*TestLooperManager) GetMessageQueue ¶
func (m *TestLooperManager) GetMessageQueue() (*jni.Object, error)
GetMessageQueue calls android.os.TestLooperManager.getMessageQueue.
func (*TestLooperManager) IsBlockedOnSyncBarrier ¶
func (m *TestLooperManager) IsBlockedOnSyncBarrier() (bool, error)
IsBlockedOnSyncBarrier calls android.os.TestLooperManager.isBlockedOnSyncBarrier.
func (*TestLooperManager) Next ¶
func (m *TestLooperManager) Next() (*jni.Object, error)
Next calls android.os.TestLooperManager.next.
func (*TestLooperManager) PeekWhen ¶
func (m *TestLooperManager) PeekWhen() (*jni.Object, error)
PeekWhen calls android.os.TestLooperManager.peekWhen.
func (*TestLooperManager) Poll ¶
func (m *TestLooperManager) Poll() (*jni.Object, error)
Poll calls android.os.TestLooperManager.poll.
func (*TestLooperManager) Recycle ¶
func (m *TestLooperManager) Recycle(arg0 *jni.Object) error
Recycle calls android.os.TestLooperManager.recycle.
func (*TestLooperManager) Release ¶
func (m *TestLooperManager) Release() error
Release calls android.os.TestLooperManager.release.
type TokenWatcher ¶
TokenWatcher wraps android.os.TokenWatcher.
func (*TokenWatcher) Acquire ¶
func (m *TokenWatcher) Acquire(arg0 *jni.Object, arg1 string) error
Acquire calls android.os.TokenWatcher.acquire.
func (*TokenWatcher) Acquired ¶
func (m *TokenWatcher) Acquired() error
Acquired calls android.os.TokenWatcher.acquired.
func (*TokenWatcher) Cleanup ¶
func (m *TokenWatcher) Cleanup(arg0 *jni.Object, arg1 bool) error
Cleanup calls android.os.TokenWatcher.cleanup.
func (*TokenWatcher) Dump0 ¶
func (m *TokenWatcher) Dump0() error
Dump0 calls android.os.TokenWatcher.dump.
func (*TokenWatcher) Dump1_1 ¶
func (m *TokenWatcher) Dump1_1(arg0 *jni.Object) error
Dump1_1 calls android.os.TokenWatcher.dump.
func (*TokenWatcher) IsAcquired ¶
func (m *TokenWatcher) IsAcquired() (bool, error)
IsAcquired calls android.os.TokenWatcher.isAcquired.
func (*TokenWatcher) Release ¶
func (m *TokenWatcher) Release(arg0 *jni.Object) error
Release calls android.os.TokenWatcher.release.
func (*TokenWatcher) Released ¶
func (m *TokenWatcher) Released() error
Released calls android.os.TokenWatcher.released.
type Trace ¶
Trace wraps android.os.Trace.
func (*Trace) BeginAsyncSection ¶
BeginAsyncSection calls android.os.Trace.beginAsyncSection.
func (*Trace) BeginSection ¶
BeginSection calls android.os.Trace.beginSection.
func (*Trace) EndAsyncSection ¶
EndAsyncSection calls android.os.Trace.endAsyncSection.
func (*Trace) EndSection ¶
EndSection calls android.os.Trace.endSection.
type TransactionTooLargeException ¶
TransactionTooLargeException wraps android.os.TransactionTooLargeException.
func NewTransactionTooLargeException ¶
func NewTransactionTooLargeException(vm *jni.VM) (*TransactionTooLargeException, error)
NewTransactionTooLargeException creates a new android.os.TransactionTooLargeException instance.
type UserHandle ¶
UserHandle wraps android.os.UserHandle.
func NewUserHandle ¶
NewUserHandle creates a new android.os.UserHandle instance.
func (*UserHandle) DescribeContents ¶
func (m *UserHandle) DescribeContents() (int32, error)
DescribeContents calls android.os.UserHandle.describeContents.
func (*UserHandle) Equals ¶
func (m *UserHandle) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.os.UserHandle.equals.
func (*UserHandle) GetUserHandleForUid ¶
func (m *UserHandle) GetUserHandleForUid(arg0 int32) (*jni.Object, error)
GetUserHandleForUid calls android.os.UserHandle.getUserHandleForUid.
func (*UserHandle) HashCode ¶
func (m *UserHandle) HashCode() (int32, error)
HashCode calls android.os.UserHandle.hashCode.
func (*UserHandle) ReadFromParcel ¶
ReadFromParcel calls android.os.UserHandle.readFromParcel.
func (*UserHandle) ToString ¶
func (m *UserHandle) ToString() (string, error)
ToString calls android.os.UserHandle.toString.
func (*UserHandle) WriteToParcel2 ¶
func (m *UserHandle) WriteToParcel2(arg0 *jni.Object, arg1 int32) error
WriteToParcel2 calls android.os.UserHandle.writeToParcel.
func (*UserHandle) WriteToParcel2_1 ¶
WriteToParcel2_1 calls android.os.UserHandle.writeToParcel.
type UserManager ¶
UserManager wraps android.os.UserManager.
func NewUserManager ¶
func NewUserManager(ctx *app.Context) (*UserManager, error)
NewUserManager obtains android.os.UserManager from the Android system service manager.
func (*UserManager) Close ¶
func (m *UserManager) Close()
Close releases the global reference to the underlying Java object. After Close, the UserManager must not be used.
func (*UserManager) CreateUserCreationIntent ¶
func (m *UserManager) CreateUserCreationIntent( arg0 string, arg1 string, arg2 string, arg3 *jni.Object, ) (*jni.Object, error)
CreateUserCreationIntent calls android.os.UserManager.createUserCreationIntent.
func (*UserManager) GetApplicationRestrictions ¶
func (m *UserManager) GetApplicationRestrictions(arg0 string) (*jni.Object, error)
GetApplicationRestrictions calls android.os.UserManager.getApplicationRestrictions.
func (*UserManager) GetSerialNumberForUser ¶
func (m *UserManager) GetSerialNumberForUser(arg0 *jni.Object) (int64, error)
GetSerialNumberForUser calls android.os.UserManager.getSerialNumberForUser.
func (*UserManager) GetUserCount ¶
func (m *UserManager) GetUserCount() (int32, error)
GetUserCount calls android.os.UserManager.getUserCount.
func (*UserManager) GetUserCreationTime ¶
func (m *UserManager) GetUserCreationTime(arg0 *jni.Object) (int64, error)
GetUserCreationTime calls android.os.UserManager.getUserCreationTime.
func (*UserManager) GetUserForSerialNumber ¶
func (m *UserManager) GetUserForSerialNumber(arg0 int64) (*jni.Object, error)
GetUserForSerialNumber calls android.os.UserManager.getUserForSerialNumber.
func (*UserManager) GetUserName ¶
func (m *UserManager) GetUserName() (string, error)
GetUserName calls android.os.UserManager.getUserName.
func (*UserManager) GetUserRestrictions0 ¶
func (m *UserManager) GetUserRestrictions0() (*jni.Object, error)
GetUserRestrictions0 calls android.os.UserManager.getUserRestrictions.
func (*UserManager) GetUserRestrictions1_1 ¶
GetUserRestrictions1_1 calls android.os.UserManager.getUserRestrictions.
func (*UserManager) HasUserRestriction ¶
func (m *UserManager) HasUserRestriction(arg0 string) (bool, error)
HasUserRestriction calls android.os.UserManager.hasUserRestriction.
func (*UserManager) IsAdminUser ¶
func (m *UserManager) IsAdminUser() (bool, error)
IsAdminUser calls android.os.UserManager.isAdminUser.
func (*UserManager) IsDemoUser ¶
func (m *UserManager) IsDemoUser() (bool, error)
IsDemoUser calls android.os.UserManager.isDemoUser.
func (*UserManager) IsHeadlessSystemUserMode ¶
func (m *UserManager) IsHeadlessSystemUserMode() (bool, error)
IsHeadlessSystemUserMode calls android.os.UserManager.isHeadlessSystemUserMode.
func (*UserManager) IsManagedProfile ¶
func (m *UserManager) IsManagedProfile() (bool, error)
IsManagedProfile calls android.os.UserManager.isManagedProfile.
func (*UserManager) IsProfile ¶
func (m *UserManager) IsProfile() (bool, error)
IsProfile calls android.os.UserManager.isProfile.
func (*UserManager) IsQuietModeEnabled ¶
func (m *UserManager) IsQuietModeEnabled(arg0 *jni.Object) (bool, error)
IsQuietModeEnabled calls android.os.UserManager.isQuietModeEnabled.
func (*UserManager) IsSystemUser ¶
func (m *UserManager) IsSystemUser() (bool, error)
IsSystemUser calls android.os.UserManager.isSystemUser.
func (*UserManager) IsUserAGoat ¶
func (m *UserManager) IsUserAGoat() (bool, error)
IsUserAGoat calls android.os.UserManager.isUserAGoat.
func (*UserManager) IsUserForeground ¶
func (m *UserManager) IsUserForeground() (bool, error)
IsUserForeground calls android.os.UserManager.isUserForeground.
func (*UserManager) IsUserRunning ¶
func (m *UserManager) IsUserRunning(arg0 *jni.Object) (bool, error)
IsUserRunning calls android.os.UserManager.isUserRunning.
func (*UserManager) IsUserRunningOrStopping ¶
func (m *UserManager) IsUserRunningOrStopping(arg0 *jni.Object) (bool, error)
IsUserRunningOrStopping calls android.os.UserManager.isUserRunningOrStopping.
func (*UserManager) IsUserUnlocked0 ¶
func (m *UserManager) IsUserUnlocked0() (bool, error)
IsUserUnlocked0 calls android.os.UserManager.isUserUnlocked.
func (*UserManager) IsUserUnlocked1_1 ¶
func (m *UserManager) IsUserUnlocked1_1(arg0 *jni.Object) (bool, error)
IsUserUnlocked1_1 calls android.os.UserManager.isUserUnlocked.
func (*UserManager) RequestQuietModeEnabled2 ¶
RequestQuietModeEnabled2 calls android.os.UserManager.requestQuietModeEnabled.
func (*UserManager) RequestQuietModeEnabled3_1 ¶
func (m *UserManager) RequestQuietModeEnabled3_1( arg0 bool, arg1 *jni.Object, arg2 int32, ) (bool, error)
RequestQuietModeEnabled3_1 calls android.os.UserManager.requestQuietModeEnabled.
func (*UserManager) SetRestrictionsChallenge ¶
func (m *UserManager) SetRestrictionsChallenge(arg0 string) (bool, error)
SetRestrictionsChallenge calls android.os.UserManager.setRestrictionsChallenge.
func (*UserManager) SetUserRestriction ¶
func (m *UserManager) SetUserRestriction(arg0 string, arg1 bool) error
SetUserRestriction calls android.os.UserManager.setUserRestriction.
func (*UserManager) SetUserRestrictions1 ¶
func (m *UserManager) SetUserRestrictions1(arg0 *jni.Object) error
SetUserRestrictions1 calls android.os.UserManager.setUserRestrictions.
func (*UserManager) SetUserRestrictions2_1 ¶
SetUserRestrictions2_1 calls android.os.UserManager.setUserRestrictions.
func (*UserManager) SupportsMultipleUsers ¶
func (m *UserManager) SupportsMultipleUsers() (bool, error)
SupportsMultipleUsers calls android.os.UserManager.supportsMultipleUsers.
type UserManagerUserOperationException ¶
UserManagerUserOperationException wraps android.os.UserManager$UserOperationException.
func (*UserManagerUserOperationException) GetUserOperationResult ¶
func (m *UserManagerUserOperationException) GetUserOperationResult() (int32, error)
GetUserOperationResult calls android.os.UserManager$UserOperationException.getUserOperationResult.
type VibrationAttributes ¶
VibrationAttributes wraps android.os.VibrationAttributes.
func (*VibrationAttributes) CreateForUsage ¶
func (m *VibrationAttributes) CreateForUsage(arg0 int32) (*jni.Object, error)
CreateForUsage calls android.os.VibrationAttributes.createForUsage.
func (*VibrationAttributes) DescribeContents ¶
func (m *VibrationAttributes) DescribeContents() (int32, error)
DescribeContents calls android.os.VibrationAttributes.describeContents.
func (*VibrationAttributes) Equals ¶
func (m *VibrationAttributes) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.os.VibrationAttributes.equals.
func (*VibrationAttributes) GetFlags ¶
func (m *VibrationAttributes) GetFlags() (int32, error)
GetFlags calls android.os.VibrationAttributes.getFlags.
func (*VibrationAttributes) GetUsage ¶
func (m *VibrationAttributes) GetUsage() (int32, error)
GetUsage calls android.os.VibrationAttributes.getUsage.
func (*VibrationAttributes) GetUsageClass ¶
func (m *VibrationAttributes) GetUsageClass() (int32, error)
GetUsageClass calls android.os.VibrationAttributes.getUsageClass.
func (*VibrationAttributes) HashCode ¶
func (m *VibrationAttributes) HashCode() (int32, error)
HashCode calls android.os.VibrationAttributes.hashCode.
func (*VibrationAttributes) IsFlagSet ¶
func (m *VibrationAttributes) IsFlagSet(arg0 int32) (bool, error)
IsFlagSet calls android.os.VibrationAttributes.isFlagSet.
func (*VibrationAttributes) ToString ¶
func (m *VibrationAttributes) ToString() (string, error)
ToString calls android.os.VibrationAttributes.toString.
func (*VibrationAttributes) WriteToParcel ¶
func (m *VibrationAttributes) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.os.VibrationAttributes.writeToParcel.
type VibrationAttributesBuilder ¶
VibrationAttributesBuilder wraps android.os.VibrationAttributes$Builder.
func (*VibrationAttributesBuilder) Build ¶
func (m *VibrationAttributesBuilder) Build() (*jni.Object, error)
Build calls android.os.VibrationAttributes$Builder.build.
type VibrationEffect ¶
VibrationEffect wraps android.os.VibrationEffect.
func (*VibrationEffect) CreateOneShot ¶
CreateOneShot calls android.os.VibrationEffect.createOneShot.
func (*VibrationEffect) CreatePredefined ¶
func (m *VibrationEffect) CreatePredefined(arg0 int32) (*jni.Object, error)
CreatePredefined calls android.os.VibrationEffect.createPredefined.
func (*VibrationEffect) CreateRepeatingEffect1 ¶
CreateRepeatingEffect1 calls android.os.VibrationEffect.createRepeatingEffect.
func (*VibrationEffect) CreateRepeatingEffect2_1 ¶
func (m *VibrationEffect) CreateRepeatingEffect2_1(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)
CreateRepeatingEffect2_1 calls android.os.VibrationEffect.createRepeatingEffect.
func (*VibrationEffect) CreateWaveform2 ¶
CreateWaveform2 calls android.os.VibrationEffect.createWaveform.
func (*VibrationEffect) CreateWaveform3_1 ¶
func (m *VibrationEffect) CreateWaveform3_1( arg0 *jni.Object, arg1 *jni.Object, arg2 int32, ) (*jni.Object, error)
CreateWaveform3_1 calls android.os.VibrationEffect.createWaveform.
func (*VibrationEffect) DescribeContents ¶
func (m *VibrationEffect) DescribeContents() (int32, error)
DescribeContents calls android.os.VibrationEffect.describeContents.
func (*VibrationEffect) StartComposition ¶
func (m *VibrationEffect) StartComposition() (*jni.Object, error)
StartComposition calls android.os.VibrationEffect.startComposition.
type VibrationEffectBasicEnvelopeBuilder ¶
VibrationEffectBasicEnvelopeBuilder wraps android.os.VibrationEffect$BasicEnvelopeBuilder.
func (*VibrationEffectBasicEnvelopeBuilder) AddControlPoint ¶
func (m *VibrationEffectBasicEnvelopeBuilder) AddControlPoint( arg0 float32, arg1 float32, arg2 int64, ) (*jni.Object, error)
AddControlPoint calls android.os.VibrationEffect$BasicEnvelopeBuilder.addControlPoint.
func (*VibrationEffectBasicEnvelopeBuilder) Build ¶
func (m *VibrationEffectBasicEnvelopeBuilder) Build() (*jni.Object, error)
Build calls android.os.VibrationEffect$BasicEnvelopeBuilder.build.
func (*VibrationEffectBasicEnvelopeBuilder) SetInitialSharpness ¶
func (m *VibrationEffectBasicEnvelopeBuilder) SetInitialSharpness(arg0 float32) (*jni.Object, error)
SetInitialSharpness calls android.os.VibrationEffect$BasicEnvelopeBuilder.setInitialSharpness.
type VibrationEffectComposition ¶
VibrationEffectComposition wraps android.os.VibrationEffect$Composition.
func (*VibrationEffectComposition) AddPrimitive1 ¶
func (m *VibrationEffectComposition) AddPrimitive1(arg0 int32) (*jni.Object, error)
AddPrimitive1 calls android.os.VibrationEffect$Composition.addPrimitive.
func (*VibrationEffectComposition) AddPrimitive2_1 ¶
AddPrimitive2_1 calls android.os.VibrationEffect$Composition.addPrimitive.
func (*VibrationEffectComposition) AddPrimitive3_2 ¶
func (m *VibrationEffectComposition) AddPrimitive3_2( arg0 int32, arg1 float32, arg2 int32, ) (*jni.Object, error)
AddPrimitive3_2 calls android.os.VibrationEffect$Composition.addPrimitive.
func (*VibrationEffectComposition) AddPrimitive4_3 ¶
func (m *VibrationEffectComposition) AddPrimitive4_3( arg0 int32, arg1 float32, arg2 int32, arg3 int32, ) (*jni.Object, error)
AddPrimitive4_3 calls android.os.VibrationEffect$Composition.addPrimitive.
type VibrationEffectWaveformEnvelopeBuilder ¶
VibrationEffectWaveformEnvelopeBuilder wraps android.os.VibrationEffect$WaveformEnvelopeBuilder.
func (*VibrationEffectWaveformEnvelopeBuilder) AddControlPoint ¶
func (m *VibrationEffectWaveformEnvelopeBuilder) AddControlPoint( arg0 float32, arg1 float32, arg2 int64, ) (*jni.Object, error)
AddControlPoint calls android.os.VibrationEffect$WaveformEnvelopeBuilder.addControlPoint.
func (*VibrationEffectWaveformEnvelopeBuilder) Build ¶
func (m *VibrationEffectWaveformEnvelopeBuilder) Build() (*jni.Object, error)
Build calls android.os.VibrationEffect$WaveformEnvelopeBuilder.build.
func (*VibrationEffectWaveformEnvelopeBuilder) SetInitialFrequencyHz ¶
func (m *VibrationEffectWaveformEnvelopeBuilder) SetInitialFrequencyHz(arg0 float32) (*jni.Object, error)
SetInitialFrequencyHz calls android.os.VibrationEffect$WaveformEnvelopeBuilder.setInitialFrequencyHz.
type VibratorManager ¶
VibratorManager wraps android.os.VibratorManager.
func NewVibratorManager ¶
func NewVibratorManager(ctx *app.Context) (*VibratorManager, error)
NewVibratorManager obtains android.os.VibratorManager from the Android system service manager.
func (*VibratorManager) Cancel ¶
func (m *VibratorManager) Cancel() error
Cancel calls android.os.VibratorManager.cancel.
func (*VibratorManager) Close ¶
func (m *VibratorManager) Close()
Close releases the global reference to the underlying Java object. After Close, the VibratorManager must not be used.
func (*VibratorManager) GetDefaultVibrator ¶
func (m *VibratorManager) GetDefaultVibrator() (*jni.Object, error)
GetDefaultVibrator calls android.os.VibratorManager.getDefaultVibrator.
func (*VibratorManager) GetVibrator ¶
func (m *VibratorManager) GetVibrator(arg0 int32) (*jni.Object, error)
GetVibrator calls android.os.VibratorManager.getVibrator.
func (*VibratorManager) GetVibratorIds ¶
func (m *VibratorManager) GetVibratorIds() (*jni.Object, error)
GetVibratorIds calls android.os.VibratorManager.getVibratorIds.
func (*VibratorManager) Vibrate1 ¶
func (m *VibratorManager) Vibrate1(arg0 *jni.Object) error
Vibrate1 calls android.os.VibratorManager.vibrate.
func (*VibratorManager) Vibrate2_1 ¶
Vibrate2_1 calls android.os.VibratorManager.vibrate.
type WorkDuration ¶
WorkDuration wraps android.os.WorkDuration.
func NewWorkDuration ¶
func NewWorkDuration(vm *jni.VM) (*WorkDuration, error)
NewWorkDuration creates a new android.os.WorkDuration instance.
func (*WorkDuration) Equals ¶
func (m *WorkDuration) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.os.WorkDuration.equals.
func (*WorkDuration) GetActualCpuDurationNanos ¶
func (m *WorkDuration) GetActualCpuDurationNanos() (int64, error)
GetActualCpuDurationNanos calls android.os.WorkDuration.getActualCpuDurationNanos.
func (*WorkDuration) GetActualGpuDurationNanos ¶
func (m *WorkDuration) GetActualGpuDurationNanos() (int64, error)
GetActualGpuDurationNanos calls android.os.WorkDuration.getActualGpuDurationNanos.
func (*WorkDuration) GetActualTotalDurationNanos ¶
func (m *WorkDuration) GetActualTotalDurationNanos() (int64, error)
GetActualTotalDurationNanos calls android.os.WorkDuration.getActualTotalDurationNanos.
func (*WorkDuration) GetWorkPeriodStartTimestampNanos ¶
func (m *WorkDuration) GetWorkPeriodStartTimestampNanos() (int64, error)
GetWorkPeriodStartTimestampNanos calls android.os.WorkDuration.getWorkPeriodStartTimestampNanos.
func (*WorkDuration) HashCode ¶
func (m *WorkDuration) HashCode() (int32, error)
HashCode calls android.os.WorkDuration.hashCode.
func (*WorkDuration) SetActualCpuDurationNanos ¶
func (m *WorkDuration) SetActualCpuDurationNanos(arg0 int64) error
SetActualCpuDurationNanos calls android.os.WorkDuration.setActualCpuDurationNanos.
func (*WorkDuration) SetActualGpuDurationNanos ¶
func (m *WorkDuration) SetActualGpuDurationNanos(arg0 int64) error
SetActualGpuDurationNanos calls android.os.WorkDuration.setActualGpuDurationNanos.
func (*WorkDuration) SetActualTotalDurationNanos ¶
func (m *WorkDuration) SetActualTotalDurationNanos(arg0 int64) error
SetActualTotalDurationNanos calls android.os.WorkDuration.setActualTotalDurationNanos.
func (*WorkDuration) SetWorkPeriodStartTimestampNanos ¶
func (m *WorkDuration) SetWorkPeriodStartTimestampNanos(arg0 int64) error
SetWorkPeriodStartTimestampNanos calls android.os.WorkDuration.setWorkPeriodStartTimestampNanos.
type WorkSource ¶
WorkSource wraps android.os.WorkSource.
func NewWorkSource ¶
func NewWorkSource(vm *jni.VM) (*WorkSource, error)
NewWorkSource creates a new android.os.WorkSource instance.
func (*WorkSource) Add ¶
func (m *WorkSource) Add(arg0 *jni.Object) (bool, error)
Add calls android.os.WorkSource.add.
func (*WorkSource) Clear ¶
func (m *WorkSource) Clear() error
Clear calls android.os.WorkSource.clear.
func (*WorkSource) DescribeContents ¶
func (m *WorkSource) DescribeContents() (int32, error)
DescribeContents calls android.os.WorkSource.describeContents.
func (*WorkSource) Diff ¶
func (m *WorkSource) Diff(arg0 *jni.Object) (bool, error)
Diff calls android.os.WorkSource.diff.
func (*WorkSource) Equals ¶
func (m *WorkSource) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.os.WorkSource.equals.
func (*WorkSource) HashCode ¶
func (m *WorkSource) HashCode() (int32, error)
HashCode calls android.os.WorkSource.hashCode.
func (*WorkSource) Remove ¶
func (m *WorkSource) Remove(arg0 *jni.Object) (bool, error)
Remove calls android.os.WorkSource.remove.
func (*WorkSource) Set ¶
func (m *WorkSource) Set(arg0 *jni.Object) error
Set calls android.os.WorkSource.set.
func (*WorkSource) ToString ¶
func (m *WorkSource) ToString() (string, error)
ToString calls android.os.WorkSource.toString.
func (*WorkSource) WriteToParcel ¶
func (m *WorkSource) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.os.WorkSource.writeToParcel.
Source Files
¶
- async_task.go
- async_task_status.go
- bad_parcelable_exception.go
- base_bundle.go
- binder.go
- bugreport_manager.go
- bugreport_manager_bugreport_callback.go
- combined_vibration.go
- combined_vibration_parallel_combination.go
- condition_variable.go
- constants.go
- count_down_timer.go
- cpu_headroom_params.go
- cpu_headroom_params_builder.go
- cpu_usage_info.go
- dead_object_exception.go
- dead_system_exception.go
- debug.go
- debug_instruction_count.go
- debug_memory_info.go
- doc.go
- drop_box_manager.go
- drop_box_manager_entry.go
- file_observer.go
- file_uri_exposed_exception.go
- file_utils.go
- file_utils_progress_listener.go
- gpu_headroom_params.go
- gpu_headroom_params_builder.go
- handler.go
- handler_callback.go
- handler_thread.go
- hardware_properties_manager.go
- i_binder.go
- i_binder_death_recipient.go
- i_binder_frozen_state_change_callback.go
- i_interface.go
- init.go
- limit_exceeded_exception.go
- locale_list.go
- looper.go
- memory_file.go
- message.go
- message_queue.go
- message_queue_idle_handler.go
- message_queue_on_file_descriptor_event_listener.go
- messenger.go
- network_on_main_thread_exception.go
- new_handler_thread.go
- operation_canceled_exception.go
- parcel.go
- parcel_format_exception.go
- parcel_uuid.go
- parcelable.go
- pattern_matcher.go
- performance_hint_manager.go
- performance_hint_manager_session.go
- persistable_bundle.go
- power_monitor.go
- power_monitor_readings.go
- process.go
- profiling_manager.go
- profiling_result.go
- profiling_trigger.go
- profiling_trigger_builder.go
- proxy_file_descriptor_callback.go
- recovery_system.go
- recovery_system_progress_listener.go
- remote_callback_list.go
- remote_callback_list_builder.go
- remote_exception.go
- result_receiver.go
- security_state_manager.go
- shared_memory.go
- stat_fs.go
- strict_mode.go
- strict_mode_on_thread_violation_listener.go
- strict_mode_on_vm_violation_listener.go
- strict_mode_thread_policy.go
- strict_mode_vm_policy.go
- system_clock.go
- test_looper_manager.go
- token_watcher.go
- trace.go
- transaction_too_large_exception.go
- user_handle.go
- user_manager.go
- user_manager_user_operation_exception.go
- vibration_attributes.go
- vibration_attributes_builder.go
- vibration_effect.go
- vibration_effect_basic_envelope_builder.go
- vibration_effect_composition.go
- vibration_effect_waveform_envelope_builder.go
- vibrator_manager.go
- work_duration.go
- work_source.go
Directories
¶
| Path | Synopsis |
|---|---|
|
Package battery provides Go bindings for android.os.
|
Package battery provides Go bindings for android.os. |
|
Package build provides Go bindings for android.os.
|
Package build provides Go bindings for android.os. |
|
Package environment provides Go bindings for android.os.
|
Package environment provides Go bindings for android.os. |
|
Package ext provides Go bindings for android.os.ext.
|
Package ext provides Go bindings for android.os.ext. |
|
Package flagging provides Go bindings for android.os.flagging.
|
Package flagging provides Go bindings for android.os.flagging. |
|
Package health provides Go bindings for android.os.health.
|
Package health provides Go bindings for android.os.health. |
|
Package keyguard provides Go bindings for android.app.
|
Package keyguard provides Go bindings for android.app. |
|
Package power provides Go bindings for android.os.
|
Package power provides Go bindings for android.os. |
|
Package storage provides Go bindings for android.os.storage.
|
Package storage provides Go bindings for android.os.storage. |
|
Package strictmode provides Go bindings for android.os.strictmode.
|
Package strictmode provides Go bindings for android.os.strictmode. |
|
Package vibrator provides Go bindings for android.os.
|
Package vibrator provides Go bindings for android.os. |