Home
last modified time | relevance | path

Searched refs:mObserver (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/av/media/libstagefright/
DMediaBuffer.cpp35 : mObserver(NULL), in MediaBuffer()
48 : mObserver(NULL), in MediaBuffer()
61 : mObserver(NULL), in MediaBuffer()
75 : mObserver(NULL), in MediaBuffer()
89 if (mObserver == NULL) { in release()
97 if (mObserver == NULL) { in release()
102 mObserver->signalBufferReturned(this); in release()
108 CHECK(mObserver != NULL); in claim()
160 CHECK(mObserver == NULL); in ~MediaBuffer()
174 CHECK(observer == NULL || mObserver == NULL); in setObserver()
[all …]
DAudioPlayer.cpp57 mObserver(observer), in AudioPlayer()
385 if (mObserver) { in fillBuffer()
410 if (mObserver && !mReachedEOS) { in fillBuffer()
506 mObserver->postAudioEOS(postEOSDelayUs); in fillBuffer()
510 mObserver->postAudioSeekComplete(); in fillBuffer()
/frameworks/base/core/tests/coretests/src/android/os/
DFileObserverTest.java33 private Observer mObserver; field in FileObserverTest
77 mObserver = new Observer(mTestFile.getParent()); in testRun()
78 mObserver.startWatching(); in testRun()
90 mObserver.stopWatching(); in testRun()
93 assertTrue(mObserver.totalEvents > 3); in testRun()
100 synchronized (mObserver) { in waitForEvent()
104 mObserver.wait(2000); in waitForEvent()
110 Iterator<Map> it = mObserver.events.iterator(); in waitForEvent()
117 mObserver.events.clear(); in waitForEvent()
/frameworks/base/core/java/android/app/backup/
DRestoreSession.java38 RestoreObserverWrapper mObserver = null; field in RestoreSession
76 if (mObserver != null) { in restoreAll()
80 mObserver = new RestoreObserverWrapper(mContext, observer); in restoreAll()
82 err = mBinder.restoreAll(token, mObserver); in restoreAll()
110 if (mObserver != null) { in restoreSome()
114 mObserver = new RestoreObserverWrapper(mContext, observer); in restoreSome()
116 err = mBinder.restoreSome(token, mObserver, packages); in restoreSome()
140 if (mObserver != null) { in restorePackage()
144 mObserver = new RestoreObserverWrapper(mContext, observer); in restorePackage()
146 err = mBinder.restorePackage(packageName, mObserver); in restorePackage()
/frameworks/base/core/java/android/database/
DCursorToBulkCursorAdaptor.java43 private ContentObserverProxy mObserver; field in CursorToBulkCursorAdaptor
247 if (mObserver != null) { in createAndRegisterObserverProxyLocked()
250 mObserver = new ContentObserverProxy(observer, this); in createAndRegisterObserverProxyLocked()
251 mCursor.registerContentObserver(mObserver); in createAndRegisterObserverProxyLocked()
256 if (mObserver != null) { in unregisterObserverProxyLocked()
257 mCursor.unregisterContentObserver(mObserver); in unregisterObserverProxyLocked()
258 mObserver.unlinkToDeath(this); in unregisterObserverProxyLocked()
259 mObserver = null; in unregisterObserverProxyLocked()
DMergeCursor.java27 private DataSetObserver mObserver = new DataSetObserver() { field in MergeCursor
50 mCursors[i].registerDataSetObserver(mObserver); in MergeCursor()
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
DBackupRestoreConfirmation.java66 FullObserver mObserver; field in BackupRestoreConfirmation
164 mObserver = new FullObserver(mHandler); in onCreate()
166 mObserver = (FullObserver) oldObserver; in onCreate()
167 mObserver.setHandler(mHandler); in onCreate()
210 sendAcknowledgement(mToken, true, mObserver); in onCreate()
219 sendAcknowledgement(mToken, false, mObserver); in onCreate()
236 return mObserver; in onRetainNonConfigurationInstance()
255 mObserver); in sendAcknowledgement()
/frameworks/support/v4/java/android/support/v4/content/
DCursorLoader.java36 final ForceLoadContentObserver mObserver; field in CursorLoader
54 registerContentObserver(cursor, mObserver); in loadInBackground()
64 cursor.registerContentObserver(mObserver); in registerContentObserver()
96 mObserver = new ForceLoadContentObserver(); in CursorLoader()
108 mObserver = new ForceLoadContentObserver(); in CursorLoader()
/frameworks/base/core/java/android/content/
DCursorLoader.java44 final ForceLoadContentObserver mObserver; field in CursorLoader
70 registerContentObserver(cursor, mObserver); in loadInBackground()
96 cursor.registerContentObserver(mObserver); in registerContentObserver()
128 mObserver = new ForceLoadContentObserver(); in CursorLoader()
140 mObserver = new ForceLoadContentObserver(); in CursorLoader()
DContentService.java242 oc.mObserver.onChange(oc.mSelfChange, uri); in notifyChange()
244 Log.v(TAG, "Notified " + oc.mObserver + " of " + "update at " + uri); in notifyChange()
249 IBinder binder = oc.mObserver.asBinder(); in notifyChange()
290 final IContentObserver mObserver; field in ContentService.ObserverCall
295 mObserver = observer; in ObserverCall()
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java143 false, listener.mObserver, userHandle); in registerRotationPolicyListener()
146 false, listener.mObserver, userHandle); in registerRotationPolicyListener()
154 context.getContentResolver().unregisterContentObserver(listener.mObserver); in unregisterRotationPolicyListener()
161 final ContentObserver mObserver = new ContentObserver(new Handler()) { field in RotationPolicy.RotationPolicyListener
/frameworks/base/core/java/android/text/method/
DTextKeyListener.java61 private TextKeyListener.SettingsObserver mObserver; field in TextKeyListener
249 contentResolver.unregisterContentObserver(mObserver); in release()
252 mObserver = null; in release()
261 if (mObserver == null) { in initPrefs()
262 mObserver = new SettingsObserver(); in initPrefs()
263 contentResolver.registerContentObserver(Settings.System.CONTENT_URI, true, mObserver); in initPrefs()
/frameworks/opt/mailcommon/java/com/android/mailcommon/
DMergedAdapter.java39 private final DataSetObserver mObserver; field in MergedAdapter
59 mObserver = new DataSetObserver() { in MergedAdapter()
70 adapter.unregisterDataSetObserver(mObserver); in setAdapters()
77 adapter.registerDataSetObserver(mObserver); in setAdapters()
/frameworks/av/media/libmediaplayerservice/
DHDCP.cpp74 mObserver = observer; in setObserver()
121 if (mObserver != NULL) { in observe()
122 mObserver->notify(msg, ext1, ext2, NULL /* obj */); in observe()
DHDCP.h43 sp<IHDCPObserver> mObserver; member
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorAudioPlayer.cpp54 mObserver(observer) { in VideoEditorAudioPlayer()
296 mObserver = observer; in setObserver()
634 if (mObserver) { in fillBuffer()
804 if (mObserver && !mReachedEOS) { in fillBuffer()
855 mObserver->postAudioEOS(); in fillBuffer()
859 mObserver->postAudioSeekComplete(); in fillBuffer()
DVideoEditorAudioPlayer.h120 PreviewPlayer *mObserver; variable
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java126 private PopupDataSetObserver mObserver; field in AutoCompleteTextView
627 if (mObserver == null) { in setAdapter()
628 mObserver = new PopupDataSetObserver(); in setAdapter()
630 mAdapter.unregisterDataSetObserver(mObserver); in setAdapter()
636 adapter.registerDataSetObserver(mObserver); in setAdapter()
DListPopupWindow.java77 private DataSetObserver mObserver; field in ListPopupWindow
213 if (mObserver == null) { in setAdapter()
214 mObserver = new PopupDataSetObserver(); in setAdapter()
216 mAdapter.unregisterDataSetObserver(mObserver); in setAdapter()
220 adapter.registerDataSetObserver(mObserver); in setAdapter()
/frameworks/base/services/java/com/android/server/net/
DNetworkStatsRecorder.java70 private final NonMonotonicObserver<String> mObserver; field in NetworkStatsRecorder
90 mObserver = checkNotNull(observer, "missing NonMonotonicObserver"); in NetworkStatsRecorder()
164 snapshot, mLastSnapshot, mObserver, mCookie); in recordSnapshotLocked()
/frameworks/base/services/java/com/android/server/
DBackupManagerService.java2314 IFullBackupRestoreObserver mObserver; field in BackupManagerService.PerformFullBackupTask
2384 mObserver = observer; in PerformFullBackupTask()
2836 if (mObserver != null) { in sendStartBackup()
2838 mObserver.onStartBackup(); in sendStartBackup()
2841 mObserver = null; in sendStartBackup()
2847 if (mObserver != null) { in sendOnBackupPackage()
2850 mObserver.onBackupPackage(name); in sendOnBackupPackage()
2853 mObserver = null; in sendOnBackupPackage()
2859 if (mObserver != null) { in sendEndBackup()
2861 mObserver.onEndBackup(); in sendEndBackup()
[all …]
DWiredAccessoryManager.java82 private final WiredAccessoryObserver mObserver; field in WiredAccessoryManager
97 mObserver = new WiredAccessoryObserver(); in WiredAccessoryManager()
121 mObserver.init(); in bootCompleted()
/frameworks/base/core/java/com/android/internal/database/
DSortCursor.java40 private DataSetObserver mObserver = new DataSetObserver() { field in SortCursor
65 mCursors[i].registerDataSetObserver(mObserver); in SortCursor()
/frameworks/av/include/media/stagefright/
DMediaBuffer.h99 MediaBufferObserver *mObserver; variable
DAudioPlayer.h102 AwesomePlayer *mObserver; variable

12