auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void run ( ) { assertTrue ( finalFocusTarget.getRoot ( ) . performAction ( AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS ) ) ; }

Target:
public void run ( ) { assertTrue ( uiAutomation.performGlobalAction ( AccessibilityService.GLOBAL_ACTION_TOGGLE_SPLIT_SCREEN ) ) ; }
Source:
public void passTest ( ) { if ( ( result ) != ( - 1 ) ) { result = 1 ; } updateUI ( ) ; }

Target:
public void failTest ( ) { result = com.android.rs.test.UnitTest.TEST_FAILED ; updateUI ( ) ; }
Source:
public static java.awt.image.BufferedImage getClipartIcon ( java.lang.String name ) throws java.io.IOException { java.io.InputStream is = com.android.assetstudiolib.GraphicGenerator.class . getResourceAsStream ( ( "/images/clipart/small/" + name ) ) ; try { return javax.imageio.ImageIO.read ( is ) ; } finally { com.google.common.io.Closeables.closeQuietly ( is ) ; } }

Target:
public static java.awt.image.BufferedImage getClipartIcon ( java.lang.String name ) throws java.io.IOException { java.io.InputStream is = com.android.assetstudiolib.GraphicGenerator.class . getResourceAsStream ( ( "/images/clipart/small/" + name ) ) ; try { return javax.imageio.ImageIO.read ( is ) ; } finally { com.google.common.io.Closeables.close ( is , true ) ; } }
Source:
public java.lang.Object actual ( ) { HEAD ( 3.0 ) ; }

Target:
public java.lang.Object actual ( ) { return call.getDetails ( ) . hasProperty ( properties ) ; }
Source:
native void rsnScriptForEachClipped ( int con , int id , int slot , int ain , int aout , byte [ ] params , int xstart , int xend , int ystart , int yend , int zstart , int zend ) ;

Target:
native void rsnScriptSetVarV ( long con , long id , int slot , byte [ ] val ) ;
Source:
public void notExecuted ( ) { setResultStatus ( TestStatus.NOT_EXECUTED ) ; }

Target:
public void reset ( ) { mResult = null ; mMessage = null ; mStackTrace = null ; mReport = null ; mBugReport = null ; mLog = null ; mScreenshot = null ; mIsRetry = false ; }
Source:
static double $opt$NegDouble ( double a ) { return - a ; }

Target:
private static long $opt$noinline$NegLong ( long a ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return - a ; }
Source:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { getLoaderManager ( ) . initLoader ( 0 , null , this ) ; }

Target:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { loadContacts ( ) ; }
Source:
public static native int EVP_MD_size ( int evp_md ) ;

Target:
public static native int ECDH_compute_key ( byte [ ] out , int outOffset , long publicKeyRef , long privateKeyRef ) ;
Source:
public void copy2DRangeFrom ( int xoff , int yoff , int w , int h , short [ ] data ) { validateIsInt16 ( ) ; copy2DRangeFromUnchecked ( xoff , yoff , w , h , data ) ; }

Target:
public void copy1DRangeFromUnchecked ( int off , int count , byte [ ] d ) { copy1DRangeFromUnchecked ( off , count , ( ( java.lang.Object ) ( d ) ) , Element.DataType.SIGNED_8 , d.length ) ; }
Source:
public void testInstallOlderRulesVersion ( ) throws java.lang.Exception { java.io.File appFile = getTimeZoneDataApkFile ( "test2" ) ; installLocalPackageFile ( appFile.getAbsolutePath ( ) , "-r" ) ; java.lang.Thread.sleep ( 30000 ) ; assertEquals ( com.android.timezone.xts.TimeZoneUpdateHostTest.STAGED_OPERATION_NONE , getStagedOperationType ( ) ) ; }

Target:
public void testInstallOlderRulesVersion ( ) throws java.lang.Exception { java.io.File appFile = getTimeZoneDataApkFile ( "test2" ) ; getDevice ( ) . installPackage ( appFile , true ) ; java.lang.Thread.sleep ( 30000 ) ; assertEquals ( com.android.timezone.xts.TimeZoneUpdateHostTest.STAGED_OPERATION_NONE , getStagedOperationType ( ) ) ; }
Source:
public static int fromKeymaster ( int origin ) { switch ( origin ) { case android.security.keymaster.KeymasterDefs.KM_ORIGIN_HARDWARE : return android.security.KeyStoreKeyCharacteristics.Origin.GENERATED_INSIDE_TEE ; case android.security.keymaster.KeymasterDefs.KM_ORIGIN_SOFTWARE : return android.security.KeyStoreKeyCharacteristics.Origin.GENERATED_OUTSIDE_OF_TEE ; case android.security.keymaster.KeymasterDefs.KM_ORIGIN_IMPORTED : return android.security.KeyStoreKeyCharacteristics.Origin.IMPORTED ; default : throw new java.lang.IllegalArgumentException ( ( "Unknown origin: " + origin ) ) ; } }

Target:
public static int fromKeymaster ( int origin ) { switch ( origin ) { case android.security.keymaster.KeymasterDefs.KM_ORIGIN_HARDWARE : return android.security.KeyStoreKeyCharacteristics.Origin.GENERATED ; case android.security.keymaster.KeymasterDefs.KM_ORIGIN_IMPORTED : return android.security.KeyStoreKeyCharacteristics.Origin.IMPORTED ; default : throw new java.lang.IllegalArgumentException ( ( "Unknown origin: " + origin ) ) ; } }
Source:
public static io.appium.droiddriver.DroidDriver get ( ) { if ( ( io.appium.droiddriver.helpers.DroidDrivers.driver ) == null ) { throw new io.appium.droiddriver.exceptions.DroidDriverException ( "init() has not been called" ) ; } return io.appium.droiddriver.helpers.DroidDrivers.driver ; }

Target:
public static io.appium.droiddriver.DroidDriver get ( ) { if ( ( io.appium.droiddriver.helpers.DroidDrivers.driver ) == null ) { throw new io.appium.droiddriver.exceptions.DroidDriverException ( "setSingleton() has not been called" ) ; } return io.appium.droiddriver.helpers.DroidDrivers.driver ; }
Source:
public boolean isAnonymousInner5 ( ) { return new com.android.jack.reflect.test001.jack.Reflect001.I ( ) { } . getClass ( ) . isAnonymousClass ( ) ; }

Target:
public java.lang.String getSimpleNameAnonymous1 ( ) { return new com.android.jack.reflect.test001.jack.Reflect001.$ ( ) { } . getClass ( ) . getSimpleName ( ) ; }
Source:
public void testE7 ( ) { dot.junit.opcodes.invoke_static.d.T_invoke_static_14 t = new dot.junit.opcodes.invoke_static.d.T_invoke_static_14 ( ) ; try { t.run ( ) ; fail ( "expected Error" ) ; } catch ( java.lang.Error e ) { } }

