auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void provideConstructorArguments ( java.util.List < org.apache.harmony.jpda.tests.framework.jdwp.Value > constructorArguments ) { long debuggeeClassId = getClassIDBySignature ( getDebuggeeClassSignature ( ) ) ; org.apache.harmony.jpda.tests.framework.jdwp.Value testStringValue = getStaticFieldValue ( debuggeeClassId , "TEST_STRING" ) ; constructorArguments.add ( testStringValue ) ; }

Target:
public void provideConstructorArguments ( java.util.List < org.apache.harmony.jpda.tests.framework.jdwp.Value > constructorArguments ) { long debuggeeClassId = getClassIDBySignature ( getDebuggeeClassSignature ( ) ) ; org.apache.harmony.jpda.tests.framework.jdwp.Value stringBufferValue = getStaticFieldValue ( debuggeeClassId , "STRING_BUFFER" ) ; constructorArguments.add ( stringBufferValue ) ; }
Source:
native long rsnScriptKernelIDCreate ( long con , long sid , int slot , int sig ) ;

Target:
native void rsnScriptForEach ( long con , long incCon , long id , int slot , long ain , long aout , byte [ ] params , boolean mUseInc ) ;
Source:
public void testProguardRandomName ( ) throws java.lang.Exception { assertEquals ( ( "myfile.txt:21: Error: Obsolete ProGuard file; use -keepclasseswithmembers " + ( ( ( ( ( "instead of -keepclasseswithmembernames\n" + "myfile.txt:8: Warning: Local ProGuard configuration contains general " ) + "Android configuration: Inherit these settings instead? Modify " ) + "project.properties to define proguard.config=${sdk.dir}/tools/proguard/" ) + "proguard-android.txt:myfile.txt and then keep only project-specific " ) + "configuration here" ) ) , lintProject ( "proguard.cfg=>myfile.txt" , "proguard.properties=>project.properties" ) ) ; }

Target:
public void testProguardRandomName ( ) throws java.lang.Exception { assertEquals ( ( "myfile.txt:21: Error: Obsolete ProGuard file; use -keepclasseswithmembers instead of -keepclasseswithmembernames [Proguard]\n" + ( ( ( ( ( ( "-keepclasseswithmembernames class * {\n" + "^\n" ) + "myfile.txt:8: Warning: Local ProGuard configuration contains general Android configuration: Inherit these settings instead? Modify project.properties to define proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:myfile.txt and then keep only project-specific configuration here [ProguardSplit]\n" ) + "-keep public class * extends android.app.Activity\n" ) + "^\n" ) + "1 errors, 1 warnings\n" ) + "" ) ) , lintProject ( "proguard.cfg=>myfile.txt" , "proguard.properties=>project.properties" ) ) ; }
Source:
protected com.android.tools.lint.detector.api.Project createProject ( @ com.android.annotations.NonNull java.io.File dir , @ com.android.annotations.NonNull java.io.File referenceDir ) { return new com.android.build.gradle.internal.LintGradleProject ( this , dir , referenceDir ) ; }

Target:
protected com.android.tools.lint.client.api.LintRequest createLintRequest ( @ com.android.annotations.NonNull java.util.List < java.io.File > files ) { return new com.android.build.gradle.internal.LintGradleRequest ( this , mModelProject , mPlugin , mVariantName , files ) ; }
Source:
public java.lang.String getNai ( ) { return getNai ( getDefaultSim ( ) ) ; }

Target:
public java.lang.String getDeviceSoftwareVersion ( ) { return getDeviceSoftwareVersion ( getSlotIndex ( ) ) ; }
Source:
public void addParam ( com.android.jack.ir.ast.JParameter parameter ) { params.add ( parameter ) ; }

Target:
public void addParam ( com.android.jack.ir.ast.JParameter parameter ) { params.add ( parameter ) ; hasPolymorphicSignature = com.android.jack.util.TriStateBoolean.UNDEFINED ; }
Source:
public static native java.lang.String toUpperCase ( java.lang.String s , java.lang.String localeName ) ;

Target:
public static java.lang.String toUpperCase ( java.lang.String s , java.util.Locale locale ) { return libcore.icu.ICU.toUpperCase ( s , locale.toLanguageTag ( ) ) ; }
Source:
public int tether ( java.lang.String iface ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }

Target:
public int tether ( java.lang.String iface , java.lang.String callerPkg ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }
Source:
public void onConnectionPropertiesChanged ( com.android.server.telecom.Call call ) { updateCall ( call ) ; }

Target:
public void onConnectionPropertiesChanged ( com.android.server.telecom.Call call , boolean didRttChange ) { updateCall ( call , false , didRttChange ) ; }
Source:
public void validateUpdateParameterWithoutServerUri ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.UpdateParameter updateParam = android.net.wifi.hotspot2.pps.UpdateParameterTest.createUpdateParameter ( ) ; updateParam.serverUri = null ; org.junit.Assert.assertFalse ( updateParam.validate ( ) ) ; }

Target:
public void validateUpdateParameterWithoutServerUri ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.UpdateParameter updateParam = android.net.wifi.hotspot2.pps.UpdateParameterTest.createUpdateParameter ( ) ; updateParam.setServerUri ( null ) ; org.junit.Assert.assertFalse ( updateParam.validate ( ) ) ; }
Source:
public static long UShr0 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg > > > 0 ; }

Target:
public static long $noinline$UShr0 ( long arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg > > > 0 ; }
Source:
public void startImmediately ( ) { start ( ) ; if ( mStarted ) { if ( com.android.tv.data.epg.EpgFetcher.DEBUG ) android.util.Log.d ( com.android.tv.data.epg.EpgFetcher.TAG , "Starting fetcher immediately" ) ; fetchEpg ( ) ; } }

Target:
public void onChannelScanFinished ( ) { mScanningChannels = false ; start ( ) ; }
Source:
public boolean removePasspointConfiguration ( java.lang.String fqdn ) { enforceChangePermission ( ) ; return mPasspointManager.removeProvider ( fqdn ) ; }

Target:
public boolean removePasspointConfiguration ( java.lang.String fqdn ) { enforceChangePermission ( ) ; mLog.trace ( "removePasspointConfiguration uid=%" ) . c ( android.os.Binder.getCallingUid ( ) ) . flush ( ) ; return mPasspointManager.removeProvider ( fqdn ) ; }
Source:
public void projectOpenedWithWorkspace ( org.eclipse.core.resources.IProject project ) { try { if ( project.hasNature ( AndroidConstants.NATURE ) ) { loadAndParseRClass ( project ) ; } } catch ( org.eclipse.core.runtime.CoreException e ) { } }

