docstring_tokens
list | code_tokens
list |
---|---|
[
"<",
"p",
">",
"amazon",
"route",
"53",
"uses",
"the",
"one",
"-",
"to",
"three",
"-",
"letter",
"subdivision",
"codes",
"that",
"are",
"specified",
"in",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"en",
"wikipedia",
"org",
"/",
"wiki",
"/",
"iso",
"3166",
"-",
"1",
"alpha",
"-",
"2",
">",
"iso",
"standard",
"3166",
"-",
"1",
"alpha",
"-",
"2",
"<",
"/",
"a",
">",
"amazon",
"route",
"53",
"doesn",
"t",
"support",
"subdivision",
"codes",
"for",
"all",
"countries",
"if",
"you",
"specify",
"<",
"code",
">",
"subdivision",
"code",
"<",
"/",
"code",
">",
"you",
"must",
"also",
"specify",
"<",
"code",
">",
"country",
"code",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
]
| [
"this",
"subdivision",
"code",
"=",
"subdivision",
"code",
";"
]
|
[
"<",
"p",
">",
"amazon",
"route",
"53",
"uses",
"the",
"one",
"-",
"to",
"three",
"-",
"letter",
"subdivision",
"codes",
"that",
"are",
"specified",
"in",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"en",
"wikipedia",
"org",
"/",
"wiki",
"/",
"iso",
"3166",
"-",
"1",
"alpha",
"-",
"2",
">",
"iso",
"standard",
"3166",
"-",
"1",
"alpha",
"-",
"2",
"<",
"/",
"a",
">",
"amazon",
"route",
"53",
"doesn",
"t",
"support",
"subdivision",
"codes",
"for",
"all",
"countries",
"if",
"you",
"specify",
"<",
"code",
">",
"subdivision",
"code",
"<",
"/",
"code",
">",
"you",
"must",
"also",
"specify",
"<",
"code",
">",
"country",
"code",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"subdivision",
"code",
";"
]
|
[
"<",
"p",
">",
"the",
"code",
"for",
"the",
"subdivision",
"for",
"example",
"a",
"state",
"in",
"the",
"united",
"states",
"or",
"a",
"province",
"in",
"canada",
"<",
"/",
"p",
">"
]
| [
"set",
"subdivision",
"code",
"(",
"subdivision",
"code",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"full",
"name",
"of",
"the",
"subdivision",
"for",
"example",
"a",
"state",
"in",
"the",
"united",
"states",
"or",
"a",
"province",
"in",
"canada",
"<",
"/",
"p",
">"
]
| [
"this",
"subdivision",
"name",
"=",
"subdivision",
"name",
";"
]
|
[
"<",
"p",
">",
"the",
"full",
"name",
"of",
"the",
"subdivision",
"for",
"example",
"a",
"state",
"in",
"the",
"united",
"states",
"or",
"a",
"province",
"in",
"canada",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"subdivision",
"name",
";"
]
|
[
"<",
"p",
">",
"the",
"full",
"name",
"of",
"the",
"subdivision",
"for",
"example",
"a",
"state",
"in",
"the",
"united",
"states",
"or",
"a",
"province",
"in",
"canada",
"<",
"/",
"p",
">"
]
| [
"set",
"subdivision",
"name",
"(",
"subdivision",
"name",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"availability",
"zone",
"where",
"the",
"resulting",
"instance",
"will",
"reside",
"<",
"/",
"p",
">"
]
| [
"set",
"availability",
"zone",
"(",
"availability",
"zone",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"number",
"of",
"bytes",
"converted",
"so",
"far",
"<",
"/",
"p",
">"
]
| [
"set",
"bytes",
"converted",
"(",
"bytes",
"converted",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"a",
"description",
"of",
"the",
"task",
"<",
"/",
"p",
">"
]
| [
"set",
"description",
"(",
"description",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"image",
"<",
"/",
"p",
">"
]
| [
"set",
"image",
"(",
"image",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"import",
"of",
"this",
"particular",
"disk",
"image",
"<",
"/",
"p",
">"
]
| [
"set",
"status",
"(",
"status",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"status",
"information",
"or",
"errors",
"related",
"to",
"the",
"disk",
"image",
"<",
"/",
"p",
">"
]
| [
"set",
"status",
"message",
"(",
"status",
"message",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"volume",
"<",
"/",
"p",
">"
]
| [
"set",
"volume",
"(",
"volume",
")",
";",
"return",
"this",
";"
]
|
[
"bottom",
"-",
"up"
]
| [
"if",
"(",
"triangle",
"=",
"=",
"null",
"|",
"|",
"triangle",
"size",
"(",
")",
"=",
"=",
"0",
")",
"{",
"return",
"0",
";",
"}",
"int",
"n",
"=",
"triangle",
"size",
"(",
")",
";",
"int",
"[",
"]",
"[",
"]",
"sum",
"=",
"new",
"int",
"[",
"n",
"]",
"[",
"n",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"n",
";",
"i",
"+",
"+",
")",
"{",
"sum",
"[",
"n",
"-",
"1",
"]",
"[",
"i",
"]",
"=",
"triangle",
"get",
"(",
"n",
"-",
"1",
")",
"get",
"(",
"i",
")",
";",
"}",
"for",
"(",
"int",
"i",
"=",
"n",
"-",
"2",
";",
"i",
">",
"=",
"0",
";",
"i",
"-",
"-",
")",
"{",
"for",
"(",
"int",
"j",
"=",
"0",
";",
"j",
"<",
"=",
"i",
";",
"j",
"+",
"+",
")",
"{",
"sum",
"[",
"i",
"]",
"[",
"j",
"]",
"=",
"math",
"min",
"(",
"sum",
"[",
"i",
"+",
"1",
"]",
"[",
"j",
"]",
",",
"sum",
"[",
"i",
"+",
"1",
"]",
"[",
"j",
"+",
"1",
"]",
")",
"+",
"triangle",
"get",
"(",
"i",
")",
"get",
"(",
"j",
")",
";",
"}",
"}",
"return",
"sum",
"[",
"0",
"]",
"[",
"0",
"]",
";"
]
|
[
"main",
"method"
]
| [
"int",
"[",
"]",
"nums",
"=",
"{",
"-",
"1",
",",
"0",
",",
"1",
",",
"2",
",",
"-",
"1",
",",
"-",
"4",
",",
"-",
"1",
",",
"0",
",",
"1",
",",
"2",
",",
"-",
"1",
",",
"-",
"4",
",",
"-",
"1",
",",
"0",
",",
"1",
",",
"2",
",",
"-",
"1",
",",
"-",
"4",
",",
"-",
"1",
",",
"0",
",",
"1",
",",
"2",
",",
"-",
"1",
",",
"-",
"4",
",",
"-",
"1",
",",
"0",
",",
"1",
",",
"2",
",",
"-",
"1",
",",
"-",
"4",
",",
"-",
"1",
",",
"0",
",",
"1",
",",
"2",
",",
"-",
"1",
",",
"-",
"4",
",",
"-",
"1",
",",
"0",
",",
"1",
",",
"2",
",",
"-",
"1",
",",
"-",
"4",
",",
"-",
"1",
",",
"0",
",",
"1",
",",
"2",
",",
"-",
"1",
",",
"-",
"4",
"}",
";",
"system",
"out",
"println",
"(",
"new",
"three",
"sum",
"(",
")",
"three",
"sum",
"(",
"nums",
")",
")",
";"
]
|
[
"read",
"the",
"value",
"of",
"a",
"collection",
"property",
"returning",
"a",
"default",
"if",
"it",
"is",
"not",
"set"
]
| [
"string",
"value",
"=",
"get",
"collection",
"properties",
"(",
"collection",
")",
"get",
"(",
"key",
")",
";",
"if",
"(",
"value",
"=",
"=",
"null",
")",
"return",
"default",
"value",
";",
"return",
"value",
";"
]
|
[
"does",
"the",
"same",
"as",
"{"
]
| [
"public",
"abstract",
"void",
"make",
"accessible",
"(",
"accessible",
"object",
"ao",
")",
";"
]
|
[
"obtains",
"a",
"{"
]
| [
"return",
"instance",
";"
]
|
[
"{"
]
| [
"out",
"write",
"boolean",
"(",
"task",
"monitoring",
"enabled",
")",
";",
"u",
"write",
"string",
"(",
"out",
",",
"evt",
"order",
"key",
")",
";",
"u",
"write",
"string",
"(",
"out",
",",
"evt",
"throttle",
"cntr",
"key",
")",
";",
"out",
"write",
"boolean",
"(",
"sys",
"caches",
")",
";",
"out",
"write",
"boolean",
"(",
"collect",
"cache",
"metrics",
")",
";",
"u",
"write",
"collection",
"(",
"out",
",",
"cache",
"grps",
")",
";"
]
|
[
"{"
]
| [
"task",
"monitoring",
"enabled",
"=",
"in",
"read",
"boolean",
"(",
")",
";",
"evt",
"order",
"key",
"=",
"u",
"read",
"string",
"(",
"in",
")",
";",
"evt",
"throttle",
"cntr",
"key",
"=",
"u",
"read",
"string",
"(",
"in",
")",
";",
"sys",
"caches",
"=",
"in",
"read",
"boolean",
"(",
")",
";",
"collect",
"cache",
"metrics",
"=",
"proto",
"ver",
"<",
"v2",
"|",
"|",
"in",
"read",
"boolean",
"(",
")",
";",
"cache",
"grps",
"=",
"proto",
"ver",
"<",
"v3",
"?",
"null",
":",
"u",
"read",
"set",
"(",
"in",
")",
";"
]
|
[
"{"
]
| [
"return",
"s",
"to",
"string",
"(",
"visor",
"node",
"data",
"collector",
"task",
"arg",
"class",
",",
"this",
")",
";"
]
|
[
"<",
"p",
">",
"the",
"role",
"alias",
"to",
"update",
"<",
"/",
"p",
">"
]
| [
"set",
"role",
"alias",
"(",
"role",
"alias",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"role",
"arn",
"<",
"/",
"p",
">"
]
| [
"set",
"role",
"arn",
"(",
"role",
"arn",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"number",
"of",
"seconds",
"the",
"credential",
"will",
"be",
"valid",
"<",
"/",
"p",
">"
]
| [
"set",
"credential",
"duration",
"seconds",
"(",
"credential",
"duration",
"seconds",
")",
";",
"return",
"this",
";"
]
|
[
"returns",
"the",
"path",
"defining",
"a",
"pattern",
"of",
"motion",
"between",
"two",
"coordinates",
"the",
"pattern",
"will",
"be",
"translated",
"rotated",
"and",
"scaled",
"to",
"fit",
"between",
"the",
"start",
"and",
"end",
"points",
"the",
"pattern",
"must",
"not",
"be",
"empty",
"and",
"must",
"have",
"the",
"end",
"point",
"differ",
"from",
"the",
"start",
"point"
]
| [
"return",
"m",
"original",
"pattern",
"path",
";"
]
|
[
"required",
"adds",
"a",
"new",
"state",
"to",
"the",
"branch",
"a",
"branch",
"must",
"have",
"at",
"least",
"one",
"state"
]
| [
"this",
"state",
"builders",
"put",
"(",
"state",
"name",
",",
"state",
"builder",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"blue",
"/",
"green",
"deployment",
"for",
"which",
"you",
"want",
"to",
"skip",
"the",
"instance",
"termination",
"wait",
"time",
"<",
"/",
"p",
">"
]
| [
"set",
"deployment",
"id",
"(",
"deployment",
"id",
")",
";",
"return",
"this",
";"
]
|
[
"get",
"the",
"length",
"of",
"this",
"file",
"in",
"bytes"
]
| [
"return",
"length",
";"
]
|
[
"is",
"this",
"a",
"directory",
"?"
]
| [
"return",
"isdir",
";"
]
|
[
"get",
"the",
"block",
"size",
"of",
"the",
"file"
]
| [
"return",
"blocksize",
";"
]
|
[
"get",
"the",
"replication",
"factor",
"of",
"a",
"file"
]
| [
"return",
"block",
"replication",
";"
]
|
[
"get",
"the",
"modification",
"time",
"of",
"the",
"file"
]
| [
"return",
"modification",
"time",
";"
]
|
[
"get",
"the",
"access",
"time",
"of",
"the",
"file"
]
| [
"return",
"access",
"time",
";"
]
|
[
"get",
"fs",
"permission",
"associated",
"with",
"the",
"file"
]
| [
"return",
"permission",
";"
]
|
[
"get",
"the",
"owner",
"of",
"the",
"file"
]
| [
"return",
"owner",
";"
]
|
[
"get",
"the",
"group",
"associated",
"with",
"the",
"file"
]
| [
"return",
"group",
";"
]
|
[
"check",
"if",
"the",
"local",
"name",
"is",
"empty"
]
| [
"return",
"path",
"length",
"=",
"=",
"0",
";"
]
|
[
"get",
"the",
"string",
"representation",
"of",
"the",
"local",
"name"
]
| [
"return",
"d",
"f",
"s",
"util",
"client",
"bytes",
"2",
"string",
"(",
"path",
")",
";"
]
|
[
"get",
"the",
"java",
"utf8",
"representation",
"of",
"the",
"local",
"name"
]
| [
"return",
"path",
";"
]
|
[
"get",
"the",
"string",
"representation",
"of",
"the",
"full",
"path",
"name"
]
| [
"if",
"(",
"is",
"empty",
"local",
"name",
"(",
")",
")",
"{",
"return",
"parent",
";",
"}",
"string",
"builder",
"full",
"name",
"=",
"new",
"string",
"builder",
"(",
"parent",
")",
";",
"if",
"(",
"!",
"parent",
"ends",
"with",
"(",
"path",
"separator",
")",
")",
"{",
"full",
"name",
"append",
"(",
"path",
"separator",
")",
";",
"}",
"full",
"name",
"append",
"(",
"get",
"local",
"name",
"(",
")",
")",
";",
"return",
"full",
"name",
"to",
"string",
"(",
")",
";"
]
|
[
"get",
"the",
"full",
"path"
]
| [
"if",
"(",
"is",
"empty",
"local",
"name",
"(",
")",
")",
"{",
"return",
"parent",
";",
"}",
"return",
"new",
"path",
"(",
"parent",
",",
"get",
"local",
"name",
"(",
")",
")",
";"
]
|
[
"get",
"the",
"string",
"representation",
"of",
"the",
"symlink"
]
| [
"return",
"d",
"f",
"s",
"util",
"client",
"bytes",
"2",
"string",
"(",
"symlink",
")",
";"
]
|
[
"/",
"*",
"returns",
"the",
"scan",
"button",
"can",
"return",
"null",
"if",
"not",
"relevant"
]
| [
"protected",
"abstract",
"j",
"button",
"get",
"new",
"scan",
"button",
"(",
")",
";"
]
|
[
"{"
]
| [
"return",
"m",
"binder",
";"
]
|
[
"{"
]
| [
"end",
"all",
"connections",
"(",
")",
";",
"return",
"super",
"on",
"unbind",
"(",
"intent",
")",
";"
]
|
[
"ask",
"some",
"other",
"{",
"@",
"code",
"connection",
"service",
"}",
"to",
"create",
"a",
"{",
"@",
"code",
"remote",
"connection",
"}",
"given",
"an",
"incoming",
"request",
"this",
"is",
"used",
"by",
"{",
"@",
"code",
"connection",
"service",
"}",
"s",
"that",
"are",
"registered",
"with",
"{",
"@",
"link",
"phone",
"account",
"#",
"capability",
"connection",
"manager",
"}",
"and",
"want",
"to",
"be",
"able",
"to",
"manage",
"sim",
"-",
"based",
"incoming",
"calls"
]
| [
"return",
"m",
"remote",
"connection",
"manager",
"create",
"remote",
"connection",
"(",
"connection",
"manager",
"phone",
"account",
",",
"request",
",",
"true",
")",
";"
]
|
[
"ask",
"some",
"other",
"{",
"@",
"code",
"connection",
"service",
"}",
"to",
"create",
"a",
"{",
"@",
"code",
"remote",
"connection",
"}",
"given",
"an",
"outgoing",
"request",
"this",
"is",
"used",
"by",
"{",
"@",
"code",
"connection",
"service",
"}",
"s",
"that",
"are",
"registered",
"with",
"{",
"@",
"link",
"phone",
"account",
"#",
"capability",
"connection",
"manager",
"}",
"and",
"want",
"to",
"be",
"able",
"to",
"use",
"the",
"sim",
"-",
"based",
"{",
"@",
"code",
"connection",
"service",
"}",
"to",
"place",
"its",
"outgoing",
"calls"
]
| [
"return",
"m",
"remote",
"connection",
"manager",
"create",
"remote",
"connection",
"(",
"connection",
"manager",
"phone",
"account",
",",
"request",
",",
"false",
")",
";"
]
|
[
"indicates",
"to",
"the",
"relevant",
"{",
"@",
"code",
"remote",
"connection",
"service",
"}",
"that",
"the",
"specified",
"{",
"@",
"link",
"remote",
"connection",
"}",
"s",
"should",
"be",
"merged",
"into",
"a",
"conference",
"call",
"<",
"p",
">",
"if",
"the",
"conference",
"request",
"is",
"successful",
"the",
"method",
"{",
"@",
"link",
"#",
"on",
"remote",
"conference",
"added",
"}",
"will",
"be",
"invoked"
]
| [
"m",
"remote",
"connection",
"manager",
"conference",
"remote",
"connections",
"(",
"remote",
"connection",
"1",
",",
"remote",
"connection",
"2",
")",
";"
]
|
[
"call",
"to",
"inform",
"telecom",
"that",
"your",
"{",
"@",
"link",
"connection",
"service",
"}",
"has",
"released",
"call",
"resources",
"(",
"e",
"g",
"microphone",
"camera",
")"
]
| [
"m",
"adapter",
"on",
"connection",
"service",
"focus",
"released",
"(",
")",
";"
]
|
[
"adds",
"a",
"connection",
"created",
"by",
"the",
"{",
"@",
"link",
"connection",
"service",
"}",
"and",
"informs",
"telecom",
"of",
"the",
"new",
"connection"
]
| [
"string",
"id",
"=",
"add",
"existing",
"connection",
"internal",
"(",
"phone",
"account",
"handle",
",",
"connection",
")",
";",
"if",
"(",
"id",
"!",
"=",
"null",
")",
"{",
"list",
"<",
"string",
">",
"empty",
"list",
"=",
"new",
"array",
"list",
"<",
">",
"(",
"0",
")",
";",
"string",
"conference",
"id",
"=",
"null",
";",
"if",
"(",
"conference",
"!",
"=",
"null",
")",
"{",
"conference",
"id",
"=",
"m",
"id",
"by",
"conference",
"get",
"(",
"conference",
")",
";",
"}",
"parcelable",
"connection",
"parcelable",
"connection",
"=",
"new",
"parcelable",
"connection",
"(",
"phone",
"account",
"handle",
",",
"connection",
"get",
"state",
"(",
")",
",",
"connection",
"get",
"connection",
"capabilities",
"(",
")",
",",
"connection",
"get",
"connection",
"properties",
"(",
")",
",",
"connection",
"get",
"supported",
"audio",
"routes",
"(",
")",
",",
"connection",
"get",
"address",
"(",
")",
",",
"connection",
"get",
"address",
"presentation",
"(",
")",
",",
"connection",
"get",
"caller",
"display",
"name",
"(",
")",
",",
"connection",
"get",
"caller",
"display",
"name",
"presentation",
"(",
")",
",",
"connection",
"get",
"video",
"provider",
"(",
")",
"=",
"=",
"null",
"?",
"null",
":",
"connection",
"get",
"video",
"provider",
"(",
")",
"get",
"interface",
"(",
")",
",",
"connection",
"get",
"video",
"state",
"(",
")",
",",
"connection",
"is",
"ringback",
"requested",
"(",
")",
",",
"connection",
"get",
"audio",
"mode",
"is",
"voip",
"(",
")",
",",
"connection",
"get",
"connect",
"time",
"millis",
"(",
")",
",",
"connection",
"get",
"connect",
"elapsed",
"time",
"millis",
"(",
")",
",",
"connection",
"get",
"status",
"hints",
"(",
")",
",",
"connection",
"get",
"disconnect",
"cause",
"(",
")",
",",
"empty",
"list",
",",
"connection",
"get",
"extras",
"(",
")",
",",
"conference",
"id",
")",
";",
"m",
"adapter",
"add",
"existing",
"connection",
"(",
"id",
",",
"parcelable",
"connection",
")",
";",
"}"
]
|
[
"returns",
"all",
"the",
"active",
"{",
"@",
"code",
"connection",
"}",
"s",
"for",
"which",
"this",
"{",
"@",
"code",
"connection",
"service",
"}",
"has",
"taken",
"responsibility"
]
| [
"return",
"m",
"connection",
"by",
"id",
"values",
"(",
")",
";"
]
|
[
"returns",
"all",
"the",
"active",
"{",
"@",
"code",
"conference",
"}",
"s",
"for",
"which",
"this",
"{",
"@",
"code",
"connection",
"service",
"}",
"has",
"taken",
"responsibility"
]
| [
"return",
"m",
"conference",
"by",
"id",
"values",
"(",
")",
";"
]
|
[
"create",
"a",
"{",
"@",
"code",
"connection",
"}",
"given",
"an",
"incoming",
"request",
"this",
"is",
"used",
"to",
"attach",
"to",
"existing",
"incoming",
"calls"
]
| [
"return",
"null",
";"
]
|
[
"called",
"after",
"the",
"{",
"@",
"link",
"connection",
"}",
"returned",
"by",
"{",
"@",
"link",
"#",
"on",
"create",
"incoming",
"connection",
"(",
"phone",
"account",
"handle",
"connection",
"request",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"on",
"create",
"outgoing",
"connection",
"(",
"phone",
"account",
"handle",
"connection",
"request",
")",
"}",
"has",
"been",
"added",
"to",
"the",
"{",
"@",
"link",
"connection",
"service",
"}",
"and",
"sent",
"to",
"telecom"
]
| []
|
[
"called",
"by",
"telecom",
"to",
"inform",
"the",
"{",
"@",
"link",
"connection",
"service",
"}",
"that",
"its",
"request",
"to",
"create",
"a",
"new",
"incoming",
"{",
"@",
"link",
"connection",
"}",
"was",
"denied",
"<",
"p",
">",
"used",
"when",
"a",
"self",
"-",
"managed",
"{",
"@",
"link",
"connection",
"service",
"}",
"attempts",
"to",
"create",
"a",
"new",
"incoming",
"{",
"@",
"link",
"connection",
"}",
"but",
"telecom",
"has",
"determined",
"that",
"the",
"call",
"cannot",
"be",
"allowed",
"at",
"this",
"time",
"the",
"{",
"@",
"link",
"connection",
"service",
"}",
"is",
"responsible",
"for",
"silently",
"rejecting",
"the",
"new",
"incoming",
"{",
"@",
"link",
"connection",
"}",
"<",
"p",
">",
"see",
"{",
"@",
"link",
"telecom",
"manager",
"#",
"is",
"incoming",
"call",
"permitted",
"(",
"phone",
"account",
"handle",
")",
"}",
"for",
"more",
"information"
]
| []
|
[
"called",
"by",
"telecom",
"to",
"inform",
"the",
"{",
"@",
"link",
"connection",
"service",
"}",
"that",
"its",
"request",
"to",
"create",
"a",
"new",
"outgoing",
"{",
"@",
"link",
"connection",
"}",
"was",
"denied",
"<",
"p",
">",
"used",
"when",
"a",
"self",
"-",
"managed",
"{",
"@",
"link",
"connection",
"service",
"}",
"attempts",
"to",
"create",
"a",
"new",
"outgoing",
"{",
"@",
"link",
"connection",
"}",
"but",
"telecom",
"has",
"determined",
"that",
"the",
"call",
"cannot",
"be",
"placed",
"at",
"this",
"time",
"the",
"{",
"@",
"link",
"connection",
"service",
"}",
"is",
"responisible",
"for",
"informing",
"the",
"user",
"that",
"the",
"{",
"@",
"link",
"connection",
"}",
"cannot",
"be",
"made",
"at",
"this",
"time",
"<",
"p",
">",
"see",
"{",
"@",
"link",
"telecom",
"manager",
"#",
"is",
"outgoing",
"call",
"permitted",
"(",
"phone",
"account",
"handle",
")",
"}",
"for",
"more",
"information"
]
| []
|
[
"trigger",
"recalculate",
"functinality",
"for",
"conference",
"calls",
"this",
"is",
"used",
"when",
"a",
"telephony",
"connection",
"is",
"part",
"of",
"a",
"conference",
"controller",
"but",
"is",
"not",
"yet",
"added",
"to",
"connection",
"service",
"and",
"hence",
"cannot",
"be",
"added",
"to",
"the",
"conference",
"call"
]
| []
|
[
"create",
"a",
"{",
"@",
"code",
"connection",
"}",
"given",
"an",
"outgoing",
"request",
"this",
"is",
"used",
"to",
"initiate",
"new",
"outgoing",
"calls"
]
| [
"return",
"null",
";"
]
|
[
"called",
"by",
"telecom",
"to",
"request",
"that",
"a",
"{",
"@",
"link",
"connection",
"service",
"}",
"creates",
"an",
"instance",
"of",
"an",
"outgoing",
"handover",
"{",
"@",
"link",
"connection",
"}",
"<",
"p",
">",
"a",
"call",
"handover",
"is",
"the",
"process",
"where",
"an",
"ongoing",
"call",
"is",
"transferred",
"from",
"one",
"app",
"(",
"i",
"e",
"{",
"@",
"link",
"connection",
"service",
"}",
"to",
"another",
"app",
"the",
"user",
"could",
"for",
"example",
"choose",
"to",
"continue",
"a",
"mobile",
"network",
"call",
"in",
"a",
"video",
"calling",
"app",
"the",
"mobile",
"network",
"call",
"via",
"the",
"telephony",
"stack",
"is",
"referred",
"to",
"as",
"the",
"source",
"of",
"the",
"handover",
"and",
"the",
"video",
"calling",
"app",
"is",
"referred",
"to",
"as",
"the",
"destination",
"<",
"p",
">",
"when",
"considering",
"a",
"handover",
"scenario",
"the",
"<",
"em",
">",
"initiating",
"<",
"/",
"em",
">",
"device",
"is",
"where",
"a",
"user",
"initiated",
"the",
"handover",
"process",
"(",
"e",
"g",
"by",
"calling",
"{",
"@",
"link",
"android",
"telecom",
"call",
"#",
"handover",
"to",
"(",
"phone",
"account",
"handle",
"int",
"bundle",
")",
"}",
"and",
"the",
"other",
"device",
"is",
"considered",
"the",
"<",
"em",
">",
"receiving",
"<",
"/",
"em",
">",
"device",
"<",
"p",
">",
"this",
"method",
"is",
"called",
"on",
"the",
"destination",
"{",
"@",
"link",
"connection",
"service",
"}",
"on",
"<",
"em",
">",
"initiating",
"<",
"/",
"em",
">",
"device",
"when",
"the",
"user",
"initiates",
"a",
"handover",
"request",
"from",
"one",
"app",
"to",
"another",
"the",
"user",
"request",
"originates",
"in",
"the",
"{",
"@",
"link",
"in",
"call",
"service",
"}",
"via",
"{",
"@",
"link",
"android",
"telecom",
"call",
"#",
"handover",
"to",
"(",
"phone",
"account",
"handle",
"int",
"bundle",
")",
"}",
"<",
"p",
">",
"for",
"a",
"full",
"discussion",
"of",
"the",
"handover",
"process",
"and",
"the",
"a",
"p",
"is",
"involved",
"see",
"{",
"@",
"link",
"android",
"telecom",
"call",
"#",
"handover",
"to",
"(",
"phone",
"account",
"handle",
"int",
"bundle",
")",
"}",
"<",
"p",
">",
"implementations",
"of",
"this",
"method",
"should",
"return",
"an",
"instance",
"of",
"{",
"@",
"link",
"connection",
"}",
"which",
"represents",
"the",
"handover",
"if",
"your",
"app",
"does",
"not",
"wish",
"to",
"accept",
"a",
"handover",
"to",
"it",
"at",
"this",
"time",
"you",
"can",
"return",
"{",
"@",
"code",
"null",
"}",
"the",
"code",
"below",
"shows",
"an",
"example",
"of",
"how",
"this",
"is",
"done",
"<",
"pre",
">",
"{",
"@",
"code",
"public",
"connection",
"on",
"create",
"incoming",
"handover",
"connection",
"(",
"phone",
"account",
"handle",
"from",
"phone",
"account",
"handle",
"connection",
"request",
"request",
")",
"{",
"if",
"(",
"!",
"is",
"handover",
"available",
"(",
")",
")",
"{",
"return",
"null",
";",
"}",
"my",
"connection",
"connection",
"=",
"new",
"my",
"connection",
"(",
")",
";",
"connection",
"set",
"address",
"(",
"request",
"get",
"address",
"(",
")",
"telecom",
"manager",
"presentation",
"allowed",
")",
";",
"connection",
"set",
"video",
"state",
"(",
"request",
"get",
"video",
"state",
"(",
")",
")",
";",
"return",
"connection",
";",
"}",
"}",
"<",
"/",
"pre",
">"
]
| [
"return",
"null",
";"
]
|
[
"called",
"by",
"telecom",
"to",
"request",
"that",
"a",
"{",
"@",
"link",
"connection",
"service",
"}",
"creates",
"an",
"instance",
"of",
"an",
"incoming",
"handover",
"{",
"@",
"link",
"connection",
"}",
"<",
"p",
">",
"a",
"call",
"handover",
"is",
"the",
"process",
"where",
"an",
"ongoing",
"call",
"is",
"transferred",
"from",
"one",
"app",
"(",
"i",
"e",
"{",
"@",
"link",
"connection",
"service",
"}",
"to",
"another",
"app",
"the",
"user",
"could",
"for",
"example",
"choose",
"to",
"continue",
"a",
"mobile",
"network",
"call",
"in",
"a",
"video",
"calling",
"app",
"the",
"mobile",
"network",
"call",
"via",
"the",
"telephony",
"stack",
"is",
"referred",
"to",
"as",
"the",
"source",
"of",
"the",
"handover",
"and",
"the",
"video",
"calling",
"app",
"is",
"referred",
"to",
"as",
"the",
"destination",
"<",
"p",
">",
"when",
"considering",
"a",
"handover",
"scenario",
"the",
"<",
"em",
">",
"initiating",
"<",
"/",
"em",
">",
"device",
"is",
"where",
"a",
"user",
"initiated",
"the",
"handover",
"process",
"(",
"e",
"g",
"by",
"calling",
"{",
"@",
"link",
"android",
"telecom",
"call",
"#",
"handover",
"to",
"(",
"phone",
"account",
"handle",
"int",
"bundle",
")",
"}",
"and",
"the",
"other",
"device",
"is",
"considered",
"the",
"<",
"em",
">",
"receiving",
"<",
"/",
"em",
">",
"device",
"<",
"p",
">",
"this",
"method",
"is",
"called",
"on",
"the",
"destination",
"app",
"on",
"the",
"<",
"em",
">",
"receiving",
"<",
"/",
"em",
">",
"device",
"when",
"the",
"destination",
"app",
"calls",
"{",
"@",
"link",
"telecom",
"manager",
"#",
"accept",
"handover",
"(",
"uri",
"int",
"phone",
"account",
"handle",
")",
"}",
"to",
"accept",
"an",
"incoming",
"handover",
"from",
"the",
"<",
"em",
">",
"initiating",
"<",
"/",
"em",
">",
"device",
"<",
"p",
">",
"for",
"a",
"full",
"discussion",
"of",
"the",
"handover",
"process",
"and",
"the",
"a",
"p",
"is",
"involved",
"see",
"{",
"@",
"link",
"android",
"telecom",
"call",
"#",
"handover",
"to",
"(",
"phone",
"account",
"handle",
"int",
"bundle",
")",
"}",
"<",
"p",
">",
"implementations",
"of",
"this",
"method",
"should",
"return",
"an",
"instance",
"of",
"{",
"@",
"link",
"connection",
"}",
"which",
"represents",
"the",
"handover",
"the",
"code",
"below",
"shows",
"an",
"example",
"of",
"how",
"this",
"is",
"done",
"<",
"pre",
">",
"{",
"@",
"code",
"public",
"connection",
"on",
"create",
"incoming",
"handover",
"connection",
"(",
"phone",
"account",
"handle",
"from",
"phone",
"account",
"handle",
"connection",
"request",
"request",
")",
"{",
"/",
"/",
"given",
"that",
"your",
"app",
"requested",
"to",
"accept",
"the",
"handover",
"you",
"should",
"not",
"return",
"null",
"here",
"my",
"connection",
"connection",
"=",
"new",
"my",
"connection",
"(",
")",
";",
"connection",
"set",
"address",
"(",
"request",
"get",
"address",
"(",
")",
"telecom",
"manager",
"presentation",
"allowed",
")",
";",
"connection",
"set",
"video",
"state",
"(",
"request",
"get",
"video",
"state",
"(",
")",
")",
";",
"return",
"connection",
";",
"}",
"}",
"<",
"/",
"pre",
">"
]
| [
"return",
"null",
";"
]
|
[
"called",
"by",
"telecom",
"in",
"response",
"to",
"a",
"{",
"@",
"code",
"telecom",
"manager",
"#",
"accept",
"handover",
"(",
")",
"}",
"invocation",
"which",
"failed",
"<",
"p",
">",
"for",
"a",
"full",
"discussion",
"of",
"the",
"handover",
"process",
"and",
"the",
"a",
"p",
"is",
"involved",
"see",
"{",
"@",
"link",
"android",
"telecom",
"call",
"#",
"handover",
"to",
"(",
"phone",
"account",
"handle",
"int",
"bundle",
")",
"}"
]
| [
"return",
";"
]
|
[
"create",
"a",
"{",
"@",
"code",
"connection",
"}",
"for",
"a",
"new",
"unknown",
"call",
"an",
"unknown",
"call",
"is",
"a",
"call",
"originating",
"from",
"the",
"connection",
"service",
"that",
"was",
"neither",
"a",
"user",
"-",
"initiated",
"outgoing",
"call",
"nor",
"an",
"incoming",
"call",
"created",
"using",
"{",
"@",
"code",
"telecom",
"manager",
"#",
"add",
"new",
"incoming",
"call",
"(",
"phone",
"account",
"handle",
"android",
"os",
"bundle",
")",
"}"
]
| [
"return",
"null",
";"
]
|
[
"conference",
"two",
"specified",
"connections",
"invoked",
"when",
"the",
"user",
"has",
"made",
"a",
"request",
"to",
"merge",
"the",
"specified",
"connections",
"into",
"a",
"conference",
"call",
"in",
"response",
"the",
"connection",
"service",
"should",
"create",
"an",
"instance",
"of",
"{",
"@",
"link",
"conference",
"}",
"and",
"pass",
"it",
"into",
"{",
"@",
"link",
"#",
"add",
"conference",
"}"
]
| []
|
[
"notifies",
"the",
"{",
"@",
"link",
"conference",
"}",
"that",
"a",
"{",
"@",
"link",
"connection",
"}",
"has",
"been",
"added",
"to",
"it"
]
| []
|
[
"called",
"when",
"a",
"connection",
"is",
"removed"
]
| []
|
[
"called",
"when",
"a",
"conference",
"is",
"added"
]
| []
|
[
"called",
"when",
"a",
"conference",
"is",
"removed"
]
| []
|
[
"indicates",
"that",
"a",
"remote",
"conference",
"has",
"been",
"created",
"for",
"existing",
"{",
"@",
"link",
"remote",
"connection",
"}",
"s",
"when",
"this",
"method",
"is",
"invoked",
"this",
"{",
"@",
"link",
"connection",
"service",
"}",
"should",
"create",
"its",
"own",
"representation",
"of",
"the",
"conference",
"call",
"and",
"send",
"it",
"to",
"telecom",
"using",
"{",
"@",
"link",
"#",
"add",
"conference",
"}",
"<",
"p",
">",
"this",
"is",
"only",
"relevant",
"to",
"{",
"@",
"link",
"connection",
"service",
"}",
"s",
"which",
"are",
"registered",
"with",
"{",
"@",
"link",
"phone",
"account",
"#",
"capability",
"connection",
"manager",
"}"
]
| []
|
[
"called",
"when",
"an",
"existing",
"connection",
"is",
"added",
"remotely"
]
| []
|
[
"called",
"when",
"the",
"{"
]
| []
|
[
"called",
"when",
"the",
"{"
]
| []
|
[
"{"
]
| [
"on",
"remote",
"conference",
"added",
"(",
"remote",
"conference",
")",
";"
]
|
[
"{"
]
| [
"on",
"remote",
"existing",
"connection",
"added",
"(",
"remote",
"connection",
")",
";"
]
|
[
"{"
]
| [
"connection",
"unset",
"connection",
"service",
"(",
"this",
")",
";",
"connection",
"remove",
"connection",
"listener",
"(",
"m",
"connection",
"listener",
")",
";",
"string",
"id",
"=",
"m",
"id",
"by",
"connection",
"get",
"(",
"connection",
")",
";",
"if",
"(",
"id",
"!",
"=",
"null",
")",
"{",
"m",
"connection",
"by",
"id",
"remove",
"(",
"id",
")",
";",
"m",
"id",
"by",
"connection",
"remove",
"(",
"connection",
")",
";",
"m",
"adapter",
"remove",
"call",
"(",
"id",
")",
";",
"on",
"connection",
"removed",
"(",
"connection",
")",
";",
"}"
]
|
[
"retrieves",
"the",
"next",
"call",
"id",
"as",
"maintainted",
"by",
"the",
"connection",
"service"
]
| [
"synchronized",
"(",
"m",
"id",
"sync",
"root",
")",
"{",
"return",
"+",
"+",
"m",
"id",
";",
"}"
]
|
[
"do",
"the",
"clustering",
"return",
"a",
"clusters",
"structure",
"to",
"be",
"appended",
"to",
"{"
]
| [
"public",
"abstract",
"object",
"cluster",
"(",
"query",
"query",
",",
"solr",
"document",
"list",
"solr",
"document",
"list",
",",
"map",
"<",
"solr",
"document",
",",
"integer",
">",
"doc",
"ids",
",",
"solr",
"query",
"request",
"sreq",
")",
";"
]
|
[
"returns",
"the",
"set",
"of",
"field",
"names",
"to",
"load",
"concrete",
"classes",
"can",
"override",
"this",
"method",
"if",
"needed",
"default",
"implementation",
"returns",
"null",
"that",
"is",
"all",
"stored",
"fields",
"are",
"loaded"
]
| [
"return",
"null",
";"
]
|
[
"<",
"p",
">",
"the",
"name",
"assigned",
"to",
"the",
"new",
"dev",
"endpoint",
"<",
"/",
"p",
">"
]
| [
"set",
"endpoint",
"name",
"(",
"endpoint",
"name",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"current",
"status",
"of",
"the",
"new",
"dev",
"endpoint",
"<",
"/",
"p",
">"
]
| [
"set",
"status",
"(",
"status",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"security",
"groups",
"assigned",
"to",
"the",
"new",
"dev",
"endpoint",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"security",
"group",
"ids",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"security",
"group",
"ids",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"security",
"group",
"ids",
"=",
"=",
"null",
")",
"{",
"set",
"security",
"group",
"ids",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"security",
"group",
"ids",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"security",
"group",
"ids",
")",
"{",
"this",
"security",
"group",
"ids",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"security",
"groups",
"assigned",
"to",
"the",
"new",
"dev",
"endpoint",
"<",
"/",
"p",
">"
]
| [
"set",
"security",
"group",
"ids",
"(",
"security",
"group",
"ids",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"subnet",
"id",
"assigned",
"to",
"the",
"new",
"dev",
"endpoint",
"<",
"/",
"p",
">"
]
| [
"set",
"subnet",
"id",
"(",
"subnet",
"id",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"aws",
"arn",
"of",
"the",
"role",
"assigned",
"to",
"the",
"new",
"dev",
"endpoint",
"<",
"/",
"p",
">"
]
| [
"set",
"role",
"arn",
"(",
"role",
"arn",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"address",
"of",
"the",
"yarn",
"endpoint",
"used",
"by",
"this",
"dev",
"endpoint",
"<",
"/",
"p",
">"
]
| [
"set",
"yarn",
"endpoint",
"address",
"(",
"yarn",
"endpoint",
"address",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"apache",
"zeppelin",
"port",
"for",
"the",
"remote",
"apache",
"spark",
"interpreter",
"<",
"/",
"p",
">"
]
| [
"set",
"zeppelin",
"remote",
"spark",
"interpreter",
"port",
"(",
"zeppelin",
"remote",
"spark",
"interpreter",
"port",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"number",
"of",
"aws",
"glue",
"data",
"processing",
"units",
"(",
"d",
"p",
"us",
")",
"allocated",
"to",
"this",
"dev",
"endpoint",
"<",
"/",
"p",
">"
]
| [
"set",
"number",
"of",
"nodes",
"(",
"number",
"of",
"nodes",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"aws",
"availability",
"zone",
"where",
"this",
"dev",
"endpoint",
"is",
"located",
"<",
"/",
"p",
">"
]
| [
"set",
"availability",
"zone",
"(",
"availability",
"zone",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"vpc",
"used",
"by",
"this",
"dev",
"endpoint",
"<",
"/",
"p",
">"
]
| [
"set",
"vpc",
"id",
"(",
"vpc",
"id",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"path",
"(",
"s",
")",
"to",
"one",
"or",
"more",
"python",
"libraries",
"in",
"an",
"s3",
"bucket",
"that",
"will",
"be",
"loaded",
"in",
"your",
"dev",
"endpoint",
"<",
"/",
"p",
">"
]
| [
"set",
"extra",
"python",
"libs",
"s",
"3",
"path",
"(",
"extra",
"python",
"libs",
"s",
"3",
"path",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"path",
"to",
"one",
"or",
"more",
"java",
"jars",
"in",
"an",
"s3",
"bucket",
"that",
"will",
"be",
"loaded",
"in",
"your",
"dev",
"endpoint",
"<",
"/",
"p",
">"
]
| [
"set",
"extra",
"jars",
"s",
"3",
"path",
"(",
"extra",
"jars",
"s",
"3",
"path",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"reason",
"for",
"a",
"current",
"failure",
"in",
"this",
"dev",
"endpoint",
"<",
"/",
"p",
">"
]
| [
"set",
"failure",
"reason",
"(",
"failure",
"reason",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"security",
"configuration",
"structure",
"being",
"used",
"with",
"this",
"dev",
"endpoint",
"<",
"/",
"p",
">"
]
| [
"set",
"security",
"configuration",
"(",
"security",
"configuration",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"point",
"in",
"time",
"at",
"which",
"this",
"dev",
"endpoint",
"was",
"created",
"<",
"/",
"p",
">"
]
| [
"set",
"created",
"timestamp",
"(",
"created",
"timestamp",
")",
";",
"return",
"this",
";"
]
|
[
"/",
"*",
"get",
"optional",
"read",
"variations",
"for",
"fields"
]
| [
"return",
"data",
"type",
"physical",
"variations",
";"
]
|
[
"/",
"*",
"set",
"the",
"range",
"of",
"bytes",
"to",
"be",
"deserialized"
]
| [
"public",
"abstract",
"void",
"set",
"(",
"byte",
"[",
"]",
"bytes",
",",
"int",
"offset",
",",
"int",
"length",
")",
";"
]
|
[
"/",
"*",
"reads",
"the",
"the",
"next",
"field"
]
| [
"public",
"abstract",
"boolean",
"read",
"next",
"field",
"(",
")",
"throws",
"i",
"o",
"exception",
";"
]
|
[
"/",
"*",
"reads",
"through",
"an",
"undesired",
"field"
]
| [
"public",
"abstract",
"void",
"skip",
"next",
"field",
"(",
")",
"throws",
"i",
"o",
"exception",
";"
]
|
[
"/",
"*",
"returns",
"true",
"if",
"the",
"read",
"field",
"method",
"is",
"supported",
";"
]
| [
"return",
"false",
";"
]
|
[
"/",
"*",
"tests",
"whether",
"there",
"is",
"another",
"list",
"element",
"or",
"another",
"map",
"key",
"/",
"value",
"pair"
]
| [
"public",
"abstract",
"boolean",
"is",
"next",
"complex",
"multi",
"value",
"(",
")",
"throws",
"i",
"o",
"exception",
";"
]
|
[
"/",
"*",
"read",
"a",
"field",
"that",
"is",
"under",
"a",
"complex",
"type",
"it",
"may",
"be",
"a",
"primitive",
"type",
"or",
"deeper",
"complex",
"type"
]
| [
"public",
"abstract",
"boolean",
"read",
"complex",
"field",
"(",
")",
"throws",
"i",
"o",
"exception",
";"
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.