auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public boolean hasAlternativeName ( @ javax.annotation.Nonnull java.lang.String oldName ) { return ( ( br ) != null ) && ( defaultNameProvider.hasAlternativeName ( oldName ) ) ; }

Target:
public boolean hasAlternativeName ( @ javax.annotation.Nonnull com.android.jack.shrob.obfuscation.key.Key oldKey ) { return ( ( br ) != null ) && ( defaultNameProvider.hasAlternativeName ( oldKey ) ) ; }
Source:
protected void buildJackCall ( @ javax.annotation.Nonnull java.util.List < java.lang.String > args ) { args.add ( com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jack-script" ) . getAbsolutePath ( ) ) ; }

Target:
protected void buildJackCall ( @ javax.annotation.Nonnull java.util.List < java.lang.String > commandLine ) { commandLine.add ( com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jack-script" ) . getAbsolutePath ( ) ) ; }
Source:
public java.lang.String getActiveScorerPackage ( ) { android.net.NetworkScorerAppManager.NetworkScorerAppData app = new android.net.NetworkScorerAppManager ( mContext ) . getActiveScorer ( ) ; if ( app == null ) { return null ; } return app.packageName ; }

Target:
public java.lang.String getActiveScorerPackage ( ) { try { return mService.getActiveScorerPackage ( ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
protected void fillRtTestInfos ( ) { rtTestInfos.add ( TEST007 ) ; }

Target:
protected void fillRtTestInfos ( ) { rtTestInfos.add ( TEST001 ) ; rtTestInfos.add ( TEST002 ) ; rtTestInfos.add ( TEST006 ) ; rtTestInfos.add ( TEST007 ) ; rtTestInfos.add ( TEST010 ) ; }
Source:
public void run ( ) { if ( ( mCallback ) != null ) { mCallback.onPhyRead ( this , txPhy , rxPhy , status ) ; } }

Target:
public void run ( ) { final android.bluetooth.BluetoothGattCallback callback = mCallback ; if ( callback != null ) { callback.onPhyRead ( this , txPhy , rxPhy , status ) ; } }
Source:
private int getSlotIdFromPhoneId ( int phoneId ) { return phoneId ; }

Target:
public com.android.internal.telephony.uicc.UiccCard getUiccCardForPhone ( int phoneId ) { synchronized ( com.android.internal.telephony.uicc.UiccController.mLock ) { com.android.internal.telephony.uicc.UiccSlot uiccSlot = getUiccSlotForPhone ( phoneId ) ; if ( uiccSlot != null ) { return uiccSlot.getUiccCard ( ) ; } return null ; } }
Source:
public void onTextChanged ( java.lang.CharSequence s , int start , int before , int count ) { onUserInteraction ( ) ; }

Target:
public void beforeTextChanged ( java.lang.CharSequence s , int start , int count , int after ) { }
Source:
public boolean isDumping ( int type ) { if ( ( mTypes ) == 0 ) { return true ; } return ( ( mTypes ) & type ) != 0 ; }

Target:
public boolean isDumping ( int type ) { if ( ( ( mTypes ) == 0 ) && ( type != ( com.android.server.pm.PackageManagerService.DumpState.DUMP_PREFERRED_XML ) ) ) { return true ; } return ( ( mTypes ) & type ) != 0 ; }
Source:
public void readContent ( @ javax.annotation.Nonnull com.android.jack.jayce.v0003.io.JayceInternalReaderImpl in ) throws java.io.IOException { retentionPolicy = in.readRetentionPolicyEnum ( ) ; annotationType = in.readId ( ) ; elements = in.readNodes ( com.android.jack.jayce.v0003.nodes.NNameValuePair.class ) ; }

Target:
public void readContent ( @ javax.annotation.Nonnull com.android.jack.jayce.v0003.io.JayceInternalReaderImpl in ) throws java.io.IOException { retentionPolicy = in.readRetentionPolicyEnum ( ) ; annotationType = in.readId ( ) ; elements = in.readNodes ( com.android.jack.jayce.v0003.nodes.NNameValuePair.class ) ; markers = in.readNodes ( com.android.jack.jayce.v0003.nodes.NMarker.class ) ; }
Source:
public java.lang.String toString ( ) { return descriptor ; }

Target:
public com.android.jack.dx.dex.file.ValueEncoder.ValueType getEncodedValueType ( ) { return com.android.jack.dx.dex.file.ValueEncoder.ValueType.VALUE_TYPE ; }
Source:
public boolean onPrepareOptionsMenu ( android.view.Menu menu ) { if ( ! ( mShowAllIncoming ) ) { boolean showClear = ( getClearableCount ( ) ) > 0 ; menu.findItem ( R.id.transfer_menu_clear_all ) . setEnabled ( showClear ) ; } return super . onPrepareOptionsMenu ( menu ) ; }

Target:
public boolean onPrepareOptionsMenu ( android.view.Menu menu ) { if ( ! ( mShowAllIncoming ) ) { menu.findItem ( R.id.transfer_menu_clear_all ) . setEnabled ( isTransferComplete ( ) ) ; } return super . onPrepareOptionsMenu ( menu ) ; }
Source:
public static void computeLdexp ( android.renderscript.cts.TestLdexp.ArgumentsFloatIntFloat args ) { args.ulf = 4 ; args.ulfRelaxed = 12 ; args.out = ( ( float ) ( ( args.inX ) * ( java.lang.StrictMath.pow ( 2.0 , args.inY ) ) ) ) ; }

Target:
public static void computeAcosh ( android.renderscript.cts.TestAcosh.ArgumentsFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.acosh ( args.in ) , 4 , 128 ) ; }
Source:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , double value ) { checkNameAndAppend ( name ) . append ( value ) ; return this ; }

Target:
public com.google.common.base.Objects.ToStringHelper add ( java.lang.String name , double value ) { return addHolder ( name , java.lang.String.valueOf ( value ) ) ; }
Source:
public void projectOpenedWithWorkspace ( org.eclipse.core.resources.IProject project ) { onProjectOpened ( project , false ) ; }

Target:
public void projectOpened ( org.eclipse.core.resources.IProject project ) { onProjectOpened ( project ) ; }
Source:
private void addChild ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo child ) { mChildren.add ( child ) ; }

Target:
public boolean removeChild ( com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo child ) { return mChildren.remove ( child ) ; }
Source:
public void hideBootMessages ( ) { mHandler.post ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { if ( ( mBootMsgDialog ) != null ) { mBootMsgDialog.dismiss ( ) ; mBootMsgDialog = null ; } } } ) ; }

Target:
public void hideBootMessages ( ) { mHandler.sendEmptyMessage ( com.android.internal.policy.impl.PhoneWindowManager.MSG_HIDE_BOOT_MESSAGE ) ; }
Source:
public void onCreate ( android.os.Bundle arguments ) { android.support.multidex.MultiDex.install ( getTargetContext ( ) ) ; super . onCreate ( arguments ) ; }

Target:
public void onCreate ( android.os.Bundle arguments ) { android.support.multidex.MultiDex.installInstrumentation ( getContext ( ) , getTargetContext ( ) ) ; super . onCreate ( arguments ) ; }
Source:
public void onRemovalError ( android.hardware.fingerprint.Fingerprint fp , int errMsgId , java.lang.CharSequence errString ) { final android.app.Activity activity = getActivity ( ) ; if ( activity != null ) { android.widget.Toast.makeText ( activity , errString , Toast.LENGTH_SHORT ) ; } }

Target:
public void onRemovalError ( android.hardware.fingerprint.Fingerprint fp , int errMsgId , java.lang.CharSequence errString ) { final android.app.Activity activity = getActivity ( ) ; if ( activity != null ) { android.widget.Toast.makeText ( activity , errString , Toast.LENGTH_SHORT ) ; } updateDialog ( ) ; }
Source:
public void execute ( org.gradle.logging.StyledTextOutput styledTextOutput ) { getTextOutput ( ) . withStyle ( org.gradle.logging.StyledTextOutput.Style.Identifier ) . text ( variant.getName ( ) ) ; getTextOutput ( ) . withStyle ( org.gradle.logging.StyledTextOutput.Style.Description ) . text ( "" ) ; }

Target:
public void execute ( org.gradle.logging.StyledTextOutput styledTextOutput ) { getTextOutput ( ) . withStyle ( org.gradle.logging.StyledTextOutput.Style.Identifier ) . text ( variantData.getName ( ) ) ; getTextOutput ( ) . withStyle ( org.gradle.logging.StyledTextOutput.Style.Description ) . text ( "" ) ; }
Source:
public void setVersion ( int v ) { if ( ( v != 0 ) && ( v != 1 ) ) { throw new java.lang.IllegalArgumentException ( ) ; } version = v ; }

Target:
public void setVersion ( int newVersion ) { if ( ( newVersion != 0 ) && ( newVersion != 1 ) ) { throw new java.lang.IllegalArgumentException ( ( "Bad version: " + newVersion ) ) ; } version = newVersion ; }
Source:
public void realRun ( ) { while ( ! ( q.hasWaitingConsumer ( ) ) ) java.lang.Thread.yield ( ) ; assertTrue ( q.hasWaitingConsumer ( ) ) ; checkEmpty ( q ) ; assertTrue ( q.tryTransfer ( hotPotato ) ) ; }

Target:
public void realRun ( ) throws java.lang.InterruptedException { q.transfer ( four ) ; assertFalse ( q.contains ( four ) ) ; assertSame ( three , q.poll ( ) ) ; }
Source:
public native boolean setLastModifiedTime ( java.io.File f , long time ) ;

Target:
private native boolean setLastModifiedTime0 ( java.io.File f , long time ) ;
Source:
public java.lang.String getSimCountryIso ( int subId ) { return getSimCountryIsoForSubscription ( subId ) ; }

Target:
public boolean hasIccCard ( ) { return hasIccCard ( getSlotIndex ( ) ) ; }
Source:
public boolean isEmergencyNumber ( java.lang.String number , java.lang.String regionCode ) { return matchesEmergencyNumberHelper ( number , regionCode , false ) ; }

Target:
public boolean isEmergencyNumber ( java.lang.CharSequence number , java.lang.String regionCode ) { return matchesEmergencyNumberHelper ( number , regionCode , false ) ; }
Source:
private static void write ( java.lang.CharSequence from , java.io.File to , java.nio.charset.Charset charset , boolean append ) throws java.io.IOException { com.google.common.io.CharStreams.write ( from , com.google.common.io.Files.newWriterSupplier ( to , charset , append ) ) ; }

Target:
public static com.google.common.collect.TreeTraverser < java.io.File > fileTreeTraverser ( ) { return com.google.common.io.Files.FILE_TREE_TRAVERSER ; }
Source:
com.android.server.wifi.WifiConnectivityManager createConnectivityManager ( ) { return new com.android.server.wifi.WifiConnectivityManager ( mContext , mWifiStateMachine , mWifiScanner , mWifiConfigManager , mWifiInfo , mWifiNS , mScoreCache , mWifiLastResortWatchdog , mWifiMetrics , mLooper.getLooper ( ) , mClock , true ) ; }

Target:
com.android.server.wifi.WifiConnectivityManager createConnectivityManager ( ) { return new com.android.server.wifi.WifiConnectivityManager ( mContext , mWifiStateMachine , mWifiScanner , mWifiConfigManager , mWifiInfo , mWifiNS , mWifiLastResortWatchdog , mWifiMetrics , mLooper.getLooper ( ) , mClock , true , mFrameworkFacade , null , null , null ) ; }
Source:
public java.util.Collection < V > values ( ) { return com.google.common.collect.Collections2.transform ( set , function ) ; }

Target:
java.util.Collection < V > createValues ( ) { return com.google.common.collect.Collections2.transform ( set , function ) ; }
Source:
public java.util.List < java.lang.String > getApplicableMethodNames ( ) { return java.util.Collections.singletonList ( com.android.tools.lint.checks.StringFormatDetector.FORMAT_METHOD ) ; }

Target:
public java.util.List < java.lang.String > getApplicableMethodNames ( ) { return java.util.Arrays.asList ( com.android.tools.lint.checks.StringFormatDetector.FORMAT_METHOD , com.android.tools.lint.checks.StringFormatDetector.GET_STRING_METHOD ) ; }
Source:
public com.android.ims.internal.IImsMultiEndpoint getMultiEndpointInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { return this . getMultiEndpointInterface ( ) ; } }

Target:
public com.android.ims.internal.IImsMultiEndpoint getMultiEndpointInterface ( ) throws android.os.RemoteException { synchronized ( mLock ) { android.telephony.ims.stub.ImsMultiEndpointImplBase implBase = this . getMultiEndpointInterface ( ) ; return implBase != null ? implBase.getIImsMultiEndpoint ( ) : null ; } }
Source:
com.android.tools.rpclib.binary.ObjectTypeID type ( ) ;

Target:
com.android.tools.rpclib.binary.BinaryClass klass ( ) ;
Source:
public int compareTo ( com.android.ide.common.api.IDragElement.IDragAttribute o ) { return com.android.ide.eclipse.adt.internal.editors.uimodel.UiAttributeNode.compareAttributes ( mName , o.getName ( ) ) ; }

Target:
public int compareTo ( com.android.ide.common.api.IDragElement.IDragAttribute o ) { return com.android.ide.common.xml.XmlAttributeSortOrder.compareAttributes ( mName , o.getName ( ) ) ; }
Source:
public boolean isTetheringSupported ( ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }

Target:
public boolean isTetheringSupported ( java.lang.String callerPkg ) { throw new java.lang.RuntimeException ( "not implemented" ) ; }
Source:
public void copyTo ( byte [ ] d ) { validateIsInt8 ( ) ; mRS.validate ( ) ; mRS.nAllocationRead ( getID ( mRS ) , d ) ; }

Target:
public void copyFrom ( byte [ ] d ) { validateIsInt8 ( ) ; copyFromUnchecked ( d , Element.DataType.SIGNED_8 , d.length ) ; }
Source:
public void extendToConference ( java.lang.String [ ] participants ) { }

Target:
public void inviteParticipants ( java.lang.String [ ] participants ) { this . inviteParticipants ( participants ) ; }
Source:
public static com.android.ide.common.blame.FilePosition wholeFile ( @ com.android.annotations.NonNull java.io.File sourceFile ) { return new com.android.ide.common.blame.FilePosition ( sourceFile , SourceFragmentPositionRange.UNKNOWN ) ; }

Target:
public static com.android.ide.common.blame.FilePosition wholeFile ( @ com.android.annotations.NonNull java.io.File sourceFile ) { return new com.android.ide.common.blame.FilePosition ( sourceFile , SourcePosition.UNKNOWN ) ; }
Source:
public com.android.jack.ir.ast.JSession getSession ( ) { return enclosingPackage.getSession ( ) ; }

Target:
public java.util.List < com.android.jack.ir.ast.JMethod > getCallables ( ) { java.util.List < com.android.jack.ir.ast.JMethod > callables = getLambdaMethods ( ) ; callables.addAll ( getMethods ( ) ) ; return callables ; }
Source:
public void testBrokenOrder ( ) throws java.lang.Exception { assertEquals ( ( "AndroidManifest.xml:16: Warning: <uses-sdk> tag appears after <application> " + ( ( ( "tag\n" + "AndroidManifest.xml:16: Warning: <uses-sdk> tag should specify a target API " ) + "level (the highest verified version; when running on later versions, " ) + "compatibility behaviors may be enabled) with android:targetSdkVersion=\"?\"" ) ) , lintProject ( "broken-manifest.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }

Target:
public void testBrokenOrder ( ) throws java.lang.Exception { assertEquals ( ( "AndroidManifest.xml:16: Warning: <uses-sdk> tag appears after <application> tag [ManifestOrder]\n" + ( ( ( ( ( ( " <uses-sdk android:minSdkVersion=\"Froyo\" />\n" + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "AndroidManifest.xml:16: Warning: <uses-sdk> tag should specify a target API level (the highest verified version; when running on later versions, compatibility behaviors may be enabled) with android:targetSdkVersion=\"?\" [UsesMinSdkAttributes]\n" ) + " <uses-sdk android:minSdkVersion=\"Froyo\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "0 errors, 2 warnings\n" ) + "" ) ) , lintProject ( "broken-manifest.xml=>AndroidManifest.xml" , "res/values/strings.xml" ) ) ; }
Source:
private static java.lang.invoke.MethodHandle makeIdentity ( java.lang.Class < ? > ptype ) { throw new java.lang.UnsupportedOperationException ( "MethodHandles.makeIdentity is not implemented" ) ; }

Target:
public static void arrayElementSetter ( int [ ] array , int i , int val ) { array [ i ] = val ; }
Source:
private static int compare64 ( long x , long y ) { return java.lang.Long.compare ( x , y ) ; }

Target:
private static int compareLongs ( long x , long y ) { return java.lang.Long.compare ( x , y ) ; }
Source:
public void onConnected ( ) { mConnState = com.android.bluetooth.avrcp.BrowsedMediaPlayer.CONNECTED ; if ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.DEBUG ) android.util.Log.d ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.TAG , ( "mediaBrowser CONNECTED to " + ( mPackageName ) ) ) ; onBrowseConnect ( ) ; }

Target:
public void onConnected ( ) { mConnState = com.android.bluetooth.avrcp.BrowsedMediaPlayer.CONNECTED ; if ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.DEBUG ) android.util.Log.d ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.TAG , ( "mediaBrowser CONNECTED to " + ( mPackageName ) ) ) ; onBrowseConnect ( mCallbackPackageName , mBrowser ) ; mBrowser = null ; }
Source:
private void readStrings ( com.google.caliper.internal.gson.stream.JsonReader reader , java.util.Set < java.lang.String > output ) throws java.io.IOException { reader.beginArray ( ) ; while ( reader.hasNext ( ) ) { output.add ( reader.nextString ( ) ) ; } reader.endArray ( ) ; }

Target:
private void readStrings ( com.google.gson.stream.JsonReader reader , java.util.Set < java.lang.String > output ) throws java.io.IOException { reader.beginArray ( ) ; while ( reader.hasNext ( ) ) { output.add ( reader.nextString ( ) ) ; } reader.endArray ( ) ; }
Source:
public com.android.tv.dvr.ScheduledRecording getScheduledRecordingForProgramId ( long programId ) { for ( com.android.tv.dvr.ScheduledRecording r : mScheduledRecordings.values ( ) ) { if ( ( r.getProgramId ( ) ) == programId ) { return r ; } } return null ; }

Target:
public com.android.tv.dvr.data.ScheduledRecording getScheduledRecordingForProgramId ( long programId ) { for ( com.android.tv.dvr.data.ScheduledRecording r : mScheduledRecordings.values ( ) ) { if ( ( r.getProgramId ( ) ) == programId ) { return r ; } } return null ; }
Source:
public void endPrefixMapping ( java.lang.String prefix ) { data_endPrefixMapping.append ( prefix ) ; data_endPrefixMapping.append ( tests.api.javax.xml.parsers.SAXParserTestSupport.SEPARATOR_ELEMENT ) ; }

Target:
public void endPrefixMapping ( java.lang.String prefix ) { data_endPrefixMapping.append ( prefix ) ; data_endPrefixMapping.append ( org.apache.harmony.tests.javax.xml.parsers.SAXParserTestSupport.SEPARATOR_ELEMENT ) ; }
Source:
private void reset ( ) { marker = new java.lang.Object ( ) ; markerRef = new java.lang.ref.WeakReference < java.lang.Object > ( marker ) ; }

Target:
private void reset ( ) { marker = new org.apache.harmony.jpda.tests.share.GcMarker.Sentinel ( ) ; markerRef = new java.lang.ref.PhantomReference < org.apache.harmony.jpda.tests.share.GcMarker.Sentinel > ( marker , mQueue ) ; }
Source:
private static libcore.tzdata.update2.TimeZoneBundle createValidTimeZoneBundle ( java.lang.String rulesVersion , java.lang.String androidRevision ) throws java.lang.Exception { return libcore.tzdata.update2.TzDataBundleInstallerTest.createValidTimeZoneBundleBuilder ( rulesVersion , androidRevision ) . build ( ) ; }

Target:
private static libcore.tzdata.update2.TimeZoneBundle createValidTimeZoneBundle ( java.lang.String rulesVersion , java.lang.String androidRevision ) throws java.lang.Exception { return libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundleBuilder ( rulesVersion , androidRevision ) . build ( ) ; }
Source:
public void handle ( com.android.ide.common.api.INode n ) { n.setAttribute ( com.android.ide.common.layout.BaseView.ANDROID_URI , com.android.ide.common.layout.BaseView.ATTR_LAYOUT_HEIGHT , valueId ) ; }

Target:
public void handle ( com.android.ide.common.api.INode n ) { n.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_HEIGHT , valueId ) ; }
Source:
com.android.jack.jayce.FieldNode getFieldNode ( @ javax.annotation.Nonnegative int fieldNodeIndex ) ;

Target:
com.android.jack.jayce.FieldNode getFieldNode ( @ javax.annotation.Nonnull java.lang.String fieldId ) ;
Source:
public int getSpi ( int direction ) { return flow [ direction ] . spi ; }

Target:
public int getSpiResourceId ( int direction ) { return flow [ direction ] . spiResourceId ; }
Source:
public int getGroupingSize ( ) { return libcore.icu.NativeDecimalFormat.getAttribute ( this . address , libcore.icu.NativeDecimalFormat.UNUM_GROUPING_SIZE ) ; }

Target:
public int getGroupingSize ( ) { if ( ! ( isGroupingUsed ( ) ) ) { return 0 ; } return libcore.icu.NativeDecimalFormat.getAttribute ( this . address , libcore.icu.NativeDecimalFormat.UNUM_GROUPING_SIZE ) ; }
Source:
protected javax.net.ssl.SSLSessionContext engineGetClientSessionContext ( ) { return com.google.testing.littlemock.LittleMock.mock ( javax.net.ssl.SSLSessionContext.class ) ; }

Target:
protected javax.net.ssl.SSLSessionContext engineGetClientSessionContext ( ) { return org.mockito.Mockito.mock ( javax.net.ssl.SSLSessionContext.class ) ; }
Source:
public void test_U8_4_SCALE20_05_inSqure ( ) { testReszie ( inX , inX , Element.DataType.UNSIGNED_8 , 4 , 2.0F , 0.5F ) ; }

Target:
public void test_U8_4_SCALE20_05_inSqure ( ) { testResize ( inX , inX , Element.DataType.UNSIGNED_8 , 4 , 2.0F , 0.5F ) ; }
Source:
void process ( ) { for ( com.android.jack.dx.ssa.SsaBasicBlock block : blocks ) { pruneRedundantConditionalBranch ( block ) ; } }

Target:
void process ( ) { method.forEachBlockDepthFirst ( true , new com.android.jack.dx.ssa.SsaBasicBlock.Visitor ( ) { @ java.lang.Override public void visitBlock ( com.android.jack.dx.ssa.SsaBasicBlock block , com.android.jack.dx.ssa.SsaBasicBlock parent ) { pruneRedundantConditionalBranch ( block ) ; } } ) ; }
Source:
public org.chromium.mojo.system.Core.WaitResult wait ( org.chromium.mojo.system.Core.HandleSignals signals , long deadline ) { org.chromium.mojo.system.Core.WaitResult result = new org.chromium.mojo.system.Core.WaitResult ( ) ; result.setMojoResult ( MojoResult.OK ) ; return result ; }

Target:
public org.chromium.mojo.system.Core.HandleSignalsState querySignalsState ( ) { return null ; }
Source:
public void enableAggressiveHandover ( int enabled ) { enforceAccessPermission ( ) ; mWifiStateMachine.enableAggressiveHandover ( enabled ) ; }

Target:
public void enableAggressiveHandover ( int enabled ) { enforceAccessPermission ( ) ; mLog.trace ( "enableAggressiveHandover uid=% enabled=%" ) . c ( android.os.Binder.getCallingUid ( ) ) . c ( enabled ) . flush ( ) ; mWifiStateMachine.enableAggressiveHandover ( enabled ) ; }
Source:
public java.lang.StringBuffer format ( java.math.BigDecimal number , java.lang.StringBuffer toAppendTo , java.text.FieldPosition pos ) { return format ( new android.icu.text.BigDecimal ( number ) , toAppendTo , pos ) ; }

Target:
public java.lang.StringBuffer format ( java.math.BigInteger number , java.lang.StringBuffer toAppendTo , java.text.FieldPosition pos ) { return format ( new android.icu.math.BigDecimal ( number ) , toAppendTo , pos ) ; }
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_4472 ( ) { java.util.regex.Pattern.compile ( "a*.+" ) ; }
Source:
public static com.android.dialer.app.calllog.CallLogListItemViewHolder createForTest ( android.content.Context context ) { return com.android.dialer.app.calllog.CallLogListItemViewHolder.createForTest ( context , null , null ) ; }

Target:
public static com.android.dialer.app.calllog.CallLogListItemViewHolder createForTest ( android.content.Context context ) { return com.android.dialer.app.calllog.CallLogListItemViewHolder.createForTest ( context , null , null , new com.android.dialer.app.calllog.calllogcache.CallLogCache ( context ) ) ; }
Source:
public void setError ( java.lang.String msg , com.android.server.pm.PackageManagerException e ) { returnCode = e.error ; returnMsg = android.util.ExceptionUtils.getCompleteMessage ( msg , e ) ; android.util.Slog.w ( com.android.server.pm.PackageManagerService.TAG , msg , e ) ; }

Target:
public void setError ( java.lang.String msg , com.android.server.pm.PackageManagerException e ) { returnCode = e.error ; setReturnMessage ( android.util.ExceptionUtils.getCompleteMessage ( msg , e ) ) ; android.util.Slog.w ( com.android.server.pm.PackageManagerService.TAG , msg , e ) ; }
Source:
private boolean isInActiveState ( ) { com.android.server.telecom.CallAudioRouteStateMachine.AudioState currentState = ( ( com.android.server.telecom.CallAudioRouteStateMachine.AudioState ) ( getCurrentState ( ) ) ) ; if ( currentState == null ) { com.android.server.telecom.Log.w ( this , "Current state is null, assuming inactive state" ) ; return false ; } return currentState.isActive ( ) ; }

Target:
private boolean isInActiveState ( ) { com.android.server.telecom.CallAudioRouteStateMachine.AudioState currentState = ( ( com.android.server.telecom.CallAudioRouteStateMachine.AudioState ) ( getCurrentState ( ) ) ) ; if ( currentState == null ) { android.telecom.Log.w ( this , "Current state is null, assuming inactive state" ) ; return false ; } return currentState.isActive ( ) ; }
Source:
public java.io.FileInputStream getInput ( ) throws java.io.IOException { return new java.io.FileInputStream ( file ) ; }

Target:
public java.io.FileInputStream openStream ( ) throws java.io.IOException { return new java.io.FileInputStream ( file ) ; }
Source:
public void visitExceptionsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.ExceptionsAttribute exceptionsAttribute ) { if ( ( exceptionsAttribute.u2exceptionIndexTableLength ) > 0 ) { exceptionsAttribute.accept ( clazz , method , attributeVisitor ) ; } }

Target:
public void visitMethodParametersAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Method method , proguard.classfile.attribute.visitor.MethodParametersAttribute exceptionsAttribute ) { if ( ( exceptionsAttribute.u1parametersCount ) > 0 ) { attributeVisitor.visitMethodParametersAttribute ( clazz , method , exceptionsAttribute ) ; } }
Source:
public boolean getAttributeBooleanValue ( int index ) throws com.android.apksigner.AndroidBinXmlParser.XmlParserException { return getAttribute ( index ) . getBooleanValue ( ) ; }

Target:
public boolean getAttributeBooleanValue ( int index ) throws com.android.apksig.apk.AndroidBinXmlParser.XmlParserException { return getAttribute ( index ) . getBooleanValue ( ) ; }
Source:
private synchronized void ensureNetworkCallbackUnregistered ( ) { if ( ( mNetworkCallback ) == null ) { return ; } final android.net.ConnectivityManager.NetworkCallback networkCallback = mNetworkCallback ; mCm.unregisterNetworkCallback ( networkCallback ) ; mNetworkCallback = null ; }

Target:
private static java.lang.String sanitizeURL ( java.net.URL url ) { return android.os.Build.IS_DEBUGGABLE ? java.util.Objects.toString ( url ) : com.android.captiveportallogin.CaptivePortalLoginActivity.host ( url ) ; }
Source:
public native int getInt ( java.lang.Object obj ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
public native short getShort ( java.lang.Object obj ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public void testRegistrationCallbackOnDeregistered ( ) throws android.os.RemoteException { com.android.ims.ImsReasonInfo info = new com.android.ims.ImsReasonInfo ( ) ; mRegistration.onDeregistered ( info ) ; org.mockito.Mockito.verify ( mCallback ) . onDeregistered ( org.mockito.ArgumentMatchers.eq ( info ) ) ; }

Target:
public void testRegistrationCallbackOnDeregistered ( ) throws android.os.RemoteException { android.telephony.ims.ImsReasonInfo info = new android.telephony.ims.ImsReasonInfo ( ) ; mRegistration.onDeregistered ( info ) ; org.mockito.Mockito.verify ( mCallback ) . onDeregistered ( org.mockito.ArgumentMatchers.eq ( info ) ) ; }
Source:
public java.util.List < java.io.File > getInputSources ( ) { if ( ( inputSources ) == null ) { return java.util.Collections.emptyList ( ) ; } return inputSources ; }

Target:
public java.util.List < java.io.File > getInputSources ( ) { return ( inputSources ) == null ? java.util.Collections.< java.io.File > emptyList ( ) : inputSources ; }
Source:
private org.eclipse.swt.graphics.Image getIcon ( com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor desc ) { if ( ( desc != null ) && ( ( desc.getIcon ( ) ) != null ) ) { return desc.getIcon ( ) ; } return com.android.ide.eclipse.adt.AdtPlugin.getAndroidLogo ( ) ; }

Target:
private org.eclipse.swt.graphics.Image getIcon ( com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor desc ) { return desc.getCustomizedIcon ( ) ; }
Source:
public void streamStateUpdated ( int state ) { onStreamStateUpdated ( state ) ; }

Target:
public void streamStateUpdated ( int state , int reason ) { onStreamStateUpdated ( state , reason ) ; }
Source:
private final void ensureActivitiesVisibleLocked ( com.android.server.am.HistoryRecord starting , int configChanges ) { com.android.server.am.HistoryRecord r = topRunningActivityLocked ( null ) ; if ( r != null ) { ensureActivitiesVisibleLocked ( r , starting , null , configChanges ) ; } }

Target:
final void setFocusedActivityLocked ( com.android.server.am.ActivityRecord r ) { if ( ( mFocusedActivity ) != r ) { mFocusedActivity = r ; if ( r != null ) { mWindowManager.setFocusedApp ( r.appToken , true ) ; } } }
Source:
public java.util.Iterator < java.util.Map.Entry < K , java.util.Collection < V > > > iterator ( ) { return entryIterator ( ) ; }

Target:
public java.util.Collection < V > apply ( K key ) { return multimap.get ( key ) ; }
Source:
public int getCallState ( ) { try { com.android.server.telecom.Log.startSession ( "TSI.getCallState" ) ; synchronized ( mLock ) { return mCallsManager.getCallState ( ) ; } } finally { com.android.server.telecom.Log.endSession ( ) ; } }

Target:
public int getCallState ( ) { try { android.telecom.Log.startSession ( "TSI.getCallState" ) ; synchronized ( mLock ) { return mCallsManager.getCallState ( ) ; } } finally { android.telecom.Log.endSession ( ) ; } }
Source:
public void enableLocationUpdates ( ) { enableLocationUpdates ( android.telephony.TelephonyManager.getDefaultSubscription ( ) ) ; }

Target:
public java.lang.String getImei ( ) { return getImei ( getSlotIndex ( ) ) ; }
Source:
private static com.android.build.SplitOutput getOutput ( int densityFilter , java.lang.String abiFilter ) { com.android.resources.Density densityEnum = com.android.resources.Density.getEnum ( densityFilter ) ; return new com.android.ide.common.build.SplitOutputMatcherTest.FakeSplitOutput ( densityEnum.getResourceValue ( ) , abiFilter ) ; }

Target:
private static com.android.build.SplitOutput getDensityOutput ( int densityFilter , int versionCode ) { com.android.resources.Density densityEnum = com.android.resources.Density.getEnum ( densityFilter ) ; return new com.android.ide.common.build.SplitOutputMatcherTest.FakeSplitOutput ( densityEnum.getResourceValue ( ) , null , versionCode ) ; }
Source:
public final void setListener ( android.telephony.ims.ImsCallSessionListener listener ) { setListener ( new android.telephony.ims.compat.stub.ImsCallSessionImplBase.ImsCallSessionListenerConverter ( listener ) ) ; }

Target:
public void setListener ( android.telephony.ims.aidl.IImsCallSessionListener listener ) { }
Source:
native void rsnScriptForEach ( int con , int id , int slot , int ain , int aout , byte [ ] params ) ;

Target:
native void rsnScriptSetVarObj ( long con , long id , int slot , long val ) ;
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.testFieldReflection ( ) ; Main.testMethodReflection ( ) ; Main.testConstructorReflection ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.testFieldReflection ( ) ; Main.testMethodReflection ( ) ; Main.testConstructorReflection ( ) ; Main.testPackagePrivate ( ) ; }
Source:
com.android.ide.eclipse.adt.internal.sdk.LayoutDevice.DeviceConfig getSelectedDeviceConfig ( ) { return ( ( com.android.ide.eclipse.adt.internal.sdk.LayoutDevice.DeviceConfig ) ( mOrientationCombo.getData ( ) ) ) ; }

Target:
com.android.sdklib.devices.State getSelectedDeviceState ( ) { return ( ( com.android.sdklib.devices.State ) ( mOrientationCombo.getData ( ) ) ) ; }
Source:
public static int getIndex ( com.android.sdklib.resources.Keyboard value ) { int i = 0 ; for ( com.android.sdklib.resources.Keyboard input : com.android.sdklib.resources.Keyboard.values ( ) ) { if ( value == input ) { return i ; } i ++ ; } return - 1 ; }

Target:
public static int getIndex ( com.android.resources.Keyboard value ) { int i = 0 ; for ( com.android.resources.Keyboard input : com.android.resources.Keyboard.values ( ) ) { if ( value == input ) { return i ; } i ++ ; } return - 1 ; }
Source:
public java.util.List < android.net.wifi.hotspot2.PasspointConfiguration > getPasspointConfigurations ( ) { return null ; }

Target:
public java.util.List < android.net.wifi.hotspot2.PasspointConfiguration > getPasspointConfigurations ( ) { enforceAccessPermission ( ) ; return mPasspointManager.getProviderConfigs ( ) ; }
Source:
public int is_hardware_backed ( ) throws android.os.RemoteException ;

Target:
public int is_hardware_backed ( java.lang.String string ) throws android.os.RemoteException ;
Source:
public boolean equals ( java.lang.Object o ) { if ( ! ( o instanceof java.text.RuleBasedBreakIterator ) ) { return false ; } return wrapped.equals ( ( ( java.text.RuleBasedBreakIterator ) ( o ) ) . wrapped ) ; }

Target:
public boolean equals ( java.lang.Object o ) { if ( ! ( o instanceof java.text.IcuIteratorWrapper ) ) { return false ; } return wrapped.equals ( ( ( java.text.IcuIteratorWrapper ) ( o ) ) . wrapped ) ; }
Source:
private static com.google.gson.Gson createGson ( ) { com.google.gson.GsonBuilder gsonBuilder = new com.google.gson.GsonBuilder ( ) ; gsonBuilder.registerTypeAdapter ( com.android.ide.common.blame.SourceFragmentPositionRange.class , new com.android.ide.common.blame.SourceFragmentPositionRange.Serializer ( ) ) ; return gsonBuilder.create ( ) ; }

Target:
private static com.google.gson.Gson createGson ( ) { com.google.gson.GsonBuilder gsonBuilder = new com.google.gson.GsonBuilder ( ) ; gsonBuilder.registerTypeAdapter ( com.android.ide.common.blame.SourcePosition.class , new com.android.ide.common.blame.SourcePositionJsonTypeAdapter ( ) ) ; return gsonBuilder.create ( ) ; }
Source:
public void testBoolean ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.bool.config_annoy_dianne ; assertResource ( resId , true , true ) ; }

Target:
public void testBoolean ( ) throws java.lang.Throwable { final int resId = R.bool.always_true ; assertResource ( resId , true , true , true ) ; }
Source:
protected java.lang.Void doInBackground ( java.lang.Void ... unused ) { beginTraceSection ( "ResourceExtractor.ExtractTask.doInBackground" ) ; try { doInBackgroundImpl ( ) ; } finally { endTraceSection ( ) ; } return null ; }

Target:
protected java.lang.Void doInBackground ( java.lang.Void ... unused ) { org.chromium.base.TraceEvent.begin ( "ResourceExtractor.ExtractTask.doInBackground" ) ; try { doInBackgroundImpl ( ) ; } finally { org.chromium.base.TraceEvent.end ( "ResourceExtractor.ExtractTask.doInBackground" ) ; } return null ; }
Source:
public org.w3c.dom.Document parse ( @ com.android.annotations.NonNull java.lang.String xml ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { return parse ( xml , new org.xml.sax.InputSource ( new java.io.StringReader ( xml ) ) , true ) ; }

Target:
public org.w3c.dom.Document parse ( @ com.android.annotations.NonNull java.lang.String xml ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { xml = com.android.utils.XmlUtils.stripBom ( xml ) ; return parse ( xml , new org.xml.sax.InputSource ( new java.io.StringReader ( xml ) ) , true ) ; }
Source:
public void addFile ( com.android.ide.common.resources.ResourceFile file ) { if ( ( mFiles ) == null ) { mFiles = new java.util.ArrayList < com.android.ide.common.resources.ResourceFile > ( ) ; } mFiles.add ( file ) ; }

Target:
protected void dispose ( com.android.ide.common.resources.ScanningContext context ) { if ( ( mFiles ) != null ) { for ( com.android.ide.common.resources.ResourceFile file : mFiles ) { file.dispose ( context ) ; } mFiles.clear ( ) ; mNames.clear ( ) ; } }
Source:
public void testRegistered ( ) throws java.lang.Exception { assertEquals ( ( "HandlerTest.java:12: Warning: This Handler class should be static or leaks might occur (test.pkg.HandlerTest.Inner)\n" + "HandlerTest.java:18: Warning: This Handler class should be static or leaks might occur (test.pkg.HandlerTest.1)" ) , lintProject ( "bytecode/HandlerTest.java.txt=>src/test/pkg/HandlerTest.java" , "bytecode/HandlerTest.class.data=>bin/classes/test/pkg/HandlerTest.class" , "bytecode/HandlerTest$Inner.class.data=>bin/classes/test/pkg/HandlerTest$Inner.class" , "bytecode/HandlerTest$StaticInner.class.data=>bin/classes/test/pkg/HandlerTest$StaticInner.class" , "bytecode/HandlerTest$1.class.data=>bin/classes/test/pkg/HandlerTest$1.class" ) ) ; }

Target:
public void testRegistered ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/HandlerTest.java:12: Warning: This Handler class should be static or leaks might occur (test.pkg.HandlerTest.Inner) [HandlerLeak]\n" + ( ( ( ( ( ( " public class Inner extends Handler { // ERROR\n" + " ~~~~~\n" ) + "src/test/pkg/HandlerTest.java:18: Warning: This Handler class should be static or leaks might occur (test.pkg.HandlerTest.1) [HandlerLeak]\n" ) + " Handler anonymous = new Handler() { // ERROR\n" ) + " ~~~~~~~\n" ) + "0 errors, 2 warnings\n" ) + "" ) ) , lintProject ( "bytecode/HandlerTest.java.txt=>src/test/pkg/HandlerTest.java" , "bytecode/HandlerTest.class.data=>bin/classes/test/pkg/HandlerTest.class" , "bytecode/HandlerTest$Inner.class.data=>bin/classes/test/pkg/HandlerTest$Inner.class" , "bytecode/HandlerTest$StaticInner.class.data=>bin/classes/test/pkg/HandlerTest$StaticInner.class" , "bytecode/HandlerTest$1.class.data=>bin/classes/test/pkg/HandlerTest$1.class" ) ) ; }
Source:
public static native int SSL_new ( int ssl_ctx ) throws javax.net.ssl.SSLException ;

Target:
public static native java.lang.String [ ] get_X509_ext_oids ( long x509ctx , int critical ) ;
Source:
public java.io.File getRenderscriptLibOutputDir ( ) { return new java.io.File ( globalScope.getGeneratedDir ( ) , ( ( "rs/" + ( variantData.getVariantConfiguration ( ) . getDirName ( ) ) ) + "/lib" ) ) ; }

Target:
public java.io.File getRenderscriptLibOutputDir ( ) { return new java.io.File ( globalScope.getIntermediatesDir ( ) , ( ( "rs/" + ( variantData.getVariantConfiguration ( ) . getDirName ( ) ) ) + "/lib" ) ) ; }
Source:
public static int Shr24And255 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > 24 ) & 255 ; }

Target:
public static int $noinline$Shr24And255 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( arg > > 24 ) & 255 ; }
Source:
final boolean cas ( long cmp , long val ) { return com.google.common.cache.Striped64.Cell.valueUpdater.compareAndSet ( this , cmp , val ) ; }

Target:
final boolean cas ( long cmp , long val ) { return com.google.common.cache.Striped64.Cell.UNSAFE.compareAndSwapLong ( this , com.google.common.cache.Striped64.Cell.valueOffset , cmp , val ) ; }
Source:
private native void gattClientReadDescriptorNative ( int conn_id , int service_type , int service_id_inst_id , long service_id_uuid_lsb , long service_id_uuid_msb , int char_id_inst_id , long char_id_uuid_lsb , long char_id_uuid_msb , int descr_id_inst_id , long descr_id_uuid_lsb , long descr_id_uuid_msb , int authReq ) ;

Target:
private native void gattClientReadCharacteristicNative ( int conn_id , int handle , int authReq ) ;
Source:
public void testStart ( ) { mDut.start ( ) ; org.mockito.Mockito.verify ( mNanStateManagerMock ) . start ( org.mockito.Matchers.eq ( mContextMock ) , org.mockito.Matchers.any ( android.os.Looper.class ) ) ; }

Target:
public void testStart ( ) { mDut.start ( ) ; org.mockito.Mockito.verify ( mAwareStateManagerMock ) . start ( org.mockito.Matchers.eq ( mContextMock ) , org.mockito.Matchers.any ( android.os.Looper.class ) ) ; }
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.WARNING ) , new com.android.jack.server.PackageLevel ( "com.android.jack.server" , java.util.logging.Level.INFO ) ) ; }

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.WARNING ) , new com.android.sched.util.log.LoggerConfiguration.PackageLevel ( "com.android.jack.server" , java.util.logging.Level.INFO ) ) ; }
Source:
final boolean casBusy ( ) { return com.google.common.cache.Striped64.UNSAFE.compareAndSwapInt ( this , com.google.common.cache.Striped64.busyOffset , 0 , 1 ) ; }