Target:
public void testE7 ( ) { loadAndRun ( "dot.junit.opcodes.invoke_static.d.T_invoke_static_14" , java.lang.ExceptionInInitializerError.class ) ; }
Source:
public void setEmitSyntheticDebugInfo ( boolean emitSyntheticDebugInfo ) { this . emitSyntheticDebugInfo = emitSyntheticDebugInfo ; }

Target:
public void setMetaDirs ( @ javax.annotation.Nonnull java.util.List < java.io.File > metaDirs ) { metaImport = metaDirs ; }
Source:
public void onSetProtocol ( byte protocol ) { mCallback.onSetProtocol ( protocol ) ; }

Target:
public void onVirtualCableUnplug ( android.bluetooth.BluetoothDevice device ) { mCallback.onVirtualCableUnplug ( device ) ; }
Source:
final void putInt ( int offset , int value ) { sun.nio.ch.NativeObject.unsafe.putInt ( ( offset + ( address ) ) , value ) ; }

Target:
final void putInt ( int offset , int value ) { sun.nio.ch.NativeObject.unsafe.putInt$ ( ( offset + ( address ) ) , value ) ; }
Source:
public void trackResponse ( com.android.okhttp.ResponseSource source ) { delegate.trackResponse ( source ) ; }

Target:
public void close ( ) throws java.io.IOException { if ( ( java.net.ResponseCache.getDefault ( ) ) == ( this . delegate ) ) { java.net.ResponseCache.setDefault ( null ) ; } delegate.close ( ) ; }
Source:
static java.util.Calendar createCalendar ( ) { return java.util.Calendar.getJapanesImperialInstance ( java.util.TimeZone.getDefault ( ) , java.time.chrono.JapaneseChronology.LOCALE ) ; }

Target:
static java.util.Calendar createCalendar ( ) { return java.util.Calendar.getJapaneseImperialInstance ( java.util.TimeZone.getDefault ( ) , java.time.chrono.JapaneseChronology.LOCALE ) ; }
Source:
public java.lang.String getActionDescription ( android.content.Context context ) { return ( ( com.android.tv.MainActivity ) ( context ) ) . getTvOptionsManager ( ) . getOptionString ( mType ) ; }

Target:
public java.lang.String getActionDescription ( ) { return mActionDescription ; }
Source:
private static native int forNameImpl ( java.lang.String blockName ) ;

Target:
private static native int unicodeBlockForName ( java.lang.String blockName ) ;
Source:
protected javax.crypto.SecretKey getKey ( java.lang.String identityHint , java.lang.String identity , javax.net.ssl.SSLEngine engine ) { return new javax.crypto.spec.SecretKeySpec ( "Just an arbitrary key" . getBytes ( ) , "RAW" ) ; }

Target:
protected javax.crypto.SecretKey getKey ( java.lang.String identityHint , java.lang.String identity , javax.net.ssl.SSLEngine engine ) { return new javax.crypto.spec.SecretKeySpec ( "Just an arbitrary key" . getBytes ( java.nio.charset.StandardCharsets.UTF_8 ) , "RAW" ) ; }
Source:
private java.lang.String userAgent ( ) { java.lang.String userAgent = mInfo.userAgent ; if ( userAgent != null ) { } if ( userAgent == null ) { userAgent = Constants.DEFAULT_USER_AGENT ; } return userAgent ; }

Target:
private java.lang.String userAgent ( ) { java.lang.String userAgent = mInfo.mUserAgent ; if ( userAgent != null ) { } if ( userAgent == null ) { userAgent = Constants.DEFAULT_USER_AGENT ; } return userAgent ; }
Source:
public void onChildInserted ( com.android.ide.common.api.INode child , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { super . onChildInserted ( child , parent , insertType ) ; child.setAttribute ( com.android.ide.common.layout.ANDROID_URI , com.android.ide.common.layout.ATTR_LAYOUT_WIDTH , com.android.ide.common.layout.VALUE_FILL_PARENT ) ; child.setAttribute ( com.android.ide.common.layout.ANDROID_URI , com.android.ide.common.layout.ATTR_LAYOUT_HEIGHT , com.android.ide.common.layout.VALUE_FILL_PARENT ) ; }

Target:
public void onChildInserted ( com.android.ide.common.api.INode child , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { super . onChildInserted ( child , parent , insertType ) ; child.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_WIDTH , com.android.ide.common.layout.LayoutConstants.VALUE_FILL_PARENT ) ; child.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_HEIGHT , com.android.ide.common.layout.LayoutConstants.VALUE_FILL_PARENT ) ; }
Source:
public com.android.ims.internal.IImsServiceController getImsServiceControllerAndListen ( int slotId , int feature , com.android.ims.internal.IImsServiceFeatureListener callback ) { enforceModifyPermission ( ) ; return com.android.internal.telephony.PhoneFactory.getImsResolver ( ) . getImsServiceControllerAndListen ( slotId , feature , callback ) ; }

Target:
public com.android.ims.internal.IImsServiceController getImsServiceControllerAndListen ( int slotIndex , int feature , com.android.ims.internal.IImsServiceFeatureListener callback ) { enforceModifyPermission ( ) ; return com.android.internal.telephony.PhoneFactory.getImsResolver ( ) . getImsServiceControllerAndListen ( slotIndex , feature , callback ) ; }
Source:
public com.android.sdkuilib.ui.GridLayoutBuilder columnsEqual ( ) { com.android.sdkuilib.ui.GridLayoutBuilder.mGL.makeColumnsEqualWidth = true ; return this ; }

Target:
public com.android.sdkuilib.ui.GridLayoutBuilder columns ( int n ) { mGL.numColumns = n ; return this ; }
Source:
protected void onUpdate ( ) { setEnabledInternal ( mItemView , mEnabled ) ; }

Target:
protected void onUpdate ( ) { setEnabledInternal ( mItemView , mEnabled ) ; mItemView.setClickable ( mClickable ) ; }
Source:
public com.android.layoutlib.api.SceneResult setProperty ( int object , java.lang.String propertyName , java.lang.String propertyValue ) { return SceneStatus.NOT_IMPLEMENTED.getResult ( ) ; }

Target:
public com.android.layoutlib.api.SceneResult setProperty ( java.lang.Object objectView , java.lang.String propertyName , java.lang.String propertyValue ) { return SceneStatus.NOT_IMPLEMENTED.getResult ( ) ; }
Source:
public com.android.jack.jayce.MethodNode getMethodNode ( @ javax.annotation.Nonnull int methodNodeIndex ) { return methods.get ( methodNodeIndex ) ; }

