Home
last modified time | relevance | path

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

12345678910>>...19

/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/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.name, 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.name, 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/base/boot/
DAndroid.bp42 // This module provides access to information Soong has related to the
58 // This module needs to be present in the build for the above processing to be
68 module: "com.android.adservices-bootclasspath-fragment",
72 module: "com.android.appsearch-bootclasspath-fragment",
76 module: "art-bootclasspath-fragment",
80 module: "com.android.bt-bootclasspath-fragment",
84 module: "com.android.configinfrastructure-bootclasspath-fragment",
88 module: "com.android.conscrypt-bootclasspath-fragment",
92 module: "com.android.devicelock-bootclasspath-fragment",
96 module: "com.android.healthfitness-bootclasspath-fragment",
[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/base/ravenwood/scripts/
Dravenwood-test-summary48 module = '(unknwon)'
58 module = row[0]
63 result[module] = (passed, failed, skipped)
73 for module in sorted(result.keys(), key=str.casefold):
74 r = result[module]
75 print('%-60s %8d %8d %8d' % (module, r[0], r[1], r[2]))
/frameworks/base/tools/lint/utils/
Denforce_permission_counter.py40 for module in dep_modules:
41 if "frameworks/base/services" not in module.path:
43 if module.name == "services.core":
45 modules.append(module)
50 for module in modules:
51 with open(module.lint_report, "r") as f:
/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/base/tools/lint/fix/
Dsoong_lint_fix.py129 module = SoongModule(module_name)
130 module.find(self._module_info)
131 return module
149 def _find_module_java_deps(self, module): argument
159 dep_names = module.find_java_deps(self._module_java_deps)
168 for module in modules:
176 target = " ".join([ module.lint_report for module in modules ])
182 for module in modules:
193 for module in modules:
195 with open(module.lint_report, "r") as f:
/frameworks/proto_logging/stats/stats_log_api_gen/
Dtest_vendor_atoms.proto25 VendorAtom1 vendorAtom1 = 105501 [(android.os.statsd.module) = "test"];
26 VendorAtom2 vendorAtom2 = 105502 [(android.os.statsd.module) = "test"];
27 VendorAtom3 vendorAtom3 = 105503 [(android.os.statsd.module) = "test"];
28 VendorAtom4 vendorAtom4 = 105504 [(android.os.statsd.module) = "test"];
29 VendorAtom5 vendorAtom5 = 105505 [(android.os.statsd.module) = "test"];
30 VendorAtom6 vendorAtom6 = 105513 [(android.os.statsd.module) = "test"];
32 (android.os.statsd.module) = "test"
34 VendorAtom5WithState vendorAtom5WithState = 105515 [(android.os.statsd.module) = "test"];
35 VendorAtomWithState stateAtom1 = 105506 [(android.os.statsd.module) = "test"];
36 VendorAtomWithState2 stateAtom2 = 105507 [(android.os.statsd.module) = "test"];
[all …]
/frameworks/base/tools/processors/property_cache/test/java/android/processor/property_cache/shadows/
DIpcDataCache.java22 public Config(int max, String module, String api, String name) { in Config() argument
67 public static String createPropertyName(String module, String key) { in createPropertyName() argument
68 return module + key; in createPropertyName()
105 String module, in IpcDataCache() argument
131 public static void invalidateCache(String module, String api) { in invalidateCache() argument
/frameworks/proto_logging/stats/atoms/photopicker/
Dphotopicker_extension_atoms.proto31 [(module) = "mediaprovider"];
33 [(module) = "mediaprovider"];
35 [(module) = "mediaprovider"];
37 [(module) = "mediaprovider"];
39 [(module) = "mediaprovider"];
41 [(module) = "mediaprovider"];
43 [(module) = "mediaprovider"];
45 [(module) = "mediaprovider"];
47 [(module) = "mediaprovider"];
49 [(module) = "mediaprovider"];
[all …]
/frameworks/proto_logging/stats/atoms/expresslog/
Dexpresslog_extension_atoms.proto29 528 [(module) = "framework", (module) = "expresslog", (module) = "statsdtest"];
31 593 [(module) = "framework", (module) = "expresslog"];
33 644 [(module) = "framework", (module) = "expresslog"];
35 658 [(module) = "framework", (module) = "expresslog"];
/frameworks/base/api/
DAndroid.bp69 "art.module.public.api",
70 "conscrypt.module.public.api",
100 "i18n.module.public.api",
205 // Android module-lib API.
207 name: "android.api.merged.module-lib.latest",
209 ":android.api.combined.module-lib.latest",
211 out: ["module-lib-latest.txt"],
216 // Make sure that the Android module-lib API is compatible with the
217 // previously released module-lib API.
219 name: "frameworks-base-api-module-lib-current-compat",
[all …]
DStubLibraries.bp39 "module-classpath-stubs-defaults",
121 "module-classpath-stubs-defaults",
184 "module-classpath-stubs-defaults",
263 name: "module-lib-api-stubs-docs-non-updatable",
266 "module-classpath-stubs-defaults",
271 previous_api: ":android.api.combined.module-lib.latest",
274 api_file: ":non-updatable-module-lib-current.txt",
275 removed_api_file: ":non-updatable-module-lib-removed.txt",
278 api_file: ":android-non-updatable.api.combined.module-lib.latest",
279 removed_api_file: ":android-non-updatable-removed.api.combined.module-lib.latest",
[all …]
/frameworks/base/core/api/
DAndroid.bp61 name: "non-updatable-module-lib-current.txt",
62 srcs: ["module-lib-current.txt"],
71 name: "non-updatable-module-lib-removed.txt",
72 srcs: ["module-lib-removed.txt"],
81 name: "non-updatable-module-lib-lint-baseline.txt",
82 srcs: ["module-lib-lint-baseline.txt"],
122 name: "non-updatable-exportable-module-lib-current.txt",
123 device_common_srcs: [":module-lib-api-stubs-docs-non-updatable{.exportable.api.txt}"],
127 name: "non-updatable-exportable-module-lib-removed.txt",
128 device_common_srcs: [":module-lib-api-stubs-docs-non-updatable{.exportable.removed-api.txt}"],
/frameworks/base/services/core/jni/BroadcastRadio/
DBroadcastRadioService.cpp161 factory->connectModule(clazz, [&](Result res, const sp<V1_0::IBroadcastRadio>& module) { in nativeLoadModules() argument
163 module10 = module; in nativeLoadModules()
164 module11 = V1_1::IBroadcastRadio::castFrom(module).withDefault(nullptr); in nativeLoadModules()
221 auto module = ctx.mModules[moduleId]; in nativeOpenTuner() local
229 if (module.bands.size() == 0) { in nativeOpenTuner()
233 bandConfigHal = module.bands[0]; in nativeOpenTuner()
237 auto fmIt = std::find_if(module.bands.begin(), module.bands.end(), in nativeOpenTuner()
239 if (fmIt != module.bands.end()) bandConfigHal = *fmIt; in nativeOpenTuner()
248 callback, module.halRev, region, withAudio, bandConfigHal.type)); in nativeOpenTuner()
258 auto hidlResult = module.radioModule->openTuner(bandConfigHal, withAudio, tunerCb, in nativeOpenTuner()
[all …]
/frameworks/compile/mclinker/unittests/
DLinkerTest.cpp50 Module module("test", script); in TEST_F() local
56 IRBuilder builder(module, config); in TEST_F()
60 if (linker.link(module, builder)) in TEST_F()
61 linker.emit(module, "./test.so"); in TEST_F()
95 Module module("libplasma.so", script); in TEST_F() local
96 IRBuilder builder(module, config); in TEST_F()
119 if (linker.link(module, builder)) { in TEST_F()
120 linker.emit(module, "libplasma.so"); ///< -o libplasma.so in TEST_F()
350 Module module(script); in TEST_F() local
351 IRBuilder builder(module, config); in TEST_F()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp288 for (const auto& module : *this) { in getModuleFromHandle()
289 if (module->getHandle() == handle) { in getModuleFromHandle()
290 return module; in getModuleFromHandle()
298 for (const auto& module : *this) { in getModuleFromName()
299 if (strcmp(module->getName(), name) == 0) { in getModuleFromName()
300 return module; in getModuleFromName()
310 for (const auto& module : *this) { in getModuleForDeviceType()
312 module->getOutputProfiles() : module->getInputProfiles(); in getModuleForDeviceType()
316 DeviceVector declaredDevices = module->getDeclaredDevices(); in getModuleForDeviceType()
323 return module; in getModuleForDeviceType()
[all …]
/frameworks/av/services/mediametrics/fuzzer/
DREADME.md12 1. Media Metrics Item Manipulation (module name: `Item`)
13 2. Media Metrics Time Machine Storage (module name: `TimeMachineStorage`)
14 3. Media Metrics Transaction Log (module name: `TransactionLog`)
15 4. Media Metrics Analytics Action (module name: `AnalyticsAction`)
16 5. Media Metrics Audio Analytics (module name: `AudioAnalytics`)
17 6. Media Metrics Timed Action (module name: `TimedAction`)
/frameworks/proto_logging/stats/atoms/nfc/
Dnfc_extension_atoms.proto28 optional NfcObserveModeStateChanged nfc_observe_mode_state_changed = 855 [(module) = "nfc"];
29 optional NfcFieldChanged nfc_field_changed = 856 [(module) = "nfc"];
30 …fcPollingLoopNotificationReported nfc_polling_loop_notification_reported = 857 [(module) = "nfc"];
31 …NfcProprietaryCapabilitiesReported nfc_proprietary_capabilities_reported = 858 [(module) = "nfc"];
32 optional NfcExitFrameTableChanged nfc_exit_frame_table_changed = 1036 [(module) = "nfc"];
33 optional NfcAutoTransactReported nfc_auto_transact_reported = 1038 [(module) = "nfc"];
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DBroadcastRadioService.java160 return mModules.values().stream().map(module -> module.getProperties()) in listModules()
190 RadioModule module; in openSession() local
192 module = mModules.get(moduleId); in openSession()
193 if (module == null) { in openSession()
198 TunerSession tunerSession = module.openSession(callback); in openSession()
211 for (RadioModule module : mModules.values()) { in addAnnouncementListener()
213 aggregator.watchModule(module, enabledTypes); in addAnnouncementListener()
/frameworks/av/media/libaudiohal/impl/
DConversionHelperAidl.cpp49 auto module = std::get<static_cast<int>(ParameterScope::MODULE)>(recipient); in parseAndGetVendorParameters() local
50 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(module->getVendorParameters( in parseAndGetVendorParameters()
91 auto module = std::get<static_cast<int>(ParameterScope::MODULE)>(recipient); in parseAndSetVendorParameters() local
93 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(module->setVendorParameters( in parseAndSetVendorParameters()
97 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(module->setVendorParameters( in parseAndSetVendorParameters()
/frameworks/base/packages/SystemUI/common/
DREADME.md3 `SystemUICommon` is a module within SystemUI that hosts standalone helper libraries. It is intended
7 To maintain the structure of this module, please refrain from adding components at the top level.
9 keep the module organized and easy to navigate.

12345678910>>...19