/frameworks/base/voip/java/com/android/server/sip/ |
SipSessionListenerProxy.java | 29 private ISipSessionListener mListener; 32 mListener = listener; 36 return mListener; 47 if (mListener == null) return; 51 mListener.onCalling(session); 61 if (mListener == null) return; 65 mListener.onRinging(session, caller, sessionDescription); 74 if (mListener == null) return; 78 mListener.onRingingBack(session); 88 if (mListener == null) return [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
RefreshManagerTest.java | 37 private RefreshListener mListener; 59 mListener = new RefreshListener(); 62 mTarget.registerListener(mListener); 72 // mListener is already registered 75 mTarget.unregisterListener(mListener); 128 assertTrue(mListener.mCalledOnRefreshStatusChanged); 129 assertFalse(mListener.mCalledOnConnectionError); 130 assertEquals(ACCOUNT_1, mListener.mAccountId); 131 assertEquals(-1, mListener.mMailboxId); 132 mListener.reset() [all...] |
/system/media/mca/filterfw/java/android/filterfw/core/ |
FilterSurfaceView.java | 35 private SurfaceHolder.Callback mListener; 56 } else if (mListener != null && mListener != listener) { 59 + "filter " + mListener + " attached already!"); 63 mListener = listener; 78 mListener.surfaceCreated(getHolder()); 82 mListener.surfaceChanged(getHolder(), mFormat, mWidth, mHeight); 88 mListener = null; 109 if (mListener != null) { 110 mListener.surfaceCreated(holder) [all...] |
/packages/apps/Camera/src/com/android/camera/ |
ShutterButton.java | 43 private OnShutterButtonListener mListener; 51 mListener = listener; 99 if (mListener != null) { 100 mListener.onShutterButtonFocus(pressed); 107 if (mListener != null) { 108 mListener.onShutterButtonClick();
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
PrepareMusicRetrieverTask.java | 28 MusicRetrieverPreparedListener mListener; 33 mListener = listener; 44 mListener.onMusicRetrieverPrepared();
|
/frameworks/base/core/java/android/animation/ |
TimeAnimator.java | 14 private TimeListener mListener; 29 if (mListener != null) { 33 mListener.onTimeUpdate(this, totalTime, deltaTime); 45 mListener = listener;
|
/frameworks/base/services/java/com/android/server/location/ |
CountryDetectorBase.java | 36 protected CountryListener mListener; 58 mListener = listener; 68 if (mListener != null) { 69 mListener.onCountryDetected(country);
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
NotifyingSpinner.java | 33 private SelectionListener mListener; 44 mListener = listener; 51 if (mListener != null) { 52 mListener.onSetSelection(this, position);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/ |
OkCancelPreference.java | 27 private Listener mListener; 37 if (mListener != null) { 38 mListener.onDialogClosed(positiveResult); 43 mListener = listener;
|
/frameworks/base/voip/java/android/net/sip/ |
SipSession.java | 237 private Listener mListener; 350 mListener = listener; 467 if (mListener != null) { 468 mListener.onCalling(SipSession.this); 474 if (mListener != null) { 475 mListener.onRinging(SipSession.this, caller, 481 if (mListener != null) { 482 mListener.onRingingBack(SipSession.this); 488 if (mListener != null) { 489 mListener.onCallEstablished(SipSession.this [all...] |
/frameworks/base/core/java/android/webkit/ |
FrameLoader.java | 32 private final LoadListener mListener; 62 mListener = listener; 68 mUaprofHeader = mListener.getContext().getResources().getString( 94 return mListener; 106 String url = mListener.url(); 110 if (mListener.isSynchronous()) { 111 mInterceptResponse.loader(mListener).load(); 115 mInterceptResponse.loader(mListener)).sendToTarget(); 120 mListener.error(EventHandler.ERROR_BAD_URL, 121 mListener.getContext().getString [all...] |
/frameworks/base/include/media/stagefright/ |
MediaWriter.h | 44 mListener = listener; 55 sp<IMediaRecorderClient> mListener; 58 if (mListener != NULL) { 59 mListener->notify(msg, ext1, ext2);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
DownUpDetector.java | 28 private DownUpListener mListener; 31 mListener = listener; 38 mListener.onDown(e); 40 mListener.onUp(e);
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
FutureTask.java | 25 private FutureListener<T> mListener; 32 mListener = listener; 80 if (mListener != null) { 81 mListener.onFutureDone(this);
|
/frameworks/base/tools/layoutlib/bridge/src/android/animation/ |
AnimationThread.java | 71 private final IAnimationListener mListener; 77 mListener = listener; 101 mListener.done(result); 108 if (mListener.isCanceled()) { 130 if (mListener.isCanceled()) { 137 mListener.done(result); 145 if (mListener.isCanceled()) { 151 mListener.onNewFrame(session); 156 } while (mListener.isCanceled() == false && mQueue.size() > 0); 158 mListener.done(Status.SUCCESS.createResult()) [all...] |
/system/core/nexus/ |
DhcpClient.cpp | 42 mListener = NULL; 51 if (mListener) 52 delete mListener; 98 mListener = new DhcpListener(mController, mListenerSocket, mHandlers); 99 if (mListener->startListener()) { 105 delete mListener; 106 mListener = NULL; 121 if (mListener) { 122 mListener->stopListener(); 123 delete mListener; [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ |
StreamItemAdapterTest.java | 38 private FakeOnClickListener mListener; 45 mListener = new FakeOnClickListener(); 46 mAdapter = new StreamItemAdapter(getContext(), mListener, mPhotoListener); 52 mListener = null; 93 assertFalse("listener should have not been invoked yet", mListener.clicked); 95 assertTrue("listener should have been invoked", mListener.clicked); 100 assertFalse("listener should have not been invoked yet", mListener.clicked); 102 assertFalse("listener should have not been invoked", mListener.clicked);
|
/cts/tests/tests/content/src/android/content/cts/ |
ClipboardManagerListenerTest.java | 31 private CountingClipChangedListener mListener; 41 mListener = new CountingClipChangedListener(); 45 mActivity.addPrimaryClipChangedListener(mListener); 54 mActivity.removePrimaryClipChangedListener(mListener); 63 return expectedCount == mListener.getCount(); 70 assertEquals(expectedCount, mListener.getCount());
|
/system/media/mca/filterfw/java/android/filterfw/basefilters/ |
CallbackFilter.java | 41 private FilterContext.OnFrameReceivedListener mListener; 55 private FilterContext.OnFrameReceivedListener mListener; 58 mListener = listener; 65 mListener.onFrameReceived(mFilter, mFrame, mUserData); 88 if (mListener != null) { 91 CallbackRunnable uiRunnable = new CallbackRunnable(mListener, this, input, mUserData); 96 mListener.onFrameReceived(this, input, mUserData);
|
/frameworks/base/core/java/android/content/ |
Loader.java | 54 OnLoadCompleteListener<D> mListener; 124 if (mListener != null) { 125 mListener.onLoadComplete(this, data); 151 if (mListener != null) { 154 mListener = listener; 164 if (mListener == null) { 167 if (mListener != listener) { 170 mListener = null; 413 writer.print(" mListener="); writer.println(mListener); [all...] |
/frameworks/support/v4/java/android/support/v4/content/ |
Loader.java | 36 OnLoadCompleteListener<D> mListener; 102 if (mListener != null) { 103 mListener.onLoadComplete(this, data); 129 if (mListener != null) { 132 mListener = listener; 142 if (mListener == null) { 145 if (mListener != listener) { 148 mListener = null; 367 writer.print(" mListener="); writer.println(mListener); [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
PhoneStateListenerTest.java | 45 private PhoneStateListener mListener; 62 if (mListener != null) { 64 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_NONE); 98 mListener = new PhoneStateListener() { 107 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_SERVICE_STATE); 145 mListener = new PhoneStateListener() { 154 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_SIGNAL_STRENGTH); 187 mListener = new PhoneStateListener() { 197 mListener, PhoneStateListener.LISTEN_MESSAGE_WAITING_INDICATOR); 230 mListener = new PhoneStateListener() [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
EmailAddressPickerFragment.java | 29 private OnEmailAddressPickerActionListener mListener; 39 mListener = listener; 62 mListener.onPickEmailAddressAction(uri);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
NotifyingAsyncQueryHandler.java | 34 private WeakReference<AsyncQueryListener> mListener; 53 mListener = new WeakReference<AsyncQueryListener>(listener); 59 final AsyncQueryListener listener = mListener.get();
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppBatch.java | 73 private BluetoothOppBatchListener mListener; 127 if (mListener != null) { 128 mListener.onShareAdded(info.mId); 146 if (mListener != null) { 147 mListener.onShareDeleted(info.mId); 161 if (mListener != null) { 162 mListener.onBatchCanceled(); 197 mListener = listener;
|