Target:
final boolean casBusy ( ) { return com.google.common.cache.Striped64.busyUpdater.compareAndSet ( this , 0 , 1 ) ; }
Source:
public void setPreprocessResourcesTask ( @ com.android.annotations.Nullable com.android.build.gradle.internal.scope.AndroidTask < com.android.build.gradle.tasks.PreprocessResourcesTask > preprocessResourcesTask ) { this . preprocessResourcesTask = preprocessResourcesTask ; }

Target:
public java.io.File getGeneratedPngsOutputDir ( ) { return getGeneratedResourcesDir ( "pngs" ) ; }
Source:
public void removeAllCookie ( ) { mChromeCookieManager.removeAllCookie ( ) ; }

Target:
public void removeSessionCookie ( ) { mChromeCookieManager.removeSessionCookies ( ) ; }
Source:
public boolean hasDefault ( ) { for ( com.android.ide.common.resources.ResourceFile file : mFiles ) { if ( file.getFolder ( ) . getConfiguration ( ) . isDefault ( ) ) { return true ; } } return ( mFiles.size ( ) ) == 0 ; }

Target:
public boolean hasDefault ( ) { for ( com.android.ide.common.resources.ResourceFile file : mFiles ) { if ( file.getFolder ( ) . getConfiguration ( ) . isDefault ( ) ) { return true ; } } return mFiles.isEmpty ( ) ; }
Source:
public static void computeMax ( android.renderscript.cts.TestMax.ArgumentsFloatFloatFloat args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( float ) ( java.lang.StrictMath.max ( args.in , args.in1 ) ) ) ; }