Target:
public void projectOpenedWithWorkspace ( org.eclipse.core.resources.IProject project ) { try { if ( project.hasNature ( AndroidConstants.NATURE_DEFAULT ) ) { loadAndParseRClass ( project ) ; } } catch ( org.eclipse.core.runtime.CoreException e ) { } }
Source:
public void logVerbose ( java.lang.String log ) { if ( acceptLog ( log ) ) { mSdkLog.printf ( " %1$s" , log ) ; } }

Target:
public void logVerbose ( java.lang.String log ) { if ( acceptLog ( log ) ) { mSdkLog.verbose ( " %1$s" , log ) ; } }
Source:
public java.util.List < com.android.jack.ir.ast.JLocal > getCatchLocals ( ) { return catchLocals ; }

Target:
public java.util.List < com.android.jack.ir.ast.JLocal > getCatchLocals ( ) { return com.android.jack.Jack.getUnmodifiableCollections ( ) . getUnmodifiableList ( catchLocals ) ; }
Source:
public static boolean isInternalArrayType ( java.lang.String internalType ) { return ( ( internalType.length ( ) ) > 1 ) && ( ( internalType.charAt ( 0 ) ) == ( proguard.classfile.ClassConstants.INTERNAL_TYPE_ARRAY ) ) ; }

Target:
public static boolean isInternalArrayType ( java.lang.String internalType ) { return ( ( internalType.length ( ) ) > 1 ) && ( ( internalType.charAt ( 0 ) ) == ( ClassConstants.TYPE_ARRAY ) ) ; }
Source:
public com.android.jack.tools.merger.JackMerger next ( ) { currentIdx = getNextMergerIdx ( currentIdx ) ; return mergers.get ( currentIdx ) ; }

Target:
public com.android.jack.tools.merger.JackMerger next ( int firstTypeIndex ) { currentIdx = getNextMergerIdx ( currentIdx , firstTypeIndex ) ; return mergers.get ( currentIdx ) ; }
Source:
private void sendErrorResponse ( android.os.Message onComplete ) { android.telephony.Rlog.d ( com.android.internal.telephony.imsphone.ImsPhone.LOG_TAG , "sendErrorResponse" ) ; if ( onComplete != null ) { android.os.AsyncResult.forMessage ( onComplete , null , new com.android.internal.telephony.CommandException ( CommandException.Error.GENERIC_FAILURE ) ) ; onComplete.sendToTarget ( ) ; } }

Target:
private void sendErrorResponse ( android.os.Message onComplete ) { logd ( "sendErrorResponse" ) ; if ( onComplete != null ) { android.os.AsyncResult.forMessage ( onComplete , null , new com.android.internal.telephony.CommandException ( CommandException.Error.GENERIC_FAILURE ) ) ; onComplete.sendToTarget ( ) ; } }
Source:
public boolean onPreferenceClick ( android.support.v7.preference.Preference preference ) { com.android.traceur.AtraceUtils.atraceDumpAndSendInBackground ( getContext ( ) , com.android.traceur.Receiver.getActiveTags ( getContext ( ) , mPrefs , true ) ) ; return true ; }

Target:
public boolean onPreferenceClick ( android.support.v7.preference.Preference preference ) { com.android.traceur.Receiver.updateQuickswitch ( getContext ( ) ) ; return true ; }
Source:
private void run ( ) { if ( secondary ) { if ( ! ( Main.TEST_REMOTE_UNWINDING ) ) { throw new java.lang.RuntimeException ( "Should not be running secondary!" ) ; } runSecondary ( ) ; } else { runPrimary ( ) ; } }

Target:
private void run ( ) { if ( secondary ) { if ( ! ( testRemote ) ) { throw new java.lang.RuntimeException ( "Should not be running secondary!" ) ; } runSecondary ( ) ; } else { runPrimary ( ) ; } }
Source:
public javax.net.ssl.SSLSocket createSocket ( java.net.Socket s , java.lang.String host , int port , boolean autoClose ) throws java.io.IOException { hostNameUsed.set ( host ) ; return ( ( javax.net.ssl.SSLSocket ) ( this . delegate.createSocket ( s , host , port , autoClose ) ) ) ; }

Target:
private libcore.javax.net.ssl.TestSSLContext createDefaultTestSSLContext ( ) { libcore.javax.net.ssl.TestSSLContext result = libcore.javax.net.ssl.TestSSLContext.create ( ) ; testSSLContextsToClose.add ( result ) ; return result ; }
Source:
public java.lang.Character getLetter ( ) { return this . mLetter ; }

Target:
public java.lang.Character getLetter ( ) { return this . letter ; }
Source:
public boolean isUp ( ) throws java.net.SocketException { return ( ( getFlags ( ) ) & ( IFF_UP ) ) != 0 ; }

Target:
public boolean isUp ( ) throws java.net.SocketException { final int mask = ( IFF_UP ) | ( IFF_RUNNING ) ; return ( ( getFlags ( ) ) & mask ) == mask ; }
Source:
public com.android.jack.library.OutputJackLibrary getOutputJackLibrary ( ) { return getOutputJackLibraryFromVfs ( ) ; }

Target:
public com.android.jack.library.OutputJackLibrary getOutputJackLibrary ( ) { return outputJackLibrary ; }
Source:
public void testUnderscore ( ) throws java.lang.Exception { java.net.URI uri = new java.net.URI ( "http://a_b.c.d.net/" ) ; assertEquals ( "a_b.c.d.net" , uri.getAuthority ( ) ) ; assertNull ( uri.getHost ( ) ) ; }

Target:
public void testUnderscore ( ) throws java.lang.Exception { java.net.URI uri = new java.net.URI ( "http://a_b.c.d.net/" ) ; assertEquals ( "a_b.c.d.net" , uri.getAuthority ( ) ) ; assertEquals ( "a_b.c.d.net" , uri.getHost ( ) ) ; }
Source:
public static void computeModf ( android.renderscript.cts.TestModf.ArgumentsFloatFloatFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 12 ; args.outIret = ( ( int ) ( args.inX ) ) ; args.out = ( args.inX ) - ( args.outIret ) ; }

Target:
public static void computeLdexp ( android.renderscript.cts.TestLdexp.ArgumentsFloatIntFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.ldexp ( args.inX , args.inY ) , 0 , 1 ) ; }
Source:
public com.android.jack.ir.ast.JSession getSession ( ) { return enclosingPackage.getSession ( ) ; }

Target:
public void setName ( @ javax.annotation.Nonnull java.lang.String name ) { enclosingPackage.removeItemWithName ( this ) ; super . setName ( name ) ; }
Source:
public com.android.sched.vfs.InputOutputVDir getRootInputOutputVDir ( ) { assert ( root ) != null ; return root ; }

