/aosp12/frameworks/base/core/java/android/animation/ |
H A D | StateListAnimator.java | 51 private ArrayList<Tuple> mTuples = new ArrayList<Tuple>(); 52 private Tuple mLastMatch = null; 83 Tuple tuple = new Tuple(specs, animator); in addState() 139 clone.mTuples = new ArrayList<Tuple>(mTuples.size()); in clone() 147 final Tuple tuple = mTuples.get(i); in clone() 164 Tuple match = null; in setState() 167 final Tuple tuple = mTuples.get(i); in setState() 185 private void start(Tuple match) { in start() 201 public ArrayList<Tuple> getTuples() { in getTuples() 276 public static class Tuple { class in StateListAnimator [all …]
|
/aosp12/system/iorap/src/common/ |
H A D | type.h | 141 template <size_t i, typename Tuple, typename F> 142 static constexpr void for_each_impl(Tuple&& t, F&& f) { in for_each_impl() 143 if constexpr (i == std::tuple_size<std::decay_t<Tuple>>::value) { in for_each_impl() 146 f(std::get<i>(std::forward<Tuple>(t))); in for_each_impl() 147 for_each_impl<i+1>(std::forward<Tuple>(t), std::forward<F>(f)); in for_each_impl() 152 template <typename Tuple, typename F> 153 static constexpr void for_each(Tuple&& t, F&& f) { in for_each() 154 return for_each_impl<0u>(std::forward<Tuple>(t), std::forward<F>(f)); in for_each()
|
/aosp12/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/ |
H A D | PidfParserUtils.java | 39 import com.android.ims.rcs.uce.presence.pidfparser.pidf.Tuple; 67 Tuple tupleElement = getTupleElement(presenceTuple); in getPresence() 83 Tuple tupleElement = new Tuple(); in getTupleElement() 101 private static void handleTupleContactElement(Tuple tupleElement, Uri uri) { in handleTupleContactElement() 158 private static void handleServiceCapsElement(Tuple tupleElement, in handleServiceCapsElement() 193 public static String getTupleStatus(Tuple tuple) { in getTupleStatus() 210 public static String getTupleServiceId(Tuple tuple) { in getTupleServiceId() 227 public static String getTupleServiceVersion(Tuple tuple) { in getTupleServiceVersion() 244 public static String getTupleServiceDescription(Tuple tuple) { in getTupleServiceDescription() 261 public static String getTupleContact(Tuple tuple) { in getTupleContact() [all …]
|
/aosp12/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/pidf/ |
H A D | Presence.java | 54 private final List<Tuple> mTupleList = new ArrayList<>(); 89 public void addTuple(@NonNull Tuple tuple) { in addTuple() 93 public @NonNull List<Tuple> getTupleList() { in getTupleList() 115 for (Tuple tuple : mTupleList) { in serialize() 148 Tuple tuple = new Tuple(); in parse() 168 return (eventType == XmlPullParser.START_TAG && Tuple.ELEMENT_NAME.equals(name)) ? in isTupleElement()
|
H A D | Tuple.java | 35 public class Tuple extends ElementBase { class 62 public Tuple() { in Tuple() method in Tuple
|
/aosp12/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/ |
H A D | ConntrackMessage.java | 102 public static class Tuple { class in ConntrackMessage 113 public Tuple(TupleIpv4 ip, TupleProto proto) { in Tuple() method in ConntrackMessage.Tuple 124 if (!(o instanceof Tuple)) return false; in equals() 125 Tuple that = (Tuple) o; in equals() 253 Tuple tupleOrig = null; in parse() 260 Tuple tupleReply = null; in parse() 312 private static Tuple parseTuple(@Nullable ByteBuffer byteBuffer) { in parseTuple() 332 return new Tuple(tupleIpv4, tupleProto); in parseTuple() 408 public final Tuple tupleOrig; 416 public final Tuple tupleReply; [all …]
|
/aosp12/frameworks/base/startop/scripts/lib/ |
H A D | cmd_utils.py | 22 from typing import Tuple, Optional, List 41 def run_adb_shell_command(cmd: str) -> Tuple[bool, str]: 52 args: List[str]) -> Tuple[bool, str]: 72 def run_shell_command(cmd: str) -> Tuple[bool, str]: 87 simulate: bool) -> Tuple[bool, str]: 126 timeout: Optional[int] = None) -> Tuple[int, bytes]:
|
/aosp12/build/make/tools/rbcrun/ |
H A D | host.go | 115 func fileExists(_ *starlark.Thread, b *starlark.Builtin, args starlark.Tuple, argument 116 kwargs []starlark.Tuple) (starlark.Value, error) { argument 128 func regexMatch(_ *starlark.Thread, b *starlark.Builtin, args starlark.Tuple, argument 129 kwargs []starlark.Tuple) (starlark.Value, error) { argument 146 func wildcard(_ *starlark.Thread, b *starlark.Builtin, args starlark.Tuple, argument 147 kwargs []starlark.Tuple) (starlark.Value, error) { argument 177 func shell(_ *starlark.Thread, b *starlark.Builtin, args starlark.Tuple, argument 178 kwargs []starlark.Tuple) (starlark.Value, error) { argument
|
/aosp12/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/pidf/ |
H A D | PresenceTest.java | 82 Tuple tuple1 = getTuple(Basic.OPEN, serviceId1, description1, contact); in testSerializing() 86 Tuple tuple2 = getTuple(Basic.OPEN, serviceId2, description2, contact); in testSerializing() 163 List<Tuple> tupleList = presence.getTupleList(); in testParsing() 167 Tuple tuple = tupleList.get(0); in testParsing() 174 private Tuple getTuple(String statusValue, String serviceIdValue, String descValue, in getTuple() 191 Tuple tuple = new Tuple(); in getTuple()
|
H A D | TupleTest.java | 73 Tuple tuple = new Tuple(); in testElementName() 76 assertEquals(Tuple.ELEMENT_NAME, tuple.getElementName()); in testElementName() 82 Tuple tuple = new Tuple(); in testSerializing() 183 Tuple tuple = null; in testParsing() 189 && Tuple.ELEMENT_NAME.equals(parser.getName())) { in testParsing() 190 tuple = new Tuple(); in testParsing()
|
/aosp12/frameworks/base/startop/scripts/iorap/lib/ |
H A D | inode2filename.py | 19 from typing import Any, Callable, Dict, Generic, Iterable, List, NamedTuple, TextIO, Tuple, TypeVar… 54 def build_inode_lookup_table(inode_data_file: TextIO) -> Dict[Tuple[int, int], Tuple[str, str]]:
|
/aosp12/frameworks/base/startop/scripts/app_startup/lib/ |
H A D | app_runner.py | 18 from typing import Optional, List, Tuple 154 def run(self) -> Optional[List[Tuple[str]]]: 184 def launch_app(self, pre_launch_timestamp: str) -> Optional[List[Tuple[str]]]: 207 am_start_output: str) -> Optional[List[Tuple[str]]]: 226 Tuple[str, str, str]]:
|
H A D | args_utils.py | 4 from typing import Any, Callable, Dict, Iterable, List, NamedTuple, Tuple, \ 65 -> Iterable[Tuple[T, Iterable[NamedTuple]]]:
|
H A D | perfetto_trace_collector.py | 22 from typing import Optional, List, Tuple 71 def run(self) -> Optional[List[Tuple[str]]]:
|
/aosp12/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/ |
H A D | ConntrackMonitor.java | 65 public final ConntrackMessage.Tuple tupleOrig; 69 public final ConntrackMessage.Tuple tupleReply; 88 public ConntrackEvent(short msgType, ConntrackMessage.Tuple tupleOrig, in ConntrackEvent() 89 ConntrackMessage.Tuple tupleReply, int status, int timeoutSec) { in ConntrackEvent()
|
/aosp12/frameworks/base/startop/scripts/app_startup/ |
H A D | app_startup_runner.py | 36 from typing import Any, Callable, Iterable, List, NamedTuple, TextIO, Tuple, \ 166 simulate: bool) -> Tuple[bool, TextIO]: 274 grouped_run_combos: Iterable[Tuple[CollectorPackageInfo, Iterable[RunCommandArgs]]], 295 def gather_results(commands: Iterable[Tuple[DataFrame]], 296 key_list: List[str], value_list: List[Tuple[str, ...]]):
|
H A D | analyze_metrics.py | 35 from typing import Any, List, Dict, Iterable, TextIO, Tuple 100 def read_headers(input_file: TextIO) -> Tuple[List[str], List[str]]: 120 def read_labels_and_data(input_file: TextIO) -> Iterable[Tuple[List[str], List[int]]]: 146 def group_metrics_by_label(it: Iterable[Tuple[List[str], List[int]]]): 164 def data_to_numpy(it: Iterable[Tuple[List[str], List[List[int]]]]) -> Iterable[Tuple[List[str], Any…
|
H A D | run_app_with_prefetch.py | 33 from typing import List, Tuple, Optional 73 def run(self) -> Optional[List[Tuple[str]]]:
|
/aosp12/bionic/benchmarks/linker_relocation/regen/ |
H A D | common_types.py | 28 from typing import Any, Dict, Iterator, List, Optional, Set, Tuple 112 self.symbolic: List[Tuple[int, SymbolRef]] = [] 149 def from_json(obj: Dict[str, Any]) -> Tuple['LoadedLibrary', List[str]]: 169 all_needed: List[Tuple[LoadedLibrary, List[str]]] = []
|
/aosp12/system/extras/simpleperf/scripts/ |
H A D | simpleperf_utils.py | 194 ) -> Iterator[Tuple[Optional[str], Optional[str]]]: 236 ) -> Tuple[str, str]: 326 log_stderr: bool = False) -> Tuple[bool, str]: 634 addr_map: Dict[int, List[Tuple[int]]] = {} 635 cur_line_list: Optional[List[Tuple[int]]] = None 689 def _parse_source_location(self, line: str) -> Tuple[Optional[str], Optional[int]]: 721 def get_addr_source(self, dso: Addr2Nearestline.Dso, addr: int) -> Optional[List[Tuple[int]]]: 804 ) -> Optional[Tuple[str, str]]: 813 def disassemble_code(self, dso_info, start_addr, addr_len) -> List[Tuple[str, int]]:
|
/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
H A D | ConntrackMonitorTest.java | 19 import static android.net.netlink.ConntrackMessage.Tuple; 209 new Tuple(new TupleIpv4(privateIp, remoteIp), in makeTestConntrackEvent() 211 new Tuple(new TupleIpv4(remoteIp, publicIp), in makeTestConntrackEvent()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | StateListAnimatorTest.java | 98 StateListAnimator.Tuple tuple1 = stateListAnimator.getTuples().get(0); in testStateListLoading() 103 StateListAnimator.Tuple tuple2 = stateListAnimator.getTuples().get(1); in testStateListLoading()
|
H A D | AnimatorInflaterTest.java | 63 for (StateListAnimator.Tuple tuple : sla.getTuples()) { in testLoadStateListAnimator()
|
/aosp12/build/soong/cc/symbolfile/ |
H A D | __init__.py | 28 Tuple, 127 def split_tag(tag: Tag) -> Tuple[str, str]:
|
/aosp12/frameworks/base/startop/scripts/trace_analyzer/lib/ |
H A D | trace2db.py | 28 from typing import Optional, Tuple 205 def _init_sqlalchemy(db_filename: str) -> Tuple[object, object]:
|