Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 501) sorted by relevance

12345678910>>...21

/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareImplTest.java72 private Pair<Integer, SoundTriggerHwCallback> loadGenericModel(ISoundTriggerModule module, in loadGenericModel() argument
83 int handle = module.loadModel(model); in loadGenericModel()
90 private Pair<Integer, SoundTriggerHwCallback> loadPhraseModel(ISoundTriggerModule module, in loadPhraseModel() argument
102 int handle = module.loadPhraseModel(model); in loadPhraseModel()
109 private void unloadModel(ISoundTriggerModule module, int handle, int hwHandle) in unloadModel() argument
111 module.unloadModel(handle); in unloadModel()
116 private void startRecognition(ISoundTriggerModule module, int handle, int hwHandle) in startRecognition() argument
123 module.startRecognition(handle, config); in startRecognition()
128 private void stopRecognition(ISoundTriggerModule module, int handle, int hwHandle) in stopRecognition() argument
130 module.stopRecognition(handle); in stopRecognition()
[all …]
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/netlink/
DNetlinkConstantsTest.java17 package com.android.net.module.util.netlink;
23 import static com.android.net.module.util.netlink.NetlinkConstants.IPCTNL_MSG_CT_DELETE;
24 import static com.android.net.module.util.netlink.NetlinkConstants.IPCTNL_MSG_CT_GET;
25 import static com.android.net.module.util.netlink.NetlinkConstants.IPCTNL_MSG_CT_GET_CTRZERO;
26 import static com.android.net.module.util.netlink.NetlinkConstants.IPCTNL_MSG_CT_GET_DYING;
27 import static com.android.net.module.util.netlink.NetlinkConstants.IPCTNL_MSG_CT_GET_STATS;
28 import static com.android.net.module.util.netlink.NetlinkConstants.IPCTNL_MSG_CT_GET_STATS_CPU;
29 import static com.android.net.module.util.netlink.NetlinkConstants.IPCTNL_MSG_CT_GET_UNCONFIRMED;
30 import static com.android.net.module.util.netlink.NetlinkConstants.IPCTNL_MSG_CT_NEW;
31 import static com.android.net.module.util.netlink.NetlinkConstants.NFNL_SUBSYS_CTNETLINK;
[all …]
/frameworks/av/media/module/codecs/mp3dec/src/
Dpvmp3_getbits.cpp131 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getNbits()
138 Elem3 = *(ptBitStream->pBuffer + module(offset + 3, BUFSIZE)); in getNbits()
141 Elem2 = *(ptBitStream->pBuffer + module(offset + 2, BUFSIZE)); in getNbits()
144 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getNbits()
147 Elem = *(ptBitStream->pBuffer + module(offset, BUFSIZE)); in getNbits()
185 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getUpTo9bits()
191 Elem = *(ptBitStream->pBuffer + module(offset, BUFSIZE)); in getUpTo9bits()
192 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getUpTo9bits()
196 Elem = *(ptBitStream->pBuffer + module(offset, BUFSIZE)); in getUpTo9bits()
232 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getUpTo17bits()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/dump/
DDumpManager.kt47 fun registerCriticalDumpable(module: Dumpable) { in registerCriticalDumpable()
48 registerCriticalDumpable(module::class.java.simpleName, module) in registerCriticalDumpable()
59 fun registerCriticalDumpable(name: String, module: Dumpable) { in registerCriticalDumpable()
60 registerDumpable(name, module, DumpPriority.CRITICAL) in registerCriticalDumpable()
64 fun registerNormalDumpable(module: Dumpable) { in registerNormalDumpable()
65 registerNormalDumpable(module::class.java.simpleName, module) in registerNormalDumpable()
75 fun registerNormalDumpable(name: String, module: Dumpable) { in registerNormalDumpable()
76 registerDumpable(name, module, DumpPriority.NORMAL) in registerNormalDumpable()
97 module: Dumpable, in registerDumpable()
100 if (!canAssignToNameLocked(name, module)) { in registerDumpable()
[all …]
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
DRouterAdvertisementResponder.java21 import static com.android.net.module.util.NetworkStackConstants.ETHER_TYPE_IPV6;
22 import static com.android.net.module.util.NetworkStackConstants.ICMPV6_ND_OPTION_SLLA;
23 import static com.android.net.module.util.NetworkStackConstants.ICMPV6_ND_OPTION_TLLA;
24 import static com.android.net.module.util.NetworkStackConstants.ICMPV6_NEIGHBOR_SOLICITATION;
25 import static com.android.net.module.util.NetworkStackConstants.ICMPV6_ROUTER_SOLICITATION;
26 import static com.android.net.module.util.NetworkStackConstants.IPV6_ADDR_ALL_NODES_MULTICAST;
27 import static com.android.net.module.util.NetworkStackConstants.NEIGHBOR_ADVERTISEMENT_FLAG_OVERRID…
28 import static com.android.net.module.util.NetworkStackConstants.NEIGHBOR_ADVERTISEMENT_FLAG_ROUTER;
29 import static com.android.net.module.util.NetworkStackConstants.NEIGHBOR_ADVERTISEMENT_FLAG_SOLICIT…
30 import static com.android.net.module.util.NetworkStackConstants.PIO_FLAG_AUTONOMOUS;
[all …]
/frameworks/base/boot/
DAndroid.bp38 // This module provides access to information Soong has related to the
54 // This module needs to be present in the build for the above processing to be
64 module: "com.android.adservices-bootclasspath-fragment",
68 module: "com.android.appsearch-bootclasspath-fragment",
72 module: "art-bootclasspath-fragment",
76 module: "com.android.btservices-bootclasspath-fragment",
80 module: "com.android.configinfrastructure-bootclasspath-fragment",
84 module: "com.android.conscrypt-bootclasspath-fragment",
88 module: "com.android.devicelock-bootclasspath-fragment",
92 module: "com.android.healthfitness-bootclasspath-fragment",
[all …]
/frameworks/libs/net/common/device/com/android/net/module/util/
DPacketBuilder.java17 package com.android.net.module.util;
24 import static com.android.net.module.util.IpUtils.ipChecksum;
25 import static com.android.net.module.util.IpUtils.tcpChecksum;
26 import static com.android.net.module.util.IpUtils.udpChecksum;
27 import static com.android.net.module.util.NetworkStackConstants.IPV4_CHECKSUM_OFFSET;
28 import static com.android.net.module.util.NetworkStackConstants.IPV4_LENGTH_OFFSET;
29 import static com.android.net.module.util.NetworkStackConstants.IPV6_HEADER_LEN;
30 import static com.android.net.module.util.NetworkStackConstants.IPV6_LEN_OFFSET;
31 import static com.android.net.module.util.NetworkStackConstants.TCP_CHECKSUM_OFFSET;
32 import static com.android.net.module.util.NetworkStackConstants.UDP_CHECKSUM_OFFSET;
[all …]
DIpv6Utils.java17 package com.android.net.module.util;
21 import static com.android.net.module.util.IpUtils.icmpv6Checksum;
22 import static com.android.net.module.util.NetworkStackConstants.ETHER_TYPE_IPV6;
23 import static com.android.net.module.util.NetworkStackConstants.ICMPV6_ECHO_REPLY_TYPE;
24 import static com.android.net.module.util.NetworkStackConstants.ICMPV6_ECHO_REQUEST_TYPE;
25 import static com.android.net.module.util.NetworkStackConstants.ICMPV6_NEIGHBOR_ADVERTISEMENT;
26 import static com.android.net.module.util.NetworkStackConstants.ICMPV6_NEIGHBOR_SOLICITATION;
27 import static com.android.net.module.util.NetworkStackConstants.ICMPV6_ROUTER_ADVERTISEMENT;
28 import static com.android.net.module.util.NetworkStackConstants.ICMPV6_ROUTER_SOLICITATION;
32 import com.android.net.module.util.structs.EthernetHeader;
[all …]
/frameworks/base/tools/bit/
Dmake.cpp237 Module module; in read_modules() local
239 module.name = name; in read_modules()
240 get_values(value, "class", &module.classes); in read_modules()
241 get_values(value, "path", &module.paths); in read_modules()
242 get_values(value, "installed", &module.installed); in read_modules()
245 for (ssize_t i = module.classes.size() - 1; i >= 0; i--) { in read_modules()
246 string cl = module.classes[i]; in read_modules()
249 module.classes.erase(module.classes.begin() + i); in read_modules()
252 if (module.classes.size() == 0) { in read_modules()
257 for (ssize_t i = module.installed.size() - 1; i >= 0; i--) { in read_modules()
[all …]
/frameworks/compile/libbcc/lib/
DCompiler.cpp58 bool validateLayoutOfExportedTypes(const llvm::Module &module, in validateLayoutOfExportedTypes() argument
65 module.getNamedMetadata(ExportedTypeMetadataName); in validateLayoutOfExportedTypes()
79 llvm::StructType *const exportedType = module.getTypeByName(exportedTypeName); in validateLayoutOfExportedTypes()
304 llvm::Module &module = script.getSource().getModule(); in compile() local
311 const std::string &triple = module.getTargetTriple(); in compile()
327 if (!validateLayoutOfExportedTypes(module, module.getDataLayout(), dl)) in compile()
341 module.setTargetTriple(getTargetMachine().getTargetTriple().str()); in compile()
342 module.setDataLayout(getTargetMachine().createDataLayout()); in compile()
345 if (module.getMaterializer() != nullptr) { in compile()
349 std::error_code ec = module.materializeAll(); in compile()
[all …]
DSource.cpp66 static void helper_set_module_metadata_from_bitcode_wrapper(llvm::Module &module, in helper_set_module_metadata_from_bitcode_wrapper() argument
69 llvm::LLVMContext &llvmContext = module.getContext(); in helper_set_module_metadata_from_bitcode_wrapper()
72 module.getOrInsertNamedMetadata(bcinfo::MetadataExtractor::kWrapperMetadataName); in helper_set_module_metadata_from_bitcode_wrapper()
121 llvm::Module *module = managedModule.release(); in CreateFromBuffer() local
122 if (module == nullptr) { in CreateFromBuffer()
129 Source *result = CreateFromModule(pContext, pName, *module, in CreateFromBuffer()
133 delete module; in CreateFromBuffer()
161 llvm::Module *module = managedModule.release(); in CreateFromFile() local
162 if (module == nullptr) { in CreateFromFile()
166 Source *result = CreateFromModule(pContext, pPath.c_str(), *module, in CreateFromFile()
[all …]
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DInet4AddressUtilsTest.java17 package com.android.net.module.util;
19 import static com.android.net.module.util.Inet4AddressUtils.getBroadcastAddress;
20 import static com.android.net.module.util.Inet4AddressUtils.getImplicitNetmask;
21 import static com.android.net.module.util.Inet4AddressUtils.getPrefixMaskAsInet4Address;
22 import static com.android.net.module.util.Inet4AddressUtils.inet4AddressToIntHTH;
23 import static com.android.net.module.util.Inet4AddressUtils.inet4AddressToIntHTL;
24 import static com.android.net.module.util.Inet4AddressUtils.intToInet4AddressHTH;
25 import static com.android.net.module.util.Inet4AddressUtils.intToInet4AddressHTL;
26 import static com.android.net.module.util.Inet4AddressUtils.netmaskToPrefixLength;
27 import static com.android.net.module.util.Inet4AddressUtils.prefixLengthToV4NetmaskIntHTH;
[all …]
/frameworks/libs/net/common/
DAndroid.bp37 "device/com/android/net/module/util/DeviceConfigUtils.java",
38 "device/com/android/net/module/util/FdEventsReader.java",
39 "device/com/android/net/module/util/HexDump.java",
40 "device/com/android/net/module/util/NetworkMonitorUtils.java",
41 "device/com/android/net/module/util/PacketReader.java",
42 "device/com/android/net/module/util/SharedLog.java",
43 "device/com/android/net/module/util/SocketUtils.java",
120 "device/com/android/net/module/util/BpfBitmap.java",
121 "device/com/android/net/module/util/BpfDump.java",
122 "device/com/android/net/module/util/BpfMap.java",
[all …]
/frameworks/libs/net/common/device/com/android/net/module/util/ip/
DNetlinkMonitor.java17 package com.android.net.module.util.ip;
26 import static com.android.net.module.util.SocketUtils.closeSocketQuietly;
27 import static com.android.net.module.util.SocketUtils.makeNetlinkSocketAddress;
28 import static com.android.net.module.util.netlink.NetlinkConstants.hexify;
37 import com.android.net.module.util.PacketReader;
38 import com.android.net.module.util.SharedLog;
39 import com.android.net.module.util.netlink.NetlinkErrorMessage;
40 import com.android.net.module.util.netlink.NetlinkMessage;
41 import com.android.net.module.util.netlink.NetlinkUtils;
DIpNeighborMonitor.java17 package com.android.net.module.util.ip;
21 import static com.android.net.module.util.netlink.NetlinkConstants.RTM_DELNEIGH;
22 import static com.android.net.module.util.netlink.NetlinkConstants.hexify;
23 import static com.android.net.module.util.netlink.NetlinkConstants.stringForNlMsgType;
32 import com.android.net.module.util.SharedLog;
33 import com.android.net.module.util.netlink.NetlinkMessage;
34 import com.android.net.module.util.netlink.NetlinkUtils;
35 import com.android.net.module.util.netlink.RtNetlinkNeighborMessage;
36 import com.android.net.module.util.netlink.StructNdMsg;
/frameworks/libs/net/common/device/com/android/net/module/util/structs/
DRsHeader.java17 package com.android.net.module.util.structs;
19 import com.android.net.module.util.Struct;
20 import com.android.net.module.util.Struct.Field;
21 import com.android.net.module.util.Struct.Type;
DMtuOption.java17 package com.android.net.module.util.structs;
19 import static com.android.net.module.util.NetworkStackConstants.ICMPV6_ND_OPTION_MTU;
21 import com.android.net.module.util.Struct;
22 import com.android.net.module.util.Struct.Field;
23 import com.android.net.module.util.Struct.Type;
DIaPdOption.java17 package com.android.net.module.util.structs;
19 import static com.android.net.module.util.NetworkStackConstants.DHCP6_OPTION_IA_PD;
21 import com.android.net.module.util.Struct;
22 import com.android.net.module.util.Struct.Field;
23 import com.android.net.module.util.Struct.Type;
DNaHeader.java17 package com.android.net.module.util.structs;
19 import com.android.net.module.util.Struct;
20 import com.android.net.module.util.Struct.Field;
21 import com.android.net.module.util.Struct.Type;
DIcmpv6Header.java17 package com.android.net.module.util.structs;
19 import com.android.net.module.util.Struct;
20 import com.android.net.module.util.Struct.Field;
21 import com.android.net.module.util.Struct.Type;
DNsHeader.java17 package com.android.net.module.util.structs;
19 import com.android.net.module.util.Struct;
20 import com.android.net.module.util.Struct.Field;
21 import com.android.net.module.util.Struct.Type;
DIcmpv4Header.java16 package com.android.net.module.util.structs;
18 import com.android.net.module.util.Struct;
19 import com.android.net.module.util.Struct.Field;
20 import com.android.net.module.util.Struct.Type;
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DBroadcastRadioService.java78 RadioModule module = RadioModule.tryLoadingModule(moduleId, serviceName);
79 if (module == null) {
84 RadioModule prevModule = mModules.put(moduleId, module);
95 module.getService().linkToDeath(mDeathRecipient, moduleId);
154 return mModules.values().stream().map(module -> module.getProperties()) in listModules()
184 RadioModule module; in openSession() local
186 module = mModules.get(moduleId); in openSession()
187 if (module == null) { in openSession()
192 TunerSession tunerSession = module.openSession(callback); in openSession()
205 for (RadioModule module : mModules.values()) { in addAnnouncementListener()
[all …]
/frameworks/base/core/java/android/os/
DIpcDataCache.java325 public IpcDataCache(int maxEntries, @NonNull @IpcDataCacheModule String module, in IpcDataCache() argument
328 super(maxEntries, module, api, cacheName, computer); in IpcDataCache()
380 public static void invalidateCache(@NonNull @IpcDataCacheModule String module, in invalidateCache() argument
382 PropertyInvalidatedCache.invalidateCache(module, api); in invalidateCache()
438 public Config(int maxEntries, @NonNull @IpcDataCacheModule String module, in Config() argument
441 mModule = module; in Config()
449 public Config(int maxEntries, @NonNull @IpcDataCacheModule String module, in Config() argument
451 this(maxEntries, module, api, api); in Config()
459 this(root.maxEntries(), root.module(), api, name); in Config()
467 this(root.maxEntries(), root.module(), api, api); in Config()
[all …]
/frameworks/base/core/api/
DAndroid.bp56 name: "non-updatable-module-lib-current.txt",
57 srcs: ["module-lib-current.txt"],
66 name: "non-updatable-module-lib-removed.txt",
67 srcs: ["module-lib-removed.txt"],
76 name: "non-updatable-module-lib-lint-baseline.txt",
77 srcs: ["module-lib-lint-baseline.txt"],
105 name: "frameworks-base-core-api-module-lib-stubs",
106 api_surface: "module-lib",
107 api_file: "module-lib-current.txt",

12345678910>>...21