auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void findAllAsync ( java.lang.String find ) { checkThread ( ) ; if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "findAllAsync" ) ; mProvider.findAllAsync ( find ) ; }

Target:
public void findAllAsync ( java.lang.String find ) { checkThread ( ) ; if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "findAllAsync" ) ; mProvider.findAllAsync ( find ) ; }
Source:
public int setProvisionedStringValue ( int item , java.lang.String value ) throws android.os.RemoteException { return ImsConfig.OperationStatusConstants.SUCCESS ; }

Target:
public int setConfig ( int item , int value ) { replaceConfig ( new com.android.phone.testapps.imstestapp.TestImsConfigImpl.ConfigItem ( item , value ) ) ; return ImsConfig.OperationStatusConstants.SUCCESS ; }
Source:
public void testGoodChain ( ) throws java.lang.Exception { org.conscrypt.ChainStrengthAnalyzerTest.assertGood ( org.conscrypt.ChainStrengthAnalyzerTest.GOOD_PEM ) ; }

Target:
public void testGoodChain ( ) throws java.lang.Exception { org.conscrypt.ChainStrengthAnalyzerTest.assertGood ( org.conscrypt.ChainStrengthAnalyzerTest.GOOD_RSA_PEM ) ; org.conscrypt.ChainStrengthAnalyzerTest.assertGood ( org.conscrypt.ChainStrengthAnalyzerTest.GOOD_DSA_PEM ) ; org.conscrypt.ChainStrengthAnalyzerTest.assertGood ( org.conscrypt.ChainStrengthAnalyzerTest.GOOD_ECDSA_PEM ) ; }
Source:
native void rsnScriptSetVarD ( int con , int id , int slot , double val ) ;

Target:
native void rsnScriptSetVarObj ( long con , long id , int slot , long val ) ;
Source:
public void setNameProvider ( @ javax.annotation.Nonnull java.lang.String nameProvider ) { properties.put ( NameProviderFactory.NAMEPROVIDER.getName ( ) , nameProvider ) ; }

Target:
public void setMetaDirs ( @ javax.annotation.Nonnull java.util.List < java.io.File > metaDirs ) { metaImport = metaDirs ; }
Source:
public void returnOperation ( org.objectweb.asm.tree.AbstractInsnNode node , org.objectweb.asm.tree.analysis.Value value1 , org.objectweb.asm.tree.analysis.Value value2 ) throws org.objectweb.asm.tree.analysis.AnalyzerException { if ( ( value1 == ( com.android.tools.lint.checks.RecycleDetector.RecycleTracker.INSTANCE ) ) || ( value2 == ( com.android.tools.lint.checks.RecycleDetector.RecycleTracker.INSTANCE ) ) ) { mEscapes = true ; } }

Target:
public void returnOperation ( org.objectweb.asm.tree.AbstractInsnNode node , org.objectweb.asm.tree.analysis.Value value1 , org.objectweb.asm.tree.analysis.Value value2 ) throws org.objectweb.asm.tree.analysis.AnalyzerException { if ( ( value1 == ( com.android.tools.lint.checks.CleanupDetector.CleanupTracker.INSTANCE ) ) || ( value2 == ( com.android.tools.lint.checks.CleanupDetector.CleanupTracker.INSTANCE ) ) ) { mEscapes = true ; } }
Source:
public void run ( ) { mTvView.tune ( info.getId ( ) , android.media.tv.TvContract.buildChannelUriForPassthroughInput ( info.getId ( ) ) ) ; }

Target:
public void run ( ) { mTvView.reset ( ) ; mTvView.tune ( info.getId ( ) , android.media.tv.TvContract.buildChannelUriForPassthroughInput ( info.getId ( ) ) ) ; }
Source:
public com.android.ide.eclipse.adt.internal.editors.descriptors.TextAttributeDescriptor create ( java.lang.String xmlName , java.lang.String uiName , java.lang.String nsUri , java.lang.String tooltip ) { return new com.android.ide.eclipse.adt.internal.editors.descriptors.ReferenceAttributeDescriptor ( com.android.ide.eclipse.adt.internal.resources.ResourceType.DRAWABLE , xmlName , uiName , nsUri , tooltip ) ; }

Target:
public com.android.ide.eclipse.adt.internal.editors.descriptors.TextAttributeDescriptor create ( java.lang.String xmlName , java.lang.String uiName , java.lang.String nsUri , java.lang.String tooltip ) { return new com.android.ide.eclipse.adt.internal.editors.descriptors.ReferenceAttributeDescriptor ( com.android.ide.eclipse.adt.internal.resources.ResourceType.DRAWABLE , xmlName , uiName , nsUri , tooltip , new com.android.ide.eclipse.adt.internal.resources.AttributeInfo ( xmlName , new com.android.ide.eclipse.adt.editors.layout.gscripts.IAttributeInfo.Format [ ] { com.android.ide.eclipse.adt.editors.layout.gscripts.IAttributeInfo.Format.REFERENCE } ) ) ; }
Source:
private static final void setItemText ( android.widget.Button item , android.content.pm.PackageInfo pi , java.lang.String className ) { item.setText ( className.substring ( ( ( pi.packageName.length ( ) ) + 1 ) ) ) ; }

