PageRenderTime 66ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/android/generated/android/content/ContentService.cs

https://bitbucket.org/festevezga/xobotos
C# | 356 lines | 296 code | 60 blank | 0 comment | 0 complexity | 959c817e2c900248cc877447c2ab55a8 MD5 | raw file
  1. using Sharpen;
  2. namespace android.content
  3. {
  4. [Sharpen.Stub]
  5. public sealed class ContentService : android.content.IContentServiceClass.Stub
  6. {
  7. internal const string TAG = "ContentService";
  8. private android.content.Context mContext;
  9. private bool mFactoryTest;
  10. private readonly android.content.ContentService.ObserverNode mRootNode = new android.content.ContentService
  11. .ObserverNode(string.Empty);
  12. private android.content.SyncManager mSyncManager = null;
  13. private readonly object mSyncManagerLock = new object();
  14. [Sharpen.Stub]
  15. private android.content.SyncManager getSyncManager()
  16. {
  17. throw new System.NotImplementedException();
  18. }
  19. [Sharpen.Stub]
  20. [Sharpen.OverridesMethod(@"android.os.Binder")]
  21. protected internal override void dump(java.io.FileDescriptor fd, java.io.PrintWriter
  22. pw, string[] args)
  23. {
  24. throw new System.NotImplementedException();
  25. }
  26. [Sharpen.Stub]
  27. [Sharpen.OverridesMethod(@"android.os.Binder")]
  28. protected internal override bool onTransact(int code, android.os.Parcel data, android.os.Parcel
  29. reply, int flags)
  30. {
  31. throw new System.NotImplementedException();
  32. }
  33. [Sharpen.Stub]
  34. internal ContentService(android.content.Context context, bool factoryTest)
  35. {
  36. throw new System.NotImplementedException();
  37. }
  38. [Sharpen.Stub]
  39. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  40. public override void registerContentObserver(System.Uri uri, bool notifyForDescendents
  41. , android.database.IContentObserver observer)
  42. {
  43. throw new System.NotImplementedException();
  44. }
  45. [Sharpen.Stub]
  46. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  47. public override void unregisterContentObserver(android.database.IContentObserver
  48. observer)
  49. {
  50. throw new System.NotImplementedException();
  51. }
  52. [Sharpen.Stub]
  53. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  54. public override void notifyChange(System.Uri uri, android.database.IContentObserver
  55. observer, bool observerWantsSelfNotifications, bool syncToNetwork)
  56. {
  57. throw new System.NotImplementedException();
  58. }
  59. [Sharpen.Stub]
  60. public sealed class ObserverCall
  61. {
  62. internal readonly android.content.ContentService.ObserverNode mNode;
  63. internal readonly android.database.IContentObserver mObserver;
  64. internal readonly bool mSelfNotify;
  65. [Sharpen.Stub]
  66. internal ObserverCall(android.content.ContentService.ObserverNode node, android.database.IContentObserver
  67. observer, bool selfNotify)
  68. {
  69. throw new System.NotImplementedException();
  70. }
  71. }
  72. [Sharpen.Stub]
  73. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  74. public override void requestSync(android.accounts.Account account, string authority
  75. , android.os.Bundle extras)
  76. {
  77. throw new System.NotImplementedException();
  78. }
  79. [Sharpen.Stub]
  80. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  81. public override void cancelSync(android.accounts.Account account, string authority
  82. )
  83. {
  84. throw new System.NotImplementedException();
  85. }
  86. [Sharpen.Stub]
  87. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  88. public override android.content.SyncAdapterType[] getSyncAdapterTypes()
  89. {
  90. throw new System.NotImplementedException();
  91. }
  92. [Sharpen.Stub]
  93. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  94. public override bool getSyncAutomatically(android.accounts.Account account, string
  95. providerName)
  96. {
  97. throw new System.NotImplementedException();
  98. }
  99. [Sharpen.Stub]
  100. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  101. public override void setSyncAutomatically(android.accounts.Account account, string
  102. providerName, bool sync)
  103. {
  104. throw new System.NotImplementedException();
  105. }
  106. [Sharpen.Stub]
  107. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  108. public override void addPeriodicSync(android.accounts.Account account, string authority
  109. , android.os.Bundle extras, long pollFrequency)
  110. {
  111. throw new System.NotImplementedException();
  112. }
  113. [Sharpen.Stub]
  114. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  115. public override void removePeriodicSync(android.accounts.Account account, string
  116. authority, android.os.Bundle extras)
  117. {
  118. throw new System.NotImplementedException();
  119. }
  120. [Sharpen.Stub]
  121. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  122. public override java.util.List<android.content.PeriodicSync> getPeriodicSyncs(android.accounts.Account
  123. account, string providerName)
  124. {
  125. throw new System.NotImplementedException();
  126. }
  127. [Sharpen.Stub]
  128. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  129. public override int getIsSyncable(android.accounts.Account account, string providerName
  130. )
  131. {
  132. throw new System.NotImplementedException();
  133. }
  134. [Sharpen.Stub]
  135. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  136. public override void setIsSyncable(android.accounts.Account account, string providerName
  137. , int syncable)
  138. {
  139. throw new System.NotImplementedException();
  140. }
  141. [Sharpen.Stub]
  142. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  143. public override bool getMasterSyncAutomatically()
  144. {
  145. throw new System.NotImplementedException();
  146. }
  147. [Sharpen.Stub]
  148. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  149. public override void setMasterSyncAutomatically(bool flag)
  150. {
  151. throw new System.NotImplementedException();
  152. }
  153. [Sharpen.Stub]
  154. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  155. public override bool isSyncActive(android.accounts.Account account, string authority
  156. )
  157. {
  158. throw new System.NotImplementedException();
  159. }
  160. [Sharpen.Stub]
  161. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  162. public override java.util.List<android.content.SyncInfo> getCurrentSyncs()
  163. {
  164. throw new System.NotImplementedException();
  165. }
  166. [Sharpen.Stub]
  167. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  168. public override android.content.SyncStatusInfo getSyncStatus(android.accounts.Account
  169. account, string authority)
  170. {
  171. throw new System.NotImplementedException();
  172. }
  173. [Sharpen.Stub]
  174. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  175. public override bool isSyncPending(android.accounts.Account account, string authority
  176. )
  177. {
  178. throw new System.NotImplementedException();
  179. }
  180. [Sharpen.Stub]
  181. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  182. public override void addStatusChangeListener(int mask, android.content.ISyncStatusObserver
  183. callback)
  184. {
  185. throw new System.NotImplementedException();
  186. }
  187. [Sharpen.Stub]
  188. [Sharpen.ImplementsInterface(@"android.content.IContentService")]
  189. public override void removeStatusChangeListener(android.content.ISyncStatusObserver
  190. callback)
  191. {
  192. throw new System.NotImplementedException();
  193. }
  194. [Sharpen.Stub]
  195. public static android.content.IContentService Main(android.content.Context context
  196. , bool factoryTest)
  197. {
  198. throw new System.NotImplementedException();
  199. }
  200. [Sharpen.Stub]
  201. public sealed class ObserverNode
  202. {
  203. [Sharpen.Stub]
  204. private class ObserverEntry : android.os.IBinderClass.DeathRecipient
  205. {
  206. public readonly android.database.IContentObserver observer;
  207. public readonly int uid;
  208. public readonly int pid;
  209. public readonly bool notifyForDescendents;
  210. internal readonly object observersLock;
  211. [Sharpen.Stub]
  212. public ObserverEntry(ObserverNode _enclosing, android.database.IContentObserver o
  213. , bool n, object observersLock, int _uid, int _pid)
  214. {
  215. throw new System.NotImplementedException();
  216. }
  217. [Sharpen.Stub]
  218. [Sharpen.ImplementsInterface(@"android.os.IBinder.DeathRecipient")]
  219. public virtual void binderDied()
  220. {
  221. throw new System.NotImplementedException();
  222. }
  223. [Sharpen.Stub]
  224. public virtual void dumpLocked(java.io.FileDescriptor fd, java.io.PrintWriter pw,
  225. string[] args, string name, string prefix, android.util.SparseIntArray pidCounts
  226. )
  227. {
  228. throw new System.NotImplementedException();
  229. }
  230. private readonly ObserverNode _enclosing;
  231. }
  232. public const int INSERT_TYPE = 0;
  233. public const int UPDATE_TYPE = 1;
  234. public const int DELETE_TYPE = 2;
  235. private string mName;
  236. private java.util.ArrayList<android.content.ContentService.ObserverNode> mChildren
  237. = new java.util.ArrayList<android.content.ContentService.ObserverNode>();
  238. private java.util.ArrayList<android.content.ContentService.ObserverNode.ObserverEntry
  239. > mObservers = new java.util.ArrayList<android.content.ContentService.ObserverNode
  240. .ObserverEntry>();
  241. [Sharpen.Stub]
  242. public ObserverNode(string name)
  243. {
  244. throw new System.NotImplementedException();
  245. }
  246. [Sharpen.Stub]
  247. public void dumpLocked(java.io.FileDescriptor fd, java.io.PrintWriter pw, string[]
  248. args, string name, string prefix, int[] counts, android.util.SparseIntArray pidCounts
  249. )
  250. {
  251. throw new System.NotImplementedException();
  252. }
  253. [Sharpen.Stub]
  254. private string getUriSegment(System.Uri uri, int index)
  255. {
  256. throw new System.NotImplementedException();
  257. }
  258. [Sharpen.Stub]
  259. private int countUriSegments(System.Uri uri)
  260. {
  261. throw new System.NotImplementedException();
  262. }
  263. [Sharpen.Stub]
  264. public void addObserverLocked(System.Uri uri, android.database.IContentObserver observer
  265. , bool notifyForDescendents, object observersLock, int uid, int pid)
  266. {
  267. throw new System.NotImplementedException();
  268. }
  269. [Sharpen.Stub]
  270. private void addObserverLocked(System.Uri uri, int index, android.database.IContentObserver
  271. observer, bool notifyForDescendents, object observersLock, int uid, int pid)
  272. {
  273. throw new System.NotImplementedException();
  274. }
  275. [Sharpen.Stub]
  276. public bool removeObserverLocked(android.database.IContentObserver observer)
  277. {
  278. throw new System.NotImplementedException();
  279. }
  280. [Sharpen.Stub]
  281. private void collectMyObserversLocked(bool leaf, android.database.IContentObserver
  282. observer, bool selfNotify, java.util.ArrayList<android.content.ContentService.ObserverCall
  283. > calls)
  284. {
  285. throw new System.NotImplementedException();
  286. }
  287. [Sharpen.Stub]
  288. public void collectObserversLocked(System.Uri uri, int index, android.database.IContentObserver
  289. observer, bool selfNotify, java.util.ArrayList<android.content.ContentService.ObserverCall
  290. > calls)
  291. {
  292. throw new System.NotImplementedException();
  293. }
  294. }
  295. }
  296. }