/packages/modules/NeuralNetworks/tools/systrace_parser/parser/ |
D | naming.py | 57 def translate_hidl_mark_to_nn_and_tag(mark): argument 59 if "::client" in mark: 60 if "notify" in mark: 66 elif "::server" in mark: 67 if "notify" in mark: 73 elif "::passthrough" in mark: 76 elif ("getCapabilities" in mark) or ("getSupportedOperations" in mark): 78 elif "HIDL" not in mark: 80 assert layer, mark 83 if "IAllocator" in mark: [all …]
|
D | tracker.py | 70 def handle_mark(self, time, mark): argument 82 if mark[0] == "B": 87 if ("ANeuralNetworksEvent_free" in mark) or ("ANeuralNetworksExecution_free" in mark): 88 mark = mark.replace("_PT", "_PE") 90 if ("getSupportedExtensions" in mark): 91 mark = mark.replace("_PC", "_PI") 92 elif ("[SW][NN_LA_PR]executeWithCompilation" in mark): 93 mark = mark.replace("[SW]", "") 94 if MARKER_SWITCH in mark: 96 if MARKER_SUBTRACT in mark: [all …]
|
D | input.py | 68 [task, pid, tgid, time, mark] = m.groups() 70 [task, pid, time, mark] = m_old.groups() 71 if "|" in mark: 72 tgid = mark.split("|")[1] 78 mm = mark_matcher.match(mark) 81 parsed.append( [task, pid, tgid, time, mark, line, lineno] ) 82 if "[NN" in mark: 84 if "NN_LR" in mark: 86 if "HIDL::IDevice" in mark and "::server" in mark:
|
D | tree.py | 28 def push(self, start_time_s, mark, layer, phase, app_phase, subtract): argument 29 node = self.current.add(start_time_s, mark, layer, phase, app_phase, subtract) 115 node.start_time_s, node.mark + "(copied " + explanation + ")", 146 [mark, layer, phase] = [node.mark, node.layer, node.phase()] 149 self.debugstring += " ".join(map(str, [indent, mark, layer, phase, 187 def __init__(self, start_time_s, mark, layer, phase, app_phase, subtract): argument 190 self.mark = mark 202 return not self.is_root() and self.mark is None 247 def add(self, start_time_s, mark, layer, phase, app_phase, subtract): argument 248 node = CallTreeNode(start_time_s, mark, layer, phase, app_phase, subtract) [all …]
|
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/ |
D | AudioJitterBufferTest.cpp | 138 bool mark = false; in TEST_F() local 149 if (mJitterBuffer->Get(&subtype, &data, &size, ×tamp, &mark, &seq, getTime)) in TEST_F() 169 if (mJitterBuffer->Get(&subtype, &data, &size, ×tamp, &mark, &seq, getTime)) in TEST_F() 202 bool mark = false; in TEST_F() local 218 if (mJitterBuffer->Get(&subtype, &data, &size, ×tamp, &mark, &seq, getTime)) in TEST_F() 238 if (mJitterBuffer->Get(&subtype, &data, &size, ×tamp, &mark, &seq, getTime)) in TEST_F() 272 bool mark = false; in TEST_F() local 287 if (mJitterBuffer->Get(&subtype, &data, &size, ×tamp, &mark, &seq, getTime)) in TEST_F() 308 if (mJitterBuffer->Get(&subtype, &data, &size, ×tamp, &mark, &seq, getTime)) in TEST_F() 342 bool mark = false; in TEST_F() local [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/ |
D | TextJitterBuffer.cpp | 28 uint32_t timestamp, bool mark, uint32_t seqNum, ImsMediaSubType /*dataType*/, in Add() argument 41 mark, timestamp, size, mLastPlayedSeqNum, arrivalTime); in Add() 57 currEntry.bMark = mark; in Add() 108 uint32_t* timestamp, bool* mark, uint32_t* seqNum, uint32_t /*currentTime*/, in Get() argument 124 if (mark) in Get() 125 *mark = pEntry->bMark; in Get() 145 if (mark) in Get() 146 *mark = false; in Get()
|
/packages/modules/DnsResolver/ |
D | DnsTlsDispatcher.cpp | 52 const std::list<DnsTlsServer>& tlsServers, unsigned netId, unsigned mark) { in getOrderedAndUsableServerList() argument 69 const Key key = std::make_pair(mark, tlsServer); in getOrderedAndUsableServerList() 112 getOrderedAndUsableServerList(tlsServers, statp->netid, statp->mark)); in query() 130 code = this->query(server, statp->netid, statp->mark, query, ans, resplen, in query() 175 unsigned mark, const Slice query, const Slice ans, in query() argument 180 const Key key = std::make_pair(mark, server); in query() 185 xport = addTransport(server, mark, netId); in query() 233 netId, PrivateDnsConfiguration::ServerIdentity{server}, mark); in query() 235 << std::hex << mark << ", " in query() 301 unsigned mark, unsigned netId) { in addTransport() argument [all …]
|
D | DnsTlsDispatcher.h | 62 DnsTlsTransport::Response query(const DnsTlsServer& server, unsigned netId, unsigned mark, 85 Transport(const DnsTlsServer& server, unsigned mark, unsigned netId, in Transport() 88 : transport(server, mark, factory), in Transport() 148 Transport* _Nullable addTransport(const DnsTlsServer& server, unsigned mark, unsigned netId) 172 unsigned netId, unsigned mark);
|
D | DnsTlsTransport.cpp | 96 base::Result<void> sendUdpQuery(netdutils::IPAddress ip, uint32_t mark, in sendUdpQuery() argument 108 if (setsockopt(fd.get(), SOL_SOCKET, SO_MARK, &mark, sizeof(mark)) < 0) { in sendUdpQuery() 276 bool DnsTlsTransport::validate(const DnsTlsServer& server, uint32_t mark) { in validate() argument 277 LOG(DEBUG) << "Beginning validation with mark " << std::hex << mark; in validate() 281 DnsTlsTransport transport(server, mark, &factory); in validate() 323 auto result = sendUdpQuery(server.addr().ip(), mark, query); in validate()
|
D | PrivateDnsConfiguration.cpp | 77 int PrivateDnsConfiguration::set(int32_t netId, uint32_t mark, in set() argument 81 LOG(DEBUG) << "PrivateDnsConfiguration::set(" << netId << ", 0x" << std::hex << mark << std::dec in set() 103 if (int n = setDot(netId, mark, encryptedServers, name, caCert); n != 0) { in set() 107 return setDoh(netId, mark, encryptedServers, name, caCert); in set() 113 int PrivateDnsConfiguration::setDot(int32_t netId, uint32_t mark, in setDot() argument 123 server.mark = mark; in setDot() 268 uint32_t mark) { in requestDotValidation() argument 297 if (target->validationMark() != mark) return Errorf("Socket mark mismatched"); in requestDotValidation() 561 int PrivateDnsConfiguration::setDoh(int32_t netId, uint32_t mark, in setDoh() argument 564 LOG(DEBUG) << "PrivateDnsConfiguration::setDoh(" << netId << ", 0x" << std::hex << mark in setDoh() [all …]
|
D | DnsTlsTransport.h | 44 DnsTlsTransport(const DnsTlsServer& server, unsigned mark, in DnsTlsTransport() argument 46 : mMark(mark), mServer(server), mFactory(factory) {} in DnsTlsTransport() 58 static bool validate(const DnsTlsServer& server, uint32_t mark);
|
D | resolv_private.h | 97 mark(netcontext->dns_mark), in ResState() 112 copy.mark = mark; 142 unsigned mark; // Socket mark to be used by all DNS query sockets member
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/ |
D | RtpEncoderNode.cpp | 160 bool mark = false; in ProcessData() local 165 if (GetData(&subtype, &data, &size, ×tamp, &mark, &seq, &datatype, &arrivalTime)) in ProcessData() 176 ProcessVideoData(subtype, data, size, timestamp, mark); in ProcessData() 180 ProcessTextData(subtype, data, size, timestamp, mark); in ProcessData() 543 ImsMediaSubType subtype, uint8_t* data, uint32_t size, uint32_t timestamp, bool mark) in ProcessVideoData() argument 546 subtype, size, timestamp, mark); in ProcessVideoData() 558 if (mCvoValue > 0 && mark && subtype == MEDIASUBTYPE_VIDEO_IDR_FRAME) in ProcessVideoData() 560 mRtpSession->SendRtpPacket(mRtpPayloadTx, data, size, timestamp, mark, 0, in ProcessVideoData() 565 mRtpSession->SendRtpPacket(mRtpPayloadTx, data, size, timestamp, mark, 0); in ProcessVideoData() 570 ImsMediaSubType subtype, uint8_t* data, uint32_t size, uint32_t timestamp, bool mark) in ProcessTextData() argument [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/nodes/ |
D | TextRtpPayloadDecoderNode.cpp | 65 uint32_t size, uint32_t timestamp, bool mark, uint32_t seqNum, ImsMediaSubType dataType, in OnDataFromFrontNode() argument 81 DecodeT140(data, size, subtype, timestamp, mark, seqNum); in OnDataFromFrontNode() 113 uint32_t timestamp, bool mark, uint32_t seq) in DecodeT140() argument 117 timestamp, mark, seq); in DecodeT140() 141 SendDataToRearNode(MEDIASUBTYPE_BITSTREAM_T140, data, size, timestamp, mark, seq); in DecodeT140() 179 timestamp - redundantTimestamp, mark, redundantSeqNum); in DecodeT140() 193 MEDIASUBTYPE_BITSTREAM_T140, mPayload, (size - readByte), timestamp, mark, seq); in DecodeT140()
|
D | TextRendererNode.cpp | 99 uint32_t timestamp, bool mark, uint32_t seq, ImsMediaSubType dataType, uint32_t arrivalTime) in OnDataFromFrontNode() argument 110 subtype, data, size, timestamp, mark, seq, dataType, arrivalTime); in OnDataFromFrontNode() 120 bool mark; in ProcessData() local 124 while (GetData(&subtype, &data, &size, ×tamp, &mark, &seq, &dataType)) in ProcessData() 128 mark, seq, mLastPlayedSeq); in ProcessData()
|
D | TextRtpPayloadEncoderNode.cpp | 69 uint32_t size, uint32_t timestamp, bool mark, uint32_t /*seq*/, in OnDataFromFrontNode() argument 76 EncodeT140(data, size, timestamp, mark); in OnDataFromFrontNode() 114 uint8_t* data, uint32_t size, uint32_t timestamp, bool mark) in EncodeT140() argument 116 (void)mark; in EncodeT140()
|
/packages/modules/NeuralNetworks/tools/systrace_parser/ |
D | parse_systrace.py | 42 for [task, pid, tgid, time, mark, line, lineno] in parsed: 43 if ("HIDL::IDevice" in mark) or ("[NN_" in mark): 46 if "[NN_LA_PO]" in mark: 56 starting_mark = mark 59 tracker_map[pid].handle_mark(time, mark)
|
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/test/ |
D | test_stats.py | 24 time, _, *mark = line.split(":") 25 mark = ":".join(mark) 26 mark = mark.replace("<thread", "").replace(">", "") 27 if mark[2:3] == "1": 28 self.tracker1.handle_mark(self.from_spectime(time), mark) 30 self.tracker2.handle_mark(self.from_spectime(time), mark)
|
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/include/ |
D | MockBaseNode.h | 48 bool* mark, uint32_t* seq, ImsMediaSubType* dataType, uint32_t* arrivalTime), 52 (ImsMediaSubType subtype, uint8_t* data, uint32_t size, uint32_t timestamp, bool mark, 56 (ImsMediaSubType subtype, uint8_t* pData, uint32_t size, uint32_t timestamp, bool mark, 65 uint32_t timestamp, bool mark, uint32_t seq, in DelegateToFake() 70 mFake->OnDataFromFrontNode(subtype, data, size, timestamp, mark, in DelegateToFake()
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | FirstRunDetector.java | 81 mProfile.mark("PreferenceManager.getDefaultSharedPreferences"); in initializeTimeOfFirstRun() 85 mProfile.mark("preferences.getLong"); in initializeTimeOfFirstRun() 91 mProfile.mark("getSharedPreferences"); in initializeTimeOfFirstRun() 101 mProfile.mark("preferences.edit()"); in initializeTimeOfFirstRun()
|
/packages/modules/Connectivity/service/native/libs/libclat/ |
D | clatutils.cpp | 117 in6_addr* const v6, const uint32_t mark) { in generateIpv6Address() argument 123 if (setsockopt(s, SOL_SOCKET, SO_MARK, &mark, sizeof(mark))) { in generateIpv6Address() 164 const uint32_t mark) { in detect_mtu() argument 174 if (setsockopt(s, SOL_SOCKET, SO_MARK, &mark, sizeof(mark))) { in detect_mtu()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/nodes/ |
D | BaseNode.h | 243 uint32_t* timestamp, bool* mark, uint32_t* seq, ImsMediaSubType* dataType = nullptr, 261 virtual void AddData(uint8_t* data, uint32_t size, uint32_t timestamp, bool mark, uint32_t seq, 286 uint32_t timestamp, bool mark, uint32_t seq, 305 uint32_t timestamp, bool mark, uint32_t nSeqNum,
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | ClatCoordinatorTest.java | 223 @NonNull String prefix64, int mark) throws IOException { in generateIpv6Address() argument 225 && NAT64_PREFIX_STRING.equals(prefix64) && MARK == mark) { in generateIpv6Address() 228 fail("unsupported args: " + iface + ", " + v4 + ", " + prefix64 + ", " + mark); in generateIpv6Address() 236 public int detectMtu(@NonNull String platSubnet, int platSuffix, int mark) in detectMtu() argument 239 && MARK == mark) { in detectMtu() 242 fail("unsupported args: " + platSubnet + ", " + platSuffix + ", " + mark); in detectMtu() 250 public int openRawSocket6(int mark) throws IOException { in openRawSocket6() argument 251 if (mark == MARK) { in openRawSocket6() 254 fail("unsupported arg: " + mark); in openRawSocket6() 620 @NonNull String prefix64, int mark) throws IOException { in testNotStartClatWithNativeFailureGenerateIpv6Address() argument [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | FilterDrawRepresentation.java | 328 StrokeData mark = mDrawing.get(i); in serializeRepresentation() local 329 writer.name(SERIAL_COLOR).value(mark.mColor); in serializeRepresentation() 330 writer.name(SERIAL_RADIUS).value(mark.mRadius); in serializeRepresentation() 331 writer.name(SERIAL_TYPE).value(mark.mType); in serializeRepresentation() 332 writer.name(SERIAL_POINTS_COUNT).value(mark.noPoints); in serializeRepresentation() 336 int npoints = mark.noPoints * 2; in serializeRepresentation() 338 writer.value(mark.mPoints[j]); in serializeRepresentation()
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | annotation_classlist_repohook.py | 72 for mark in marker_index: 73 if mark > previous_mark: 74 all_results.append(all_data[previous_mark+1:mark]) 75 previous_mark = mark
|