/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | Base64Test.java | 207 // no newline for an empty input array. 242 byte[] input = { (byte) 0x61, (byte) 0x62, (byte) 0x63 }; 248 encoder.process(input, 0, 3, false); 252 encoder.process(input, 0, 3, false); 256 encoder.process(input, 0, 1, false); 260 encoder.process(input, 0, 1, false); 264 encoder.process(input, 0, 1, false); 268 encoder.process(input, 0, 2, false); 272 encoder.process(input, 0, 2, false); 276 encoder.process(input, [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | SSLSocketTest.java | 98 DataInputStream input = new DataInputStream(socket.getInputStream()); 116 String line = input.readLine(); 138 line = input.readLine(); 146 length = Integer.parseInt(input.readLine(), 16); 149 input.readFully(buffer); 150 input.readLine(); 151 length = Integer.parseInt(input.readLine(), 16); 153 input.readLine(); 156 input.readFully(buffer); 167 input [all...] |
/frameworks/av/media/libmedia/ |
H A D | IAudioPolicyService.cpp | 194 virtual status_t startInput(audio_io_handle_t input) argument 198 data.writeInt32(input); 203 virtual status_t stopInput(audio_io_handle_t input) argument 207 data.writeInt32(input); 212 virtual void releaseInput(audio_io_handle_t input) argument 216 data.writeInt32(input); 471 audio_io_handle_t input = getInput(inputSource, local 477 reply->writeInt32(static_cast <int>(input)); 483 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local 484 reply->writeInt32(static_cast <uint32_t>(startInput(input))); 490 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local 497 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local [all...] |
H A D | AudioRecord.cpp | 57 ALOGE("AudioSystem could not query the input buffer size."); 67 // We double the size of input buffer for ping pong use of record buffer. 173 audio_io_handle_t input = AudioSystem::getInput(inputSource, local 179 if (input == 0) { 180 ALOGE("Could not get audio input for record source %d", inputSource); 204 frameCount, input); 225 // TODO: add audio hardware input latency here 233 mInput = input; 462 audio_io_handle_t input) 470 sp<IAudioRecord> record = audioFlinger->openRecord(getpid(), input, 457 openRecord_l( uint32_t sampleRate, audio_format_t format, uint32_t channelMask, int frameCount, audio_io_handle_t input) argument [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardUtils.java | 486 * such kind of input but must never output it unless the target is very specific 487 * to the device which is able to parse the malformed input. 658 * Guesses the format of input image. Currently just the first few bytes are used. 661 * @param input Image as byte array. 664 public static String guessImageType(final byte[] input) { argument 665 if (input == null) { 668 if (input.length >= 3 && input[0] == 'G' && input[1] == 'I' && input[ [all...] |
/frameworks/base/voip/jni/rtp/ |
H A D | AudioGroup.cpp | 789 int input = 0; local 792 AudioRecord::getMinFrameCount(&input, sampleRate, 793 AUDIO_FORMAT_PCM_16_BIT, 1) != NO_ERROR || input <= 0) { 797 ALOGD("reported frame count: output %d, input %d", output, input); 802 if (input < sampleCount * 2) { 803 input = sampleCount * 2; 805 ALOGD("adjusted frame count: output %d, input %d", output, input); 813 AUDIO_CHANNEL_IN_MONO, input) ! 869 int16_t input[sampleCount]; local [all...] |
/frameworks/av/libvideoeditor/vss/src/ |
H A D | VideoEditorResampler.cpp | 146 void LVAudioresample_LowQuality(M4OSA_Int16* out, M4OSA_Int16* input, argument 154 memcpy(context->mInput,input,(context->nbSamples * context->nbChannels * sizeof(int16_t)));
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 17 package com.android.commands.input; 19 import android.hardware.input.InputManager; 93 * @param text is a string of characters you want to input to the device. 166 System.err.println("usage: input ..."); 167 System.err.println(" input text <string>"); 168 System.err.println(" input keyevent <key code number or name>"); 169 System.err.println(" input tap <x> <y>"); 170 System.err.println(" input swipe <x1> <y1> <x2> <y2>");
|
/frameworks/base/core/jni/ |
H A D | android_text_AndroidCharacter.cpp | 95 static jint getEastAsianWidth(JNIEnv* env, jobject obj, jchar input) argument 97 int width = u_getIntPropertyValue(input, UCHAR_EAST_ASIAN_WIDTH);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | Learning_StochasticLinearRanker.java | 124 ByteArrayInputStream input = new ByteArrayInputStream(modelData); 125 ObjectInputStream objStream = new ObjectInputStream(input);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.h | 82 JNIEnv *env, bool input, jobjectArray *bufArray) const;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/ |
H A D | MediaEncoderFilter.java | 138 /** The input region to read from the frame. The corners of this quad are 139 * mapped to the output rectangle. The input frame ranges from (0,0)-(1,1), 204 // Add input port- will accept RGBA GLFrames 358 // Workaround to bypass the first 2 input frames for skipping. 360 // the compressed video frame data for the first input video frame. 388 // Get input frame 389 Frame input = pullInput("videoframe"); 403 if (skipFrameAndModifyTimestamp(input.getTimestamp())) { 407 mTimestampNs = input.getTimestamp(); 414 mProgram.process(input, mScree [all...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | AccessibilityInputFilter.java | 19 import com.android.server.input.InputFilter; 86 Slog.d(TAG, "Accessibility input filter installed."); 95 Slog.d(TAG, "Accessibility input filter uninstalled.");
|
/frameworks/base/services/java/com/android/server/input/ |
H A D | InputFilter.java | 17 package com.android.server.input; 31 * Filters input events before they are dispatched to the system. 33 * At most one input filter can be installed by calling 34 * {@link WindowManagerService#setInputFilter}. When an input filter is installed, the 40 * <li>Input events are then asynchronously delivered to the input filter's 42 * applications as usual. The input filter only receives input events that were 43 * generated by input device; the input filter will not receive input event [all...] |
/frameworks/native/include/android/ |
H A D | native_activity.h | 27 #include <android/input.h> 160 * for example, to pause a game when it loses input focus. 196 * The input queue for this native activity's window has been created. 197 * You can use the given input queue to start retrieving input events. 202 * The input queue for this native activity's window is being destroyed.
|
/frameworks/av/include/media/ |
H A D | AudioSystem.h | 206 static status_t startInput(audio_io_handle_t input); 207 static status_t stopInput(audio_io_handle_t input); 208 static void releaseInput(audio_io_handle_t input); 252 // indicate a change in the configuration of an output or input: keeps the cached 253 // values for output/input parameters up-to-date in client process
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_native_program.cpp | 141 // Get the input buffers 148 jobject input = env->GetObjectArrayElement(inputs, i); local 149 if (input) { 150 NativeFrame* native_frame = ConvertFromJava<NativeFrame>(env, input); 152 ALOGE("NativeProgram: Could not grab NativeFrame input %d!", i);
|
H A D | jni_shader_program.cpp | 105 // Get the input frames 108 jobject input = env->GetObjectArrayElement(inputs, i); local 109 const GLFrame* input_frame = ConvertFromJava<GLFrame>(env, input); 110 if (!input || !input_frame) { 111 ALOGE("ShaderProgram: invalid input frame %d!", i);
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsLDBackend.cpp | 76 // same name in input 161 // arguments and flags from input .o files. 360 InputTree::const_bfs_iterator input, inputEnd = pLDInfo.inputs().bfs_end(); local 361 for (input = pLDInfo.inputs().bfs_begin(); input != inputEnd; ++input) { 362 if (Input::DynObj == (*input)->type()) { 364 if ((*input)->attribute()->isAddNeeded()) { 366 if (!(*input)->attribute()->isAsNeeded()) { 367 strcpy((strtab + strtabsize), (*input) [all...] |
/frameworks/rs/ |
H A D | rsProgram.cpp | 56 uint32_t input = 0; local 61 mInputElements[input].set(reinterpret_cast<Element *>(params[ct+1])); 62 mHal.state.inputElements[input++] = reinterpret_cast<Element *>(params[ct+1]);
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.java | 344 public void recordEntireHistory(NetworkStatsHistory input) { argument 345 recordHistory(input, Long.MIN_VALUE, Long.MAX_VALUE); 353 public void recordHistory(NetworkStatsHistory input, long start, long end) { argument 356 for (int i = 0; i < input.bucketCount; i++) { 357 final long bucketStart = input.bucketStart[i]; 358 final long bucketEnd = bucketStart + input.bucketDuration; 363 entry.rxBytes = getLong(input.rxBytes, i, 0L); 364 entry.rxPackets = getLong(input.rxPackets, i, 0L); 365 entry.txBytes = getLong(input.txBytes, i, 0L); 366 entry.txPackets = getLong(input [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioPolicyService.cpp | 286 audio_io_handle_t input = mpAudioPolicy->get_input(mpAudioPolicy, inputSource, samplingRate, local 289 if (input == 0) { 290 return input; 292 // create audio pre processors according to input source 295 return input; 297 ssize_t idx = mInputs.indexOfKey(input); 301 mInputs.add(input, inputDesc); 309 sp<AudioEffect> fx = new AudioEffect(NULL, &effect->mUuid, -1, 0, 0, audioSession, input); 312 ALOGW("Failed to create Fx %s on input %d", effect->mName, input); 325 startInput(audio_io_handle_t input) argument 335 stopInput(audio_io_handle_t input) argument 345 releaseInput(audio_io_handle_t input) argument 1458 aps_close_input(void *service, audio_io_handle_t input) argument [all...] |
H A D | AudioPolicyService.h | 84 virtual status_t startInput(audio_io_handle_t input); 85 virtual status_t stopInput(audio_io_handle_t input); 86 virtual void releaseInput(audio_io_handle_t input);
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | InputMonitor.java | 19 import com.android.server.input.InputManagerService; 20 import com.android.server.input.InputApplicationHandle; 21 import com.android.server.input.InputWindowHandle; 37 // Current window with input focus for keys and other non-touch events. May be null. 40 // When true, prevents input dispatch from proceeding until set to false again. 43 // When true, input dispatch proceeds normally. Otherwise all events are dropped. 44 // Initially false, so that input does not get dispatched until boot is finished at 51 // Array of window handles to provide to the input dispatcher. 55 // Set to true when the first input device configuration change notification 56 // is received to indicate that the input device [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | rate_control.cpp | 25 void targetBitCalculation(void *input); 41 PV_STATUS RC_UpdateBXRCParams(void *input); Parameters update for target bitrate or framerate change 50 PV_STATUS RC_Initialize(void *input) argument 52 VideoEncData *video = (VideoEncData *) input; 416 PV_STATUS RC_UpdateBXRCParams(void *input) argument 418 VideoEncData *video = (VideoEncData *) input; 529 void targetBitCalculation(void *input) argument 531 VideoEncData *video = (VideoEncData *) input; 699 void calculateQuantizer_Multipass(void *input) argument 701 VideoEncData *video = (VideoEncData *) input; [all...] |