| /frameworks/av/media/libaaudio/src/client/ |
| AudioStreamInternalPlay.cpp | 2 * Copyright (C) 2017 The Android Open Source Project 117 uint8_t *source = (uint8_t *) buffer; local 144 (const float *) source, 153 (const float *) source, 161 (const float *) source, 171 (const int16_t *) source, 179 (const int16_t *) source, 186 (const int16_t *) source, 194 source += numBytes;
|
| /frameworks/av/media/libmediaplayerservice/nuplayer/ |
| StreamingSource.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 40 const sp<IStreamSource> &source) 41 : Source(notify), 42 mSource(source), 231 sp<MediaSource> source = mTSParser->getSource( local 234 return static_cast<AnotherPacketSource *>(source.get()); 238 sp<AnotherPacketSource> source = getSource(audio); local 241 if (source == NULL) { 246 sp<MetaData> meta = source->getFormat(); 260 sp<AnotherPacketSource> source = getSource(audio) local [all...] |
| /frameworks/av/media/libstagefright/ |
| CameraSourceTimeLapse.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 50 CameraSourceTimeLapse *source = new local 57 if (source != NULL) { 58 if (source->initCheck() != OK) { 59 delete source; 63 return source;
|
| /frameworks/av/media/libstagefright/rtsp/ |
| ARTPSession.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 71 sp<APacketSource> source = new APacketSource(mDesc, i); local 72 if (source->initCheck() != OK) { 91 info->mPacketSource = source;
|
| /frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
| AudioSession.cpp | 2 * Copyright (C) 2015 The Android Open Source Project 151 snprintf(buffer, SIZE, "%*s- input source: %d\n", spaces, "", mInputSource); 184 ALOGV("addSession() session %d client %d source %d", 239 bool AudioSessionCollection::isSourceActive(audio_source_t source) const 246 ((audioSession->inputSource() == source) || 247 ((source == AUDIO_SOURCE_VOICE_RECOGNITION) && 258 audio_source_t source = AUDIO_SOURCE_DEFAULT; local 269 source = audioSession->inputSource(); 272 return source;
|
| HwModule.cpp | 2 * Copyright (C) 2015 The Android Open Source Project 188 ALOGE("%s: invalid source devices for %s", __FUNCTION__, stream->getName().string()); 194 ALOGE("%s: invalid source devices for %s", __FUNCTION__, stream->getName().string()); 204 sp<AudioPort> source = routes[j]->getSources().findByTagName(stream->getTagName()); local 205 if (source == 0 || stream != source) {
|
| /frameworks/base/core/jni/ |
| android_view_KeyEvent.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 81 jint source = env->GetIntField(eventObj, gKeyEventClassInfo.mSource); local 91 event->initialize(deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount,
|
| /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
| GraphExporter.java | 2 * Copyright (C) 2012 The Android Open Source Project 106 OutputPort source = filter.getConnectedOutputPort(portName); local 107 if(source != null) { 109 InputPort target = source.getTarget(); 111 getDotName(source.getFilter().getName()) + ":" + 112 getDotName(source.getName()) + "_OUT -> " +
|
| /frameworks/base/tools/aapt2/ |
| ResourceTable.h | 2 * Copyright (C) 2015 The Android Open Source Project 24 #include "Source.h" 52 Source source; member in struct:aapt::Symbol 206 const Source& source, const android::StringPiece& path, IDiagnostics* diag); 209 const Source& source, const android::StringPiece& path, 291 const Source& source, const android::StringPiece& path, io::IFile* file [all...] |
| /frameworks/base/tools/aapt2/java/ |
| ProguardRules.cpp | 2 * Copyright (C) 2015 The Android Open Source Project 32 BaseVisitor(const Source& source, KeepSet* keep_set) 33 : source_(source), keep_set_(keep_set) {} 65 keep_set_->AddClass(Source(source_.path, line_number), class_name); 69 keep_set_->AddMethod(Source(source_.path, line_number), method_name); 75 Source source_; 81 LayoutVisitor(const Source& source, KeepSet* keep_set) 82 : BaseVisitor(source, keep_set) { 279 *out << "# Referenced at " << source << "\\n"; local 286 *out << "# Referenced at " << source << "\\n"; local [all...] |
| /frameworks/compile/libbcc/lib/ |
| RSCompilerDriver.cpp | 2 * Copyright 2012, The Android Open Source Project 31 #include "bcc/Source.h" 114 // embed build checksum metadata into the source 209 ALOGE("Unable to compile the source to file %s! (%s)", pOutputPath, 255 Source *source = Source::CreateFromBuffer(pContext, pResName, local 257 if (source == nullptr) { 261 Script script(source); 306 const std::vector<Source*>& sources 388 Source* source = sources[p.first]; local [all...] |
| /frameworks/compile/libbcc/tools/bcc/ |
| Main.cpp | 2 * Copyright 2012, The Android Open Source Project 45 #include <bcc/Source.h> 63 llvm::cl::desc("Lists of kernels to merge (as source-and-slot " 149 os << "libbcc (The Android Open Source Project, http://www.android.com/):\n" 175 std::cerr << "source " << sourceStr << ", slot " << slotStr << std::endl; 177 int source = std::stoi(sourceStr); local 179 planList.push_back(std::make_pair(source, slot)); 187 std::vector<bcc::Source*> sources; 189 bcc::Source* source local 339 Source *source = Source::CreateFromBuffer(context, OptInputFilenames[0].c_str(), local [all...] |
| /frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
| MediaStoreSaver.java | 2 * Copyright (C) 2015 The Android Open Source Project 44 final Bitmap source = image; local 47 source.compress(Bitmap.CompressFormat.JPEG, 50, imageOut); 55 StreamWriter source, 74 if (source != null) { 77 source.write(imageOut); 114 Bitmap source, 123 float scaleX = width / source.getWidth(); 124 float scaleY = height / source.getHeight(); 128 Bitmap thumb = Bitmap.createBitmap(source, 0, 0 [all...] |
| /frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
| MediaStoreSaver.java | 2 * Copyright (C) 2015 The Android Open Source Project 44 final Bitmap source = image; local 47 source.compress(Bitmap.CompressFormat.JPEG, 50, imageOut); 55 StreamWriter source, 74 if (source != null) { 77 source.write(imageOut); 114 Bitmap source, 123 float scaleX = width / source.getWidth(); 124 float scaleY = height / source.getHeight(); 128 Bitmap thumb = Bitmap.createBitmap(source, 0, 0 [all...] |
| /hardware/qcom/audio/legacy/alsa_sound/ |
| ALSAStreamOps.cpp | 196 int source; local 198 if (param.getInt(key_input, source) == NO_ERROR) { 199 ALOGD("setParameters(), input_source = %d", source); 200 mParent->mALSADevice->setInput(source);
|
| /libcore/luni/src/main/java/java/math/ |
| BitLevel.java | 114 static void shiftLeftOneBit(int[] result, int[] source, int srcLen) { 117 int val = source[i]; 126 static BigInteger shiftLeftOneBit(BigInteger source) { 127 source.prepareJavaRepresentation(); 128 int srcLen = source.numberLength; 131 shiftLeftOneBit(resDigits, source.digits, srcLen); 132 return new BigInteger(source.sign, resLen, resDigits); 136 static BigInteger shiftRight(BigInteger source, int count) { 137 source.prepareJavaRepresentation(); 140 if (intCount >= source.numberLength) [all...] |
| /libcore/ojluni/src/main/java/sun/security/util/ |
| Debug.java | 205 StringBuffer source = new StringBuffer(args); local 216 Matcher matcher = pattern.matcher(source); 227 source = left; 240 matcher = pattern.matcher(source); 251 source = left; 254 target.append(source.toString().toLowerCase(Locale.ENGLISH));
|
| /packages/apps/Camera2/jni/ |
| tinyplanet.cc | 2 * Copyright (C) 2012 The Android Open Source Project 61 // Get pointers and scale factors for the source pixels. 135 char* source = 0; local 137 AndroidBitmap_lockPixels(env, bitmap_in, (void**) &source); 139 unsigned char * rgb_in = (unsigned char * )source;
|
| /packages/apps/Gallery2/jni/filters/ |
| geometry.c | 2 * Copyright (C) 2012 The Android Open Source Project 22 static __inline__ void flipVertical(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ 32 memcpy(destination + temp - i, source + i, bytes_to_copy); 36 static __inline__ void flipHorizontal(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ 48 memcpy(destination + temp - j, source + i + j, cpy_bytes); 53 static __inline__ void flip_fun(int flip, char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ 59 flipHorizontal(source, srcWidth, srcHeight, temp, dstWidth, dstHeight); 65 flipHorizontal(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); 69 flipVertical(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); 75 static __inline__ void rotate90(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight) 132 char* source = 0; local 145 char* source = 0; local 156 char* source = 0; local 167 char* source = 0; local [all...] |
| tinyplanet.cc | 2 * Copyright (C) 2012 The Android Open Source Project 60 // Get pointers and scale factors for the source pixels. 134 char* source = 0; local 136 AndroidBitmap_lockPixels(env, bitmap_in, (void**) &source); 138 unsigned char * rgb_in = (unsigned char * )source;
|
| /packages/apps/Gallery2/src/com/android/gallery3d/util/ |
| MotionEventHelper.java | 2 * Copyright (C) 2012 The Android Open Source Project 58 int source = e.getSource(); local 77 yPrecision, deviceId, edgeFlags, source, flags);
|
| /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
| EventLogLogger.java | 2 * Copyright (C) 2009 The Android Open Source Project 102 String source = cursor.getSuggestionSource().getName(); local 106 sb.append(source).append(':').append(type).append(':').append(shortcut);
|
| /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
| GoogleSearch.java | 2 * Copyright (C) 2008 The Android Open Source Project 51 // "source" parameter for Google search requests from unknown sources (e.g. apps). This will get 119 // If the caller specified a 'source' url parameter, use that and if not use default. 121 String source = GOOGLE_SEARCH_SOURCE_UNKNOWN; local 123 source = appSearchData.getString(Search.SOURCE); 137 + "&source=android-" + source
|
| /packages/experimental/TestBack/src/foo/bar/testback/ |
| TestBackService.java | 41 AccessibilityNodeInfo source = event.getSource(); local 42 dumpWindow(source); 92 private void dumpWindow(AccessibilityNodeInfo source) { 93 AccessibilityNodeInfo root = source;
|
| /packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
| HanziToPinyin.java | 2 * Copyright (C) 2011 The Android Open Source Project 42 * Separator between target string for each source char 53 public Token(int type, String source, String target) { 55 this.source = source; 66 public String source; field in class:HanziToPinyin.Token 68 * Translated string of source. For Han, target is corresponding Pinyin. Otherwise target is 69 * original string in source. 99 token.source = Character.toString(character); 104 token.target = token.source; [all...] |