Home
last modified time | relevance | path

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

1234567

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_getbits.cpp129 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); in getNbits()
130 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getNbits()
131 Elem2 = *(ptBitStream->pBuffer + module(offset + 2, BUFSIZE)); in getNbits()
132 Elem3 = *(ptBitStream->pBuffer + module(offset + 3, BUFSIZE)); in getNbits()
141 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getNbits()
170 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); in getUpTo9bits()
171 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getUpTo9bits()
178 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getUpTo9bits()
207 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); in getUpTo17bits()
208 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getUpTo17bits()
[all …]
/frameworks/base/tools/bit/
Dmake.cpp236 Module module; in read_modules() local
238 module.name = name; in read_modules()
239 get_values(value, "class", &module.classes); in read_modules()
240 get_values(value, "path", &module.paths); in read_modules()
241 get_values(value, "installed", &module.installed); in read_modules()
244 for (ssize_t i = module.classes.size() - 1; i >= 0; i--) { in read_modules()
245 string cl = module.classes[i]; in read_modules()
248 module.classes.erase(module.classes.begin() + i); in read_modules()
251 if (module.classes.size() == 0) { in read_modules()
256 for (ssize_t i = module.installed.size() - 1; i >= 0; i--) { in read_modules()
[all …]
/frameworks/libs/net/common/
Djarjar-rules-shared.txt2 rule android.net.util.IpRange* com.android.net.module.util.IpRange@1
3 rule android.net.util.MacAddressUtils* com.android.net.module.util.MacAddressUtils@1
4 rule android.net.util.LinkPropertiesUtils* com.android.net.module.util.LinkPropertiesUtils@1
5 rule android.net.util.NetUtils* com.android.net.module.util.NetUtils@1
6 rule android.net.util.nsd.** com.android.net.module.util.nsd.@1
7 rule android.annotation.** com.android.net.module.annotation.@1
8 rule com.android.internal.annotations.** com.android.net.module.annotation.@1
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp99 sp<Module> module = new Module(this, halInterface, descriptor); in onFirstRef() local
100 mModules.add(descriptor.handle, module); in onFirstRef()
155 sp<Module> module = mModules.valueAt(index); in attach() local
157 sp<ModuleClient> moduleClient = module->addClient(client, opPackageName); in attach()
216 Module *module = (Module *)cookie; in recognitionCallback() local
217 if (module == NULL) { in recognitionCallback()
220 sp<SoundTriggerHwService> service = module->service().promote(); in recognitionCallback()
225 service->sendRecognitionEvent(event, module); in recognitionCallback()
273 Module *module) in sendRecognitionEvent() argument
275 if (module == NULL) { in sendRecognitionEvent()
[all …]
DSoundTriggerHwService.h57 sp<ISoundTrigger>& module);
100 void setModule(wp<Module> module) { mModule = module; } in setModule() argument
161 ModuleClient(const sp<Module>& module,
225 void sendRecognitionEvent(struct sound_trigger_recognition_event *event, Module *module);
229 void sendSoundModelEvent(struct sound_trigger_model_event *event, Module *module);
232 void sendServiceStateEvent(sound_trigger_service_state_t state, Module *module);
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DBroadcastRadioService.java71 RadioModule module = RadioModule.tryLoadingModule(moduleId, serviceName);
72 if (module == null) {
77 RadioModule prevModule = mModules.put(moduleId, module);
88 module.getService().linkToDeath(mDeathRecipient, moduleId);
135 return mModules.values().stream().map(module -> module.mProperties) in listModules()
160 RadioModule module = null; in openSession() local
162 module = mModules.get(moduleId); in openSession()
163 if (module == null) { in openSession()
168 TunerSession tunerSession = module.openSession(callback); in openSession()
180 for (RadioModule module : mModules.values()) { in addAnnouncementListener()
[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 …]
DRSCompilerDriver.cpp326 llvm::Module module("Merged Script Group", context); in buildScriptGroup() local
330 llvm::Linker linker(module); in buildScriptGroup()
355 module.getNamedMetadata(bcinfo::MetadataExtractor::kWrapperMetadataName); in buildScriptGroup()
357 module.eraseNamedMetadata(wrapperMDNode); in buildScriptGroup()
375 if (!fuseKernels(Context, sourcesToFuse, slots, nameOfFused, &module)) { in buildScriptGroup()
391 if (!renameInvoke(Context, source, slot, newName, &module)) { in buildScriptGroup()
401 Source::CreateFromModule(Context, pOutputFilepath, module, in buildScriptGroup()
420 bcinfo::MetadataExtractor me(&module); in buildScriptGroup()
DRSEmbedInfo.cpp68 static std::string getRSInfoString(const llvm::Module *module) { in getRSInfoString() argument
71 bcinfo::MetadataExtractor me(module); in getRSInfoString()
167 if (auto nmd = module->getNamedMetadata("slang.llvm.version")) { in getRSInfoString()
183 module->getModuleIdentifier().c_str(), slangVersion.str().c_str(), in getRSInfoString()
/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/base/apex/
DAndroid.bp29 // TODO: modularize this so not every module has the same whitelist
69 // Defaults for mainline module provided java_sdk_library instances.
71 name: "framework-module-defaults",
107 // Configure framework module specific metalava options.
127 // Collates API usages from each module for further analysis.
136 name: "framework-module-stubs-defaults-publicapi",
150 name: "framework-module-stubs-defaults-systemapi",
165 name: "framework-module-stubs-lib-defaults-publicapi",
171 name: "framework-module-stubs-lib-defaults-systemapi",
177 name: "framework-module-stubs-lib-defaults-module_libs_api",
[all …]
/frameworks/libs/net/common/tests/unit/
Djarjar-rules.txt2 rule android.net.util.IpRange* com.android.net.module.util.IpRange@1
3 rule android.net.util.MacAddressUtils* com.android.net.module.util.MacAddressUtils@1
4 rule android.net.util.LinkPropertiesUtils* com.android.net.module.util.LinkPropertiesUtils@1
5 rule android.net.util.NetUtils* com.android.net.module.util.NetUtils@1
6 rule android.net.util.nsd.** com.android.net.module.util.nsd.@1
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyManagerTestClient.h38 status_t openOutput(audio_module_handle_t module, in openOutput() argument
44 if (module >= mNextModuleHandle) { in openOutput()
46 __func__, module, mNextModuleHandle); in openOutput()
59 status_t openInput(audio_module_handle_t module, in openInput() argument
66 if (module >= mNextModuleHandle) { in openInput()
68 __func__, module, mNextModuleHandle); in openInput()
/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 …]
DELFBinaryReaderTest.cpp43 Module module("test", script); in TEST_F() local
45 IRBuilder builder(module, config); in TEST_F()
/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp381 static sp<SoundTrigger> setSoundTrigger(JNIEnv* env, jobject thiz, const sp<SoundTrigger>& module) in setSoundTrigger() argument
386 if (module.get()) { in setSoundTrigger()
387 module->incStrong((void*)setSoundTrigger); in setSoundTrigger()
392 env->SetLongField(thiz, gModuleFields.mNativeContext, (jlong)module.get()); in setSoundTrigger()
490 sp<SoundTrigger> module = SoundTrigger::attach(opPackageNameString16, handle, callback); in android_hardware_SoundTrigger_setup() local
491 if (module == 0) { in android_hardware_SoundTrigger_setup()
495 setSoundTrigger(env, thiz, module); in android_hardware_SoundTrigger_setup()
502 sp<SoundTrigger> module = setSoundTrigger(env, thiz, 0); in android_hardware_SoundTrigger_detach() local
503 ALOGV("detach module %p", module.get()); in android_hardware_SoundTrigger_detach()
504 if (module != 0) { in android_hardware_SoundTrigger_detach()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp266 for (const auto& module : *this) { in getModuleFromName()
267 if (strcmp(module->getName(), name) == 0) { in getModuleFromName()
268 return module; in getModuleFromName()
277 for (const auto& module : *this) { in getModuleForDeviceType()
279 module->getOutputProfiles() : module->getInputProfiles(); in getModuleForDeviceType()
283 DeviceVector declaredDevices = module->getDeclaredDevices(); in getModuleForDeviceType()
287 return module; in getModuleForDeviceType()
290 return module; in getModuleForDeviceType()
307 sp<HwModule> module = getModuleFromName(name); in getAvailableDevicesFromModuleName() local
308 if (module == nullptr) { in getAvailableDevicesFromModuleName()
[all …]
/frameworks/av/soundtrigger/
DISoundTriggerHwService.cpp85 sp<ISoundTrigger>& module) in attach() argument
98 module = interface_cast<ISoundTrigger>(reply.readStrongBinder()); in attach()
172 sp<ISoundTrigger> module; in onTransact() local
173 status = attach(opPackageName, handle, client, module); in onTransact()
175 if (module != 0) { in onTransact()
177 reply->writeStrongBinder(IInterface::asBinder(module)); in onTransact()
/frameworks/base/services/net/
DAndroid.bp11 ":net-module-utils-srcs",
22 // Version of services.net for usage by the wifi mainline module.
27 name: "services.net-module-wifi",
29 ":framework-services-net-module-wifi-shared-srcs",
30 ":net-module-utils-srcs",
/frameworks/base/
DStubLibraries.bp50 ":art-module-public-api-stubs-source",
69 ":conscrypt.module.public.api{.public.stubs.source}",
233 name: "module-lib-api",
243 api_file: "api/module-lib-current.txt",
244 removed_api_file: "api/module-lib-removed.txt",
247 api_file: ":android.api.module-lib.latest",
248 removed_api_file: "api/module-lib-removed.txt",
249 baseline_file: ":module-lib-api-incompatibilities-with-last-released"
253 new_since: ":android.api.module-lib.latest",
254 baseline_file: "api/module-lib-lint-baseline.txt",
[all …]
/frameworks/av/services/audioflinger/
DPatchPanel.cpp762 for (const auto& module : mInsertedModules) { in getDownstreamSoftwarePatches() local
763 if (module.second.streams.count(stream)) { in getDownstreamSoftwarePatches()
764 for (const auto& patchHandle : module.second.sw_patches) { in getDownstreamSoftwarePatches()
792 for (auto& module : mInsertedModules) { in notifyStreamClosed() local
793 module.second.streams.erase(stream); in notifyStreamClosed()
797 AudioHwDevice* AudioFlinger::PatchPanel::findAudioHwDeviceByModule(audio_module_handle_t module) in findAudioHwDeviceByModule() argument
799 if (module == AUDIO_MODULE_HANDLE_NONE) return nullptr; in findAudioHwDeviceByModule()
800 ssize_t index = mAudioFlinger.mAudioHwDevs.indexOfKey(module); in findAudioHwDeviceByModule()
802 ALOGW("%s() bad hw module %d", __func__, module); in findAudioHwDeviceByModule()
808 sp<DeviceHalInterface> AudioFlinger::PatchPanel::findHwDeviceByModule(audio_module_handle_t module) in findHwDeviceByModule() argument
[all …]
/frameworks/av/media/codec2/vndk/
DC2Store.cpp570 c2_status_t fetchModule(std::shared_ptr<ComponentModule> *module) { in fetchModule()
581 *module = localModule; in fetchModule()
670 c2_status_t findComponent(C2String name, std::shared_ptr<ComponentModule> *module);
831 std::shared_ptr<ComponentModule> module = shared_from_this(); in createInterface() local
833 id, interface, [module, deleter](C2ComponentInterface *p) mutable { in createInterface()
836 module.reset(); // remove module ref (not technically needed) in createInterface()
848 std::shared_ptr<ComponentModule> module = shared_from_this(); in createComponent() local
850 id, component, [module, deleter](C2Component *p) mutable { in createComponent()
853 module.reset(); // remove module ref (not technically needed) in createComponent()
934 std::shared_ptr<ComponentModule> module; in visitComponents() local
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h131 sp<HwModule> module = new HwModule(AUDIO_HARDWARE_MODULE_ID_PRIMARY, 2 /*halVersionMajor*/); in setDefault() local
132 mHwModules.add(module); in setDefault()
139 module->addOutputProfile(outProfile); in setDefault()
144 module->addInputProfile(inProfile); in setDefault()

1234567