Target:
public com.android.jack.jayce.MethodNode getMethodNode ( @ javax.annotation.Nonnull java.lang.String methodId ) { return methods.get ( methodId ) ; }
Source:
public void onLoadResource ( java.lang.String url ) { org.chromium.content.common.TraceEvent.begin ( ) ; if ( com.android.webview.chromium.WebViewContentsClientAdapter.TRACE ) android.util.Log.d ( com.android.webview.chromium.WebViewContentsClientAdapter.TAG , ( "onLoadResource=" + url ) ) ; mWebViewClient.onLoadResource ( mWebView , url ) ; org.chromium.content.common.TraceEvent.end ( ) ; }

Target:
public void onLoadResource ( java.lang.String url ) { org.chromium.base.TraceEvent.begin ( ) ; if ( com.android.webview.chromium.WebViewContentsClientAdapter.TRACE ) android.util.Log.d ( com.android.webview.chromium.WebViewContentsClientAdapter.TAG , ( "onLoadResource=" + url ) ) ; mWebViewClient.onLoadResource ( mWebView , url ) ; org.chromium.base.TraceEvent.end ( ) ; }
Source:
public void testNotification1 ( ) throws java.lang.Exception { checkGraphic ( "ic_stat_circle" , GraphicGenerator.Shape.CIRCLE ) ; }

Target:
public void testNotification1 ( ) throws java.lang.Exception { checkGraphic ( "ic_stat_1" ) ; }
Source:
public static com.google.common.io.ByteArrayDataInput newDataInput ( byte [ ] bytes , int start ) { com.google.common.base.Preconditions.checkPositionIndex ( start , bytes.length ) ; return new com.google.common.io.ByteStreams.ByteArrayDataInputStream ( bytes , start ) ; }

Target:
public static com.google.common.io.ByteArrayDataInput newDataInput ( byte [ ] bytes , int start ) { com.google.common.base.Preconditions.checkPositionIndex ( start , bytes.length ) ; return com.google.common.io.ByteStreams.newDataInput ( new java.io.ByteArrayInputStream ( bytes , start , ( ( bytes.length ) - start ) ) ) ; }
Source:
protected int handleComputeMonthStart ( int eyear , int month , boolean useMonth ) { return 0 ; }