Target:
public com.android.sched.vfs.InputOutputVDir getRootDir ( ) { assert ( root ) != null ; return root ; }
Source:
public static int getPlaceholderCount ( java.lang.String compiledPattern ) { return compiledPattern.charAt ( 0 ) ; }

Target:
public static int getArgumentLimit ( java.lang.String compiledPattern ) { return compiledPattern.charAt ( 0 ) ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { refreshViewerInput ( ) ; }

Target:
public void doubleClick ( org.eclipse.jface.viewers.DoubleClickEvent event ) { onTreeDoubleClick ( event ) ; }
Source:
private void showConfirmDialog ( ) { com.android.tv.dvr.DvrUiHelper.StartSeriesScheduledDialogActivity ( getContext ( ) , mSeriesRecording , mShowViewScheduleOptionInDialog ) ; finishGuidedStepFragments ( ) ; }

Target:
private void showConfirmDialog ( ) { com.android.tv.dvr.ui.DvrUiHelper.StartSeriesScheduledDialogActivity ( getContext ( ) , mSeriesRecording , mShowViewScheduleOptionInDialog , mPrograms ) ; finishGuidedStepFragments ( ) ; }
Source:
private void addElement ( @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlockElement element ) { assert ! ( sealed ) ; this . block.appendElement ( element ) ; this . sealed = element.isTerminal ( ) ; }

Target:
private void addElement ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JStatement statement , @ javax.annotation.Nonnull com.android.jack.ir.ast.cfg.JBasicBlockElement element ) { assert ! ( sealed ) ; this . elements.put ( element , statement ) ; this . block.appendElement ( element ) ; this . sealed = element.isTerminal ( ) ; }
Source:
void setIsVoipAudioMode ( java.lang.String callId , boolean isVoip ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.setIsVoipAudioMode ( callId , isVoip ) ; } catch ( android.os.RemoteException e ) { } } }

Target:
void setIsVoipAudioMode ( java.lang.String callId , boolean isVoip ) { for ( com.android.internal.telecom.IConnectionServiceAdapter adapter : mAdapters ) { try { adapter.setIsVoipAudioMode ( callId , isVoip , android.telecom.Log.getExternalSession ( ) ) ; } catch ( android.os.RemoteException e ) { } } }
Source:
public void onChange ( boolean selfChange ) { android.util.Log.d ( com.android.bluetooth.pbap.BluetoothPbapService.TAG , " onChange on contact uri " ) ; if ( BluetoothPbapUtils.sContactsLoaded ) { if ( ! ( mSessionStatusHandler.hasMessages ( com.android.bluetooth.pbap.BluetoothPbapService.CHECK_SECONDARY_VERSION_COUNTER ) ) ) { mSessionStatusHandler.sendMessage ( mSessionStatusHandler.obtainMessage ( com.android.bluetooth.pbap.BluetoothPbapService.CHECK_SECONDARY_VERSION_COUNTER ) ) ; } } }

Target:
public void onChange ( boolean selfChange ) { android.util.Log.d ( com.android.bluetooth.pbap.BluetoothPbapService.TAG , " onChange on contact uri " ) ; sendUpdateRequest ( ) ; }
Source:
public com.android.ide.common.res2.MergingException setFile ( @ com.android.annotations.NonNull java.io.File file ) { for ( com.android.ide.common.blame.FilePosition filePosition : mFilePositions ) { if ( filePosition.getSourceFile ( ) . equals ( file ) ) { return this ; } } addFile ( file ) ; return this ; }

Target:
public com.android.ide.common.res2.MergingException setFile ( @ com.android.annotations.NonNull java.io.File file ) { for ( com.android.ide.common.blame.SourceFilePosition filePosition : mFilePositions ) { if ( file.equals ( filePosition.getFile ( ) . getSourceFile ( ) ) ) { return this ; } } addFile ( file ) ; return this ; }
Source:
public boolean apply ( java.util.Map.Entry < R , V > entry ) { return ! ( c.contains ( entry.getKey ( ) ) ) ; }

Target:
java.util.Collection < V > createValues ( ) { return new Values ( ) ; }
Source:
public static < K , V > org.hamcrest.Matcher < java.util.Map < K , V > > hasValue ( org.hamcrest.Matcher < V > valueMatcher ) { return org.hamcrest.collection.IsMapContaining.hasEntry ( org.hamcrest.core.IsAnything.< K > anything ( ) , valueMatcher ) ; }