Target:
private static final void setItemText ( android.widget.Button item , android.content.pm.PackageInfo pi , java.lang.String className ) { item.setText ( className.substring ( ( ( className.lastIndexOf ( '.' ) ) + 1 ) ) ) ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { if ( which == ( android.content.DialogInterface.BUTTON1 ) ) { mPhone.setDataRoamingEnabled ( true ) ; mOkClicked = true ; } else { mButtonDataRoam.setChecked ( false ) ; } }

Target:
public void onClick ( android.content.DialogInterface dialog , int which ) { if ( which == ( android.content.DialogInterface.BUTTON_POSITIVE ) ) { mPhone.setDataRoamingEnabled ( true ) ; mOkClicked = true ; } else { mButtonDataRoam.setChecked ( false ) ; } }
Source:
public void removeTunnelModeTransform ( android.net.Network net , android.net.IpSecTransform transform ) { }

Target:
private void removeTransportModeTransform ( android.os.ParcelFileDescriptor pfd , android.net.IpSecTransform transform ) { try { mService.removeTransportModeTransform ( pfd , transform.getResourceId ( ) ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { clearRemainingState ( test ) ; setTestResult ( test , com.android.cts.verifier.managedprovisioning.ByodFlowTestActivity.TestResult.Failed ) ; }

Target:
public void onClick ( android.content.DialogInterface dialog , int which ) { callback.onPass ( ) ; }
Source:
public com.android.ide.eclipse.gltrace.views.detail.DetailsPage getDetailsPage ( ) { return new com.android.ide.eclipse.gltrace.views.detail.DetailsPage ( mTrace ) ; }

Target:
public com.android.ide.eclipse.gltrace.editors.StateViewPage getStateViewPage ( ) { if ( ( mStateViewPage ) == null ) { mStateViewPage = new com.android.ide.eclipse.gltrace.editors.StateViewPage ( mTrace ) ; } return mStateViewPage ; }
Source:
public void testStringSwedishOverlay ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.string.phoneTypeWork ; setLocale ( "en_US" ) ; assertResource ( resId , "Work" , "Work" ) ; setLocale ( "sv_SE" ) ; assertResource ( resId , "Arbete" , "Jobb" ) ; }

Target:
public void testApp2 ( ) throws java.lang.Throwable { final int resId = R.string.str2 ; assertResource ( resId , "none" , "single" , "single" ) ; }
Source:
public void setAllowedCarriersResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int var2 ) { }

Target:
public void sendCdmaSmsResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , android.hardware.radio.V1_0.SendSmsResult sms ) { responseSms ( responseInfo , sms ) ; }
Source:
private com.android.apksig.util.DataSource makeStringDataSource ( java.lang.String data ) { return com.android.apksig.util.DataSources.asDataSource ( java.nio.ByteBuffer.wrap ( data.getBytes ( ) ) ) ; }

Target:
private com.android.apksig.util.DataSource makeStringDataSource ( java.lang.String data ) { return com.android.apksig.util.DataSources.asDataSource ( java.nio.ByteBuffer.wrap ( data.getBytes ( java.nio.charset.StandardCharsets.UTF_8 ) ) ) ; }
Source:
public static com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService create ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart editor , com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration configuration , com.android.ide.common.resources.ResourceResolver resolver ) { com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService renderService = new com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService ( editor , configuration , resolver ) ; return renderService ; }

Target:
public static com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService create ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart editor ) { return editor.createRenderService ( ) ; }
Source:
public static void computeAbs ( android.renderscript.cts.TestAbs.ArgumentsShortUshort args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( short ) ( java.lang.StrictMath.abs ( args.inValue ) ) ) ; }

Target:
public static void computeDistance ( android.renderscript.cts.TestDistance.ArgumentsFloatNFloatNFloat args ) { args.out = android.renderscript.cts.CoreMathVerifier.distance ( args.inLhs , args.inRhs , 1 , 1 ) ; }
Source:
public org.w3c.dom.Document getManifestDoc ( ) throws java.io.IOException { assert isAndroidProject ( ) ; if ( ( mManifestDoc ) == null ) { java.io.File file = getManifestFile ( ) ; mManifestDoc = com.android.tools.gradle.eclipse.GradleImport.getXmlDocument ( file , true ) ; } return mManifestDoc ; }

Target:
public org.w3c.dom.Document getManifestDoc ( ) throws java.io.IOException { assert isAndroidProject ( ) ; if ( ( mManifestDoc ) == null ) { java.io.File file = getManifestFile ( ) ; mManifestDoc = mImporter.getXmlDocument ( file , true ) ; } return mManifestDoc ; }
Source:
native void rsnScriptSetVarV ( int con , int id , int slot , byte [ ] val ) ;

Target:
native void rsnScriptForEach ( long con , long id , int slot , long ain , long aout ) ;
Source:
synchronized void nScriptBindAllocation ( long script , long alloc , int slot ) { validate ( ) ; rsnScriptBindAllocation ( mContext , script , alloc , slot ) ; }

Target:
native void rsnScriptForEach ( long con , long incCon , long id , int slot , long ain , long aout , boolean mUseInc ) ;
Source:
public void done ( com.android.layoutlib.api.SceneResult result ) { }

Target:
public void done ( com.android.layoutlib.api.SceneResult result ) { java.lang.System.out.println ( ( "Animation count: " + ( mCount ) ) ) ; }
Source:
public boolean registerRemoteController ( android.media.IRemoteControlDisplay rcd , int w , int h , android.content.ComponentName listenerComp ) { return mMediaFocusControl.registerRemoteController ( rcd , w , h , listenerComp ) ; }

Target:
private void sendEncodedSurroundMode ( android.content.ContentResolver cr ) { int encodedSurroundMode = Settings.Global.getInt ( cr , Settings.Global.ENCODED_SURROUND_OUTPUT , Settings.Global.ENCODED_SURROUND_OUTPUT_AUTO ) ; sendEncodedSurroundMode ( encodedSurroundMode ) ; }
Source:
private native boolean sendATCmdNative ( int ATCmd , int val1 , int val2 , java.lang.String arg ) ;

Target:
private native boolean sendATCmdNative ( byte [ ] address , int atCmd , int val1 , int val2 , java.lang.String arg ) ;
Source:
public void setState ( int state , long now ) { ensureNotDead ( ) ; if ( ( mCurState ) != state ) { commitStateTime ( now ) ; mCurState = state ; } }

