/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaServiceStateTracker.java | 251 * Save current source of cdma subscription 252 * @param source - 1 for NV, 0 for RUIM 254 private void saveCdmaSubscriptionSource(int source) { argument 255 log("Storing cdma subscription source: " + source); 258 source ); 507 // NV is ready when subscription source is NV
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
H A D | rsdRuntimeStubs.cpp | 76 static void SC_AllocationSyncAll2(Allocation *a, RsAllocationUsageType source) { argument 78 rsrAllocationSyncAll(rsc, sc, a, source);
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompat.java | 36 public Object obtain(View source); argument 39 public void setSource(Object info, View source); argument 104 public Object obtain(View source) { argument 364 public void setSource(Object info, View source) { argument 406 public Object obtain(View source) { argument 407 return AccessibilityNodeInfoCompatIcs.obtain(source); 621 public void setSource(Object info, View source) { argument 622 AccessibilityNodeInfoCompatIcs.setSource(info, source); 943 * sets the source. 948 public static AccessibilityNodeInfoCompat obtain(View source) { argument 992 setSource(View source) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioSystem.java | 114 * Checks whether the specified audio source is active. 116 * return true if any recorder using this source is currently recording 118 public static native boolean isSourceActive(int source); argument
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaExtractor.cpp | 53 JavaDataSourceBridge(JNIEnv *env, jobject source) { argument 54 mDataSource = env->NewGlobalRef(source);
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 303 GLuint ShaderProgram::CompileShader(GLenum shader_type, const char* source) { argument 304 LOG_FRAME("Compiling source:\n[%s]", source); 309 // Compile source 310 glShaderSource(shader, 1, &source, NULL); 319 ALOGE("%s", source); 320 std::string src(source);
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | PreviewPlayer.cpp | 249 ALOGE("Error starting dummy audio source"); 292 // taken possession of the audio source and stopped it when 396 // check if the new and old source are dummy 399 // Audio player does not have any source set. 400 ALOGV("setAudioPlayer: Audio player does not have any source set"); 404 // If new video source is not dummy, then always change source 405 // Else audio player continues using old audio source and there are 413 ALOGV(" Video clip with silent audio; need to change source"); 429 // Just set the new play duration for the existing source 1562 setDataSource(const sp<IStreamSource> &source) argument 1938 setAudioSource(const sp<MediaSource>& source) argument 1943 setVideoSource(const sp<MediaSource>& source) argument [all...] |
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4xVSS_internal.c | 4445 static void M4XXX_CopyPlane(M4VIFI_ImagePlane* dest, M4VIFI_ImagePlane* source) argument 4455 sourceWalk = (M4OSA_MemAddr8)M4XXX_SampleAddress(*source, 0, 0); 4456 sourceStride = source->u_stride; 4502 /* First the part from the top source clip frame. */ 4510 /* and now change the vars to copy the part from the bottom source clip frame. */
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 684 // now set data source 690 const sp<IStreamSource> &source) { 692 player_type playerType = MediaPlayerFactory::getPlayerType(this, source); 698 // now set data source 699 setDataSource_post(p, p->setDataSource(source)); 1192 // set data source 1242 // set data source 689 setDataSource( const sp<IStreamSource> &source) argument
|
H A D | StagefrightRecorder.cpp | 101 ALOGE("Invalid audio source: %d", as); 118 ALOGE("Invalid video source: %d", vs); 805 ALOGE("audio source is not initialized"); 910 ALOGE("Invalid audio source: %d", mAudioSource); 946 // Must have exactly one source. 954 sp<MediaSource> source; local 957 source = createAudioSource(); 966 err = setupVideoEncoder(mediaSource, mVideoBitRate, &source); 973 mWriter->addSource(source); 1270 // setupSurfaceMediaSource creates a source wit 1355 setupVideoEncoder( sp<MediaSource> cameraSource, int32_t videoBitRate, sp<MediaSource> *source) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AwesomePlayer.cpp | 324 status_t AwesomePlayer::setDataSource(const sp<IStreamSource> &source) { argument 529 // taken possession of the audio source and stopped it when 1365 void AwesomePlayer::setAudioSource(sp<MediaSource> source) { argument 1366 CHECK(source != NULL); 1368 mAudioTrack = source; 1371 void AwesomePlayer::addTextSource_l(size_t trackIndex, const sp<MediaSource>& source) { argument 1372 CHECK(source != NULL); 1378 mTextDriver->addInBandTextSource(trackIndex, source); 1435 void AwesomePlayer::setVideoSource(sp<MediaSource> source) { argument 1436 CHECK(source ! 2367 selectAudioTrack_l( const sp<MediaSource>& source, size_t trackIndex) argument [all...] |
H A D | MPEG4Extractor.cpp | 93 // This custom data source wraps an existing one and satisfies requests 101 MPEG4DataSource(const sp<DataSource> &source); 127 MPEG4DataSource::MPEG4DataSource(const sp<DataSource> &source) argument 128 : mSource(source), 266 MPEG4Extractor::MPEG4Extractor(const sp<DataSource> &source) argument 267 : mDataSource(source), 2307 const sp<DataSource> &source, String8 *mimeType, float *confidence) { 2310 ssize_t n = source->readAt(4, header, sizeof(header)); 2365 const sp<DataSource> &source, String8 *mimeType, float *confidence, 2377 if (source 2306 LegacySniffMPEG4( const sp<DataSource> &source, String8 *mimeType, float *confidence) argument 2364 BetterSniffMPEG4( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument 2472 SniffMPEG4( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument [all...] |
/frameworks/av/media/libstagefright/mp4/ |
H A D | FragmentedMP4Parser.cpp | 190 DataSourceSource(sp<DataSource> &source) argument 191 : mDataSource(source) { 195 if (source->getSize(&size) == OK) { 198 ALOGE("couldn't get data source size"); 234 msg->setObject("source", new FileSource(filename)); 239 void FragmentedMP4Parser::start(const sp<Source> &source) { argument 241 msg->setObject("source", source); 246 void FragmentedMP4Parser::start(sp<DataSource> &source) { argument 248 msg->setObject("source", ne [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyHandler.h | 263 AString source; local 266 "source", 267 &source)) { 268 ALOGW("Missing 'source' field in Transport response. Using " 281 addr.sin_addr.s_addr = inet_addr(source.c_str()); 1241 sp<APacketSource> source = local 1244 if (source->initCheck() != OK) { 1263 info->mPacketSource = source;
|
/frameworks/av/services/audioflinger/ |
H A D | AudioPolicyService.cpp | 288 // create audio pre processors according to input source 486 bool AudioPolicyService::isSourceActive(audio_source_t source) const 495 return mpAudioPolicy->is_source_active(mpAudioPolicy, source); 1060 // returns the audio_source_t enum corresponding to the input source name or 1067 ALOGV("inputSourceNameToEnum found source %s %d", name, i); 1225 InputSourceDesc *source = new InputSourceDesc(); local 1242 source->mEffects.add(effect); 1245 if (source->mEffects.size() == 0) { 1246 ALOGW("loadInputSource() no valid effects found in source %s", root->name); 1247 delete source; 1261 audio_source_t source = inputSourceNameToEnum(node->name); local [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityManager.java | 478 public void readFromParcel(Parcel source) { argument 479 id = source.readInt(); 480 persistentId = source.readInt(); 481 if (source.readInt() != 0) { 482 baseIntent = Intent.CREATOR.createFromParcel(source); 486 origActivity = ComponentName.readFromParcel(source); 487 description = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); 492 public RecentTaskInfo createFromParcel(Parcel source) { 493 return new RecentTaskInfo(source); 500 private RecentTaskInfo(Parcel source) { argument 654 readFromParcel(Parcel source) argument 677 RunningTaskInfo(Parcel source) argument 834 readFromParcel(Parcel source) argument 853 TaskThumbnails(Parcel source) argument 1059 readFromParcel(Parcel source) argument 1085 RunningServiceInfo(Parcel source) argument 1190 readFromParcel(Parcel source) argument 1211 MemoryInfo(Parcel source) argument 1321 readFromParcel(Parcel source) argument 1342 ProcessErrorStateInfo(Parcel source) argument 1575 readFromParcel(Parcel source) argument 1600 RunningAppProcessInfo(Parcel source) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | SyncStorageEngine.java | 113 /** String names for the sync source types. */ 156 PendingOperation(Account account, int userId, int source, argument 160 this.syncSource = source; 242 int source; field in class:SyncStorageEngine.SyncHistoryItem 1045 long now, int source, boolean initialization) { 1050 + " auth=" + authorityName + " source=" + source); 1063 item.source = source; 1127 switch (item.source) { 1044 insertStartSyncEvent(Account accountName, int userId, String authorityName, long now, int source, boolean initialization) argument [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | AssetManager.java | 732 /*package*/ native static final void copyTheme(int dest, int source); argument
|
/frameworks/base/core/java/android/preference/ |
H A D | Preference.java | 1787 public BaseSavedState(Parcel source) { argument 1788 super(source);
|
/frameworks/base/core/java/android/provider/ |
H A D | MediaStore.java | 827 Bitmap source, 834 float scaleX = width / source.getWidth(); 835 float scaleY = height / source.getHeight(); 839 Bitmap thumb = Bitmap.createBitmap(source, 0, 0, 840 source.getWidth(), 841 source.getHeight(), matrix, 871 * @param source The stream to use for the image 877 public static final String insertImage(ContentResolver cr, Bitmap source, argument 890 if (source != null) { 893 source 825 StoreThumbnail( ContentResolver cr, Bitmap source, long id, float width, float height, int kind) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 65 public static float getDesiredWidth(CharSequence source, argument 67 return getDesiredWidth(source, 0, source.length(), paint); 74 public static float getDesiredWidth(CharSequence source, argument 81 next = TextUtils.indexOf(source, '\n', i, end); 87 float w = measurePara(paint, source, i, next);
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfo.java | 31 * can be requested from its source. From the point of view of an 395 * Sets the source. 402 * @param source The info source. 404 public void setSource(View source) { argument 405 setSource(source, UNDEFINED); 409 * Sets the source to be a virtual descendant of the given <code>root</code>. 411 * is set as the source. 1298 * @param label The view that labels this node's source. 1320 * @param root The root whose virtual descendant labels this node's source 1492 obtain(View source) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | RelativeLayout.java | 1252 public LayoutParams(ViewGroup.LayoutParams source) { argument 1253 super(source); 1259 public LayoutParams(ViewGroup.MarginLayoutParams source) { argument 1260 super(source);
|
H A D | RemoteViews.java | 805 public BitmapCache(Parcel source) { argument 806 int count = source.readInt(); 809 Bitmap b = Bitmap.CREATOR.createFromParcel(source);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | SlidingChallengeLayout.java | 1218 public LayoutParams(android.view.ViewGroup.LayoutParams source) { argument 1219 super(source); 1222 public LayoutParams(MarginLayoutParams source) { argument 1223 super(source); 1226 public LayoutParams(LayoutParams source) { argument 1227 super(source); 1229 childType = source.childType;
|