Target:
public static < K > org.hamcrest.Matcher < java.util.Map < ? extends K , ? > > hasKey ( K key ) { return new org.hamcrest.collection.IsMapContaining < K , java.lang.Object > ( org.hamcrest.collection.IsMapContaining.equalTo ( key ) , org.hamcrest.collection.IsMapContaining.anything ( ) ) ; }
Source:
public com.android.jack.test.toolchain.IToolchain build ( ) { return new com.android.jack.test.toolchain.LegacyJillToolchain ( com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jill" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jack" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jarjar" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "proguard" ) ) ; }

Target:
public com.android.jack.test.toolchain.IToolchain build ( ) { return new com.android.jack.test.toolchain.LegacyJillToolchain ( com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "legacy-java-compiler" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jill" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jack" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jarjar" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "proguard" ) ) ; }
Source:
protected void finalize ( ) throws java.lang.Throwable { try { libcore.icu.NativeBreakIterator.closeBreakIteratorImpl ( this . address ) ; } finally { super . finalize ( ) ; } }

Target:
protected void finalize ( ) throws java.lang.Throwable { try { libcore.icu.NativeBreakIterator.closeImpl ( this . address ) ; } finally { super . finalize ( ) ; } }
Source:
public java.util.List < com.android.jack.server.PackageLevel > getLevels ( ) { return java.util.Arrays.asList ( new com.android.jack.server.PackageLevel ( "" , java.util.logging.Level.FINEST ) ) ; }

Target:
public java.util.List < com.android.sched.util.log.LoggerConfiguration.PackageLevel > getLevels ( ) { return java.util.Arrays.asList ( new com.android.sched.util.log.LoggerConfiguration.PackageLevel ( "" , java.util.logging.Level.FINEST ) ) ; }
Source:
private java.lang.reflect.Type resolveGenericArrayType ( java.lang.reflect.GenericArrayType type ) { java.lang.reflect.Type componentType = resolveType ( type.getGenericComponentType ( ) ) ; return com.google.common.reflect.Types.newArrayType ( componentType ) ; }

Target:
private java.lang.reflect.Type resolveGenericArrayType ( java.lang.reflect.GenericArrayType type ) { java.lang.reflect.Type componentType = type.getGenericComponentType ( ) ; java.lang.reflect.Type resolvedComponentType = resolveType ( componentType ) ; return com.google.common.reflect.Types.newArrayType ( resolvedComponentType ) ; }
Source:
public java.lang.String getOtaSpNumberSchema ( java.lang.String defaultValue ) { int phoneId = android.telephony.TelephonyManager.getDefaultPhone ( ) ; return getOtaSpNumberSchemaForPhone ( phoneId , defaultValue ) ; }

Target:
public java.lang.String getOtaSpNumberSchema ( java.lang.String defaultValue ) { int phoneId = getPhoneId ( ) ; return getOtaSpNumberSchemaForPhone ( phoneId , defaultValue ) ; }
Source:
public static synchronized java.util.Set < java.lang.String > getAvailableTypes ( ) { return java.util.Collections.unmodifiableSet ( com.ibm.icu.util.MeasureUnit.cache.keySet ( ) ) ; }

Target:
public static synchronized java.util.Set < java.lang.String > getAvailableTypes ( ) { com.ibm.icu.util.MeasureUnit.populateCache ( ) ; return java.util.Collections.unmodifiableSet ( com.ibm.icu.util.MeasureUnit.cache.keySet ( ) ) ; }
Source:
public static java.util.Set < java.lang.String > getAvailableLocaleNameSet ( ) { return android.icu.impl.ICUResourceBundle.getAvailableLocaleNameSet ( android.icu.impl.ICUResourceBundle.ICU_BASE_NAME , android.icu.impl.ICUResourceBundle.ICU_DATA_CLASS_LOADER ) ; }

Target:
public static final android.icu.util.ULocale [ ] getAvailableULocales ( ) { return android.icu.impl.ICUResourceBundle.getAvailableULocales ( ICUData.ICU_BASE_NAME , android.icu.impl.ICUResourceBundle.ICU_DATA_CLASS_LOADER ) ; }
Source:
public void setEnable ( boolean enabled ) { mEnabled = enabled ; }

Target:
public void setEnabled ( boolean enabled ) { mEnabled = enabled ; }
Source:
static float $opt$ShortToFloat ( short a ) { return ( ( float ) ( a ) ) ; }

Target:
static long $opt$IntToLong ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( long ) ( a ) ) ; }
Source:
public com.android.apksig.SigningCertificateLineage build ( ) { return new com.android.apksig.SigningCertificateLineage ( ) ; }

Target:
public com.android.apksig.SigningCertificateLineage.SignerCapabilities build ( ) { return new com.android.apksig.SigningCertificateLineage.SignerCapabilities ( mFlags ) ; }
Source:
public static void computeExp ( android.renderscript.cts.TestExp.ArgumentsFloatFloat args ) { args.ulf = 3 ; args.ulfRelaxed = 16 ; args.out = ( ( float ) ( java.lang.StrictMath.exp ( args.in ) ) ) ; }

Target:
public static void computeLog10 ( android.renderscript.cts.TestLog10.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.log10 ( args.in ) , 3 , 16 ) ; }
Source:
public java.util.List < java.lang.String > getApplicableMethodNames ( ) { return java.util.Arrays.asList ( com.android.tools.lint.checks.CleanupDetector.BEGIN_TRANSACTION , com.android.tools.lint.checks.CleanupDetector.OBTAIN , com.android.tools.lint.checks.CleanupDetector.OBTAIN_NO_HISTORY , com.android.tools.lint.checks.CleanupDetector.OBTAIN_STYLED_ATTRIBUTES , com.android.tools.lint.checks.CleanupDetector.OBTAIN_ATTRIBUTES , com.android.tools.lint.checks.CleanupDetector.OBTAIN_TYPED_ARRAY , com.android.tools.lint.checks.CleanupDetector.ACQUIRE_CPC , com.android.tools.lint.checks.CleanupDetector.QUERY , com.android.tools.lint.checks.CleanupDetector.RAW_QUERY , com.android.tools.lint.checks.CleanupDetector.QUERY_WITH_FACTORY , com.android.tools.lint.checks.CleanupDetector.RAW_QUERY_WITH_FACTORY ) ; }

Target:
public java.util.List < java.lang.String > getApplicableMethodNames ( ) { return java.util.Arrays.asList ( com.android.tools.lint.checks.CleanupDetector.BEGIN_TRANSACTION , com.android.tools.lint.checks.CleanupDetector.OBTAIN , com.android.tools.lint.checks.CleanupDetector.OBTAIN_NO_HISTORY , com.android.tools.lint.checks.CleanupDetector.OBTAIN_STYLED_ATTRIBUTES , com.android.tools.lint.checks.CleanupDetector.OBTAIN_ATTRIBUTES , com.android.tools.lint.checks.CleanupDetector.OBTAIN_TYPED_ARRAY , com.android.tools.lint.checks.CleanupDetector.ACQUIRE_CPC , com.android.tools.lint.checks.CleanupDetector.QUERY , com.android.tools.lint.checks.CleanupDetector.RAW_QUERY , com.android.tools.lint.checks.CleanupDetector.QUERY_WITH_FACTORY , com.android.tools.lint.checks.CleanupDetector.RAW_QUERY_WITH_FACTORY , com.android.tools.lint.checks.CleanupDetector.EDIT ) ; }
Source:
public void testCommit ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( ( ( ( ( ( ( ( ( ( "src/test/pkg/CommitTest.java:25: Warning: This transaction should be completed with a commit() call [CommitTransaction]\n" + " getFragmentManager().beginTransaction(); // Missing commit\n" ) + " ~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/CommitTest.java:30: Warning: This transaction should be completed with a commit() call [CommitTransaction]\n" ) + " FragmentTransaction transaction2 = getFragmentManager().beginTransaction(); // Missing commit\n" ) + " ~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/CommitTest.java:39: Warning: This transaction should be completed with a commit() call [CommitTransaction]\n" ) + " getFragmentManager().beginTransaction(); // Missing commit\n" ) + " ~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/CommitTest.java:65: Warning: This transaction should be completed with a commit() call [Recycle]\n" ) + " getSupportFragmentManager().beginTransaction();\n" ) + " ~~~~~~~~~~~~~~~~\n" ) + "0 errors, 4 warnings\n" ) ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk4.xml=>AndroidManifest.xml" , "project.properties1=>project.properties" , "bytecode/CommitTest.java.txt=>src/test/pkg/CommitTest.java" , "bytecode/CommitTest.class.data=>bin/classes/test/pkg/CommitTest.class" ) ) ; }

Target:
public void testCommit2 ( ) throws java.lang.Exception { assertEquals ( ( "" + "No warnings." ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk4.xml=>AndroidManifest.xml" , "project.properties19=>project.properties" , "bytecode/DialogFragment.class.data=>bin/classes/test/pkg/DialogFragment.class" , "appcompat/Fragment.java.txt=>src/android/support/v4/app/Fragment.java" , "appcompat/DialogFragment.java.txt=>src/android/support/v4/app/DialogFragment.java" , "appcompat/FragmentTransaction.java.txt=>src/android/support/v4/app/FragmentTransaction.java" , "appcompat/FragmentManager.java.txt=>src/android/support/v4/app/FragmentManager.java" ) ) ; }
Source:
public final byte get ( int index ) { checkNotFreed ( ) ; checkIndex ( index ) ; return this . block.peekByte ( ( ( offset ) + index ) ) ; }

Target:
public final byte get ( int index ) { checkIsAccessible ( ) ; checkIndex ( index ) ; return this . block.peekByte ( ( ( offset ) + index ) ) ; }
Source:
public void setImageUrl ( java.lang.String url , com.android.volley.toolbox.ImageLoader imageLoader ) { mUrl = url ; mImageLoader = imageLoader ; loadImageIfNecessary ( false ) ; }

Target:
public void setImageUrl ( java.lang.String url , com.android.volley.toolbox.ImageLoader imageLoader ) { com.android.volley.toolbox.Threads.throwIfNotOnMainThread ( ) ; mUrl = url ; mImageLoader = imageLoader ; loadImageIfNecessary ( false ) ; }
Source:
public void connectionEventFailedDoesNotCrashIfEnableFileIsMissing ( ) throws java.lang.Exception { mTraceEnableFile.delete ( ) ; mLastMileLogger.reportConnectionEvent ( BaseWifiDiagnostics.CONNECTION_EVENT_FAILED ) ; }

Target:
public void connectionEventFailedDoesNotCrashIfEnableFileIsMissing ( ) throws java.lang.Exception { mTraceEnableFile.delete ( ) ; mLastMileLogger.reportConnectionEvent ( com.android.server.wifi.LastMileLoggerTest.FAKE_CONNECTION_ID , BaseWifiDiagnostics.CONNECTION_EVENT_FAILED ) ; }
Source:
public void test1 ( ) { com.android.utils.HtmlBuilder builder = new com.android.utils.HtmlBuilder ( ) ; builder.add ( "Plain." ) ; builder.addLink ( " (link) " , "runnable:0" ) ; builder.add ( "Plain." ) ; assertEquals ( "Plain. <A HREF=\"runnable:0\">(link)</A>Plain." , builder.getHtml ( ) ) ; }

Target:
public void testAddLink ( ) { com.android.utils.HtmlBuilder builder = new com.android.utils.HtmlBuilder ( ) ; builder.add ( "Plain." ) ; builder.addLink ( " (link) " , "runnable:0" ) ; builder.add ( "Plain." ) ; assertEquals ( "Plain. <A HREF=\"runnable:0\">(link)</A>Plain." , builder.getHtml ( ) ) ; }
Source:
public native java.lang.Object invoke ( java.lang.Object receiver , java.lang.Object ... args ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException , java.lang.reflect.InvocationTargetException ;

Target:
public java.lang.Object invoke ( java.lang.Object receiver , java.lang.Object ... args ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException , java.lang.reflect.InvocationTargetException { return invoke ( receiver , args , isAccessible ( ) ) ; }
Source:
public void mediaDescriptionUpdated ( ) throws android.os.RemoteException { listener.mediaDescriptionUpdated ( ) ; }

Target:
public void onMediaDescriptionUpdated ( ) { try { listener.mediaDescriptionUpdated ( ) ; } catch ( android.os.RemoteException e ) { onAppCallbackDied ( uid , subscriptionId ) ; } }
Source:
public void warning ( java.lang.String warningFormat , java.lang.Object ... args ) { java.lang.System.out.printf ( ( "Warning: " + warningFormat ) , args ) ; if ( ! ( warningFormat.endsWith ( "\n" ) ) ) { java.lang.System.out.printf ( "\n" ) ; } }

Target:
private void createLogger ( ) { mSdkLog = new com.android.utils.StdLogger ( StdLogger.Level.VERBOSE ) ; }
Source:
public void endTrace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField field ) { composedStatus.pop ( ) ; for ( com.android.jack.analysis.tracer.TracerBrush config : brushes ) { config.endTrace ( field ) ; } }

Target:
public void endTrace ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JField field ) { composedStatus.pop ( ) ; for ( com.android.jack.analysis.tracer.TracerBrush brush : brushes ) { brush.endTrace ( field ) ; } }
Source:
public void mergeAppDataDirs ( android.content.pm.ApplicationInfo ai , int userId ) { java.util.Set < java.lang.String > dataDirs = com.android.server.pm.dex.DexManager.putIfAbsent ( mAppDataDirs , userId , new java.util.HashSet < > ( ) ) ; dataDirs.add ( ai.dataDir ) ; }

Target:
public void mergeAppDataDirs ( java.lang.String dataDir , int userId ) { java.util.Set < java.lang.String > dataDirs = com.android.server.pm.dex.DexManager.putIfAbsent ( mAppDataDirs , userId , new java.util.HashSet < > ( ) ) ; dataDirs.add ( dataDir ) ; }
Source:
public void testGetServiceStateWithDefaultSubId ( ) { verifyServiceStateForSubId ( SubscriptionManager.DEFAULT_SUBSCRIPTION_ID , testServiceState ) ; }

Target:
public void testQueryServiceStateWithNoSubId ( ) { verifyServiceStateForSubId ( ServiceStateTable.CONTENT_URI , testServiceState ) ; }
Source:
private boolean visitNonThrowingPrimitiveRValue ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JExpression expr ) { assert ! ( expr.canThrow ( ) ) ; confirmBlockElement ( expr ) ; confirmParentForPrimitive ( expr ) ; confirmNotAssignmentTarget ( expr ) ; return true ; }

Target:
private boolean visitThrowingRValue ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JExpression expr ) { assert expr.canThrow ( ) ; confirmBlockElement ( expr ) ; confirmThrowingIsAllowed ( expr ) ; confirmVariableAssignmentRhs ( expr , com.android.jack.ir.ast.cfg.JVariableAsgBlockElement.class ) ; return true ; }
Source:
public void setDataEnabled ( boolean enable ) { setDataEnabled ( getSubId ( ) , enable ) ; }

Target:
public void setDataEnabled ( boolean enable ) { setDataEnabled ( getSubId ( android.telephony.SubscriptionManager.getDefaultDataSubscriptionId ( ) ) , enable ) ; }
Source:
protected java.util.Iterator < java.util.Map.Entry < K , V > > delegate ( ) { return delegate ; }

Target:
protected java.util.Set < E > delegate ( ) { return set ; }
Source:
public void setIncludeAttachments ( boolean includeAttachments ) { this . includeAttachments = includeAttachments ; }

Target:
public void setIncludeAttachments ( boolean includeAttachments ) { this . mIncludeAttachments = includeAttachments ; }
Source:
public synchronized void onPlaybackStateChanged ( android.media.session.PlaybackState state ) { if ( com.android.bluetooth.avrcp.Avrcp.DEBUG ) android.util.Log.v ( com.android.bluetooth.avrcp.Avrcp.TAG , ( "onPlaybackStateChanged: state " + ( state.toString ( ) ) ) ) ; scheduleMediaUpdate ( ) ; }

Target:
public void onMetadataChanged ( android.media.MediaMetadata metadata ) { if ( com.android.bluetooth.avrcp.Avrcp.DEBUG ) { android.util.Log.v ( com.android.bluetooth.avrcp.Avrcp.TAG , "onMetadataChanged" ) ; } updateCurrentMediaState ( ) ; }
Source:
public java.lang.String getCdmaMdn ( ) { return getCdmaMdn ( android.telephony.TelephonyManager.getDefaultSubscription ( ) ) ; }

Target:
private int getSubId ( int preferredSubId ) { if ( android.telephony.SubscriptionManager.isUsableSubIdValue ( mSubId ) ) { return mSubId ; } return preferredSubId ; }
Source:
public static com.android.jack.library.InputJackLibrary getInputJackLibraryFromDir ( @ javax.annotation.Nonnull java.io.File dir ) { return new com.android.jack.library.InputJackLibraryCodec ( ) . parseString ( new com.android.sched.util.codec.CodecContext ( ) , dir.getPath ( ) ) ; }

Target:
public static com.android.jack.library.InputJackLibrary getInputJackLibrary ( @ javax.annotation.Nonnull java.io.File dirOrZip ) { return new com.android.jack.library.InputJackLibraryCodec ( ) . parseString ( new com.android.sched.util.codec.CodecContext ( ) , dirOrZip.getPath ( ) ) ; }
Source:
public void sendRttRequest ( ) { try { mAdapter.sendRttRequest ( ) ; } catch ( android.os.RemoteException ignored ) { } }

Target:
public void sendRttRequest ( java.lang.String callId ) { try { mAdapter.sendRttRequest ( callId ) ; } catch ( android.os.RemoteException ignored ) { } }
Source:
public static com.android.cts.verifier.TestListAdapter.TestListItem newTest ( java.lang.String title , java.lang.String testName , android.content.Intent intent ) { return new com.android.cts.verifier.TestListAdapter.TestListItem ( title , testName , intent ) ; }

Target:
public static com.android.cts.verifier.TestListAdapter.TestListItem newTest ( java.lang.String title , java.lang.String testName , android.content.Intent intent , java.lang.String [ ] requiredFeatures , java.lang.String [ ] excludedFeatures ) { return new com.android.cts.verifier.TestListAdapter.TestListItem ( title , testName , intent , requiredFeatures , excludedFeatures , null ) ; }
Source:
private void updateAvdList ( com.android.sdklib.internal.avd.AvdManager avdManager ) { if ( avdManager == null ) { avdManager = com.android.ide.eclipse.adt.internal.sdk.Sdk.getCurrent ( ) . getAvdManager ( ) ; } mPreferredAvdSelector.setManager ( avdManager ) ; mPreferredAvdSelector.setFilter ( mProjectTarget ) ; mPreferredAvdSelector.refresh ( false ) ; }

Target:
public void cleanup ( ) { }
Source:
public void testForName_NotSupported ( ) { try { java.nio.charset.Charset.forName ( "impossible" ) ; fail ( "Should throw UnsupportedCharsetException!" ) ; } catch ( java.nio.charset.UnsupportedCharsetException e ) { } }

Target:
public void test_Shift_JIS_replacement_character ( ) throws java.lang.Exception { assertDecodes ( java.nio.charset.Charset.forName ( "Shift_JIS" ) , "�" , 252 ) ; assertEncodes ( java.nio.charset.Charset.forName ( "Shift_JIS" ) , "�" , 252 ) ; }
Source:
private static com.android.build.SplitOutput computeBestOutput ( @ com.android.annotations.NonNull java.util.List < ? extends com.android.build.SplitOutput > outputs , int density , @ com.android.annotations.NonNull java.lang.String ... abis ) { return com.android.ide.common.build.SplitOutputMatcher.computeBestOutput ( outputs , density , java.util.Arrays.asList ( abis ) ) ; }

Target:
private static com.android.build.SplitOutput computeBestOutput ( @ com.android.annotations.NonNull java.util.List < ? extends com.android.build.SplitOutput > outputs , int density , @ com.android.annotations.NonNull java.lang.String ... abis ) { return com.android.ide.common.build.SplitOutputMatcher.computeBestOutput ( outputs , java.util.Collections.< java.lang.String > emptySet ( ) , density , java.util.Arrays.asList ( abis ) ) ; }
Source:
static long $opt$CharToLong ( int a ) { return ( ( long ) ( a ) ) ; }

Target:
static long $opt$IntToLong ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( long ) ( a ) ) ; }
Source:
private void sortClassElements ( ) { programClassPool.classesAccept ( new proguard.classfile.editor.ClassElementSorter ( ) ) ; }

Target:
private void clearPreverification ( ) { programClassPool.classesAccept ( new proguard.ClassVersionFilter ( ClassConstants.CLASS_VERSION_1_6 , new proguard.AllMethodVisitor ( new proguard.classfile.attribute.visitor.AllAttributeVisitor ( new proguard.NamedAttributeDeleter ( ClassConstants.ATTR_StackMapTable ) ) ) ) ) ; }
Source:
public java.lang.String getAdditionalProposalInfo ( ) { return ( "Provides more information about this issue." + "<br><br>" ) + ( com.android.ide.eclipse.adt.internal.lint.EclipseLintClient.getRegistry ( ) . getIssue ( mId ) . getExplanation ( OutputFormat.HTML ) ) ; }

Target:
public java.lang.String getAdditionalProposalInfo ( ) { return ( "Provides more information about this issue." + "<br><br>" ) + ( com.android.ide.eclipse.adt.internal.lint.EclipseLintClient.getRegistry ( ) . getIssue ( mId ) . getExplanation ( TextFormat.HTML ) ) ; }
Source:
public com.android.sdklib.internal.androidTarget.IOptionalLibrary [ ] getOptionalLibraries ( ) { return null ; }

Target:
public java.util.List < com.android.sdklib.internal.androidTarget.OptionalLibrary > getOptionalLibraries ( ) { return com.google.common.collect.ImmutableList.of ( ) ; }
Source:
public void onClick ( android.view.View v ) { android.content.Intent intent = new android.content.Intent ( "com.android.settings.OEM_RADIO_INFO" ) ; try { startActivity ( intent ) ; } catch ( com.android.settings.android ex ) { log ( ( "OEM-specific Info/Settings Activity Not Found : " + ex ) ) ; } }

Target:
public void onClick ( android.view.View v ) { phone.disableDnsCheck ( ( ! ( phone.isDnsCheckDisabled ( ) ) ) ) ; updateDnsCheckState ( ) ; }
Source:
private static com.android.jack.test.toolchain.AbstractTestTools.ToolchainBuilder getToolchainBuilder ( @ javax.annotation.Nonnull java.lang.String toolchainName ) { com.android.jack.test.toolchain.AbstractTestTools.ToolchainBuilder toolchainBuilder = com.android.jack.test.toolchain.AbstractTestTools.toolchainBuilders.get ( toolchainName ) ; if ( toolchainBuilder == null ) { throw new com.android.jack.test.TestConfigurationException ( ( ( "Unknown toolchain: '" + toolchainName ) + "'" ) ) ; } return toolchainBuilder ; }

Target:
public static java.io.File getAndroidSdkLocation ( ) { return new java.io.File ( com.android.jack.test.TestsProperties.getProperty ( com.android.jack.test.toolchain.AbstractTestTools.ANDROID_SDK_KEY ) ) ; }
Source:
static void asLongs ( byte [ ] x , long [ ] z ) { org.bouncycastle.crypto.util.Pack.bigEndianToLong ( x , 0 , z ) ; }

Target:
public static void asLongs ( byte [ ] x , long [ ] z ) { org.bouncycastle.util.Pack.bigEndianToLong ( x , 0 , z ) ; }
Source:
public static native boolean BN_add_word ( int a , int w ) ;

Target:
public static native boolean BN_mul_word ( long a , int w ) ;
Source:
public static native void EVP_SignUpdate ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , byte [ ] buffer , int offset , int length ) ;

