Home
last modified time | relevance | path

Searched refs:wasEmpty (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java86 final boolean wasEmpty = mListeners.isEmpty(); in onStart()
89 if (wasEmpty && !mListeners.isEmpty()) { in onStart()
98 final boolean wasEmpty = mListeners.isEmpty(); in onStart()
101 if (!wasEmpty && mListeners.isEmpty()) { in onStart()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraServiceProxy.java273 boolean wasEmpty = mActiveCameraUsage.isEmpty(); in binderDied()
276 if ( mNotifyNfc && !wasEmpty ) { in binderDied()
403 boolean wasEmpty = mActiveCameraUsage.isEmpty(); in updateActivityCount()
478 if ( mNotifyNfc && (wasEmpty != isEmpty) ) { in updateActivityCount()
/frameworks/base/libs/input/
DSpriteController.cpp78 bool wasEmpty = mLocked.invalidatedSprites.isEmpty(); in invalidateSpriteLocked() local
80 if (wasEmpty) { in invalidateSpriteLocked()
90 bool wasEmpty = mLocked.disposedSurfaces.isEmpty(); in disposeSurfaceLocked() local
92 if (wasEmpty) { in disposeSurfaceLocked()
/frameworks/base/core/java/android/app/
DPendingIntent.java996 boolean wasEmpty = mCancelListeners.isEmpty(); in registerCancelListener()
998 if (wasEmpty) { in registerCancelListener()
1030 boolean wasEmpty = mCancelListeners.isEmpty(); in unregisterCancelListener()
1032 if (mCancelListeners.isEmpty() && !wasEmpty) { in unregisterCancelListener()
DSharedPreferencesImpl.java661 boolean wasEmpty = false; in enqueueDiskWrite()
663 wasEmpty = mDiskWritesInFlight == 1; in enqueueDiskWrite()
665 if (wasEmpty) { in enqueueDiskWrite()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java634 boolean wasEmpty = mIsEmpty; in onLoadFinished()
649 if (wasEmpty) { in onLoadFinished()
/frameworks/base/core/java/android/accounts/
DAccountManager.java2917 final boolean wasEmpty = mAccountsUpdatedListeners.isEmpty();
2927 if (wasEmpty) {
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp2370 bool wasEmpty = !displayState.lastCompositionHadVisibleLayers; in beginFrame() local
2380 bool mustRecompose = dirty && !(empty && wasEmpty); in beginFrame()
2387 flagPrefix[wasEmpty]); in beginFrame()
/frameworks/native/services/inputflinger/
DInputDispatcher.cpp2037 bool wasEmpty = connection->outboundQueue.isEmpty(); in enqueueDispatchEntriesLocked() local
2054 if (wasEmpty && !connection->outboundQueue.isEmpty()) { in enqueueDispatchEntriesLocked()