Target:
protected int handleComputeMonthStart ( int eyear , int month , boolean useMonth ) { if ( useMonth ) { return ( eyear * 365 ) + ( month * 31 ) ; } else { return eyear * 365 ; } }
Source:
public void getEuiccInfo2 ( java.lang.String callingPackage , com.android.internal.telephony.euicc.IGetEuiccInfo2Callback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void getEuiccInfo2 ( java.lang.String callingPackage , java.lang.String cardId , com.android.internal.telephony.euicc.IGetEuiccInfo2Callback callback ) { checkCallingPackage ( callingPackage ) ; }
Source:
public static int innerDiv3 ( int a , int b ) { int result = 0 ; while ( b < 5 ) { result += ( Main.staticField ) / a ; b ++ ; } return result ; }

Target:
public static int divByA ( int a , int b ) { int result = 0 ; while ( b < 5 ) { result += ( Main.staticField ) / a ; b ++ ; } return result ; }
Source:
private native boolean nativeParse ( java.lang.String s ) ;

Target:
public boolean parse3339 ( java.lang.String s ) { if ( s == null ) { throw new java.lang.NullPointerException ( "time string is null" ) ; } if ( parse3339Internal ( s ) ) { timezone = android.text.format.Time.TIMEZONE_UTC ; return true ; } return false ; }
Source:
public java.lang.Object getPropertyValue ( java.lang.Object id ) { com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode uiView = getUiViewKey ( ) ; if ( uiView != null ) { return ( ( org.eclipse.ui.views.properties.IPropertySource ) ( uiView ) ) . getPropertyValue ( id ) ; } return null ; }

Target:
public java.lang.Object getPropertyValue ( java.lang.Object id ) { com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode uiView = getUiViewNode ( ) ; if ( uiView != null ) { return ( ( org.eclipse.ui.views.properties.IPropertySource ) ( uiView ) ) . getPropertyValue ( id ) ; } return null ; }
Source:
public void run ( ) { stopLoading ( ) ; }

Target:
public void run ( ) { saveWebArchive ( basename , autoname , callback ) ; }
Source:
private void requestHandover ( android.telecom.PhoneAccountHandle handoverToHandle , int videoState , android.os.Bundle extras ) { for ( com.android.server.telecom.Call.Listener l : mListeners ) { l.onHandoverRequested ( this , handoverToHandle , videoState , extras ) ; } }

Target:
public void onHandoverFailed ( int handoverError ) { for ( com.android.server.telecom.Call.Listener l : mListeners ) { l.onHandoverFailed ( this , handoverError ) ; } }
Source:
public void tearDown ( com.android.tradefed.invoker.IInvocationContext context , java.lang.Throwable e ) throws com.android.tradefed.device.DeviceNotAvailableException { tearDown ( context.getDevices ( ) . get ( 0 ) , context.getBuildInfos ( ) . get ( 0 ) , e ) ; }

Target:
public void setUp ( com.android.tradefed.invoker.IInvocationContext context ) throws com.android.tradefed.device.DeviceNotAvailableException , com.android.tradefed.targetprep.BuildError , com.android.tradefed.targetprep.TargetSetupError { mBuildInfo = context.getBuildInfos ( ) . get ( 0 ) ; startVirtualenv ( mBuildInfo ) ; setLocalPypiPath ( ) ; installDeps ( mBuildInfo ) ; }
Source:
public void testQuickFix_noQueryNameSpecifiedWithParameter ( ) { com.intellij.openapi.project.Project myProject = myFixture.getProject ( ) ; com.intellij.psi.PsiParameter parameter = com.intellij.psi.JavaPsiFacade.getInstance ( myProject ) . getElementFactory ( ) . createParameterFromText ( "@javax.inject.Named() String foobar" , null ) ; com.intellij.psi.PsiAnnotation [ ] annotationsList = parameter.getModifierList ( ) . getAnnotations ( ) ; assert ( annotationsList.length ) == 1 ; com.google.gct.intellij.endpoints.validation.NamedResourceInspection.MissingNameQuickFix myQuickFix = new com.google.gct.intellij.endpoints.validation.NamedResourceInspection ( ) . new com.google.gct.intellij.endpoints.validation.MissingNameQuickFix ( ) ; com.intellij.codeInspection.ex.ProblemDescriptorImpl problemDescriptorMock = org.mockito.Mockito.mock ( com.intellij.codeInspection.ex.ProblemDescriptorImpl.class ) ; org.mockito.Mockito.when ( problemDescriptorMock.getPsiElement ( ) ) . thenReturn ( annotationsList [ 0 ] ) ; myQuickFix.applyFix ( myProject , problemDescriptorMock ) ; junit.framework.Assert.assertEquals ( "@javax.inject.Named(\"foobar\")" , annotationsList [ 0 ] . getText ( ) ) ; }

Target:
public void testQuickFix_noQueryNameSpecifiedWithParameter ( ) { com.intellij.openapi.project.Project myProject = myFixture.getProject ( ) ; com.intellij.psi.PsiParameter parameter = com.intellij.psi.JavaPsiFacade.getInstance ( myProject ) . getElementFactory ( ) . createParameterFromText ( "@javax.inject.Named() String foobar" , null ) ; com.intellij.psi.PsiAnnotation [ ] annotationsList = parameter.getModifierList ( ) . getAnnotations ( ) ; assert ( annotationsList.length ) == 1 ; com.google.gct.intellij.endpoints.validation.NamedResourceInspection.MissingNameQuickFix myQuickFix = new com.google.gct.intellij.endpoints.validation.NamedResourceInspection ( ) . new com.google.gct.intellij.endpoints.validation.MissingNameQuickFix ( ) ; com.intellij.testFramework.MockProblemDescriptor problemDescriptor = new com.intellij.testFramework.MockProblemDescriptor ( annotationsList [ 0 ] , "" , com.intellij.codeInspection.ProblemHighlightType.ERROR , null ) ; myQuickFix.applyFix ( myProject , problemDescriptor ) ; junit.framework.Assert.assertEquals ( "@javax.inject.Named(\"foobar\")" , annotationsList [ 0 ] . getText ( ) ) ; }
Source:
private TestCaseBuilder addCanvasClientInternal ( java.lang.String debugString , android.uirendering.cts.testinfrastructure.CanvasClient canvasClient , boolean useHardware , boolean usePicture ) { }

Target:
private android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder addCanvasClientInternal ( java.lang.String debugString , android.uirendering.cts.testinfrastructure.CanvasClient canvasClient , boolean useHardware , boolean usePicture ) { mTestCases.add ( new android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCase ( canvasClient , debugString , useHardware , usePicture ) ) ; return this ; }
Source:
private void removeImsServiceFeatureListener ( ) { synchronized ( mLock ) { mImsStatusCallbacks.clear ( ) ; } }

Target:
public void removeImsServiceFeatureCallbacks ( ) { mImsStatusCallbacks.clear ( ) ; }
Source:
protected java.io.File getAapt ( ) { return getAapt ( com.android.sdklib.repository.FullRevision.parseRevision ( "20" ) ) ; }

Target:
protected java.io.File getAapt ( ) { return getAapt ( com.android.sdklib.repository.FullRevision.parseRevision ( "21" ) ) ; }
Source:
public static < T > T readLines ( java.net.URL url , java.nio.charset.Charset charset , com.google.common.io.LineProcessor < T > callback ) throws java.io.IOException { return com.google.common.io.CharStreams.readLines ( com.google.common.io.Resources.newReaderSupplier ( url , charset ) , callback ) ; }

Target:
public static < T > T readLines ( java.net.URL url , java.nio.charset.Charset charset , com.google.common.io.LineProcessor < T > callback ) throws java.io.IOException { return com.google.common.io.Resources.asCharSource ( url , charset ) . readLines ( callback ) ; }
Source:
public java.lang.Object or ( com.google.common.base.Supplier < ? > supplier ) { return com.google.common.base.Preconditions.checkNotNull ( supplier.get ( ) , "use orNull() instead of a Supplier that returns null" ) ; }

Target:
public T or ( com.google.common.base.Supplier < ? extends T > supplier ) { return com.google.common.base.Preconditions.checkNotNull ( supplier.get ( ) , "use Optional.orNull() instead of a Supplier that returns null" ) ; }
Source:
public static native void SSL_SESSION_free ( int sslSessionNativePointer ) ;

Target:
public static native byte [ ] i2d_SSL_SESSION ( long sslSessionNativePointer ) ;
Source:
public void onAudioDevicesAdded ( android.media.AudioDeviceInfo [ ] addedDevices ) { com.android.server.telecom.Log.startSession ( "WHC.oADA" ) ; try { updateHeadsetStatus ( ) ; } finally { com.android.server.telecom.Log.endSession ( ) ; } }

Target:
public void onAudioDevicesAdded ( android.media.AudioDeviceInfo [ ] addedDevices ) { android.telecom.Log.startSession ( "WHC.oADA" ) ; try { updateHeadsetStatus ( ) ; } finally { android.telecom.Log.endSession ( ) ; } }
Source:
public void visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationLiteral annotationLiteral , @ javax.annotation.Nonnull com.android.sched.transform.TransformRequest transformRequest ) throws java.lang.Exception { visit ( ( ( com.android.jack.ir.ast.JExpression ) ( annotationLiteral ) ) , transformRequest ) ; }

Target:
public void visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotation annotation , @ javax.annotation.Nonnull com.android.sched.transform.TransformRequest transformRequest ) throws java.lang.Exception { visit ( ( ( com.android.jack.ir.ast.JExpression ) ( annotation ) ) , transformRequest ) ; }
Source:
public void replaceWith ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock block ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public com.android.jack.ir.ast.cfg.JBasicBlock detach ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlock newBlock ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public void reset ( ) { free ( ) ; }

Target:
public int getDigestSize ( ) { return delegate.getDigestLength ( ) ; }
Source:
public static native void EVP_VerifyUpdate ( long ctx , byte [ ] buffer , int offset , int length ) ;

Target:
public static native void EVP_VerifyUpdate ( org.conscrypt.OpenSSLDigestContext ctx , byte [ ] buffer , int offset , int length ) ;
Source:
private void doFollowReferencesTestNonRoot ( java.util.ArrayList < java.lang.Object > tmpStorage ) { Main.Verifier v = new Main.Verifier ( ) ; Main.TestConfig.tagClasses ( v ) ; Main.A a = Main.TestConfig.createTree ( v ) ; tmpStorage.add ( a ) ; v.add ( "0@0" , "1@1000" ) ; doFollowReferencesTestImpl ( null , java.lang.Integer.MAX_VALUE , ( - 1 ) , null , v , null ) ; doFollowReferencesTestImpl ( a.foo2 , java.lang.Integer.MAX_VALUE , ( - 1 ) , null , v , "3@1001" ) ; tmpStorage.clear ( ) ; }