Target:
public void setState ( int state , long now ) { ensureNotDead ( ) ; if ( ( ! ( mDead ) ) && ( ( mCurState ) != state ) ) { commitStateTime ( now ) ; mCurState = state ; } }
Source:
public static int getVersionCode ( com.android.sdklib.io.IAbstractFile manifestFile ) throws com.android.sdklib.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.sdklib.xml.AndroidXPathFactory.newXPath ( ) ; java.lang.String result = xPath.evaluate ( ( ( ( ( ( "/" + ( com.android.sdklib.xml.AndroidManifest.NODE_MANIFEST ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_VERSIONCODE ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) ) ; try { return java.lang.Integer.parseInt ( result ) ; } catch ( java.lang.NumberFormatException e ) { return - 1 ; } }

Target:
public static int getVersionCode ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.sdklib.xml.AndroidXPathFactory.newXPath ( ) ; java.lang.String result = xPath.evaluate ( ( ( ( ( ( "/" + ( com.android.sdklib.xml.AndroidManifest.NODE_MANIFEST ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.sdklib.xml.AndroidManifest.ATTRIBUTE_VERSIONCODE ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) ) ; try { return java.lang.Integer.parseInt ( result ) ; } catch ( java.lang.NumberFormatException e ) { return - 1 ; } }
Source:
public boolean isBluetoothScoAvailableOffCall ( ) { return mApplicationContext.getResources ( ) . getBoolean ( com.android.internal.R.bool.config_bluetooth_sco_off_call ) ; }

Target:
public boolean isBluetoothScoAvailableOffCall ( ) { return getContext ( ) . getResources ( ) . getBoolean ( com.android.internal.R.bool.config_bluetooth_sco_off_call ) ; }
Source:
public void action ( com.android.ide.common.api.MenuAction action , final java.lang.String valueId , java.lang.Boolean newValue ) { final com.android.ide.common.api.INode node = selectedNode ; node.appendChild ( com.android.ide.common.layout.LayoutConstants.FQCN_TABLE_ROW ) ; }

Target:
public void action ( com.android.ide.common.api.MenuAction action , final java.lang.String valueId , java.lang.Boolean newValue ) { final com.android.ide.common.api.INode node = selectedNode ; com.android.ide.common.api.INode newRow = node.appendChild ( com.android.ide.common.layout.LayoutConstants.FQCN_TABLE_ROW ) ; mRulesEngine.select ( java.util.Collections.singletonList ( newRow ) ) ; }
Source:
public void error ( @ com.android.annotations.Nullable java.lang.Throwable t , @ com.android.annotations.Nullable java.lang.String msgFormat , java.lang.Object ... args ) { mLogger.error ( t , mGradleMessageRewriter.rewriteMessages ( msgFormat ) , args ) ; }

Target:
public void error ( @ com.android.annotations.Nullable java.lang.Throwable t , @ com.android.annotations.Nullable java.lang.String msgFormat , java.lang.Object ... args ) { mLogger.error ( t , mGradleMessageRewriter.rewriteMessages ( com.google.common.base.Strings.nullToEmpty ( msgFormat ) ) , args ) ; }
Source:
synchronized void nScriptSetVarJ ( int id , int slot , long val ) { validate ( ) ; rsnScriptSetVarJ ( mContext , id , slot , val ) ; }

Target:
synchronized void nScriptSetVarV ( long id , int slot , byte [ ] val ) { validate ( ) ; rsnScriptSetVarV ( mContext , id , slot , val ) ; }
Source:
private void processDeviceStateChanged ( com.android.bluetooth.hfp.HeadsetDeviceState deviceState ) { notifyDeviceStatusNative ( deviceState.mService , deviceState.mRoam , deviceState.mSignal , deviceState.mBatteryCharge ) ; }

Target:
private void processDeviceStateChanged ( com.android.bluetooth.hfp.HeadsetDeviceState deviceState ) { mNativeInterface.notifyDeviceStatus ( deviceState ) ; }
Source:
public static com.google.common.hash.HashFunction md5 ( ) { return com.google.common.hash.Hashing.MD5 ; }

Target:
public static com.google.common.hash.HashFunction md5 ( ) { return com.google.common.hash.Hashing.Md5Holder.MD5 ; }
Source:
public static android.net.Uri getUriForSubIdAndField ( int subId , java.lang.String field ) { return android.provider.Telephony.ServiceStateTable.CONTENT_URI.buildUpon ( ) . appendEncodedPath ( java.lang.String.valueOf ( subId ) ) . appendEncodedPath ( field ) . build ( ) ; }

Target:
public static android.net.Uri getUriForSubscriptionIdAndField ( int subscriptionId , java.lang.String field ) { return android.provider.Telephony.ServiceStateTable.CONTENT_URI.buildUpon ( ) . appendEncodedPath ( java.lang.String.valueOf ( subscriptionId ) ) . appendEncodedPath ( field ) . build ( ) ; }
Source:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { return vfs.getVDirLocation ( parent , name ) ; }

Target:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { return vfs.getVFileLocation ( parent , name ) ; }
Source:
public java.lang.String format ( java.lang.CharSequence ... values ) { return formatAndAppend ( new java.lang.StringBuilder ( ) , null , values ) . toString ( ) ; }

Target:
public java.lang.String format ( java.lang.CharSequence ... values ) { return com.ibm.icu.impl.SimplePatternFormatter.formatCompiledPattern ( compiledPattern , values ) ; }
Source:
public org.chromium.mojo.system.Core.WaitResult wait ( org.chromium.mojo.system.Core.HandleSignals signals , long deadline ) { throw new org.chromium.mojo.system.MojoException ( MojoResult.INVALID_ARGUMENT ) ; }

Target:
public org.chromium.mojo.system.Core.HandleSignalsState querySignalsState ( ) { throw new org.chromium.mojo.system.MojoException ( MojoResult.INVALID_ARGUMENT ) ; }
Source:
private void writeGenericSignatureMarker ( @ javax.annotation.Nonnull org.objectweb.asm.tree.ClassNode cn ) throws java.io.IOException { if ( com.android.jill.frontend.java.AsmHelper.isGenericSignature ( cn ) ) { writer.writeKeyword ( Token.GENERIC_SIGNATURE ) ; writer.writeOpen ( ) ; writer.writeString ( cn.signature ) ; writer.writeClose ( ) ; } }

Target:
private void writeGenericSignatureMarker ( @ javax.annotation.Nonnull org.objectweb.asm.tree.ClassNode cn ) throws java.io.IOException { if ( com.android.jill.frontend.java.AsmHelper.hasValidGenericSignature ( cn ) ) { writer.writeKeyword ( Token.GENERIC_SIGNATURE ) ; writer.writeOpen ( ) ; writer.writeString ( cn.signature ) ; writer.writeClose ( ) ; } }
Source:
public void onStreamMethodUpdated ( final int methodType ) { try { callback.onStreamMethodUpdated ( methodType ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }

Target:
public void binderDied ( ) { onAppCallbackDied ( uid , subscriptionId ) ; }
Source:
private static char shortFormCharFor ( com.android.jack.dx.rop.type.Type type ) { char descriptorChar = type.getDescriptor ( ) . charAt ( 0 ) ; if ( descriptorChar == '[' ) { return 'L' ; } return descriptorChar ; }

Target:
private static char shortFormCharFor ( com.android.jack.dx.rop.type.Type type ) { char descriptorChar = type.getDescriptor ( ) . getString ( ) . charAt ( 0 ) ; if ( descriptorChar == '[' ) { return 'L' ; } return descriptorChar ; }
Source:
public void deleteProfile ( java.lang.String callingPackage , java.lang.String iccid , com.android.internal.telephony.euicc.IDeleteProfileCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onResult ( java.lang.Void result ) { try { callback.onComplete ( EuiccCardManager.RESULT_OK ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
protected void hyperlinkActivated ( @ org.jetbrains.annotations.NotNull com.intellij.notification.Notification notification , @ org.jetbrains.annotations.NotNull javax.swing.event.HyperlinkEvent event ) { com.intellij.openapi.options.ShowSettingsUtil.getInstance ( ) . showSettingsDialog ( project , "Google Cloud Testing" ) ; }

Target:
public void displaySanityCheckError ( java.lang.String errorMessage , final com.intellij.openapi.project.Project project ) { com.google.gct.testing.GoogleCloudTestingUtils.showErrorMessage ( project , "Cloud test configuration is invalid" , errorMessage ) ; }
Source:
boolean appliesTo ( com.android.manifmerger.XmlElement element ) { return mPackageName.equals ( element.getDocument ( ) . getPackageName ( ) ) ; }

Target:
boolean appliesTo ( com.android.manifmerger.XmlElement element ) { com.google.common.base.Optional < com.android.manifmerger.XmlAttribute > packageName = element.getDocument ( ) . getPackage ( ) ; return ( packageName.isPresent ( ) ) && ( mPackageName.equals ( packageName.get ( ) . getValue ( ) ) ) ; }
Source:
public void test_plusDays_overMonths ( ) { java.time.LocalDate t = TEST_2007_07_15.plusDays ( 62 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 9 , 15 ) ) ; }

Target:
public void test_plusDays_overMonths ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.plusDays ( 62 ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 9 , 15 ) ) ; }
Source:
public static final native void setPolicy ( ) ;

Target:
public static native void setAppPolicy ( ) ;
Source:
public boolean is80211McResponderSupport ( ) { return mExtendedCapabilities.is80211McRTTResponder ; }

Target:
public boolean is80211McResponderSupport ( ) { return mExtendedCapabilities.is80211McRTTResponder ( ) ; }
Source:
public boolean hasTransport ( int transportType ) { if ( ( transportType < ( android.net.NetworkCapabilities.MIN_TRANSPORT ) ) || ( transportType > ( android.net.NetworkCapabilities.MAX_TRANSPORT ) ) ) { return false ; } return ( ( mTransportTypes ) & ( 1 << transportType ) ) != 0 ; }

Target:
public boolean hasTransport ( int transportType ) { return ( android.net.NetworkCapabilities.isValidTransport ( transportType ) ) && ( ( ( mTransportTypes ) & ( 1 << transportType ) ) != 0 ) ; }
Source:
public native void switchTimezone ( java.lang.String timezone ) ;

Target:
public void switchTimezone ( java.lang.String timezone ) { calculator.copyFieldsFromTime ( this ) ; calculator.switchTimeZone ( timezone ) ; calculator.copyFieldsToTime ( this ) ; this . timezone = timezone ; }
Source:
public com.android.sched.util.log.tracer.AbstractTracer.TracerEvent start ( @ javax.annotation.Nonnull java.lang.String name ) { com.android.sched.util.log.tracer.DynamicEventType event = dynalicEventByName.get ( name ) ; if ( event == null ) { event = new com.android.sched.util.log.tracer.DynamicEventType ( name ) ; dynalicEventByName.put ( name , event ) ; } return start ( event ) ; }

Target:
public com.android.sched.util.log.EventType getDynamicEventType ( @ javax.annotation.Nonnull java.lang.String name ) { synchronized ( dynalicEventByName ) { com.android.sched.util.log.EventType type = dynalicEventByName.get ( name ) ; if ( type != null ) { return type ; } else { return TracerEventType.NOTYPE ; } } }
Source:
public void setInputMethodAndSubtype ( android.os.IBinder token , java.lang.String id , android.view.inputmethod.InputMethodSubtype subtype ) { try { mService.setInputMethodAndSubtype ( token , id , subtype ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e ) ; } }

Target:
public void setInputMethodAndSubtype ( android.os.IBinder token , java.lang.String id , android.view.inputmethod.InputMethodSubtype subtype ) { try { mService.setInputMethodAndSubtype ( token , id , subtype ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public static void computeExpm1 ( android.renderscript.cts.TestExpm1.ArgumentsFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 16 ; args.out = ( ( float ) ( java.lang.StrictMath.expm1 ( args.in ) ) ) ; }

Target:
public static void computeExpm1 ( android.renderscript.cts.TestExpm1.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.expm1 ( args.in ) , 3 , 16 ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { refreshViewerInput ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; boolean selectNew = ( ( e.text ) == null ) || ( e.text.equals ( strLinkNew ) ) ; onSelectNewUpdates ( selectNew , ( ! selectNew ) , false ) ; }
Source:
public void testRegressions ( ) { java.util.regex.Pattern.compile ( "[\\t-\\r]" ) ; java.util.regex.Pattern.compile ( "a*.+" ) ; java.util.regex.Pattern.compile ( "|(?idmsux-idmsux)|(?idmsux-idmsux)|[^|\\[-\\0274|\\,-\\\\[^|W\\}\\nq\\x65\\002\\xFE\\05\\06\\00\\x66\\x47i\\,\\xF2\\=\\06\\u0EA4\\x9B\\x3C\\f\\|\\{\\xE5\\05\\r\\u944A\\xCA\\e|\\x19\\04\\x07\\04\\u607B\\023\\0073\\x91Tr\\0150\\x83]]?(?idmsux-idmsux:\\p{Alpha}{7}?)||(?<=[^\\uEC47\\01\\02\\u3421\\a\\f\\a\\013q\\035w\\e])(?<=\\p{Punct}{0,}?)(?=^\\p{Lower})(?!\\b{8,14})(?<![|\\00-\\0146[^|\\04\\01\\04\\060\\f\\u224DO\\x1A\\xC4\\00\\02\\0315\\0351\\u84A8\\xCBt\\xCC\\06|\\0141\\00\\=\\e\\f\\x6B\\0026Tb\\040\\x76xJ&&[\\\\-\\]\\05\\07\\02\\u2DAF\\t\\x9C\\e\\0023\\02\\,X\\e|\\u6058flY\\u954C]]]{5}?)(?<=\\p{Sc}{8}+)[^|\\026-\\u89BA|o\\u6277\\t\\07\\x50&&\\p{Punct}]{8,14}+((?<=^\\p{Punct})|(?idmsux-idmsux)||(?>[\\x3E-\\]])|(?idmsux-idmsux:\\p{Punct})|(?<![\\0111\\0371\\xDF\\u6A49\\07\\u2A4D\\00\\0212\\02Xd-\\xED[^\\a-\\0061|\\0257\\04\\f\\[\\0266\\043\\03\\x2D\\042&&[^\\f-\\]&&\\s]]])|(?>[|\\n\\042\\uB09F\\06\\u0F2B\\uC96D\\x89\\uC166\\xAA|\\04-\\][^|\\a\\|\\rx\\04\\uA770\\n\\02\\t\\052\\056\\0274\\|\\=\\07\\e|\\00-\\x1D&&[^\\005\\uB15B\\uCDAC\\n\\x74\\0103\\0147\\uD91B\\n\\062G\\u9B4B\\077\\}\\0324&&[^\\0302\\,\\0221\\04\\u6D16\\04xy\\uD193\\[\\061\\06\\045\\x0F|\\e\\xBB\\f\\u1B52\\023\\u3AD2\\033\\007\\022\\}\\x66\\uA63FJ-\\0304]]]]{0,0})||(?<![^|\\0154U\\u0877\\03\\fy\\n\\|\\0147\\07-\\=[|q\\u69BE\\0243\\rp\\053\\02\\x33I\\u5E39\\u9C40\\052-\\xBC[|\\0064-\\?|\\uFC0C\\x30\\0060\\x45\\\\\\02\\?p\\xD8\\0155\\07\\0367\\04\\uF07B\\000J[^|\\0051-\\{|\\u9E4E\\u7328\\]\\u6AB8\\06\\x71\\a\\]\\e\\|KN\\u06AA\\0000\\063\\u2523&&[\\005\\0277\\x41U\\034\\}R\\u14C7\\u4767\\x09\\n\\054Ev\\0144\\<\\f\\,Q-\\xE4]]]]]{3}+)|(?>^+)|(?![^|\\|\\nJ\\t\\<\\04E\\\\\\t\\01\\\\\\02\\|\\=\\}\\xF3\\uBEC2\\032K\\014\\uCC5F\\072q\\|\\0153\\xD9\\0322\\uC6C8[^\\t\\0342\\x34\\x91\\06\\{\\xF1\\a\\u1710\\?\\xE7\\uC106\\02pF\\<&&[^|\\]\\064\\u381D\\u50CF\\eO&&[^|\\06\\x2F\\04\\045\\032\\u8536W\\0377\\0017|\\x06\\uE5FA\\05\\xD4\\020\\04c\\xFC\\02H\\x0A\\r]]]]+?)(?idmsux-idmsux)|(?<![|\\r-\\,&&[I\\t\\r\\0201\\xDB\\e&&[^|\\02\\06\\00\\<\\a\\u7952\\064\\051\\073\\x41\\?n\\040\\0053\\031&&[\\x15-\\|]]]]{8,11}?)(?![^|\\<-\\uA74B\\xFA\\u7CD2\\024\\07n\\<\\x6A\\0042\\uE4FF\\r\\u896B\\[\\=\\042Y&&^\\p{ASCII}]++)|(?<![R-\\|&&[\\a\\0120A\\u6145\\<\\050-d[|\\e-\\uA07C|\\016-\\u80D9]]]{1,}+)|(?idmsux-idmsux)|(?idmsux-idmsux)|(?idmsux-idmsux:\\B{6,}?)|(?<=\\D{5,8}?)|(?>[\\{-\\0207|\\06-\\0276\\p{XDigit}])(?idmsux-idmsux:[^|\\x52\\0012\\]u\\xAD\\0051f\\0142\\\\l\\|\\050\\05\\f\\t\\u7B91\\r\\u7763\\{|h\\0104\\a\\f\\0234\\u2D4F&&^\\P{InGreek}]))" ) ; java.util.regex.Pattern.compile ( "\\u6211" , java.util.regex.Pattern.LITERAL ) ; }

Target:
public void test_bug_5858 ( ) { java.util.regex.Pattern.compile ( "\\u6211" , java.util.regex.Pattern.LITERAL ) ; }
Source:
public void onPackageListChanged ( ) { refreshUi ( ) ; }

Target:
public void onPackageListChanged ( ) { if ( ! ( refreshUi ( ) ) ) { setIntentAndFinish ( true , true ) ; } }
Source:
public static java.lang.String toOctalString ( long i ) { return java.lang.Long.toUnsignedString ( i , 3 ) ; }

Target:
public static java.lang.String toHexString ( long i ) { return java.lang.Long.toUnsignedString0 ( i , 4 ) ; }
Source:
public int queryCallForward ( int condition , java.lang.String number ) throws android.os.RemoteException { return - 1 ; }

Target:
public int queryClip ( ) { return - 1 ; }
Source:
public void accept ( final org.objectweb.asm.MethodVisitor cv ) { cv.visitFieldInsn ( opcode , owner , name , desc ) ; }

Target:
public void accept ( final org.objectweb.asm.MethodVisitor mv ) { mv.visitFieldInsn ( opcode , owner , name , desc ) ; acceptAnnotations ( mv ) ; }
Source:
synchronized long nScriptIntrinsicCreate ( int id , long eid ) { validate ( ) ; return rsnScriptIntrinsicCreate ( mContext , id , eid ) ; }

Target:
synchronized long nIncContextCreate ( long dev , int ver , int sdkVer , int contextType ) { return rsnIncContextCreate ( dev , ver , sdkVer , contextType ) ; }
Source:
public boolean setDeviceName ( java.lang.String name ) { return doBooleanCommand ( ( "SET device_name " + name ) ) ; }

Target:
public boolean setDeviceName ( java.lang.String name ) { if ( com.android.server.wifi.WifiNative.HIDL_SUP_ENABLE ) { return mSupplicantStaIfaceHal.setWpsDeviceName ( name ) ; } else { return doBooleanCommand ( ( "SET device_name " + name ) ) ; } }
Source:
public abstract boolean isRevocable ( ) ;

Target:
public abstract boolean isRevocable ( @ com.android.annotations.NonNull com.android.tools.lint.checks.PermissionHolder revocable ) ;
Source:
private void assertPinnedToWifiWithCellDefault ( ) { assertEquals ( mWiFiNetworkAgent.getNetwork ( ) , mCm.getBoundNetworkForProcess ( ) ) ; assertEquals ( mCellNetworkAgent.getNetwork ( ) , mCm.getActiveNetwork ( ) ) ; }

Target:
private void assertPinnedToWifiWithWifiDefault ( ) { org.junit.Assert.assertEquals ( mWiFiNetworkAgent.getNetwork ( ) , mCm.getBoundNetworkForProcess ( ) ) ; org.junit.Assert.assertEquals ( mWiFiNetworkAgent.getNetwork ( ) , mCm.getActiveNetwork ( ) ) ; }
Source:
native void rsnScriptSetVarVE ( long con , long id , int slot , byte [ ] val , long e , int [ ] dims ) ;

Target:
native long rsnIncAllocationCreateTyped ( long con , long incCon , long alloc , long type ) ;
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setTargetBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 4 ; target_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBranch ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 4 ; branch_ = value ; onChanged ( ) ; return this ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { if ( ( ( mClearDialogShortcut ) > 0 ) && ( which == ( android.app.AlertDialog.BUTTON1 ) ) ) { clearShortcut ( mClearDialogShortcut ) ; } mClearDialogBookmarkTitle = null ; mClearDialogShortcut = 0 ; }

Target:
public void onClick ( android.content.DialogInterface dialog , int which ) { if ( ( ( mClearDialogShortcut ) > 0 ) && ( which == ( android.app.AlertDialog.BUTTON_POSITIVE ) ) ) { clearShortcut ( mClearDialogShortcut ) ; } mClearDialogBookmarkTitle = null ; mClearDialogShortcut = 0 ; }
Source:
public java.util.Collection < java.lang.String > getApplicableElements ( ) { return java.util.Arrays.asList ( com.android.SdkConstants.TAG_STRING , com.android.SdkConstants.TAG_STRING_ARRAY ) ; }

Target:
public java.util.Collection < java.lang.String > getApplicableElements ( ) { return java.util.Arrays.asList ( com.android.SdkConstants.TAG_STRING , com.android.SdkConstants.TAG_STRING_ARRAY , com.android.SdkConstants.TAG_PLURALS ) ; }
Source:
public void testDeveloperOptionsManager ( ) throws java.lang.Exception { com.android.devtools.systemimage.uitest.utils.DeveloperOptionsManager.enableDeveloperOptions ( mInstrumentation ) ; assertTrue ( "Failed to enable developer options." , com.android.devtools.systemimage.uitest.utils.DeveloperOptionsManager.isDeveloperOptionsEnabled ( mInstrumentation ) ) ; }

Target:
public void testDeveloperOptionsManager ( ) throws java.lang.Exception { android.app.Instrumentation instrumentation = testFramework.getInstrumentation ( ) ; com.android.devtools.systemimage.uitest.utils.DeveloperOptionsManager.enableDeveloperOptions ( instrumentation ) ; org.junit.Assert.assertTrue ( "Failed to enable developer options." , com.android.devtools.systemimage.uitest.utils.DeveloperOptionsManager.isDeveloperOptionsEnabled ( instrumentation ) ) ; }
Source:
private static synchronized int getDecryptMode ( java.lang.String algorithm ) throws java.lang.Exception { if ( libcore.javax.crypto.CipherTest.isWrap ( algorithm ) ) { return javax.crypto.Cipher.UNWRAP_MODE ; } return javax.crypto.Cipher.DECRYPT_MODE ; }

Target:
private static boolean isPBE ( java.lang.String algorithm ) { return algorithm.startsWith ( "PBE" ) ; }
Source:
public void setValue ( java.lang.Object value ) { if ( value instanceof com.android.ide.eclipse.gldebugger.GLEnum ) { mCurrentValue = ( ( com.android.ide.eclipse.gldebugger.GLEnum ) ( value ) ) ; } else { throw new java.lang.IllegalArgumentException ( ( "Attempt to set invalid value for " + ( getType ( ) ) ) ) ; } }

Target:
public void setValue ( java.lang.Object value ) { if ( value instanceof com.android.ide.eclipse.gltrace.GLEnum ) { mCurrentValue = ( ( com.android.ide.eclipse.gltrace.GLEnum ) ( value ) ) ; } else { throw new java.lang.IllegalArgumentException ( ( "Attempt to set invalid value for " + ( getType ( ) ) ) ) ; } }
Source:
public void screenOnStoppedLw ( ) { if ( ! ( mKeyguardMediator.isShowing ( ) ) ) { long curTime = android.os.SystemClock.uptimeMillis ( ) ; mPowerManager.userActivity ( curTime , false , LocalPowerManager.OTHER_EVENT ) ; } }

Target:
public void screenOnStoppedLw ( ) { if ( ( ! ( mKeyguardMediator.isShowingAndNotHidden ( ) ) ) && ( mPowerManager.isScreenOn ( ) ) ) { long curTime = android.os.SystemClock.uptimeMillis ( ) ; mPowerManager.userActivity ( curTime , false , LocalPowerManager.OTHER_EVENT ) ; } }
Source:
public static void rebootSafeMode ( final android.content.Context context , boolean confirm ) { com.android.server.power.ShutdownThread.mReboot = true ; com.android.server.power.ShutdownThread.mRebootSafeMode = true ; com.android.server.power.ShutdownThread.mRebootUpdate = false ; com.android.server.power.ShutdownThread.mRebootReason = null ; com.android.server.power.ShutdownThread.shutdownInner ( context , confirm ) ; }

Target:
public static void rebootSafeMode ( final android.content.Context context , boolean confirm ) { com.android.server.power.ShutdownThread.mReboot = true ; com.android.server.power.ShutdownThread.mRebootSafeMode = true ; com.android.server.power.ShutdownThread.mRebootUpdate = false ; com.android.server.power.ShutdownThread.mReason = null ; com.android.server.power.ShutdownThread.shutdownInner ( context , confirm ) ; }
Source:
public int runJUnit ( @ javax.annotation.Nonnull java.lang.String [ ] options , @ javax.annotation.Nonnull java.lang.String jUnitRunnerName , @ javax.annotation.Nonnull java.lang.String [ ] jUnitTestClasses , @ javax.annotation.Nonnull java.io.File ... classpathFiles ) throws com.android.jack.test.runner.RuntimeRunnerException { return runJunitOnDevice ( options , jUnitRunnerName , jUnitTestClasses , classpathFiles ) ; }

Target:
public int runJUnit ( @ javax.annotation.Nonnull java.lang.String [ ] options , @ javax.annotation.Nonnull java.lang.String jUnitRunnerName , @ javax.annotation.Nonnull java.lang.String [ ] jUnitTestClasses , @ javax.annotation.Nonnull java.io.File ... classpathFiles ) throws com.android.jack.test.runner.RuntimeRunnerException { return runOnDevice ( options , jUnitRunnerName , jUnitTestClasses , classpathFiles ) ; }
Source:
public void testReceiver4 ( ) throws java.lang.Exception { assertEquals ( "AndroidManifest.xml:12: Warning: Exported receiver does not require permission" , lintProject ( "exportreceiver4.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }

Target:
public void testReceiver4 ( ) throws java.lang.Exception { assertEquals ( ( "AndroidManifest.xml:12: Warning: Exported receiver does not require permission [ExportedReceiver]\n" + ( ( ( " <receiver\n" + " ^\n" ) + "0 errors, 1 warnings\n" ) + "" ) ) , lintProject ( "exportreceiver4.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }
Source:
public int size ( ) { return this . size ( ) ; }

Target:
public java.util.Set < java.util.Map.Entry < K , V > > entrySet ( ) { java.util.Set < java.util.Map.Entry < K , V > > es = entrySet ; return es != null ? es : ( entrySet = new EntrySet ( this ) ) ; }
Source:
public static com.google.common.hash.HashCode hash ( java.io.File file , com.google.common.hash.HashFunction hashFunction ) throws java.io.IOException { return com.google.common.io.ByteStreams.hash ( com.google.common.io.Files.newInputStreamSupplier ( file ) , hashFunction ) ; }

Target:
public java.lang.String toString ( ) { return "Files.isDirectory()" ; }
Source:
public com.android.ims.internal.IImsCallSession createCallSessionInterface ( android.telephony.ims.ImsCallProfile profile ) throws android.os.RemoteException { return mCompatFeature.createCallSession ( mSessionId , profile ) ; }

Target:
public android.telephony.ims.ImsCallProfile createCallProfile ( int callSessionType , int callType ) { try { return mCompatFeature.createCallProfile ( mSessionId , callSessionType , callType ) ; } catch ( android.os.RemoteException e ) { throw new java.lang.RuntimeException ( e.getMessage ( ) ) ; } }
Source:
static com.android.jack.shrob.spec.InheritanceSpecification createInheritance ( java.lang.String className , boolean hasNameNegator , @ javax.annotation.CheckForNull com.android.jack.shrob.spec.AnnotationSpecification annotationType ) { com.android.jack.shrob.spec.NameSpecification nameSpec = com.android.jack.shrob.proguard.GrammarActions.name ( className ) ; nameSpec.setNegator ( hasNameNegator ) ; return new com.android.jack.shrob.spec.InheritanceSpecification ( nameSpec , annotationType ) ; }

Target:
static com.android.jack.shrob.spec.InheritanceSpecification createInheritance ( java.lang.String className , boolean hasNameNegator , @ javax.annotation.CheckForNull com.android.jack.shrob.spec.AnnotationSpecification annotationType ) { com.android.jack.shrob.spec.NameSpecification nameSpec = com.android.jack.shrob.proguard.GrammarActions.name ( className , com.android.jack.shrob.proguard.GrammarActions.FilterSeparator.CLASS ) ; nameSpec.setNegator ( hasNameNegator ) ; return new com.android.jack.shrob.spec.InheritanceSpecification ( nameSpec , annotationType ) ; }
Source:
public void warning ( java.lang.String msg ) { if ( ( java.util.logging.Level.WARNING.intValue ( ) ) < ( levelValue ) ) { return ; } log ( java.util.logging.Level.WARNING , msg ) ; }

Target:
public void severe ( java.util.function.Supplier < java.lang.String > msgSupplier ) { log ( java.util.logging.Level.SEVERE , msgSupplier ) ; }
Source:
public boolean initializeSupplicantHal ( ) { return mWifiSupplicantHal.initialize ( ) ; }

Target:
public boolean initializeSupplicantHal ( ) { if ( ! ( com.android.server.wifi.WifiNative.HIDL_ENABLE ) ) { return true ; } return mWifiSupplicantHal.initialize ( ) ; }
Source:
public int getRssi ( ) { int rssi = java.lang.Integer.MIN_VALUE ; for ( android.net.wifi.ScanResult result : mScanResultCache.snapshot ( ) . values ( ) ) { if ( ( result.level ) > rssi ) { rssi = result.level ; } } return rssi ; }

Target:
public int getRssi ( ) { evictOldScanResults ( ) ; int rssi = java.lang.Integer.MIN_VALUE ; for ( android.net.wifi.ScanResult result : mScanResultCache.values ( ) ) { if ( ( result.level ) > rssi ) { rssi = result.level ; } } return rssi ; }
Source:
public static int max ( int a , int b ) { return a >= b ? a : b ; }

Target:
public static int max ( int a , int b ) { return java.lang.Math.max ( a , b ) ; }
Source:
public static com.google.gct.intellij.endpoints.util.PsiField getAnnotatedFieldFromClass ( com.google.gct.intellij.endpoints.util.PsiClass entityClass , java.lang.String annotationFqn ) { for ( com.google.gct.intellij.endpoints.util.PsiField field : entityClass.getAllFields ( ) ) { if ( com.intellij.codeInsight.AnnotationUtil.isAnnotated ( field , annotationFqn , false ) ) { return field ; } } return null ; }

Target:
public static com.google.gct.idea.appengine.util.PsiField getAnnotatedFieldFromClass ( com.google.gct.idea.appengine.util.PsiClass entityClass , java.lang.String annotationFqn ) { for ( com.google.gct.idea.appengine.util.PsiField field : entityClass.getAllFields ( ) ) { if ( com.intellij.codeInsight.AnnotationUtil.isAnnotated ( field , annotationFqn , false ) ) { return field ; } } return null ; }
Source:
public static byte [ ] networkPortionToCalledPartyBCD ( java.lang.String s ) { java.lang.String networkPortion = android.telephony.PhoneNumberUtils.extractNetworkPortion ( s ) ; return android.telephony.PhoneNumberUtils.numberToCalledPartyBCDHelper ( networkPortion , false ) ; }

Target:
public static byte [ ] networkPortionToCalledPartyBCDWithLength ( java.lang.String s ) { java.lang.String networkPortion = android.telephony.PhoneNumberUtils.extractNetworkPortion ( s ) ; return android.telephony.PhoneNumberUtils.numberToCalledPartyBCDHelper ( networkPortion , true , android.telephony.PhoneNumberUtils.BCD_EXTENDED_TYPE_EF_ADN ) ; }
Source:
public void addDefaultNativeSourceSet ( @ org.gradle.model.Path ( value = "android.sources" ) com.android.build.gradle.model.AndroidComponentModelSourceSet sources ) { sources.addDefaultSourceSet ( "c" , org.gradle.language.c.CSourceSet.class ) ; sources.addDefaultSourceSet ( "cpp" , org.gradle.language.cpp.CppSourceSet.class ) ; }

Target:
public void addDefaultNativeSourceSet ( @ org.gradle.model.Path ( value = "android.sources" ) com.android.build.gradle.model.AndroidComponentModelSourceSet sources ) { sources.addDefaultSourceSet ( "jni" , com.android.build.gradle.model.AndroidLanguageSourceSet.class ) ; }
Source:
public boolean tryUnfork ( ) { java.lang.Thread t ; return ( t = java.lang.Thread.currentThread ( ) ) instanceof java.util.concurrent.ForkJoinWorkerThread ? ( ( java.util.concurrent.ForkJoinWorkerThread ) ( t ) ) . workQueue.tryUnpush ( this ) : java.util.concurrent.ForkJoinPool.tryExternalUnpush ( this ) ; }

Target:
public boolean tryUnfork ( ) { java.lang.Thread t ; return ( t = java.lang.Thread.currentThread ( ) ) instanceof java.util.concurrent.ForkJoinWorkerThread ? ( ( java.util.concurrent.ForkJoinWorkerThread ) ( t ) ) . workQueue.tryUnpush ( this ) : java.util.concurrent.ForkJoinPool.common.tryExternalUnpush ( this ) ; }
Source:
public void restorePipSize ( ) { setPipSize ( com.android.tv.util.TvSettings.getPipSize ( mContext ) , false ) ; }

Target:
public void startShrunkenTvView ( ) { mIsUnderShrunkenTvView = true ; mTvView.setIsUnderShrunken ( true ) ; mTvViewStartMarginBeforeShrunken = mTvViewStartMargin ; mTvViewEndMarginBeforeShrunken = mTvViewEndMargin ; setTvViewMargin ( mTvViewShrunkenStartMargin , mTvViewShrunkenEndMargin ) ; mDisplayModeBeforeShrunken = setDisplayMode ( DisplayMode.MODE_NORMAL , false , true ) ; }
Source:
public boolean visit ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationLiteral annotationLiteral ) { print ( "@" ) ; printTypeName ( annotationLiteral.getType ( ) ) ; lparen ( ) ; java.util.List < com.android.jack.ir.ast.JNameValuePair > nameValuePairs = new java.util.ArrayList < com.android.jack.ir.ast.JNameValuePair > ( annotationLiteral.getNameValuePairs ( ) ) ; java.util.Collections.sort ( nameValuePairs , new java.util.Comparator < com.android.jack.ir.ast.JNameValuePair > ( ) { @ java.lang.Override public int compare ( com.android.jack.ir.ast.JNameValuePair nameValuePair1 , com.android.jack.ir.ast.JNameValuePair nameValuePair2 ) { return nameValuePair1.getName ( ) . compareTo ( nameValuePair2.getName ( ) ) ; } } ) ; visitCollectionWithCommas ( nameValuePairs.iterator ( ) ) ; rparen ( ) ; return false ; }

Target:
protected void printMethodHeader ( com.android.jack.ir.ast.JMethod x ) { print ( com.android.jack.ir.ast.JModifier.getStringMethodModifier ( x.getModifier ( ) ) ) ; print ( formatter.getName ( x ) ) ; }
Source:
public void notExecuted ( ) { setResultStatus ( TestStatus.NOT_EXECUTED ) ; }

Target:
public void setRetry ( boolean isRetry ) { mIsRetry = isRetry ; }
Source:
public com.android.sched.util.location.Location getLocation ( ) { return new com.android.sched.util.location.DirectoryLocation ( getNativePath ( ) ) ; }

Target:
public java.lang.String getDescription ( ) { return "directory on disk" ; }
Source:
public void add ( com.google.common.collect.LinkedListMultimap.Node < K , V > e ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public void set ( java.util.Map.Entry < K , V > e ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public static void setForTesting ( com.android.dialer.spam.SpamBindings spamBindings ) { com.android.dialer.spam.Spam.spamBindings = spamBindings ; }

Target:
void checkGlobalSpamListStatus ( java.lang.String number , @ android.support.annotation.Nullable java.lang.String countryIso , @ android.support.annotation.NonNull com.android.dialer.spam.Spam.Listener listener ) ;
Source:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , float value ) { checkNameAndAppend ( name ) . append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper addValue ( char value ) { return addHolder ( java.lang.String.valueOf ( value ) ) ; }
Source:
public void close ( ) throws java.io.IOException { flush ( ) ; out.close ( ) ; }

Target:
public void close ( ) throws java.io.IOException { flush ( ) ; out.close ( ) ; warnOnceWhenWriting = true ; }
Source:
void run ( com.android.dialer.precall.PreCallCoordinator coordinator ) ;

Target:
void runWithUi ( com.android.dialer.precall.PreCallCoordinator coordinator ) ;
Source:
public static int ReturnInt33 ( ) { long imm = 33L ; return ( ( int ) ( imm ) ) ; }

Target:
public static double ReturnDouble99P25 ( ) { float imm = Main.$inline$float ( 99.25F ) ; return ( ( double ) ( imm ) ) ; }
Source:
public android.telephony.VisualVoicemailSmsFilterSettings getActiveVisualVoicemailSmsFilterSettings ( int subId ) { enforceReadPrivilegedPermission ( ) ; return com.android.phone.VisualVoicemailSmsFilterConfig.getActiveVisualVoicemailSmsFilterSettings ( mPhone.getContext ( ) , subId ) ; }

Target:
public android.telephony.VisualVoicemailSmsFilterSettings getVisualVoicemailSmsFilterSettings ( java.lang.String callingPackage , int subId ) { mAppOps.checkPackage ( android.os.Binder.getCallingUid ( ) , callingPackage ) ; return com.android.phone.vvm.VisualVoicemailSmsFilterConfig.getVisualVoicemailSmsFilterSettings ( mPhone.getContext ( ) , callingPackage , subId ) ; }
Source:
void setupOnBoot ( ) { android.telephony.SubscriptionManager.from ( mContext ) . addOnSubscriptionsChangedListener ( mOnSubscriptionsChangedListener ) ; mTelephonyManager.listen ( mPhoneStateListener , PhoneStateListener.LISTEN_SERVICE_STATE ) ; }

Target:
void setupOnBoot ( ) { android.telephony.SubscriptionManager.from ( mContext ) . addOnSubscriptionsChangedListener ( mOnSubscriptionsChangedListener ) ; mTelephonyManager.listen ( mPhoneStateListener , PhoneStateListener.LISTEN_SERVICE_STATE ) ; mContext.registerReceiver ( mUserSwitchedReceiver , new android.content.IntentFilter ( android.content.Intent.ACTION_USER_SWITCHED ) ) ; }
Source:
static int getEvents ( long eventAddress ) { return sun.nio.ch.EPoll.unsafe.getInt$ ( ( eventAddress + ( sun.nio.ch.EPoll.OFFSETOF_EVENTS ) ) ) ; }

Target:
static int getEvents ( long eventAddress ) { return sun.nio.ch.EPoll.unsafe.getInt ( ( eventAddress + ( sun.nio.ch.EPoll.OFFSETOF_EVENTS ) ) ) ; }
Source:
public com.android.layoutlib.api.SceneResult getResult ( java.lang.String errorMessage ) { return new com.android.layoutlib.api.SceneResult ( this , errorMessage , null ) ; }

Target:
public com.android.layoutlib.api.SceneResult createResult ( java.lang.String errorMessage ) { return new com.android.layoutlib.api.SceneResult ( this , errorMessage , null ) ; }
Source:
public java.util.List < com.android.sdkuilib.internal.repository.sdkman2.PkgCategory > getCategories ( ) { return mCategories ; }

Target:
public java.util.List < com.android.sdkuilib.internal.repository.core.PkgCategory > getCategories ( ) { return mCategories ; }
Source:
public void debugPrintf ( java.lang.String msg , java.lang.Object ... params ) { com.android.ide.eclipse.adt.AdtPlugin.printToConsole ( ( ( mFqcn ) == null ? "Groovy" : mFqcn ) , java.lang.String.format ( msg , params ) ) ; }

Target:
public void debugPrintf ( java.lang.String msg , java.lang.Object ... params ) { com.android.ide.eclipse.adt.AdtPlugin.printToConsole ( ( ( mFqcn ) == null ? "<unknown>" : mFqcn ) , java.lang.String.format ( msg , params ) ) ; }
Source:
protected void beforeDebuggeeStart ( org.apache.harmony.jpda.tests.jdwp.share.JDWPUnitDebuggeeWrapper debuggeeWrapper ) { settings.setAttachConnectorKind ( ) ; if ( ( settings.getTransportAddress ( ) ) == null ) { settings.setTransportAddress ( TestOptions.DEFAULT_ATTACHING_ADDRESS ) ; } logWriter.println ( "ATTACH connector kind" ) ; super . beforeDebuggeeStart ( debuggeeWrapper ) ; }

Target:
protected void beforeConnectionSetUp ( ) { settings.setAttachConnectorKind ( ) ; if ( ( settings.getTransportAddress ( ) ) == null ) { settings.setTransportAddress ( TestOptions.DEFAULT_ATTACHING_ADDRESS ) ; } logWriter.println ( "ATTACH connector kind" ) ; super . beforeConnectionSetUp ( ) ; }