Target:
public static native void EVP_DigestSignUpdateDirect ( org.conscrypt.NativeRef.EVP_MD_CTX ctx , long ptr , int length ) ;
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mDevice = getDevice ( ) ; android.wm.cts.a225de Merge ; android.wm.cts.into noug ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mDevice = getDevice ( ) ; if ( ! ( supportsDragAndDrop ( ) ) ) { return ; } mSourcePackageName = android.wm.cts.CrossAppDragAndDropTests.SOURCE_PACKAGE_NAME ; mTargetPackageName = android.wm.cts.CrossAppDragAndDropTests.TARGET_PACKAGE_NAME ; }
Source:
public void onDelete ( ) { }

Target:
private void cutSelectionToClipboard ( java.util.List < com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasSelection > selection ) { copySelectionToClipboard ( selection ) ; deleteSelection ( mCutAction.getText ( ) , selection ) ; }
Source:
public void matchProviderWithNoProvidersInstalled ( ) throws java.lang.Exception { java.util.List < android.util.Pair < com.android.server.wifi.hotspot2.PasspointProvider , com.android.server.wifi.hotspot2.PasspointMatch > > result = mManager.matchProvider ( createMockScanDetail ( ) ) ; org.junit.Assert.assertTrue ( result.isEmpty ( ) ) ; }