Target:
private void doFollowReferencesTestNonRoot ( java.util.ArrayList < java.lang.Object > tmpStorage ) { Main.Verifier v = new Main.Verifier ( ) ; Main.TestConfig.tagClasses ( v ) ; Main.A a = Main.TestConfig.createTree ( v ) ; tmpStorage.add ( a ) ; v.add ( "0@0" , "1@1000" ) ; doFollowReferencesTestImpl ( null , stopAfter , followSet , null , v , null ) ; doFollowReferencesTestImpl ( a.foo2 , stopAfter , followSet , null , v , "3@1001" ) ; tmpStorage.clear ( ) ; }
Source:
private java.util.Vector < java.lang.ThreadGroup > asyncBuildRandomTreeUnder ( final java.lang.ThreadGroup aGroup , final int depth ) { java.util.Vector < java.lang.ThreadGroup > result = new java.util.Vector < java.lang.ThreadGroup > ( ) ; asyncBuildRandomTreeUnder ( aGroup , depth , result ) ; return result ; }

Target:
private static java.util.Vector < java.lang.ThreadGroup > asyncBuildRandomTreeUnder ( final java.lang.ThreadGroup aGroup , final int depth ) { java.util.Vector < java.lang.ThreadGroup > result = new java.util.Vector < java.lang.ThreadGroup > ( ) ; org.apache.harmony.tests.java.lang.ThreadGroupTest.asyncBuildRandomTreeUnder ( aGroup , depth , result ) ; return result ; }
Source:
native void rsnScriptForEach ( long con , long id , int slot , long ain , long aout ) ;

Target:
native void rsnScriptForEachClipped ( long con , long incCon , long id , int slot , long ain , long aout , int xstart , int xend , int ystart , int yend , int zstart , int zend , boolean mUseInc ) ;
Source:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) throws java.lang.Exception { java.io.PrintStream writer = com.android.sched.util.config.ThreadConfig.get ( com.android.jack.coverage.CodeCoverageMetadataFileWriter.COVERAGE_METADATA_FILE ) . getPrintStream ( ) ; try { writeMetadata ( session , writer ) ; } finally { writer.close ( ) ; } }

Target:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JSession session ) throws java.lang.Exception { java.io.PrintStream writer = com.android.sched.util.config.ThreadConfig.get ( CodeCoverage.COVERAGE_METADATA_FILE ) . getPrintStream ( ) ; try { writeMetadata ( session , writer ) ; } finally { writer.close ( ) ; } }
Source:
public void copyTo ( short [ ] d ) { validateIsInt16 ( ) ; mRS.validate ( ) ; mRS.nAllocationRead ( getID ( mRS ) , d ) ; }

Target:
public void copyFrom ( short [ ] d ) { validateIsInt16 ( ) ; copyFromUnchecked ( d , Element.DataType.SIGNED_16 , d.length ) ; }
Source:
private void updateFiltersToolBar ( ) { boolean en = ( getSelectedSavedFilterIndex ( ) ) != 0 ; mEditFilterToolItem.setEnabled ( en ) ; mDeleteFilterToolItem.setEnabled ( en ) ; }

Target:
private void scrollToLatestLog ( ) { mTable.setTopIndex ( ( ( mTable.getItemCount ( ) ) - 1 ) ) ; }
Source:
public static < E > com.google.common.collect.ConcurrentHashMultiset < E > create ( com.google.common.collect.GenericMapMaker < ? super E , ? super java.lang.Number > mapMaker ) { return new com.google.common.collect.ConcurrentHashMultiset < E > ( mapMaker.< E , java.util.concurrent.atomic.AtomicInteger > makeMap ( ) ) ; }

Target:
public static < E > com.google.common.collect.ConcurrentHashMultiset < E > create ( com.google.common.collect.MapMaker mapMaker ) { return new com.google.common.collect.ConcurrentHashMultiset < E > ( mapMaker.< E , java.util.concurrent.atomic.AtomicInteger > makeMap ( ) ) ; }
Source:
public void testNoCallbackForUser ( ) throws java.lang.Throwable { int result = sendMessageToCallbacksService ( com.android.cts.launchertests.LauncherAppsTests.MSG_CHECK_NO_CALLBACK , mUser , com.android.cts.launchertests.LauncherAppsTests.SIMPLE_APP_PACKAGE ) ; assertEquals ( com.android.cts.launchertests.LauncherAppsTests.RESULT_PASS , result ) ; }

Target:
public void testNoPackageAddedCallbackForUser ( ) throws java.lang.Throwable { int result = sendMessageToCallbacksService ( com.android.cts.launchertests.LauncherAppsTests.MSG_CHECK_NO_PACKAGE_ADDED , mUser , com.android.cts.launchertests.LauncherAppsTests.SIMPLE_APP_PACKAGE ) ; assertEquals ( com.android.cts.launchertests.LauncherAppsTests.RESULT_PASS , result ) ; }
Source:
public static com.android.dx.rop.annotation.Annotation makeEnclosingMethod ( com.android.dx.rop.cst.CstMethodRef method ) { com.android.dx.rop.annotation.Annotation result = new com.android.dx.rop.annotation.Annotation ( com.android.dx.dex.file.AnnotationUtils.ENCLOSING_METHOD_TYPE , SYSTEM ) ; result.put ( new com.android.dx.rop.annotation.NameValuePair ( com.android.dx.dex.file.AnnotationUtils.VALUE_STRING , method ) ) ; result.setImmutable ( ) ; return result ; }

Target:
public static com.android.dx.rop.annotation.Annotation makeEnclosingMethod ( com.android.dx.rop.cst.CstMethodRef method ) { com.android.dx.rop.annotation.Annotation result = new com.android.dx.rop.annotation.Annotation ( com.android.dx.dex.file.AnnotationUtils.ENCLOSING_METHOD_TYPE , com.android.dx.rop.annotation.AnnotationVisibility.SYSTEM ) ; result.put ( new com.android.dx.rop.annotation.NameValuePair ( com.android.dx.dex.file.AnnotationUtils.VALUE_STRING , method ) ) ; result.setImmutable ( ) ; return result ; }
Source:
public void setUiTTYMode ( int sessionId , int uiTtyMode , android.os.Message onComplete ) throws android.os.RemoteException { checkBinderConnection ( ) ; getServiceInterface ( mBinder ) . setUiTTYMode ( sessionId , uiTtyMode , onComplete ) ; }

Target:
public void setUiTTYMode ( int uiTtyMode , android.os.Message onComplete ) throws android.os.RemoteException { checkBinderConnection ( ) ; getServiceInterface ( mBinder ) . setUiTTYMode ( android.telephony.ims.ImsServiceProxyCompat.SERVICE_ID , uiTtyMode , onComplete ) ; }
Source:
public void callSessionUssdMessageReceived ( com.android.ims.internal.ImsCallSession session , int mode , java.lang.String ussdMessage ) { }