Target:
public static void computeMax ( android.renderscript.cts.TestMax.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( java.lang.Math.max ( args.in , args.in1 ) , 0 , 0 ) ; }
Source:
public static double DoubleRemainder ( ) { double a ; double b ; double c ; a = 8.0 ; b = 2.5 ; c = a % b ; return c ; }

Target:
public static double DoubleDivision ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 8.0 ) ; b = Main.$inline$double ( 2.5 ) ; c = a / b ; return c ; }
Source:
public void onSessionModificationStateChanged ( ) { for ( com.android.incallui.call.DialerCallListener listener : mListeners ) { listener.onDialerCallSessionModificationStateChange ( ) ; } }

Target:
public void onSessionModificationStateChanged ( ) { android.os.Trace.beginSection ( "DialerCall.onSessionModificationStateChanged" ) ; for ( com.android.incallui.call.DialerCallListener listener : mListeners ) { listener.onDialerCallSessionModificationStateChange ( ) ; } android.os.Trace.endSection ( ) ; }
Source:
static com.android.manifmerger.ManifestModel.NodeTypes fromXmlSimpleName ( java.lang.String xmlSimpleName ) { java.lang.String constantName = com.android.utils.SdkUtils.xmlNameToConstantName ( xmlSimpleName ) ; return com.android.manifmerger.ManifestModel.NodeTypes.valueOf ( constantName ) ; }

