/cts/tests/tests/text/src/android/text/method/cts/ |
D | TransformationMethodTest.java | 62 private TransformationMethod mMethod; field in TransformationMethodTest 79 mMethod = mock(TransformationMethod.class); in setup() 80 when(mMethod.getTransformation(any(), any())).then(returnsFirstArg()); in setup() 85 mEditText.setTransformationMethod(mMethod); in setup() 104 reset(mMethod); in testGetTransformation() 105 when(mMethod.getTransformation(any(), any())).then(returnsFirstArg()); in testGetTransformation() 108 verify(mMethod, atLeastOnce()).getTransformation(any(), any()); in testGetTransformation() 114 reset(mMethod); in testOnFocusChanged() 118 verify(mMethod, atLeastOnce()).onFocusChanged(any(), any(), anyBoolean(), anyInt(), any()); in testOnFocusChanged() 121 reset(mMethod); in testOnFocusChanged() [all …]
|
D | PasswordTransformationMethodTest.java | 96 private PasswordTransformationMethod mMethod; field in PasswordTransformationMethodTest 115 mMethod = spy(new PasswordTransformationMethod()); in setup() 121 editText.setTransformationMethod(mMethod); in setup() 187 mTransformedText = mMethod.getTransformation(mEditText.getText(), mEditText)); in testTextChangedCallBacks() 189 reset(mMethod); in testTextChangedCallBacks() 200 verify(mMethod, atLeastOnce()).beforeTextChanged(any(), anyInt(), anyInt(), anyInt()); in testTextChangedCallBacks() 201 verify(mMethod, atLeastOnce()).onTextChanged(any(), anyInt(), anyInt(), anyInt()); in testTextChangedCallBacks() 202 verify(mMethod, atLeastOnce()).afterTextChanged(any()); in testTextChangedCallBacks() 204 reset(mMethod); in testTextChangedCallBacks() 211 verify(mMethod, atLeastOnce()).beforeTextChanged(any(), anyInt(), anyInt(), anyInt()); in testTextChangedCallBacks() [all …]
|
D | LinkMovementMethodTest.java | 76 private LinkMovementMethod mMethod; field in LinkMovementMethodTest 95 mMethod = new LinkMovementMethod(); in setup() 179 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown() 189 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown() 199 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown() 208 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown() 218 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown() 232 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, event)); in testOnKeyDown() 240 mMethod.onKeyDown(null, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown_nullViewParam() 247 mMethod.onKeyDown(mView, null, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown_nullSpannableParam() [all …]
|
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/ |
D | MethodAnalyzer.java | 43 private final MethodProfile mMethod; field in MethodAnalyzer 57 mMethod = methodProfile; in MethodAnalyzer() 72 mMethod.annotationManagement.addAnnotation(annotationClass); in visitAnnotation() 74 return new AnnotationAnalyzer(mMethod.annotationManagement, packageClass.getSecond()); in visitAnnotation() 118 mMethod.addApiConstructorCall(callMethod); in handleMethodCall() 120 mMethod.addApiMethodCall(callMethod); in handleMethodCall() 123 mMethod.addCommonMethodCall(callMethod); in handleMethodCall()
|
D | TarJan.java | 42 final MethodProfile mMethod; field in TarJan.Node 48 mMethod = method; in Node() 95 mComponentNodes.get(mNewNodeIndex).add(w.mMethod); in tarjan()
|
/cts/libs/webkit-shared/src/android/webkit/cts/ |
D | HttpRequest.java | 42 private String mMethod; field in HttpRequest 59 mMethod = apacheRequest.getRequestLine().getMethod(); in HttpRequest() 90 mMethod = in.readString(); in HttpRequest() 100 out.writeString(mMethod); in writeToParcel() 126 return mMethod; in getMethod()
|
/cts/tools/cts-api-coverage/src/com/android/cts/ctsprofiles/ |
D | MethodProfile.java | 30 private final String mMethod; field in MethodProfile 73 mMethod = methodName; in MethodProfile() 78 return mMethod; in getMethodName() 111 mClass.getPackageName(), mClass.getClassName(), mMethod, mParams); in getMethodSignatureWithClass() 157 if (mClass.isJunit3Class() && mMethod.startsWith("test")) { in isJunit3Method()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | HwBinderTest.java | 65 mMethod = method; in MarshalCase() 70 private DoMarshalCase mMethod; field in HwBinderTest.MarshalCase 78 mMethod.test(blob, offset); in test()
|