Target:
public void callSessionUssdMessageReceived ( android.telephony.ims.ImsCallSession session , int mode , java.lang.String ussdMessage ) { }
Source:
public static double DoubleDivision ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 8.0 ) ; b = Main.$inline$double ( 2.5 ) ; c = a / b ; return c ; }

Target:
public static double DoubleRemainder ( ) { double a ; double b ; double c ; a = 8.0 ; b = 2.5 ; c = a % b ; return c ; }
Source:
public void addCapability ( long capability , android.telephony.ims.internal.aidl.IImsCapabilityCallback c ) throws android.os.RemoteException { this . addCapability ( capability , c ) ; }

Target:
public void sendSms ( int messageRef , java.lang.String format , java.lang.String smsc , boolean retry , byte [ ] pdu ) { synchronized ( mLock ) { this . sendSms ( messageRef , format , smsc , retry , pdu ) ; } }
Source:
public void disable2 ( int what , android.os.IBinder token , java.lang.String pkg ) { disableForUser ( what , token , pkg , mCurrentUserId ) ; }

Target:
public void disable2 ( int what , android.os.IBinder token , java.lang.String pkg ) { disable2ForUser ( what , token , pkg , mCurrentUserId ) ; }
Source:
public void reset ( ) { destroyAllSessions ( ) ; android.autofillservice.cts.AutoFillServiceTestCase.sReplier.reset ( ) ; android.autofillservice.cts.InstrumentedAutoFillService.resetStaticState ( ) ; android.autofillservice.cts.AuthenticationActivity.resetStaticState ( ) ; }

Target:
protected void enableService ( ) { android.autofillservice.cts.Helper.enableAutofillService ( android.autofillservice.cts.Helper.getContext ( ) , android.autofillservice.cts.InstrumentedAutoFillService.SERVICE_NAME ) ; android.autofillservice.cts.InstrumentedAutoFillService.setIgnoreUnexpectedRequests ( false ) ; }
Source:
public void TestSerbianLongNegative ( ) { checkLocale ( android.icu.util.ULocale.forLanguageTag ( "sr" ) , CompactStyle.LONG , SerbianTestDataLongNegative ) ; }

Target:
public void TestSerbianLongNegative ( ) { if ( logKnownIssue ( "12181" , "No support for negative numbers in CDF" ) ) { return ; } checkLocale ( android.icu.util.ULocale.forLanguageTag ( "sr" ) , CompactStyle.LONG , SerbianTestDataLongNegative ) ; }
Source:
public void testIncorrectRemove ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { com.android.sdklib.mock.MockLog mockLog = new com.android.sdklib.mock.MockLog ( ) ; java.lang.String input = "" + ( ( ( ( ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " xmlns:tools=\"http://schemas.android.com/tools\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <application android:label=\"@string/lib_name\" />\n" ) + "\n" ) + " <activity android:name=\"activityOne\" " ) + " android:exported=\"true\"" ) + " tools:remove=\"exported\"/>\n" ) + "\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument xmlDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testIncorrectRemove" ) , input ) ; com.android.manifmerger.MergingReport.Builder mergingReport = new com.android.manifmerger.MergingReport.Builder ( mockLog ) ; com.android.manifmerger.MergingReport.Result validated = com.android.manifmerger.PreValidator.validate ( mergingReport , xmlDocument ) ; assertEquals ( MergingReport.Result.ERROR , validated ) ; assertStringPresenceInLogRecords ( mergingReport , "tools:remove" ) ; }

Target:
public void testIncorrectRemove ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { com.android.sdklib.mock.MockLog mockLog = new com.android.sdklib.mock.MockLog ( ) ; java.lang.String input = "" + ( ( ( ( ( ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " xmlns:tools=\"http://schemas.android.com/tools\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <application android:label=\"@string/lib_name\" />\n" ) + "\n" ) + " <activity android:name=\"activityOne\" " ) + " android:exported=\"true\"" ) + " tools:remove=\"exported\"/>\n" ) + "\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument xmlDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testIncorrectRemove" ) , input ) ; com.android.manifmerger.MergingReport.Builder mergingReport = new com.android.manifmerger.MergingReport.Builder ( mockLog ) ; com.android.manifmerger.MergingReport.Result validated = com.android.manifmerger.PreValidator.validate ( mergingReport , xmlDocument ) ; assertEquals ( MergingReport.Result.ERROR , validated ) ; com.android.manifmerger.PreValidatorTest.assertStringPresenceInLogRecords ( mergingReport , "tools:remove" ) ; }
Source:
public boolean setNetworkValidatedInternetAccess ( int networkId , boolean validated ) { android.net.wifi.WifiConfiguration config = getInternalConfiguredNetwork ( networkId ) ; if ( config == null ) { return false ; } config.validatedInternetAccess = validated ; config.numNoInternetAccessReports = 0 ; return true ; }

Target:
public boolean setNetworkValidatedInternetAccess ( int networkId , boolean validated ) { android.net.wifi.WifiConfiguration config = getInternalConfiguredNetwork ( networkId ) ; if ( config == null ) { return false ; } config.validatedInternetAccess = validated ; config.numNoInternetAccessReports = 0 ; saveToStore ( false ) ; return true ; }
Source:
public javax.crypto.SecretKey getSecretKey ( java.lang.String algorithm ) throws java.security.NoSuchAlgorithmException { switch ( org.conscrypt.NativeCrypto.EVP_PKEY_type ( ctx ) ) { case NativeCrypto.EVP_PKEY_HMAC : case NativeCrypto.EVP_PKEY_CMAC : return new org.conscrypt.OpenSSLSecretKey ( algorithm , this ) ; default : throw new java.security.NoSuchAlgorithmException ( "unknown PKEY type" ) ; } }

Target:
public javax.crypto.SecretKey getSecretKey ( java.lang.String algorithm ) throws java.security.NoSuchAlgorithmException { switch ( org.conscrypt.NativeCrypto.EVP_PKEY_type ( ctx ) ) { case NativeConstants.EVP_PKEY_HMAC : return new org.conscrypt.OpenSSLSecretKey ( algorithm , this ) ; default : throw new java.security.NoSuchAlgorithmException ( "unknown PKEY type" ) ; } }
Source:
protected int buildConnectionProperties ( ) { int connectionProperties = 0 ; com.android.internal.telephony.Phone phone = getPhone ( ) ; if ( ( phone != null ) && ( phone.isInEcm ( ) ) ) { connectionProperties |= PROPERTY_SHOW_CALLBACK_NUMBER ; } return connectionProperties ; }