Target:
static com.android.manifmerger.ManifestModel.NodeTypes fromXmlSimpleName ( java.lang.String xmlSimpleName ) { java.lang.String constantName = com.android.utils.SdkUtils.xmlNameToConstantName ( xmlSimpleName ) ; try { return com.android.manifmerger.ManifestModel.NodeTypes.valueOf ( constantName ) ; } catch ( java.lang.IllegalArgumentException e ) { return com.android.manifmerger.ManifestModel.NodeTypes.CUSTOM ; } }
Source:
public void testRunWithLog ( ) throws com.android.ddmlib.AdbCommandRejectedException , com.android.ddmlib.ShellCommandUnresponsiveException , com.android.ddmlib.TimeoutException , java.io.IOException { mRunner.setLogOnly ( true ) ; mRunner.run ( new com.android.ddmlib.testrunner.RemoteAndroidTestRunnerTest.EmptyListener ( ) ) ; assertStringsEquals ( java.lang.String.format ( "am instrument -w -r -e log true %s/%s" , com.android.ddmlib.testrunner.RemoteAndroidTestRunnerTest.TEST_PACKAGE , com.android.ddmlib.testrunner.RemoteAndroidTestRunnerTest.TEST_RUNNER ) , mMockDevice.getLastShellCommand ( ) ) ; }

