Home
last modified time | relevance | path

Searched refs:gen (Results 1 – 25 of 36) sorted by relevance

12

/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java218 private void assertVerdict(int expected, ApfGenerator gen, byte[] packet, int filterAge) in assertVerdict() argument
220 assertReturnCodesEqual(expected, apfSimulate(gen.generate(), packet, null, in assertVerdict()
224 private void assertPass(ApfGenerator gen, byte[] packet, int filterAge) in assertPass() argument
226 assertVerdict(PASS, gen, packet, filterAge); in assertPass()
229 private void assertDrop(ApfGenerator gen, byte[] packet, int filterAge) in assertDrop() argument
231 assertVerdict(DROP, gen, packet, filterAge); in assertDrop()
234 private void assertPass(ApfGenerator gen) in assertPass() argument
236 assertVerdict(PASS, gen, new byte[MIN_PKT_SIZE], 0); in assertPass()
239 private void assertDrop(ApfGenerator gen) in assertDrop() argument
241 assertVerdict(DROP, gen, new byte[MIN_PKT_SIZE], 0); in assertDrop()
[all …]
DBpf2Apf.java55 private static void convertLine(String line, ApfGenerator gen) in convertLine() argument
61 gen.defineLabel(Integer.toString(label)); in convertLine()
76 gen.addLoadFromMemory(dest, gen.IPV4_HEADER_SIZE_MEMORY_SLOT); in convertLine()
83 gen.addLoadFromMemory(dest, gen.PACKET_SIZE_MEMORY_SLOT); in convertLine()
90 gen.addLoadImmediate(dest, parseImm(line, arg)); in convertLine()
98 if (memory_slot < 0 || memory_slot >= gen.MEMORY_SLOTS || in convertLine()
101 (memory_slot >= gen.FIRST_PREFILLED_MEMORY_SLOT && in convertLine()
102 memory_slot <= gen.LAST_PREFILLED_MEMORY_SLOT)) { in convertLine()
105 gen.addLoadFromMemory(dest, memory_slot); in convertLine()
113 gen.addLoad32Indexed(dest, offset); in convertLine()
[all …]
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java178 private void maybeSetupCounter(ApfGenerator gen, Counter c) { in maybeSetupCounter() argument
180 gen.addLoadImmediate(Register.R1, c.offset()); in maybeSetupCounter()
905 long generateFilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateFilterLocked() argument
908 gen.addLoadFromMemory(Register.R0, gen.PACKET_SIZE_MEMORY_SLOT); in generateFilterLocked()
909 gen.addJumpIfR0NotEquals(mPacket.capacity(), nextFilterLabel); in generateFilterLocked()
912 gen.addLoadFromMemory(Register.R0, gen.FILTER_AGE_MEMORY_SLOT); in generateFilterLocked()
913 gen.addJumpIfR0GreaterThan(filterLifetime, nextFilterLabel); in generateFilterLocked()
917 gen.addLoadImmediate(Register.R0, section.start); in generateFilterLocked()
918 gen.addJumpIfBytesNotEqual(Register.R0, in generateFilterLocked()
928 case 4: gen.addLoad32(Register.R0, section.start); break; in generateFilterLocked()
[all …]
/packages/apps/TV/common/
Dbuildconfig.mk33 gen := $(local-generated-sources-dir)/$(TARGET_BUILD_VARIANT)/BuildConfig.java
34 $(gen): PRIVATE_CUSTOM_TOOL = sed -e \
37 $(gen) : $(LOCAL_PATH)/BuildConfig.java.in
39 LOCAL_GENERATED_SOURCES += $(gen)
/packages/apps/TV/partner_support/
Dbuildconfig.mk33 gen := $(local-generated-sources-dir)/$(TARGET_BUILD_VARIANT)/BuildConfig.java
34 $(gen): PRIVATE_CUSTOM_TOOL = sed -e \
37 $(gen) : $(LOCAL_PATH)/BuildConfig.java.in
39 LOCAL_GENERATED_SOURCES += $(gen)
/packages/apps/DocumentsUI/
DAndroid.bp50 ":statslog-docsui-java-gen",
57 ":statslog-docsui-java-gen",
62 name: "statslog-docsui-java-gen",
63 tools: ["stats-log-api-gen"],
64 …cmd: "$(location stats-log-api-gen) --java $(out) --module docsui --javaPackage com.android.docume…
/packages/modules/NetworkStack/
DAndroid.bp113 ":statslog-networkstack-java-gen"
132 ":statslog-networkstack-java-gen-q",
258 name: "statslog-networkstack-java-gen-q",
259 tools: ["stats-log-api-gen"],
260 cmd: "$(location stats-log-api-gen) --java $(out) --module network_stack" +
267 name: "statslog-networkstack-java-gen",
268 tools: ["stats-log-api-gen"],
269 cmd: "$(location stats-log-api-gen) --java $(out) --module network_stack" +
/packages/apps/Bluetooth/
DAndroid.bp48 ":statslog-bluetooth-java-gen",
90 name: "statslog-bluetooth-java-gen",
91 tools: ["stats-log-api-gen"],
92 cmd: "$(location stats-log-api-gen) --java $(out) --module bluetooth"
/packages/apps/PermissionController/
DAndroid.bp18 name: "statslog-permissioncontroller-java-gen",
19 tools: ["stats-log-api-gen"],
20 …cmd: "$(location stats-log-api-gen) --java $(out) --module permissioncontroller --javaPackage com.…
29 ":statslog-permissioncontroller-java-gen",
/packages/apps/Car/libs/car-ui-lib/
Dgenerate_rros.mk36 gen := $$(call intermediates-dir-for,ETC,$$(rro_package_name))/AndroidManifest.xml
37 $$(gen): $(LOCAL_PATH)/AndroidManifest.xml
42 LOCAL_FULL_MANIFEST_FILE := $$(gen)
/packages/modules/DnsResolver/
DAndroid.bp200 tools: ["stats-log-api-gen"],
201 …cmd: "$(location stats-log-api-gen) --header $(genDir)/statslog_resolv.h --module resolv --namespa…
209 tools: ["stats-log-api-gen"],
210 …cmd: "$(location stats-log-api-gen) --cpp $(genDir)/statslog_resolv.cpp --module resolv --namespac…
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
DMtpImageView.java84 public void setMtpDeviceAndObjectInfo(MtpDevice device, IngestObjectInfo object, int gen) { in setMtpDeviceAndObjectInfo() argument
86 if (handle == mObjectHandle && gen == mGeneration) { in setMtpDeviceAndObjectInfo()
91 mGeneration = gen; in setMtpDeviceAndObjectInfo()
/packages/apps/UniversalMediaPlayer/
DAndroid.bp22 "gen/**/*.java", // TODO(b/123702784) Remove gen/ (either generate or remove dependencies)
/packages/apps/DeskClock/
DAndroid.bp8 "gen/**/*.java",
44 "gen/**/*.java",
/packages/inputmethods/LatinIME/dictionaries/
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...

12