Target:
protected int buildConnectionProperties ( ) { int connectionProperties = 0 ; com.android.internal.telephony.Phone phone = getPhone ( ) ; if ( ( phone != null ) && ( phone.isInEcm ( ) ) ) { connectionProperties |= PROPERTY_EMERGENCY_CALLBACK_MODE ; } return connectionProperties ; }
Source:
public com.android.layoutlib.api.LayoutScene createScene ( com.android.layoutlib.api.SceneParams params ) { return null ; }

Target:
public com.android.ide.common.rendering.api.RenderSession createSession ( com.android.ide.common.rendering.api.Params params ) { return null ; }
Source:
public static com.android.ahat.heapdump.Value getBaseline ( com.android.ahat.heapdump.Value value ) { if ( ( value == null ) || ( ! ( value.isAhatInstance ( ) ) ) ) { return value ; } return new com.android.ahat.heapdump.Value ( value.asAhatInstance ( ) . getBaseline ( ) ) ; }

Target:
public static com.android.ahat.heapdump.Value pack ( com.android.ahat.heapdump.AhatInstance value ) { return value == null ? null : new com.android.ahat.heapdump.Value.InstanceValue ( value ) ; }
Source:
public int compare ( com.android.build.SplitOutput splitOutput , com.android.build.SplitOutput splitOutput2 ) { return ( splitOutput.getVersionCode ( ) ) - ( splitOutput2.getVersionCode ( ) ) ; }

Target:
public int compare ( com.android.build.VariantOutput splitOutput , com.android.build.VariantOutput splitOutput2 ) { return ( splitOutput.getVersionCode ( ) ) - ( splitOutput2.getVersionCode ( ) ) ; }
Source:
public static < K , V > org.hamcrest.Matcher < java.util.Map < K , V > > hasKey ( org.hamcrest.Matcher < K > keyMatcher ) { return org.hamcrest.collection.IsMapContaining.hasEntry ( keyMatcher , org.hamcrest.core.IsAnything.< V > anything ( ) ) ; }

Target:
public void describeMismatchSafely ( java.util.Map < ? extends K , ? extends V > map , org.hamcrest.Description mismatchDescription ) { mismatchDescription.appendText ( "map was " ) . appendValueList ( "[" , ", " , "]" , map.entrySet ( ) ) ; }
Source:
public void onChange ( boolean selfChange ) { mWifiWakeupEnabled = getWifiWakeupEnabledSetting ( ) ; }

Target:
public void onChange ( boolean selfChange ) { mWifiWakeupEnabled = ( Settings.Global.getInt ( mContentResolver , Settings.Global.WIFI_WAKEUP_ENABLED , 0 ) ) == 1 ; mAirplaneModeEnabled = ( Settings.Global.getInt ( mContentResolver , Settings.Global.AIRPLANE_MODE_ON , 0 ) ) == 1 ; }
Source:
public void clear ( ) { super . clear ( ) ; producerStack.clear ( ) ; }

Target:
public void clear ( ) { super . clear ( ) ; producerStack.clear ( ) ; actualProducerStack.clear ( ) ; }
Source:
public com.android.tools.rpclib.binary.ObjectTypeID type ( ) { return ObjectFactory.RpcErrorID ; }

Target:
public com.android.tools.rpclib.binary.BinaryID id ( ) { return com.android.tools.rpclib.rpccore.RpcError.ID ; }
Source:
public static sun.security.util.Cache newSoftMemoryCache ( int size ) { return new sun.security.util.MemoryCache ( true , size ) ; }

Target:
public static < K , V > sun.security.util.Cache < K , V > newSoftMemoryCache ( int size ) { return new sun.security.util.MemoryCache < > ( true , size ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearPassedTestCaseCount ( ) { bitField0_ = ( bitField0_ ) & ( ~ 16384 ) ; passedTestCaseCount_ = 0 ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setModulesTotal ( int value ) { bitField0_ |= 262144 ; modulesTotal_ = value ; onChanged ( ) ; return this ; }
Source:
public java.util.List < java.security.cert.X509Certificate > checkServerTrusted ( java.security.cert.X509Certificate [ ] chain , java.lang.String authType , java.lang.String host ) throws java.security.cert.CertificateException { return mDelegate.checkServerTrusted ( chain , authType , host ) ; }

Target:
public java.util.List < java.security.cert.X509Certificate > checkServerTrusted ( java.security.cert.X509Certificate [ ] chain , java.lang.String authType , java.lang.String host ) throws java.security.cert.CertificateException { return mDelegate.checkServerTrusted ( chain , authType , new android.net.http.DelegatingSSLSession.HostnameWrap ( host ) ) ; }
Source:
public void onCompletion ( android.media.MediaPlayer mp ) { lock.lock ( ) ; condition.signal ( ) ; lock.unlock ( ) ; }

Target:
public void onCompletion ( android.media.MediaPlayer mp ) { lock.lock ( ) ; completed = true ; condition.signal ( ) ; lock.unlock ( ) ; }
Source:
public void broadcastAssociationRejectionEvent ( java.lang.String iface , int status , java.lang.String bssid ) { sendMessage ( iface , com.android.server.wifi.WifiMonitor.ASSOCIATION_REJECTION_EVENT , 0 , status , bssid ) ; }

Target:
public void broadcastAssociationRejectionEvent ( java.lang.String iface , int status , boolean timedOut , java.lang.String bssid ) { sendMessage ( iface , com.android.server.wifi.WifiMonitor.ASSOCIATION_REJECTION_EVENT , ( timedOut ? 1 : 0 ) , status , bssid ) ; }
Source:
public static native void setDefaultLocale ( java.lang.String locale ) ;

Target:
public static native void setDefaultLocale ( java.lang.String languageTag ) ;
Source:
public static long LongDivision ( ) { long a ; long b ; long c ; a = 8L ; b = 3L ; c = a / b ; return c ; }

Target:
public static long LongMultiplication ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 7L ) ; b = Main.$inline$long ( 3L ) ; c = a * b ; return c ; }
Source:
protected int keySizeBytes ( ) { if ( ( key ) == null ) { throw new java.lang.IllegalStateException ( "cipher is not initialized" ) ; } return org.conscrypt.NativeCrypto.RSA_size ( this . key.getNativeRef ( ) ) ; }

Target:
protected int keySizeBytes ( ) { if ( ! ( isInitialized ( ) ) ) { throw new java.lang.IllegalStateException ( "cipher is not initialized" ) ; } return org.conscrypt.NativeCrypto.RSA_size ( this . key.getNativeRef ( ) ) ; }
Source:
public static float DivMP25 ( float arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg / ( - 0.25F ) ; }

Target:
public static float $noinline$DivMP25 ( float arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg / ( - 0.25F ) ; }
Source:
private com.android.sdklib.internal.repository.packages.PlatformPackage createPlatformPackage ( java.util.Properties props ) { com.android.sdklib.internal.repository.packages.PlatformPackage p = new com.android.sdklib.internal.repository.packages.PlatformPackageTest.PlatformPackageWithFakeArchive ( new com.android.sdklib.internal.repository.MockPlatformTarget ( 5 , 1 ) , props ) ; return p ; }

Target:
private com.android.sdklib.internal.repository.packages.PlatformPackage createPlatformPackage ( java.util.Properties props ) { com.android.sdklib.internal.repository.packages.PlatformPackage p = new com.android.sdklib.internal.repository.packages.PlatformPackageTest.PlatformPackageWithFakeArchive ( new com.android.sdklib.internal.androidTarget.MockPlatformTarget ( 5 , 1 ) , props ) ; return p ; }
Source:
public static void computeAtan2pi ( android.renderscript.cts.TestAtan2pi.ArgumentsFloatFloatFloat args ) { args.ulf = 6 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( ( java.lang.StrictMath.atan2 ( args.inY , args.inX ) ) / ( java.lang.StrictMath.PI ) ) ) ; }