Target:
public void matchProviderWithNoProvidersInstalled ( ) throws java.lang.Exception { java.util.List < android.util.Pair < com.android.server.wifi.hotspot2.PasspointProvider , com.android.server.wifi.hotspot2.PasspointMatch > > result = mManager.matchProvider ( createTestScanResult ( ) ) ; org.junit.Assert.assertTrue ( result.isEmpty ( ) ) ; }
Source:
public int updateCallWaiting ( boolean enable , int serviceClass ) throws android.os.RemoteException { return - 1 ; }

Target:
public int updateCallBarring ( int cbType , int action , java.lang.String [ ] barrList ) { return - 1 ; }
Source:
public long computeCurrentTcpBytesSent ( ) { return ( mCurrentTcpBytesSent ) + ( ( mStartedTcpBytesSent ) >= 0 ? ( android.os.NetStat.getUidTxBytes ( mUid ) ) - ( mStartedTcpBytesSent ) : 0 ) ; }

Target:
public long computeCurrentTcpBytesSent ( ) { return ( mCurrentTcpBytesSent ) + ( ( mStartedTcpBytesSent ) >= 0 ? ( android.net.TrafficStats.getUidTxBytes ( mUid ) ) - ( mStartedTcpBytesSent ) : 0 ) ; }
Source:
public void visit ( int version , int access , java.lang.String name , java.lang.String signature , java.lang.String superName , java.lang.String [ ] interfaces ) { com.google.common.base.Preconditions.checkArgument ( com.google.devtools.build.android.desugar.BitFlags.isSet ( access , Opcodes.ACC_INTERFACE ) ) ; }

