Searched refs:old (Results 51 - 75 of 78) sorted by relevance

1234

/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DExtendedBitmapDrawable.java302 final int old = mPaint.getAlpha();
306 if (alpha != old) {
394 Log.v(TAG, String.format("IN setLoadState. old=%s new=%s key=%s this=%s",
/frameworks/base/core/jni/
H A Dandroid_hardware_Radio.cpp148 sp<Radio> old = (Radio*)env->GetLongField(thiz, gModuleFields.mNativeContext); local
152 if (old != 0) {
153 old->decStrong((void*)setRadio);
156 return old;
H A Dandroid_hardware_SoundTrigger.cpp356 sp<SoundTrigger> old = (SoundTrigger*)env->GetLongField(thiz, local
361 if (old != 0) {
362 old->decStrong((void*)setSoundTrigger);
365 return old;
H A Dandroid_media_AudioTrack.cpp179 sp<AudioTrack> old = local
184 if (old != 0) {
185 old->decStrong((void*)setAudioTrack);
188 return old;
H A Dandroid_util_Binder.cpp146 int old = android_atomic_inc(&gNumRefsCreated); local
147 if (old == 200) {
152 ALOGV("Now have %d binder ops", old);
H A Dandroid_media_AudioSystem.cpp254 sp<JNIAudioPortCallback> old = local
259 if (old != 0) {
260 old->decStrong((void*)setJniCallback);
263 return old;
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp188 sp<DrmManagerClientImpl> old = reinterpret_cast<DrmManagerClientImpl*>(oldHandle); local
192 if (old != 0) {
193 old->decStrong(thiz);
196 return old;
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp259 sp<JMediaExtractor> old = local
265 if (old != NULL) {
266 old->decStrong(thiz);
270 return old;
H A Dandroid_media_MediaPlayer.cpp152 sp<MediaPlayer> old = (MediaPlayer*)env->GetLongField(thiz, fields.context); local
156 if (old != 0) {
157 old->decStrong((void*)setMediaPlayer);
160 return old;
H A Dandroid_media_MediaCodec.cpp791 sp<JMediaCodec> old = (JMediaCodec *)env->GetLongField(thiz, gFields.context); local
795 if (old != NULL) {
801 old->release();
802 old->decStrong(thiz);
806 return old;
H A Dandroid_media_MediaDrm.cpp559 sp<JDrm> old = (JDrm *)env->GetLongField(thiz, gFields.context); local
563 if (old != NULL) {
564 old->decStrong(thiz);
568 return old;
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_AudioEffect.cpp199 sp<AudioEffect> old = local
204 if (old != 0) {
205 old->decStrong((void*)setAudioEffect);
208 return old;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardUpdateMonitor.java1237 private static boolean isBatteryUpdateInteresting(BatteryStatus old, BatteryStatus current) { argument
1239 final boolean wasPluggedIn = old.isPluggedIn();
1242 && (old.status != current.status);
1250 if (nowPluggedIn && old.level != current.level) {
1255 if (!nowPluggedIn && current.isBatteryLow() && current.level != old.level) {
/frameworks/rs/driver/
H A DrsdAllocation.cpp715 ANativeWindow *old = drv->wndSurface; local
727 // Cleanup old surface if there is one.
729 ANativeWindow *old = drv->wndSurface; local
732 old->cancelBuffer(old, drv->wndBuffer, -1);
735 native_window_api_disconnect(old, NATIVE_WINDOW_API_CPU);
736 old->decStrong(nullptr);
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecLocalDeviceTv.java842 HdmiLogger.debug("System Audio Mode change[old:%b new:%b]", mSystemAudioActivated, on);
883 HdmiLogger.debug("Set Arc Status[old:%b new:%b]", mArcEstablished, enabled);
1226 * Add a new {@link HdmiDeviceInfo}. It returns old device info which has the same
1232 * @return {@code null} if it is new device. Otherwise, returns old {@HdmiDeviceInfo}
1436 HdmiDeviceInfo old = addDeviceInfo(info);
1441 if (old == null) {
1443 } else if (!old.equals(info)) {
1444 invokeDeviceEventListener(old, HdmiControlManager.DEVICE_EVENT_REMOVE_DEVICE);
1866 // addDeviceInfo replaces old device info with new one if exists.
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationUsageStats.java119 public void registerUpdatedByApp(NotificationRecord notification, NotificationRecord old) { argument
120 notification.stats = old.stats;
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp551 RsdCpuScriptImpl *old = tls->mImpl; local
559 return old;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarIconController.java178 StatusBarIcon old, StatusBarIcon icon) {
177 updateSystemIcon(String slot, int index, int viewIndex, StatusBarIcon old, StatusBarIcon icon) argument
H A DPhoneStatusBar.java1154 StatusBarIcon old, StatusBarIcon icon) {
1155 mIconController.updateSystemIcon(slot, index, viewIndex, old, icon);
1224 StatusBarNotification old = removeNotificationViews(key, ranking);
1225 if (SPEW) Log.d(TAG, "removeNotification key=" + key + " old=" + old);
1227 if (old != null) {
1623 Log.v(TAG, "DEBUG_MEDIA: Disconnecting from old controller: "
1153 updateIcon(String slot, int index, int viewIndex, StatusBarIcon old, StatusBarIcon icon) argument
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DStaggeredGridLayoutManager.java2439 int[] old = mData;
2441 System.arraycopy(old, 0, mData, 0, old.length);
2442 Arrays.fill(mData, old.length, mData.length, LayoutParams.INVALID_SPAN_ID);
/frameworks/av/services/audioflinger/
H A DThreads.cpp3425 int32_t old = android_atomic_inc(&mFastMixerFutex); local
3426 if (old == -1) {
3482 int32_t old = android_atomic_inc(&mFastMixerFutex); local
3483 if (old == -1) {
5517 // pipe will be shared directly with fast clients, so clear to avoid leaking old information
5581 int32_t old = android_atomic_inc(&mFastCaptureFutex); local
5582 if (old == -1) {
5778 int32_t old = android_atomic_inc(&mFastCaptureFutex); local
5779 if (old == -1) {
6922 // A larger value should allow more old dat
[all...]
/frameworks/rs/cpp/
H A DAllocation.cpp146 sp<const Type> old = mType; local
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DStaggeredGridLayoutManagerTest.java2171 HashSet<Integer> old = mFullSpanItems;
2173 for (Integer i : old) {
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp384 // Remove the listener with the old offset
1722 // as well, as the old visible region
2063 uint32_t old = android_atomic_or(flags, &mTransactionFlags); local
2064 if ((old & flags)==0) { // wake the server up
2067 return old;
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java970 * Current sequencing integer of the configuration, for skipping old
3144 checkTime(startTime, "startProcess: done killing old proc");
5823 ProcessRecord old = mProcessNames.remove(name, uid);
5824 if (old != null) {
5825 old.uidRecord.numProcs--;
5826 if (old.uidRecord.numProcs == 0) {
5829 "No more processes in " + old.uidRecord);
5830 enqueueUidChangeLocked(old.uidRecord, true);
5833 old.uidRecord = null;
5836 return old;
[all...]

Completed in 784 milliseconds

1234