Target:
public void testRun ( ) throws java.lang.Exception { java.lang.String expectedCmd = org.easymock.EasyMock.eq ( java.lang.String.format ( "am instrument -w -r %s/%s" , com.android.ddmlib.testrunner.RemoteAndroidTestRunnerTest.TEST_PACKAGE , com.android.ddmlib.testrunner.RemoteAndroidTestRunnerTest.TEST_RUNNER ) ) ; runAndVerify ( expectedCmd ) ; }
Source:
static java.lang.Object getFloatAsObject ( ) { return new java.lang.Float ( ( - 7.77 ) ) ; }

Target:
static java.lang.Object getFloatAsObject ( ) { return java.lang.Float.valueOf ( ( - 7.77F ) ) ; }
Source:
public void testE3 ( ) { try { new dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_3 ( null ) ; fail ( "expected NullPointerException" ) ; } catch ( java.lang.NullPointerException npe ) { } }

Target:
public void testE3 ( ) { loadAndRun ( "dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_3" , java.lang.NullPointerException.class ) ; }
Source:
public static float FloatGtNonmatCond_FloatVarVar ( float a , float b , float x , float y ) { return a < b ? x : y ; }

Target:
public static int FloatGtNonmatCond_IntVarVar ( float a , float b , int x , int y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return a < b ? x : y ; }