Target:
public void visit ( int version , int access , java.lang.String name , java.lang.String signature , java.lang.String superName , java.lang.String [ ] interfaces ) { com.google.common.base.Preconditions.checkArgument ( com.google.devtools.build.android.desugar.io.BitFlags.isSet ( access , Opcodes.ACC_INTERFACE ) ) ; }
Source:
public java.util.List < java.lang.Class < ? extends lombok.ast.Node > > getApplicableNodeTypes ( ) { if ( com.android.tools.lint.checks.CommentDetector.USE_AST ) { return java.util.Collections.< java.lang.Class < ? extends lombok.ast.Node > > singletonList ( lombok.ast.Comment.class ) ; } else { return null ; } }

Target:
public java.util.List < java.lang.Class < ? extends com.intellij.psi.PsiElement > > getApplicablePsiTypes ( ) { if ( com.android.tools.lint.checks.CommentDetector.USE_AST ) { return java.util.Collections.< java.lang.Class < ? extends com.intellij.psi.PsiElement > > singletonList ( com.intellij.psi.PsiLiteralExpression.class ) ; } else { return null ; } }
Source:
public void onCreate ( @ android.support.annotation.Nullable android.os.Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; preCallCoordinator = new com.android.dialer.precall.impl.PreCallCoordinatorImpl ( this ) ; preCallCoordinator.onCreate ( getIntent ( ) , savedInstanceState ) ; }