Target:
public static void computeAtan2 ( android.renderscript.cts.TestAtan2.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.atan2 ( args.inY , args.inX ) , 6 , 128 ) ; }
Source:
private native java.lang.String [ ] getSignatureAnnotation ( ) ;

Target:
private native boolean isDeclaredAnnotationPresent ( java.lang.Class < ? extends java.lang.annotation.Annotation > annotationClass ) ;
Source:
private int getUpdateOutputSize ( int inputLen ) { if ( encrypting ) { return ( inputLen + ( modeBlockSize ) ) - 1 ; } else if ( ( modeBlockSize ) == 1 ) { return inputLen ; } else { return inputLen + ( modeBlockSize ) ; } }

Target:
protected int engineGetOutputSize ( int inputLen ) { return getOutputSize ( inputLen ) ; }
Source:
public com.android.ims.ImsCallProfile getCallProfile ( ) throws android.os.RemoteException { return null ; }

Target:
public android.telephony.ims.ImsCallProfile getCallProfile ( ) { return this . getCallProfile ( ) ; }
Source:
public native byte getByte$ ( long address ) ;

Target:
public native byte getByte ( long address ) ;
Source:
public org.jetbrains.jps.builders.java.dependencyView.AnnotationVisitor visitAnnotationDefault ( ) { return new org.jetbrains.jps.builders.java.dependencyView.AnnotationVisitor ( Opcodes.ASM4 ) { public void visit ( java.lang.String name , java.lang.Object value ) { defaultValue.set ( value ) ; } } ; }

Target:
public org.jetbrains.jps.builders.java.dependencyView.AnnotationVisitor visitAnnotationDefault ( ) { return new org.jetbrains.jps.builders.java.dependencyView.AnnotationVisitor ( Opcodes.ASM5 ) { public void visit ( java.lang.String name , java.lang.Object value ) { defaultValue.set ( value ) ; } } ; }
Source:
synchronized void nScriptInvokeV ( int id , int slot , byte [ ] params ) { validate ( ) ; rsnScriptInvokeV ( mContext , id , slot , params ) ; }

Target:
synchronized void nScriptSetVarVE ( long id , int slot , byte [ ] val , long e , int [ ] dims ) { validate ( ) ; rsnScriptSetVarVE ( mContext , id , slot , val , e , dims ) ; }
Source:
public static void writeContent ( int fileId , com.intellij.openapi.util.io.ByteSequence bytes , boolean readOnly ) throws java.io.IOException { new com.intellij.openapi.vfs.newvfs.persistent.FSRecords.ContentOutputStream ( fileId , readOnly ) . writeBytes ( bytes ) ; }

Target:
public static void writeContent ( int fileId , com.intellij.openapi.util.io.ByteSequence bytes , boolean readOnly ) throws java.io.IOException { try { new com.intellij.openapi.vfs.newvfs.persistent.FSRecords.ContentOutputStream ( fileId , readOnly ) . writeBytes ( bytes ) ; } catch ( java.lang.Throwable e ) { throw com.intellij.openapi.vfs.newvfs.persistent.FSRecords.DbConnection.handleError ( e ) ; } }
Source:
protected void setUp ( ) { java.util.Locale.setDefault ( org.apache.harmony.tests.java.util.CurrencyTest.defaultLocale ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; originalLocale = java.util.Locale.getDefault ( ) ; }
Source:
public android.icu.impl.UResource.ArraySink getOrCreateArraySink ( int index , int size ) { return null ; }

Target:
public android.icu.impl.UResource.TableSink getOrCreateTableSink ( int index ) { return null ; }
Source:
public void iccOpenLogicalChannel ( java.lang.String AID , android.os.Message response ) { }

Target:
public void iccOpenLogicalChannel ( java.lang.String AID , int p2 , android.os.Message response ) { }
Source:
public java.util.List < com.android.jack.ir.ast.JAnnotation > getAnnotations ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationType annotationType ) { return annotations.getAnnotation ( annotationType ) ; }

Target:
public java.util.Collection < com.android.jack.ir.ast.JAnnotationType > getAnnotationTypes ( ) { return com.android.jack.Jack.getUnmodifiableCollections ( ) . getUnmodifiableCollection ( com.android.jack.util.AnnotationUtils.getAnnotationTypes ( annotations ) ) ; }
Source:
public void setContactsCursor ( com.android.dialer.searchfragment.common.SearchCursor cursor ) { searchCursorManager.setContactsCursor ( cursor ) ; notifyDataSetChanged ( ) ; }

Target:
public void setContactsCursor ( com.android.dialer.searchfragment.common.SearchCursor cursor ) { if ( searchCursorManager.setContactsCursor ( cursor ) ) { searchCursorManager.setQuery ( query ) ; notifyDataSetChanged ( ) ; } }
Source:
public void addMatrix ( android.support.v8.renderscript.Matrix2f v ) { mN.addMatrix ( new android.support.v8.renderscript.Matrix2f ( v.getArray ( ) ) ) ; }

Target:
public void addMatrix ( android.support.v8.renderscript.Matrix2f v ) { mN.addMatrix ( new android.support.v8.renderscript.Matrix2f ( v.getArray ( ) ) ) ; mPos += ( 2 * 2 ) * 4 ; }
Source:
public final float readFloat ( ) { return android.os.Parcel.nativeReadFloat ( mNativePtr ) ; }

Target:
public final long readLong ( ) { return android.os.Parcel.nativeReadLong ( mNativePtr ) ; }