Skip to content

Commit

Permalink
Add 4.11 javadoc based on 4.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
utzcoz committed Nov 10, 2023
1 parent 7795ccf commit 5897ec5
Show file tree
Hide file tree
Showing 1,623 changed files with 469,417 additions and 623 deletions.
2 changes: 1 addition & 1 deletion assets/json-docs/android.app.ActivityManager.json
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@
"returnType": "void",
"exceptions": [],
"name": "setAppTasks(java.util.List\u003candroid.app.ActivityManager.AppTask\u003e)",
"documentation": "Sets the values to be returned by {@link #getAppTasks()}.\n\n@see #getAppTasks()\n@param tasks List of app tasks.\n"
"documentation": "Sets the values to be returned by {@link #getAppTasks()}.\n\n@see #getAppTasks()\n@param appTasks List of app tasks.\n"
},
"setBackgroundRestricted(boolean)": {
"isImplementation": false,
Expand Down
15 changes: 15 additions & 0 deletions assets/json-docs/android.app.Instrumentation.json
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,20 @@
"exceptions": [],
"name": "registerReceiverWithContext(android.content.BroadcastReceiver,android.content.IntentFilter,java.lang.String,android.os.Handler,int,android.content.Context)"
},
"runOnMainSyncNoIdle(java.lang.Runnable)": {
"isImplementation": false,
"modifiers": [
"public",
"static"
],
"params": [
"runnable"
],
"returnType": "void",
"exceptions": [],
"name": "runOnMainSyncNoIdle(java.lang.Runnable)",
"documentation": "Executes a runnable depending on the LooperMode.\n\n\u003cp\u003eFor INSTRUMENTATION_TEST mode, will post the runnable to the instrumentation thread and\nblock the caller\u0027s thread until that runnable is executed.\n\n\u003cp\u003eFor other modes, simply executes the runnable.\n\n@param runnable a runnable to be executed\n"
},
"sendBroadcast(android.content.Intent,android.content.Context)": {
"isImplementation": false,
"modifiers": [],
Expand Down Expand Up @@ -1031,6 +1045,7 @@
"org.robolectric.RuntimeEnvironment",
"org.robolectric.annotation.Implementation",
"org.robolectric.annotation.Implements",
"org.robolectric.annotation.LooperMode",
"org.robolectric.annotation.RealObject",
"org.robolectric.shadow.api.Shadow",
"org.robolectric.shadows.ShadowActivity.IntentForResult",
Expand Down
10 changes: 10 additions & 0 deletions assets/json-docs/android.app.PendingIntent.json
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
"name": "isServiceIntent()",
"documentation": "@return {@code true} iff sending this PendingIntent will start a service\n@deprecated prefer {@link #isService} which was added to {@link PendingIntent} in API 31\n (Android S).\n"
},
"isTargetedToPackage()": {
"isImplementation": true,
"modifiers": [
"protected"
],
"params": [],
"returnType": "boolean",
"exceptions": [],
"name": "isTargetedToPackage()"
},
"readPendingIntentOrNullFromParcel(android.os.Parcel)": {
"isImplementation": true,
"modifiers": [
Expand Down
9 changes: 6 additions & 3 deletions assets/json-docs/android.app.UiAutomation.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@
],
"params": [],
"returnType": "android.graphics.Bitmap",
"exceptions": [],
"exceptions": [
"java.lang.Exception"
],
"name": "takeScreenshot()"
},
"throwIfNotConnectedLocked()": {
Expand All @@ -192,6 +194,7 @@
"android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL",
"android.view.WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH",
"com.google.common.base.Preconditions.checkState",
"com.google.common.collect.Sets.newConcurrentHashSet",
"java.util.Comparator.comparingInt",
"java.util.stream.Collectors.toList",
"java.util.stream.Collectors.toSet",
Expand All @@ -207,7 +210,6 @@
"android.graphics.Point",
"android.os.Build",
"android.os.IBinder",
"android.os.Looper",
"android.provider.Settings",
"android.view.Display",
"android.view.InputEvent",
Expand All @@ -222,11 +224,12 @@
"androidx.test.runner.lifecycle.ActivityLifecycleMonitorRegistry",
"androidx.test.runner.lifecycle.Stage",
"com.google.common.collect.ImmutableList",
"com.google.common.collect.ImmutableSet",
"java.util.ArrayList",
"java.util.Arrays",
"java.util.List",
"java.util.Set",
"java.util.concurrent.FutureTask",
"java.util.concurrent.atomic.AtomicBoolean",
"java.util.function.Predicate",
"org.robolectric.RuntimeEnvironment",
"org.robolectric.annotation.Implementation",
Expand Down
68 changes: 68 additions & 0 deletions assets/json-docs/android.app.admin.DevicePolicyManager.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,18 @@
"exceptions": [],
"name": "enforceActiveAdmin(android.content.ComponentName)"
},
"enforceCallerDelegated(java.lang.String)": {
"isImplementation": false,
"modifiers": [
"private"
],
"params": [
"targetScope"
],
"returnType": "void",
"exceptions": [],
"name": "enforceCallerDelegated(java.lang.String)"
},
"enforceDeviceOwnerOrProfileOwner(android.content.ComponentName)": {
"isImplementation": false,
"modifiers": [
Expand Down Expand Up @@ -368,6 +380,18 @@
"minSdk": 33,
"name": "getDevicePolicyManagementRoleHolderPackage()"
},
"getDevicePolicyState()": {
"isImplementation": true,
"modifiers": [
"protected"
],
"params": [],
"returnType": "java.lang.Object",
"exceptions": [],
"minSdk": 34,
"name": "getDevicePolicyState()",
"documentation": "Return a stub value set by {@link #setDevicePolicyState(DevicePolicyState policyState)} "
},
"getKeyguardDisabledFeatures(android.content.ComponentName)": {
"isImplementation": true,
"modifiers": [
Expand Down Expand Up @@ -882,6 +906,19 @@
"exceptions": [],
"name": "hasGrantedPolicy(android.content.ComponentName,int)"
},
"hasPackage(java.lang.String,java.lang.String)": {
"isImplementation": false,
"modifiers": [
"private"
],
"params": [
"caller",
"packageName"
],
"returnType": "boolean",
"exceptions": [],
"name": "hasPackage(java.lang.String,java.lang.String)"
},
"init(android.content.Context)": {
"isImplementation": false,
"modifiers": [
Expand Down Expand Up @@ -1337,6 +1374,21 @@
"exceptions": [],
"name": "setCameraDisabled(android.content.ComponentName,boolean)"
},
"setDelegatedScopes(android.content.ComponentName,java.lang.String,java.util.List\u003cjava.lang.String\u003e)": {
"isImplementation": true,
"modifiers": [
"protected"
],
"params": [
"admin",
"delegatePackage",
"scopes"
],
"returnType": "void",
"exceptions": [],
"minSdk": 26,
"name": "setDelegatedScopes(android.content.ComponentName,java.lang.String,java.util.List\u003cjava.lang.String\u003e)"
},
"setDeviceOwner(android.content.ComponentName)": {
"isImplementation": true,
"modifiers": [
Expand Down Expand Up @@ -1365,6 +1417,19 @@
"name": "setDevicePolicyManagementRoleHolderPackage(java.lang.String)",
"documentation": "Sets the package name of the device policy management role holder.\n\n@see #getDevicePolicyManagementRoleHolderPackage()\n"
},
"setDevicePolicyState(java.lang.Object)": {
"isImplementation": false,
"modifiers": [
"public"
],
"params": [
"policyState"
],
"returnType": "void",
"exceptions": [],
"name": "setDevicePolicyState(java.lang.Object)",
"documentation": "Set the {@link DevicePolicyState} which can be constructed from {@link\nDevicePolicyStateBuilder}\n"
},
"setDeviceProvisioned(boolean)": {
"isImplementation": false,
"modifiers": [
Expand Down Expand Up @@ -2060,6 +2125,7 @@
"android.app.admin.DevicePolicyManager.NearbyStreamingPolicy",
"android.app.admin.DevicePolicyManager.PasswordComplexity",
"android.app.admin.DevicePolicyManager.UserProvisioningState",
"android.app.admin.DevicePolicyState",
"android.app.admin.IDevicePolicyManager",
"android.app.admin.SystemUpdatePolicy",
"android.content.ComponentName",
Expand All @@ -2080,6 +2146,7 @@
"android.text.TextUtils",
"com.android.internal.util.Preconditions",
"com.google.common.collect.ImmutableList",
"com.google.common.collect.ImmutableSet",
"java.util.ArrayList",
"java.util.Arrays",
"java.util.Collection",
Expand All @@ -2095,6 +2162,7 @@
"org.robolectric.annotation.Implements",
"org.robolectric.annotation.RealObject",
"org.robolectric.shadow.api.Shadow",
"org.robolectric.versioning.AndroidVersions.U",
"org.robolectric.shadows.ShadowDevicePolicyManager.PackageAndPermission"
],
"name": "org.robolectric.shadows.ShadowDevicePolicyManager"
Expand Down
85 changes: 85 additions & 0 deletions assets/json-docs/android.app.backup.BackupDataInput.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"methods": {
"ctor(java.io.FileDescriptor)": {
"isImplementation": true,
"modifiers": [
"protected",
"static"
],
"params": [
"fd"
],
"returnType": "long",
"exceptions": [],
"name": "ctor(java.io.FileDescriptor)"
},
"readEntityData_native(long,byte[],int,int)": {
"isImplementation": true,
"modifiers": [
"protected"
],
"params": [
"backupReader",
"data",
"offset",
"size"
],
"returnType": "int",
"exceptions": [],
"name": "readEntityData_native(long,byte[],int,int)"
},
"readNextHeader_native(java.lang.Object,java.lang.Object)": {
"isImplementation": true,
"modifiers": [
"protected"
],
"params": [
"backupReader",
"entity"
],
"returnType": "int",
"exceptions": [],
"name": "readNextHeader_native(java.lang.Object,java.lang.Object)"
},
"setEntities(com.google.common.collect.ImmutableList\u003corg.robolectric.shadows.BackupDataEntity\u003e)": {
"isImplementation": false,
"modifiers": [],
"params": [
"entities"
],
"returnType": "void",
"exceptions": [],
"name": "setEntities(com.google.common.collect.ImmutableList\u003corg.robolectric.shadows.BackupDataEntity\u003e)",
"documentation": "Sets the entities to return when reading from this {@link BackupDataInput}. Use {@link\norg.robolectric.shadows.BackupDataInputBuilder} to get a populated instance.\n"
},
"skipEntityData_native(long)": {
"isImplementation": true,
"modifiers": [
"protected"
],
"params": [
"backupReader"
],
"returnType": "int",
"exceptions": [],
"name": "skipEntityData_native(long)"
}
},
"imports": [
"java.lang.Math.min",
"org.robolectric.util.reflector.Reflector.reflector",
"android.app.backup.BackupDataInput",
"android.os.Build.VERSION_CODES",
"com.google.common.collect.ImmutableList",
"java.io.FileDescriptor",
"java.util.ArrayList",
"java.util.List",
"org.robolectric.annotation.Implementation",
"org.robolectric.annotation.Implements",
"org.robolectric.util.reflector.Accessor",
"org.robolectric.util.reflector.ForType",
"org.robolectric.shadows.ShadowBackupDataInput.EntityHeaderReflector"
],
"name": "org.robolectric.shadows.ShadowBackupDataInput",
"documentation": "Shadow for BackupDataInput. "
}
Loading

0 comments on commit 5897ec5

Please sign in to comment.