/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
H A D | BNNMTest.java | 79 private byte[] unsignedToSignedByte(int[] input) { argument 80 byte[] output = new byte[input.length]; 81 for (int i = 0; i < input.length; ++i) { 82 output[i] = (byte)(input[i]);
|
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/ |
H A D | build-local.py | 13 for line in fileinput.input(inputFile, inplace = 1):
|
/frameworks/support/samples/SupportLeanbackShowcase/ |
H A D | build-local.py | 13 for line in fileinput.input(inputFile, inplace = 1):
|
/frameworks/native/services/inputflinger/ |
H A D | EventHub.h | 21 #include <input/Input.h> 22 #include <input/InputDevice.h> 23 #include <input/Keyboard.h> 24 #include <input/KeyLayoutMap.h> 25 #include <input/KeyCharacterMap.h> 26 #include <input/VirtualKeyMap.h> 38 #include <linux/input.h> 50 * timestamps all input events with the time they were posted and clobbers 104 /* The input device is a keyboard or has buttons. */ 107 /* The input devic [all...] |
/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/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 | 210 // handle input devices 217 // handle input device connection 249 // handle input device disconnection 256 ALOGV("setDeviceConnectionState() disconnecting input device %x", device); 276 // As the input device list can impact the output device selection, update 291 } // end if is input device 411 "updateCallRouting() selected device not in input device list"); 623 // Force new input selection if the new device can not be reached via current input 637 // Find a direct output profile compatible with the parameters passed, even if the input flag 1396 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 1496 audio_io_handle_t input = AUDIO_IO_HANDLE_NONE; local 1625 startInput(audio_io_handle_t input, audio_session_t session) argument 1725 stopInput(audio_io_handle_t input, audio_session_t session) argument 1791 releaseInput(audio_io_handle_t input, audio_session_t session) argument 3366 audio_io_handle_t input = AUDIO_IO_HANDLE_NONE; local 3649 addInput(audio_io_handle_t input, sp<AudioInputDescriptor> inputDesc) argument 3994 audio_io_handle_t input = AUDIO_IO_HANDLE_NONE; local 4133 closeInput(audio_io_handle_t input) argument 4384 getNewInputDevice(audio_io_handle_t input) argument 4805 setInputDevice(audio_io_handle_t input, audio_devices_t device, bool force, audio_patch_handle_t *patchHandle) argument 4868 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/telephony/java/android/telephony/ |
H A D | Rlog.java | 99 * @return If tag is loggable in verbose mode or pii is null, return the original input. 100 * otherwise return a secure Hash of input pii 114 * @return If enablePiiLogging is set to true or pii is null, return the original input. 115 * otherwise return a secure Hash of input pii 126 * Returns a secure hash (using the SHA1 algorithm) of the provided input. 129 * @param input the bytes for which the secure hash should be computed. 131 private static String secureHash(byte[] input) { argument 140 byte[] result = messageDigest.digest(input);
|
/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);
|