/frameworks/base/media/jni/audioeffect/ |
H A D | android_media_Visualizer.cpp | 245 sp<Visualizer> old = local 250 if (old != 0) { 251 old->decStrong((void*)setVisualizer); 254 return old;
|
H A D | android_media_AudioEffect.cpp | 200 sp<AudioEffect> old = local 205 if (old != 0) { 206 old->decStrong((void*)setAudioEffect); 209 return old;
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | BasicBitmapDrawable.java | 425 final int old = mPaint.getAlpha(); 427 if (alpha != old) {
|
H A D | ExtendedBitmapDrawable.java | 302 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/cmds/bmgr/src/com/android/commands/bmgr/ |
H A D | Bmgr.java | 399 String old = mBmgr.selectBackupTransport(which); 400 if (old == null) { 404 System.out.println("Selected transport " + which + " (formerly " + old + ")");
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | TypefaceTests.cpp | 73 Typeface* old = Typeface::resolveDefault(nullptr); // Keep the original to restore it later. local 74 ASSERT_NE(nullptr, old); 79 Typeface::setDefault(old); // Restore to the original.
|
/frameworks/av/media/libmedia/ |
H A D | IMediaSource.cpp | 62 int32_t old = addRemoteRefcount(-1); local 63 ALOGV("RemoteMediaBufferWrapper: releasing %p, refcount %d", this, old - 1);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerService.java | 3458 NotificationRecord old = mNotificationsByKey.get(n.getKey()); 3459 if (old != null) { 3461 r.copyRankingInformation(old); 3473 handleGroupedNotificationLocked(r, old, callingUid, callingPid); 3485 if (old != null) { 3531 NotificationRecord old = mNotificationsByKey.get(key); 3539 old = mNotificationList.get(index); 3541 mUsageStats.registerUpdatedByApp(r, old); 3544 old.getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE; 3561 StatusBarNotification oldSbn = (old ! 3612 handleGroupedNotificationLocked(NotificationRecord r, NotificationRecord old, int callingUid, int callingPid) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_Radio.cpp | 150 sp<Radio> old = (Radio*)env->GetLongField(thiz, gModuleFields.mNativeContext); local 154 if (old != 0) { 155 old->decStrong((void*)setRadio); 158 return old;
|
H A D | android_hardware_SoundTrigger.cpp | 371 sp<SoundTrigger> old = (SoundTrigger*)env->GetLongField(thiz, local 376 if (old != 0) { 377 old->decStrong((void*)setSoundTrigger); 380 return old;
|
H A D | android_os_HwParcel.cpp | 144 sp<JHwParcel> old = (JHwParcel *)env->GetLongField(thiz, gFields.contextID); local 150 if (old != NULL) { 151 old->decStrong(NULL /* id */); 156 return old;
|
H A D | android_media_AudioTrack.cpp | 183 sp<AudioTrack> old = local 188 if (old != 0) { 189 old->decStrong((void*)setAudioTrack); 192 return old;
|
H A D | android_util_Binder.cpp | 147 int old = android_atomic_inc(&gNumRefsCreated); local 148 if (old == 200) { 153 ALOGV("Now have %d binder ops", old);
|
/frameworks/base/drm/jni/ |
H A D | android_drm_DrmManagerClient.cpp | 188 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 D | android_media_MediaExtractor.cpp | 272 sp<JMediaExtractor> old = local 278 if (old != NULL) { 279 old->decStrong(thiz); 283 return old;
|
H A D | android_media_MediaCodec.cpp | 823 sp<JMediaCodec> old = (JMediaCodec *)env->GetLongField(thiz, gFields.context); local 827 if (old != NULL) { 833 old->release(); 834 old->decStrong(thiz); 838 return old;
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ChooserActivity.java | 1268 RowScale[] old = mServiceTargetScale; 1269 int oldRCount = old != null ? old.length : 0; 1271 if (old != null && rcount > 0) { 1272 System.arraycopy(old, 0, mServiceTargetScale, 0, 1273 Math.min(old.length, rcount)); 1277 old[i].cancelAnimation();
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardUpdateMonitor.java | 1501 private static boolean isBatteryUpdateInteresting(BatteryStatus old, BatteryStatus current) { argument 1503 final boolean wasPluggedIn = old.isPluggedIn(); 1506 && (old.status != current.status); 1514 if (nowPluggedIn && old.level != current.level) { 1519 if (!nowPluggedIn && current.isBatteryLow() && current.level != old.level) { 1524 if (nowPluggedIn && current.maxChargingWattage != old.maxChargingWattage) {
|
/frameworks/base/core/java/android/util/ |
H A D | ArraySet.java | 490 final Object old = mArray[index]; 537 return (E) old;
|
/frameworks/base/core/java/android/view/ |
H A D | Choreographer.java | 265 Choreographer old = sThreadInstance.get(); 267 old.dispose();
|
/frameworks/base/media/java/android/service/media/ |
H A D | MediaBrowserService.java | 203 // Clear out the old subscriptions. We are getting new ones. 247 // Clear out the old subscriptions. We are getting new ones. 248 final ConnectionRecord old = mConnections.remove(b); 249 if (old != null) {
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
H A D | CompanionDeviceManagerService.java | 93 //TODO on associate called again after configuration change -> replace old callback with new 507 final List<Association> old = CollectionUtils.copyOf(associations); 509 if (size(old) == size(associations)) return;
|
/frameworks/support/compat/java/android/support/v4/util/ |
H A D | ArraySet.java | 480 final Object old = mArray[index]; 527 return (E) old;
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecLocalDeviceTv.java | 847 HdmiLogger.debug("System Audio Mode change[old:%b new:%b]", mSystemAudioActivated, on); 897 HdmiLogger.debug("Set Arc Status[old:%b new:%b]", mArcEstablished, enabled); 1223 * Add a new {@link HdmiDeviceInfo}. It returns old device info which has the same 1229 * @return {@code null} if it is new device. Otherwise, returns old {@HdmiDeviceInfo} 1433 HdmiDeviceInfo old = addDeviceInfo(info); 1438 if (old == null) { 1440 } else if (!old.equals(info)) { 1441 invokeDeviceEventListener(old, HdmiControlManager.DEVICE_EVENT_REMOVE_DEVICE); 1862 // addDeviceInfo replaces old device info with new one if exists.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NavigationBarView.java | 517 boolean old = lp.windowAnimations != 0; 518 if (!old && useFadingAnimations) { 520 } else if (old && !useFadingAnimations) { 645 "onSizeChanged: (%dx%d) old: (%dx%d)", w, h, oldw, oldh));
|