/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyClientImplLegacy.cpp | 203 audio_io_handle_t input = AUDIO_IO_HANDLE_NONE; local 204 status_t status = af->openInput(module, &input, &config, pDevices, 211 return input; 236 int aps_close_input(void *service __unused, audio_io_handle_t input) argument 243 return af->closeInput(input);
|
H A D | AudioPolicyEffects.cpp | 54 // release audio input processing resources 80 status_t AudioPolicyEffects::addInputEffects(audio_io_handle_t input, argument 86 // create audio pre processors according to input source 96 ssize_t idx = mInputs.indexOfKey(input); 100 mInputs.add(input, inputDesc); 107 ALOGV("addInputEffects(): input: %d, refCount: %d", input, inputDesc->mRefCount); 113 0, audioSession, input); 134 status_t AudioPolicyEffects::releaseInputEffects(audio_io_handle_t input) argument 139 ssize_t index = mInputs.indexOfKey(input); [all...] |
H A D | AudioPolicyEffects.h | 35 // This class will manage all effects attached to input and output streams in 52 // Return a list of effect descriptors for default input effects 58 // Add all input effects associated with this input 60 status_t addInputEffects(audio_io_handle_t input, 64 // Add all input effects associated to this input 65 status_t releaseInputEffects(audio_io_handle_t input); 183 // Automatic input effects are configured per audio_source_t 185 // Automatic input effect [all...] |
/frameworks/base/tools/aapt2/link/ |
H A D | Link.cpp | 836 std::unique_ptr<ResourceTable> loadStaticLibrary(const std::string& input, argument 839 input, outError); 857 bool mergeStaticLibrary(const std::string& input, bool override) { argument 859 mContext->getDiagnostics()->note(DiagMessage() << "merging static library " << input); 864 io::ZipFileCollection::create(input, &errorStr); 866 mContext->getDiagnostics()->error(DiagMessage(input) << errorStr); 872 mContext->getDiagnostics()->error(DiagMessage(input) << "invalid static library"); 878 mContext->getDiagnostics()->error(DiagMessage(input) 896 result = mTableMerger->mergeOverlay(Source(input), table.get(), collection.get()); 898 result = mTableMerger->merge(Source(input), tabl 997 mergeArchive(const std::string& input, bool override) argument [all...] |
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.h | 130 audio_io_handle_t *input, 140 // indicates to the audio policy manager that the input starts being used. 141 virtual status_t startInput(audio_io_handle_t input, 144 // indicates to the audio policy manager that the input stops being used. 145 virtual status_t stopInput(audio_io_handle_t input, 147 virtual void releaseInput(audio_io_handle_t input, 278 void addInput(audio_io_handle_t input, sp<AudioInputDescriptor> inputDesc); 308 status_t setInputDevice(audio_io_handle_t input, 312 status_t resetInputDevice(audio_io_handle_t input, 315 // select input devic [all...] |
H A D | AudioPolicyManager.cpp | 207 // handle input devices 214 // handle input device connection 246 // handle input device disconnection 253 ALOGV("setDeviceConnectionState() disconnecting input device %x", device); 285 } // end if is input device 404 "updateCallRouting() selected device not in input device list"); 606 // Force new input selection if the new device can not be reached via current input 620 // Find a direct output profile compatible with the parameters passed, even if the input flags do 1118 // Automatically enable the remote submix input whe 1362 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, uid_t uid, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags, audio_port_handle_t selectedDeviceId, input_type_t *inputType) argument 1462 audio_io_handle_t input = AUDIO_IO_HANDLE_NONE; local 1589 startInput(audio_io_handle_t input, audio_session_t session) argument 1684 stopInput(audio_io_handle_t input, audio_session_t session) argument 1745 releaseInput(audio_io_handle_t input, audio_session_t session) argument 3314 audio_io_handle_t input = AUDIO_IO_HANDLE_NONE; local 3597 addInput(audio_io_handle_t input, sp<AudioInputDescriptor> inputDesc) argument 3942 audio_io_handle_t input = AUDIO_IO_HANDLE_NONE; local 4081 closeInput(audio_io_handle_t input) argument 4332 getNewInputDevice(audio_io_handle_t input) argument 4748 setInputDevice(audio_io_handle_t input, audio_devices_t device, bool force, audio_patch_handle_t *patchHandle) argument 4811 resetInputDevice(audio_io_handle_t input, audio_patch_handle_t *patchHandle) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 102 * @param input the file from which to read the bitmap content 109 public static Bitmap createBitmap(File input, boolean isMutable, Density density) argument 111 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density); 117 * @param input the file from which to read the bitmap content 124 private static Bitmap createBitmap(File input, Set<BitmapCreateFlags> createFlags, argument 127 BufferedImage image = ImageIO.read(input); 128 if (image == null && input.exists()) { 150 * @param input the stream from which to read the bitmap content 157 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) argument 159 return createBitmap(input, getPremultipliedBitmapCreateFlag 172 createBitmap(InputStream input, Set<BitmapCreateFlags> createFlags, Density density) argument [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | Expr.java | 274 private static boolean isUnreadElevated(Dependency input) { argument 275 return input.isElevated() && !input.getDependant().isRead(); 488 private static boolean hasNestedCannotRead(Dependency input) { argument 489 return input.isConditional() || input.getOther().hasNestedCannotRead(); 619 for (Dependency input : getDependencies()) { 620 boolean dependencyReady = input.getOther().isRead() || (justRead != null && 621 justRead.contains(input.getOther()));
|
H A D | ExprModel.java | 471 for (Expr input : mExprMap.values()) { 472 if (input instanceof IdentifierExpr 473 && !input.hasId() 474 && !input.isObservable() 475 && input.isDynamic()) { 476 result.add(input); 484 for (Expr input : mExprMap.values()) { 485 if (input.isObservable()) { 486 result.add(input);
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardUtils.java | 483 * such kind of input but must never output it unless the target is very specific 484 * to the device which is able to parse the malformed input. 655 * Guesses the format of input image. Currently just the first few bytes are used. 658 * @param input Image as byte array. 661 public static String guessImageType(final byte[] input) { argument 662 if (input == null) { 665 if (input.length >= 3 && input[0] == 'G' && input[1] == 'I' && input[ [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | MultiSelectManager.java | 292 void onLongPress(InputEvent input) { argument 295 if (!input.isOverItem()) { 299 handleAdapterEvent(input); 303 boolean onSingleTapUp(InputEvent input) { argument 310 if (!input.isOverItem()) { 316 handleAdapterEvent(input); 325 private void handleAdapterEvent(InputEvent input) { argument 326 if (mRanger != null && input.isShiftKeyDown()) { 327 mRanger.snapSelection(input.getItemPosition()); 334 int position = input 1188 shouldStop(InputEvent input) argument 1198 processInputEvent(InputEvent input) argument [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 794 size_t input = 0; local 797 AudioRecord::getMinFrameCount(&input, sampleRate, 798 AUDIO_FORMAT_PCM_16_BIT, AUDIO_CHANNEL_IN_MONO) != NO_ERROR || input <= 0) { 802 ALOGD("reported frame count: output %zu, input %zu", output, input); 807 if (input < sampleCount * 2) { 808 input = sampleCount * 2; 810 ALOGD("adjusted frame count: output %zu, input %zu", output, input); 821 AUDIO_CHANNEL_IN_MONO, input, NUL 880 int16_t input[sampleCount]; local [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 387 status_t JMediaCodec::getFormat(JNIEnv *env, bool input, jobject *format) const { argument 390 err = input ? mCodec->getInputFormat(&msg) : mCodec->getOutputFormat(&msg); 409 JNIEnv *env, bool input, jobjectArray *bufArray) const { 413 input 432 env, !input /* readOnly */, true /* clearBuffer */, buffer, &byteBuffer); 494 JNIEnv *env, bool input, size_t index, jobject *buf) const { 498 input 507 env, !input /* readOnly */, input /* clearBuffer */, buffer, buf); 511 JNIEnv *env, bool input, size_ 408 getBuffers( JNIEnv *env, bool input, jobjectArray *bufArray) const argument 493 getBuffer( JNIEnv *env, bool input, size_t index, jobject *buf) const argument 510 getImage( JNIEnv *env, bool input, size_t index, jobject *buf) const argument 1500 android_media_MediaCodec_getFormatNative( JNIEnv *env, jobject thiz, jboolean input) argument 1546 android_media_MediaCodec_getBuffers( JNIEnv *env, jobject thiz, jboolean input) argument 1572 android_media_MediaCodec_getBuffer( JNIEnv *env, jobject thiz, jboolean input, jint index) argument 1598 android_media_MediaCodec_getImage( JNIEnv *env, jobject thiz, jboolean input, jint index) argument [all...] |
/frameworks/av/include/ndk/ |
H A D | NdkMediaDrm.h | 406 * Encrypt the data referenced by input of length dataSize using algorithm specified 414 const uint8_t *input, uint8_t *output, size_t dataSize); 417 * Decrypt the data referenced by input of length dataSize using algorithm specified 425 const uint8_t *input, uint8_t *output, size_t dataSize);
|
/frameworks/base/core/jni/ |
H A D | android_text_AndroidCharacter.cpp | 96 static jint getEastAsianWidth(JNIEnv* env, jobject obj, jchar input) argument 98 int width = u_getIntPropertyValue(input, UCHAR_EAST_ASIAN_WIDTH);
|
/frameworks/base/tools/aapt2/compile/ |
H A D | Pseudolocalizer_test.cpp | 28 static ::testing::AssertionResult simpleHelper(const char* input, const char* expected, argument 32 pseudo.start() + pseudo.text(util::utf8ToUtf16(input)) + pseudo.end());
|
/frameworks/compile/mclinker/include/mcld/Script/ |
H A D | ScriptFile.h | 68 const Input& input() const { return m_Input; } function in class:mcld::ScriptFile 69 Input& input() { return m_Input; } function in class:mcld::ScriptFile
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
H A D | ExpressionParser.java | 52 public Expr parse(String input, @Nullable Location locationInFile) { argument 53 ANTLRInputStream inputStream = new ANTLRInputStream(input);
|
/frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/ |
H A D | BindingExpressionLexer.java | 99 public BindingExpressionLexer(CharStream input) { argument 100 super(input);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | Learning_StochasticLinearRanker.java | 123 ByteArrayInputStream input = new ByteArrayInputStream(modelData); 124 ObjectInputStream objStream = new ObjectInputStream(input);
|
/frameworks/native/services/inputflinger/ |
H A D | InputWindow.h | 20 #include <input/Input.h> 21 #include <input/InputTransport.h> 34 * Describes the properties of a window that can receive input. 156 * Handle for a window that can receive input. 158 * Used by the native input dispatcher to indirectly refer to the window manager objects 185 * This method should only be called from within the input dispatcher's
|
/frameworks/native/services/inputflinger/host/ |
H A D | Android.mk | 47 # build input flinger executable
|
/frameworks/native/services/surfaceflinger/ |
H A D | MonitoredProducer.cpp | 87 status_t MonitoredProducer::queueBuffer(int slot, const QueueBufferInput& input, argument 89 return mProducer->queueBuffer(slot, input, output);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CommandParams.java | 186 GetInputParams(CommandDetails cmdDet, Input input) { argument 188 mInput = input;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/ |
H A D | MediaEncoderFilter.java | 129 /** The input region to read from the frame. The corners of this quad are 130 * mapped to the output rectangle. The input frame ranges from (0,0)-(1,1), 195 // Add input port- will accept RGBA GLFrames 349 // Workaround to bypass the first 2 input frames for skipping. 351 // the compressed video frame data for the first input video frame. 379 // Get input frame 380 Frame input = pullInput("videoframe"); 394 if (skipFrameAndModifyTimestamp(input.getTimestamp())) { 398 mTimestampNs = input.getTimestamp(); 405 mProgram.process(input, mScree [all...] |