/frameworks/base/services/core/jni/ |
D | com_android_server_lights_LightsService.cpp | 51 static light_device_t* get_device(hw_module_t* module, char const* name) in get_device() argument 55 err = module->methods->open(module, name, &device); in get_device() 66 hw_module_t* module; in init_native() local 71 err = hw_get_module(LIGHTS_HARDWARE_MODULE_ID, (hw_module_t const**)&module); in init_native() 74 = get_device(module, LIGHT_ID_BACKLIGHT); in init_native() 76 = get_device(module, LIGHT_ID_KEYBOARD); in init_native() 78 = get_device(module, LIGHT_ID_BUTTONS); in init_native() 80 = get_device(module, LIGHT_ID_BATTERY); in init_native() 82 = get_device(module, LIGHT_ID_NOTIFICATIONS); in init_native() 84 = get_device(module, LIGHT_ID_ATTENTION); in init_native() [all …]
|
D | com_android_server_ConsumerIrService.cpp | 33 hw_module_t const* module; in halOpen() local 37 err = hw_get_module(CONSUMERIR_HARDWARE_MODULE_ID, &module); in halOpen() 43 err = module->methods->open(module, CONSUMERIR_TRANSMITTER, in halOpen()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_getbits.cpp | 129 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/compile/libbcc/lib/Core/ |
D | Source.cpp | 73 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, in CreateFromBuffer() local 75 if (module == NULL) { in CreateFromBuffer() 80 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false); in CreateFromBuffer() 82 delete module; in CreateFromBuffer() 100 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, in CreateFromFile() local 102 if (module == NULL) { in CreateFromFile() 107 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false); in CreateFromFile() 109 delete module; in CreateFromFile() 169 llvm::Module *module = in CreateEmpty() local 172 if (module == NULL) { in CreateEmpty() [all …]
|
D | Compiler.cpp | 248 llvm::Module &module = pScript.getSource().getModule(); in compile() local 255 const std::string &triple = module.getTargetTriple(); in compile() 271 if (module.getMaterializer() != NULL) { in compile() 275 std::error_code ec = module.materializeAllPermanently(); in compile() 278 module.getModuleIdentifier().c_str(), ec.message().c_str()); in compile() 288 *IRStream << module; in compile()
|
/frameworks/base/docs/html/tools/projects/ |
D | index.jd | 30 <p>A <em>module</em> is the first level of containment within a project that encapsulates 39 files, and application level settings, such as the module-level build file, resource files, and 40 Android Manifest file. The application module contents are eventually 47 <em>androidTest</em> module for inserting JUnit tests. </dd> 69 …<p>When you use the Android development tools to create a new project and the module, the essentia… 72 generate your module. As your application grows in complexity, you might require new kinds of 76 project and override similar module file settings.</p> 94 <dd>Application module directories and files. </dd> 142 <dd>Module file created by the IntelliJ IDEA to store module information.</dd> 156 required. The following directories and files comprise an Android application module:</p> [all …]
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHwService.cpp | 90 sp<Module> module = new Module(this, dev, descriptor, client); in onFirstRef() local 91 mModules.add(descriptor.handle, module); in onFirstRef() 143 sp<Module> module = mModules.valueAt(index); in attach() local 145 module->setClient(client); in attach() 146 client->asBinder()->linkToDeath(module); in attach() 147 moduleInterface = module; in attach() 149 module->setCaptureState_l(mCaptureState); in attach() 166 void SoundTriggerHwService::detachModule(sp<Module> module) in detachModule() argument 170 module->clearClient(); in detachModule() 218 Module *module = (Module *)cookie; in recognitionCallback() local [all …]
|
D | SoundTriggerHwService.h | 54 sp<ISoundTrigger>& module); 91 CallbackEvent(event_type type, sp<IMemory> memory, wp<Module> module); 179 void detachModule(sp<Module> module); 183 void sendRecognitionEvent(struct sound_trigger_recognition_event *event, Module *module); 187 void sendSoundModelEvent(struct sound_trigger_model_event *event, Module *module); 190 void sendServiceStateEvent_l(sound_trigger_service_state_t state, Module *module);
|
/frameworks/compile/libbcc/lib/Renderscript/ |
D | RSInfoExtractor.cpp | 114 const llvm::Module &module = pSource.getModule(); in ExtractFromSource() local 115 const char *module_name = module.getModuleIdentifier().c_str(); in ExtractFromSource() 118 module.getNamedMetadata(pragma_metadata_name); in ExtractFromSource() 120 module.getNamedMetadata(export_var_metadata_name); in ExtractFromSource() 122 module.getNamedMetadata(export_func_metadata_name); in ExtractFromSource() 124 module.getNamedMetadata(export_foreach_name_metadata_name); in ExtractFromSource() 126 module.getNamedMetadata(export_foreach_metadata_name); in ExtractFromSource() 128 module.getNamedMetadata(object_slot_metadata_name); in ExtractFromSource() 321 module.getModuleIdentifier().c_str()); in ExtractFromSource() 326 module.getModuleIdentifier().c_str()); in ExtractFromSource() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | LinkerTest.cpp | 56 Module module("test", script); in TEST_F() local 62 IRBuilder builder(module, config); in TEST_F() 66 if (linker.link(module, builder)) in TEST_F() 67 linker.emit(module, "./test.so"); in TEST_F() 102 Module module("libplasma.so", script); in TEST_F() local 103 IRBuilder builder(module, config); in TEST_F() 126 if (linker.link(module, builder)) { in TEST_F() 127 linker.emit(module, "libplasma.so"); ///< -o libplasma.so in TEST_F() 355 Module module(script); in TEST_F() local 356 IRBuilder builder(module, config); in TEST_F() [all …]
|
D | ELFBinaryReaderTest.cpp | 48 Module module("test", script); in TEST_F() local 50 IRBuilder builder(module, config); in TEST_F()
|
/frameworks/base/docs/html/sdk/installing/ |
D | create-project.jd | 42 For more information about the Android project structure and module types, read <a href= 120 environment. If your app supports more than one form factor, Android Studio creates a module folder 141 Android module (or a module from existing code) based on selected application settings, such as 144 <p>To create a new module, select <strong>File</strong> > <strong>New</strong> > 145 <strong>Module</strong>. Select the desire module type then click Next to enter the basic module 171 … for your module at any time: Double-click the module's build.gradle in the Project Explorer, 207 <li>Review the new module settings then click <strong>Finish</strong>.</li> 211 …<p>The wizard creates a new Android application module according to the options you have chosen.</… 217 <p>A library module is a standard Android module, so you can create a new one in the same way 218 as you would a new application module, using the New Module wizard and selecting <em>Android [all …]
|
D | studio-androidview.jd | 13 <li>Shows the most important source directories at the top level of the module hierarchy.</li> 14 <li>Groups all the manifest files for each module.</li> 35 under <strong>Gradle Scripts</strong>. Each project module appears as a folder at the top 39 <li><code>java/</code> - Source files for the module.</li> 40 <li><code>manifests/</code> - Manifest files for the module.</li> 41 <li><code>res/</code> - Resource files for the module.</li>
|
/frameworks/compile/mclinker/tools/mcld/ |
D | main.cpp | 120 mcld::Module module(script); in main() local 121 mcld::IRBuilder builder(module, config); in main() 124 if (!ConfigLinker(argc, argv, "MCLinker\n", module, script, config, builder, in main() 145 if (!linker.link(module, builder)) { in main() 151 if (!linker.emit(module, module.name())) { in main()
|
/frameworks/compile/libbcc/bcinfo/ |
D | BitcodeTranslator.cpp | 128 llvm::Module *module = NULL; in translate() local 131 module = llvm_3_0::ParseBitcodeFile(MEM.get(), *mContext, &error); in translate() 133 module = llvm_2_7::ParseBitcodeFile(MEM.get(), *mContext, &error); in translate() 139 if (!module) { in translate() 149 llvm_3_2::WriteBitcodeToFile(module, OS); in translate()
|
/frameworks/av/soundtrigger/ |
D | ISoundTriggerHwService.cpp | 80 sp<ISoundTrigger>& module) in attach() argument 89 module = interface_cast<ISoundTrigger>(reply.readStrongBinder()); in attach() 145 sp<ISoundTrigger> module; in onTransact() local 146 status_t status = attach(handle, client, module); in onTransact() 148 if (module != 0) { in onTransact() 150 reply->writeStrongBinder(module->asBinder()); in onTransact()
|
D | SoundTrigger.cpp | 94 sp<SoundTrigger> SoundTrigger::attach(const sound_trigger_module_handle_t module, in attach() argument 103 soundTrigger = new SoundTrigger(module, callback); in attach() 104 status_t status = service->attach(module, soundTrigger, soundTrigger->mISoundTrigger); in attach() 127 SoundTrigger::SoundTrigger(sound_trigger_module_handle_t module, in SoundTrigger() argument 129 : mModule(module), mCallback(callback) in SoundTrigger()
|
/frameworks/base/core/jni/ |
D | android_hardware_SoundTrigger.cpp | 353 static sp<SoundTrigger> setSoundTrigger(JNIEnv* env, jobject thiz, const sp<SoundTrigger>& module) in setSoundTrigger() argument 358 if (module.get()) { in setSoundTrigger() 359 module->incStrong((void*)setSoundTrigger); in setSoundTrigger() 364 env->SetLongField(thiz, gModuleFields.mNativeContext, (jlong)module.get()); in setSoundTrigger() 455 sp<SoundTrigger> module = SoundTrigger::attach(handle, callback); in android_hardware_SoundTrigger_setup() local 456 if (module == 0) { in android_hardware_SoundTrigger_setup() 460 setSoundTrigger(env, thiz, module); in android_hardware_SoundTrigger_setup() 467 sp<SoundTrigger> module = setSoundTrigger(env, thiz, 0); in android_hardware_SoundTrigger_detach() local 468 ALOGV("detach module %p", module.get()); in android_hardware_SoundTrigger_detach() 469 if (module != 0) { in android_hardware_SoundTrigger_detach() [all …]
|
D | android_server_FingerprintManager.cpp | 56 fingerprint_module_t const* module; member 143 gContext.module = reinterpret_cast<const fingerprint_module_t*>(hw_module); in nativeOpenHal() 145 if (gContext.module->common.methods->open == NULL) { in nativeOpenHal() 152 if (0 != (err = gContext.module->common.methods->open(hw_module, NULL, &device))) { in nativeOpenHal()
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyClientImplLegacy.cpp | 65 static audio_io_handle_t open_output(audio_module_handle_t module, in open_output() argument 92 status_t status = af->openOutput(module, &output, &config, pDevices, in open_output() 119 audio_module_handle_t module, in aps_open_output_on_module() argument 128 return open_output(module, pDevices, pSamplingRate, pFormat, pChannelMask, in aps_open_output_on_module() 176 static audio_io_handle_t open_input(audio_module_handle_t module, in open_input() argument 203 status_t status = af->openInput(module, &input, &config, pDevices, in open_input() 226 audio_module_handle_t module, in aps_open_input_on_module() argument 232 return open_input(module, pDevices, pSamplingRate, pFormat, pChannelMask); in aps_open_input_on_module()
|
D | AudioPolicyClientImpl.cpp | 39 status_t AudioPolicyService::AudioPolicyClient::openOutput(audio_module_handle_t module, in openOutput() argument 52 return af->openOutput(module, output, config, devices, address, latencyMs, flags); in openOutput() 99 status_t AudioPolicyService::AudioPolicyClient::openInput(audio_module_handle_t module, in openInput() argument 113 return af->openInput(module, input, config, device, address, source, flags); in openInput()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTriggerModule.java | 189 SoundTriggerModule module = (SoundTriggerModule)((WeakReference)module_ref).get(); in postEventFromNative() local 190 if (module == null) { in postEventFromNative() 194 NativeEventHandlerDelegate delegate = module.mEventHandlerDelegate; in postEventFromNative()
|
/frameworks/compile/libbcc/bcinfo/tools/ |
D | main.cpp | 318 std::unique_ptr<llvm::Module> module; in main() local 322 module.reset(moduleOrError.get()); in main() 323 ec = module->materializeAllPermanently(); in main() 328 module.reset(); in main() 341 module->print(tof->os(), ann.get()); in main()
|
/frameworks/av/include/soundtrigger/ |
D | SoundTrigger.h | 41 static sp<SoundTrigger> attach(const sound_trigger_module_handle_t module, 69 SoundTrigger(sound_trigger_module_handle_t module,
|
/frameworks/native/libs/ui/ |
D | GraphicBufferAllocator.cpp | 41 hw_module_t const* module; in GraphicBufferAllocator() local 42 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); in GraphicBufferAllocator() 45 gralloc_open(module, &mAllocDev); in GraphicBufferAllocator()
|