Searched refs:old (Results 1 - 25 of 53) sorted by path

123

/frameworks/av/media/libmedia/
H A DAudioTrack.cpp904 // old has the previous value of mCblk->flags before the "or" operation
905 int32_t old = android_atomic_or(CBLK_DIRECTION_OUT, &mCblk->flags); local
907 if (old & CBLK_FAST) {
1335 // signal old cblk condition so that other threads waiting for available buffers stop
1401 // signal old cblk condition for other threads waiting for restore completion
1420 ALOGV("restoreTrack_l() status %d mActive %d cblk %p, old cblk %p flags %08x old flags %08x",
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp287 // if module is 0, the request comes from an old policy manager and we should load
2403 int32_t old = android_atomic_inc(&mFastMixerFutex); local
2404 if (old == -1) {
2737 int32_t old = android_atomic_inc(&mFastMixerFutex); local
2738 if (old == -1) {
H A DFastMixer.cpp156 int32_t old = android_atomic_dec(coldFutexAddr);
157 if (old <= 0) {
158 __futex_syscall4(coldFutexAddr, FUTEX_WAIT_PRIVATE, old - 1, NULL);
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java176 String old = mBmgr.selectBackupTransport(which);
177 if (old == null) {
181 System.out.println("Selected transport " + which + " (formerly " + old + ")");
/frameworks/base/core/java/android/app/
H A DBackStackRecord.java622 Fragment old = mManager.mAdded.get(i);
624 "OP_REPLACE: adding=" + f + " old=" + old);
625 if (f == null || old.mContainerId == f.mContainerId) {
626 if (old == f) {
632 op.removed.add(old);
633 old.mNextAnim = op.exitAnim;
635 old.mBackStackNesting += 1;
637 + old + " to " + old
[all...]
H A DLoadedApk.java1033 ServiceDispatcher.ConnectionInfo old;
1037 old = mActiveConnections.remove(name);
1038 if (old == null || old.binder != service) {
1043 old.binder.unlinkToDeath(old.deathMonitor, 0);
1054 ServiceDispatcher.ConnectionInfo old;
1063 old = mActiveConnections.get(name);
1064 if (old != null && old
[all...]
H A DLocalActivityManager.java256 * with removing the old window if the activity has changed.
291 LocalActivityRecord old = mResumed;
295 if (old != null && old != r && mCurState == RESUMED) {
296 moveToState(old, STARTED);
/frameworks/base/core/java/android/os/
H A DConditionVariable.java65 boolean old = mCondition;
67 if (!old) {
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java271 SpeechItem old = mCurrentSpeechItem;
273 return old;
862 ITextToSpeechCallback old;
865 old = mCallerToCallback.put(caller, cb);
867 old = mCallerToCallback.remove(caller);
869 if (old != null && old != cb) {
870 unregister(old);
/frameworks/base/core/java/android/text/method/
H A DPasswordTransformationMethod.java46 * be references to the old EditText in the text.
133 Visible[] old = sp.getSpans(0, sp.length(), Visible.class);
134 for (int i = 0; i < old.length; i++) {
135 sp.removeSpan(old[i]);
/frameworks/base/core/java/android/text/style/
H A DStyleSpan.java84 Typeface old = paint.getTypeface();
85 if (old == null) {
88 oldStyle = old.getStyle();
94 if (old == null) {
97 tf = Typeface.create(old, want);
H A DTypefaceSpan.java76 Typeface old = paint.getTypeface();
77 if (old == null) {
80 oldStyle = old.getStyle();
/frameworks/base/core/java/android/text/util/
H A DLinkify.java203 URLSpan[] old = text.getSpans(0, text.length(), URLSpan.class);
205 for (int i = old.length - 1; i >= 0; i--) {
206 text.removeSpan(old[i]);
/frameworks/base/core/java/android/view/
H A DView.java4498 * This is what clears the old focus.
8383 int old = mViewFlags;
8386 int changed = mViewFlags ^ old;
8395 if (((old & FOCUSABLE_MASK) == FOCUSABLE)
8399 } else if (((old & FOCUSABLE_MASK) == NOT_FOCUSABLE)
8589 * you were just added to the view hierarchy, you're called with the old
8992 // Double-invalidation is necessary to capture view's old and new areas
9371 * the new value for the alpha property is different from the old value
9427 // Double-invalidation is necessary to capture view's old and new areas
9500 // Double-invalidation is necessary to capture view's old an
[all...]
H A DWindowManagerGlobal.java227 Object[] old = mViews;
229 System.arraycopy(old, 0, mViews, 0, index-1);
230 old = mRoots;
232 System.arraycopy(old, 0, mRoots, 0, index-1);
233 old = mParams;
235 System.arraycopy(old, 0, mParams, 0, index-1);
/frameworks/base/core/java/android/widget/
H A DCursorAdapter.java309 Cursor old = swapCursor(cursor);
310 if (old != null) {
311 old.close();
316 * Swap in a new Cursor, returning the old Cursor. Unlike
317 * {@link #changeCursor(Cursor)}, the returned old Cursor is <em>not</em>
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp154 sp<AudioRecord> old = local
159 if (old != 0) {
160 old->decStrong(thiz);
163 return old;
H A Dandroid_media_AudioTrack.cpp189 sp<AudioTrack> old = local
194 if (old != 0) {
195 old->decStrong(thiz);
198 return old;
H A Dandroid_util_Binder.cpp162 int old = android_atomic_inc(&gNumRefsCreated); local
163 if (old == 200) {
168 ALOGV("Now have %d binder ops", old);
/frameworks/base/core/tests/coretests/src/android/util/
H A DTimeUtilsTest.java71 String[] old = new String[] {
75 for (String name : old) {
/frameworks/base/core/tests/coretests/src/android/widget/
H A DRadioGroupPreCheckedTest.java53 RadioButton old = (RadioButton) activity.findViewById(R.id.value_one);
55 assertFalse("The first radio button should not be checked", old.isChecked());
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp187 sp<DrmManagerClientImpl> old = (DrmManagerClientImpl*)env->GetIntField(thiz, fieldId); local
191 if (old != 0) {
192 old->decStrong(thiz);
195 return old;
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp281 sp<JMediaCodec> old = (JMediaCodec *)env->GetIntField(thiz, gFields.context); local
285 if (old != NULL) {
286 old->decStrong(thiz);
290 return old;
H A Dandroid_media_MediaCrypto.cpp149 sp<JCrypto> old = (JCrypto *)env->GetIntField(thiz, gFields.context); local
153 if (old != NULL) {
154 old->decStrong(thiz);
158 return old;
H A Dandroid_media_MediaExtractor.cpp288 sp<JMediaExtractor> old = local
294 if (old != NULL) {
295 old->decStrong(thiz);
299 return old;

Completed in 155 milliseconds

123