/cts/tests/tests/transition/src/android/transition/cts/ |
TransitionManagerTest.java | 45 assertEquals(1, mListener.resumeLatch.getCount()); 46 assertEquals(1, mListener.pauseLatch.getCount()); 47 assertEquals(1, mListener.cancelLatch.getCount()); 48 assertNotNull(mListener.transition); 49 assertEquals(TestTransition.class, mListener.transition.getClass()); 50 assertTrue(mTransition != mListener.transition); 65 assertEquals(1, mListener.resumeLatch.getCount()); 66 assertEquals(1, mListener.pauseLatch.getCount()); 67 assertEquals(1, mListener.cancelLatch.getCount()); 68 assertNotNull(mListener.transition) [all...] |
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipSessionListenerProxy.java | 29 private ISipSessionListener mListener; 32 mListener = listener; 36 return mListener; 48 if (mListener == null) return; 53 mListener.onCalling(session); 64 if (mListener == null) return; 69 mListener.onRinging(session, caller, sessionDescription); 79 if (mListener == null) return; 84 mListener.onRingingBack(session); 95 if (mListener == null) return [all...] |
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
EmergencyCallStateListenerTest.java | 55 EmergencyCallStateListener mListener; 60 mListener = new EmergencyCallStateListener(); 65 mListener.getHandler().removeCallbacksAndMessages(null); 71 mListener.waitForRadioOn(mMockPhone, mCallback); 73 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); 85 mListener.waitForRadioOn(mMockPhone, mCallback); 86 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); 88 mListener.getHandler().obtainMessage(EmergencyCallStateListener.MSG_SERVICE_STATE_CHANGED, 91 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); 92 verify(mCallback).onComplete(eq(mListener), eq(true)) [all...] |
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
ModuleListener.java | 37 private ITestInvocationListener mListener; 45 mListener = listener; 54 mListener.invocationStarted(buildInfo); 63 mListener.testRunStarted(mModule.getId(), numTests); 72 mListener.testStarted(test); 81 mListener.testEnded(test, metrics); 90 mListener.testIgnored(test); 99 mListener.testFailed(test, trace); 108 mListener.testAssumptionFailure(test, trace); 117 mListener.testRunStopped(elapsedTime) [all...] |
/frameworks/support/compat/ics/android/support/v4/view/accessibility/ |
AccessibilityManagerCompatIcs.java | 32 Object mListener; 37 mListener = listener; 43 return mListener == null ? 0 : mListener.hashCode(); 56 return mListener == null ? other.mListener == null : mListener.equals(other.mListener);
|
/frameworks/support/compat/kitkat/android/support/v4/view/accessibility/ |
AccessibilityManagerCompatKitKat.java | 29 final Object mListener; 34 mListener = listener; 40 return mListener == null ? 0 : mListener.hashCode(); 53 return mListener == null ? other.mListener == null : mListener.equals(other.mListener);
|
/frameworks/base/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/Messaging/src/com/android/messaging/datamodel/data/ |
PersonItemData.java | 35 private PersonItemDataListener mListener; 47 mListener = listener; 52 if (isBound() && mListener != null) { 53 mListener.onPersonDataUpdated(this); 58 if (isBound() && mListener != null) { 59 mListener.onPersonDataFailed(this, exception); 65 mListener = null;
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
BindableMediaRequest.java | 30 private MediaResourceLoadListener<T> mListener; 33 mListener = listener; 43 if (isBound() && mListener != null) { 44 mListener.onMediaResourceLoaded(request, resource, cached); 54 if (isBound() && mListener != null) { 55 mListener.onMediaResourceLoadError(request, exception); 61 mListener = null;
|
/packages/apps/Settings/src/com/android/settings/ |
CredentialCheckResultTracker.java | 28 private Listener mListener; 43 if (mListener == listener) { 47 mListener = listener; 48 if (mListener != null && mHasResult) { 49 mListener.onCredentialChecked(mResultMatched, mResultData, mResultTimeoutMs, 61 if (mListener != null) { 62 mListener.onCredentialChecked(mResultMatched, mResultData, mResultTimeoutMs,
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
FilmstripGestureRecognizer.java | 50 private final Listener mListener; 53 mListener = listener; 65 mListener.onUp(event.getX(), event.getY()); 78 mListener.onMouseScroll(hscroll, vscroll); 91 mListener.onLongPress(e.getX(), e.getY()); 97 return mListener.onScroll(e2.getX(), e2.getY(), dx, dy); 103 return mListener.onFling(velocityX, velocityY); 108 mListener.onDown(e.getX(), e.getY()); 121 return mListener.onSingleTapUp(e.getX(), e.getY()); 126 return mListener.onDoubleTap(e.getX(), e.getY()) [all...] |
/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());
|
/frameworks/base/core/java/android/os/ |
RemoteCallback.java | 33 private final OnResultListener mListener; 45 mListener = listener; 56 mListener = null; 64 if (mListener != null) { 69 mListener.onResult(result); 73 mListener.onResult(result);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
DrawIdler.java | 24 private IdleListener mListener; 33 mListener = listener; 34 if (mListener != null) { 35 mListener.onStateChanged(this, mState); 62 if (mListener != null) { 63 mListener.onStateChanged(this, newState);
|
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/ |
Camera2CaptureCallbackForwarder.java | 32 private CaptureCallback mListener; 36 mListener = listener; 46 mListener.onCaptureCompleted(session, request, result); 56 mListener.onCaptureFailed(session, request, failure); 67 mListener.onCaptureProgressed(session, request, partialResult); 76 mListener.onCaptureSequenceAborted(session, sequenceId); 86 mListener.onCaptureSequenceCompleted(session, sequenceId, frameNumber); 96 mListener.onCaptureStarted(session, request, timestamp, frameNumber);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
GestureRecognizer.java | 46 private final Listener mListener; 49 mListener = listener; 79 return mListener.onSingleTapUp(e.getX(), e.getY()); 84 return mListener.onDoubleTap(e.getX(), e.getY()); 90 return mListener.onScroll( 97 return mListener.onFling(e1, e2, velocityX, velocityY); 105 return mListener.onScaleBegin( 111 return mListener.onScale(detector.getFocusX(), 117 mListener.onScaleEnd(); 124 mListener.onDown(e.getX(), e.getY()) [all...] |
/packages/services/Car/car-support-lib/src/android/support/car/input/ |
CarRestrictedEditText.java | 46 private KeyListener mListener; 65 if (mListener != null && actionId == EditorInfo.IME_ACTION_DONE) { 66 mListener.onCloseKeyboard(); 75 mListener = listener; 113 if (mListener != null) { 115 mListener.onKeyDown(event.getKeyCode()); 117 mListener.onKeyUp(event.getKeyCode()); 135 if (mListener != null) { 136 mListener.onCommitText(charSequence.toString()); 144 if (mListener != null) [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
PhoneStateListenerTest.java | 46 private PhoneStateListener mListener; 62 if (mListener != null) { 64 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_NONE); 93 mListener = new PhoneStateListener() { 102 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_SERVICE_STATE); 130 mListener = new PhoneStateListener() { 139 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_SIGNAL_STRENGTH); 167 mListener = new PhoneStateListener() { 176 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_SIGNAL_STRENGTHS); 215 mListener = new PhoneStateListener() [all...] |
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
SurfaceTextureGLSurfaceView.java | 30 private final OnSurfaceChangedListener mListener; 39 mListener = listener; 56 if (mListener != null) { 58 mListener.onSurfaceDestroyed();
|
/external/replicaisland/src/com/replica/replicaisland/ |
YesNoDialogPreference.java | 24 private YesNoDialogListener mListener; 46 mListener = listener; 51 if (mListener != null) { 52 mListener.onDialogClosed(positiveResult);
|
/frameworks/base/core/java/com/android/internal/app/ |
NavItemSelectedListener.java | 29 private final ActionBar.OnNavigationListener mListener; 32 mListener = listener; 37 if (mListener != null) { 38 mListener.onNavigationItemSelected(position, id);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/ |
FrameTargetFilter.java | 32 private Listener mListener; 46 mListener = listener; 52 if (mListener != null) { 54 mListener.onFramePushed(getName(), frame);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
NavItemSelectedListener.java | 28 private final ActionBar.OnNavigationListener mListener; 31 mListener = listener; 36 if (mListener != null) { 37 mListener.onNavigationItemSelected(position, id);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
FitWindowsFrameLayout.java | 29 private OnFitSystemWindowsListener mListener; 41 mListener = listener; 46 if (mListener != null) { 47 mListener.onFitSystemWindows(insets);
|
FitWindowsLinearLayout.java | 29 private OnFitSystemWindowsListener mListener; 41 mListener = listener; 46 if (mListener != null) { 47 mListener.onFitSystemWindows(insets);
|