Target:
public void onCreate ( @ android.support.annotation.Nullable android.os.Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; preCallCoordinator = new com.android.dialer.precall.impl.PreCallCoordinatorImpl ( this ) ; preCallCoordinator.onCreate ( getIntent ( ) , savedInstanceState ) ; getWindow ( ) . addFlags ( LayoutParams.FLAG_SHOW_WHEN_LOCKED ) ; }
Source:
public java.net.HttpURLConnection connect ( com.google.mockwebserver.MockWebServer server , java.net.URL url ) throws java.io.IOException { }

Target:
public java.net.HttpURLConnection connect ( com.google.mockwebserver.MockWebServer server , java.net.URL url ) throws java.io.IOException { return ( ( java.net.HttpURLConnection ) ( url.openConnection ( java.net.Proxy.NO_PROXY ) ) ) ; }
Source:
public void callSessionUpdateReceived ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsCallProfile imsCallProfile ) throws android.os.RemoteException { mNewListener.callSessionUpdateReceived ( imsCallProfile ) ; }

Target:
public void callSessionStarted ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsCallProfile imsCallProfile ) throws android.os.RemoteException { mNewListener.callSessionInitiated ( imsCallProfile ) ; }
Source:
public final void onTestRunEnd ( com.android.tradefed.device.metric.DeviceMetricData runData ) { if ( ( mTimer ) != null ) { mTimer.cancel ( ) ; mTimer.purge ( ) ; } onEnd ( runData ) ; com.android.tradefed.log.LogUtil.CLog.d ( "finished" ) ; }

Target:
public final void onTestRunEnd ( com.android.tradefed.device.metric.DeviceMetricData runData ) { if ( ( mTimer ) != null ) { mTimer.cancel ( ) ; mTimer.purge ( ) ; } onEnd ( runData ) ; com.android.tradefed.log.LogUtil.CLog.d ( "onTestRunEnd" ) ; }
Source:
public void visitDeprecatedAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.DeprecatedAttribute deprecatedAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { deprecatedAttribute.accept ( clazz , method , optionalAttributeVisitor ) ; } }

Target:
public void visitSyntheticAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.SyntheticAttribute syntheticAttribute ) { if ( ( optionalAttributeVisitor ) != null ) { optionalAttributeVisitor.visitSyntheticAttribute ( clazz , syntheticAttribute ) ; } }
Source:
public java.lang.String dump ( ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) { return "AdapterService is null" ; } return service.dump ( ) ; }

Target:
public void dump ( android.os.ParcelFileDescriptor fd ) { com.android.bluetooth.btservice.AdapterService service = getService ( ) ; if ( service == null ) return ; service.dump ( fd.getFileDescriptor ( ) ) ; }
Source:
public com.android.ahat.heapdump.Value get ( int index ) { com.android.ahat.heapdump.AhatInstance obj = insts [ index ] ; return obj == null ? null : new com.android.ahat.heapdump.Value ( insts [ index ] ) ; }

Target:
public com.android.ahat.heapdump.Value get ( int index ) { return com.android.ahat.heapdump.Value.pack ( insts [ index ] ) ; }
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_ |= 8 ; 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_ |= 8 ; branch_ = value ; onChanged ( ) ; return this ; }
Source:
void hangupWaitingOrBackground ( ) { if ( com.android.internal.telephony.Phone.DEBUG_PHONE ) log ( "hangupWaitingOrBackground" ) ; cm.hangupWaitingOrBackground ( obtainCompleteMessage ( ) ) ; }

Target:
void hangupForegroundResumeBackground ( ) { if ( com.android.internal.telephony.Phone.DEBUG_PHONE ) log ( "hangupForegroundResumeBackground" ) ; mCi.hangupForegroundResumeBackground ( obtainCompleteMessage ( ) ) ; }
Source:
public static void run ( ) { art.Test982.doTest ( new art.Test982.Transform ( ) ) ; }

Target:
public static void run ( ) { art.Redefinition.setTestConfiguration ( Redefinition.Config.COMMON_RETRANSFORM ) ; art.Test982.doTest ( new art.Test982.Transform ( ) ) ; }
Source:
public static java.lang.String clearProperty ( java.lang.String name ) { java.lang.System.checkPropertyName ( name ) ; return ( ( java.lang.String ) ( java.lang.System.getProperties ( ) . remove ( name ) ) ) ; }

Target:
public static java.lang.String setProperty ( java.lang.String name , java.lang.String value ) { java.lang.System.checkPropertyName ( name ) ; return ( ( java.lang.String ) ( java.lang.System.systemProperties.setProperty ( name , value ) ) ) ; }
Source:
public void setCaCertificate ( java.lang.String alias ) { setFieldValue ( android.net.wifi.WifiEnterpriseConfig.CA_CERT_KEY , alias , android.net.wifi.WifiEnterpriseConfig.CA_CERT_PREFIX ) ; }

Target:
public void setCaCertificateAlias ( java.lang.String alias ) { setFieldValue ( android.net.wifi.WifiEnterpriseConfig.CA_CERT_KEY , alias , android.net.wifi.WifiEnterpriseConfig.CA_CERT_PREFIX ) ; }
Source:
public void testUnusedAttributes ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "res/layout/divider.xml:9: Warning: Attribute \"showDividers\" is only used in API level 11 and higher (current min is 4) [UnusedAttribute]\n" + " android:showDividers=\"middle\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "apicheck/minsdk4.xml=>AndroidManifest.xml" , "res/layout/labelfor.xml" , "res/layout/edit_textview.xml" , "apicheck/divider.xml=>res/layout/divider.xml" ) ) ; }

Target:
public void testUnusedAttributes ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "res/layout/divider.xml:9: Warning: Attribute showDividers is only used in API level 11 and higher (current min is 4) [UnusedAttribute]\n" + " android:showDividers=\"middle\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 1 warnings\n" ) ) , lintProject ( "apicheck/minsdk4.xml=>AndroidManifest.xml" , "res/layout/labelfor.xml" , "res/layout/edit_textview.xml" , "apicheck/divider.xml=>res/layout/divider.xml" ) ) ; }
Source:
public static long ReturnLong0 ( ) { double imm = - ( java.lang.Double.NaN ) ; return ( ( long ) ( imm ) ) ; }

Target:
public static long ReturnLong0 ( ) { double imm = Main.$inline$double ( ( - ( java.lang.Double.NaN ) ) ) ; return ( ( long ) ( imm ) ) ; }
Source:
public void onCallPlacedFromSearch ( ) { closeSearch ( false ) ; }

Target:
public void onActivityPause ( ) { if ( closeSearchOnPause ) { closeSearchOnPause = false ; if ( isInSearch ( ) ) { closeSearch ( false ) ; } } }