auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public static boolean checkCallingOrSelfReadPhoneNumber ( android.content.Context context , java.lang.String callingPackage , java.lang.String message ) { return com.android.internal.telephony.TelephonyPermissions.checkReadPhoneNumber ( context , android.os.Binder.getCallingPid ( ) , android.os.Binder.getCallingUid ( ) , callingPackage , message ) ; }

Target:
private static void enforceCarrierPrivilege ( int subId , int uid , java.lang.String message ) { com.android.internal.telephony.TelephonyPermissions.enforceCarrierPrivilege ( com.android.internal.telephony.TelephonyPermissions.TELEPHONY_SUPPLIER , subId , uid , message ) ; }
Source:
public int getCompositeVersionCode ( int versionCode ) { int trueVersionCode = versionCode * ( MultiApkExportHelper.OFFSET_VERSION_CODE ) ; trueVersionCode += ( getBuildInfo ( ) ) * ( MultiApkExportHelper.OFFSET_BUILD_INFO ) ; trueVersionCode += getMinor ( ) ; return trueVersionCode ; }

Target:
public int getCompositeVersionCode ( int versionCode ) { int trueVersionCode = versionCode * ( MultiApkExportHelper.OFFSET_VERSION_CODE ) ; trueVersionCode += ( getBuildInfo ( ) ) * ( MultiApkExportHelper.OFFSET_BUILD_INFO ) ; trueVersionCode += getMinorCode ( ) ; return trueVersionCode ; }
Source:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { return vfs.getVDirLocation ( parent , name ) ; }

Target:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { return vfs.getVFileLocation ( parent.getWrappedDir ( ) , name ) ; }
Source:
public void testAddingSystemProperties_withDifferentPrefix ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { java.lang.String xml = "" + ( ( ( "<manifest\n" + " xmlns:t=\"http://schemas.android.com/apk/res/android\">\n" ) + " <activity t:name=\"activityOne\"/>\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument document = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testAddingSystemProperties#xml" ) , xml ) ; ManifestMerger2.SystemProperty.VERSION_CODE.addTo ( document.getXml ( ) , "101" ) ; assertEquals ( "101" , document.getXml ( ) . getDocumentElement ( ) . getAttribute ( "t:versionCode" ) ) ; }

Target:
public void testAddingSystemProperties_withDifferentPrefix ( ) throws java.io.IOException , javax.xml.parsers.ParserConfigurationException , org.xml.sax.SAXException { java.lang.String xml = "" + ( ( ( "<manifest\n" + " xmlns:t=\"http://schemas.android.com/apk/res/android\">\n" ) + " <activity t:name=\"activityOne\"/>\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument document = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testAddingSystemProperties#xml" ) , xml ) ; ManifestMerger2.SystemProperty.VERSION_CODE.addTo ( mActionRecorder , document , "101" ) ; assertEquals ( "101" , document.getXml ( ) . getDocumentElement ( ) . getAttribute ( "t:versionCode" ) ) ; }
Source:
public boolean remove ( java.lang.Object o ) { int index = indexOf ( o ) ; if ( index == ( - 1 ) ) return false ; remove ( index ) ; return true ; }

Target:
public synchronized boolean addIfAbsent ( E object ) { if ( contains ( object ) ) { return false ; } add ( object ) ; return true ; }
Source:
public com.google.i18n.phonenumbers.Phonenumber.PhoneNumber clearCountryCodeSource ( ) { hasCountryCodeSource = false ; countryCodeSource_ = com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN ; return this ; }

Target:
public com.google.i18n.phonenumbers.Phonenumber.PhoneNumber clearCountryCodeSource ( ) { hasCountryCodeSource = false ; countryCodeSource_ = com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource.UNSPECIFIED ; return this ; }
Source:
public static java.lang.String map2AlgName ( java.lang.String oid ) { java.lang.String algUC = org.apache.harmony.security.utils.AlgNameMapper.oid2AlgMap.get ( oid ) ; return algUC == null ? null : org.apache.harmony.security.utils.AlgNameMapper.algAliasesMap.get ( algUC ) ; }

Target:
public static java.lang.String map2AlgName ( java.lang.String oid ) { java.lang.String algUC = org.apache.harmony.security.utils.AlgNameMapper.oid2AlgMap.get ( oid ) ; if ( algUC != null ) { return org.apache.harmony.security.utils.AlgNameMapper.algAliasesMap.get ( algUC ) ; } return org.apache.harmony.xnet.provider.jsse.NativeCrypto.OBJ_txt2nid_longName ( oid ) ; }
Source:
public void dispose ( ) { mCm.unSetOnNewSMS ( this ) ; mCm.unSetOnSmsStatus ( this ) ; mCm.unSetOnIccSmsFull ( this ) ; }

Target:
public void dispose ( ) { mCm.unSetOnNewSMS ( this ) ; mCm.unSetOnSmsStatus ( this ) ; mCm.unSetOnIccSmsFull ( this ) ; mCm.unregisterForOn ( this ) ; }
Source:
public boolean enqueue ( ) { java.lang.Runtime.getRuntime ( ) . gc ( ) ; return super . enqueue ( ) ; }

Target:
public boolean enqueue ( ) { gc.run ( ) ; return super . enqueue ( ) ; }
Source:
private static native boolean native_postConcat ( int native_object , int other_matrix ) ;

Target:
private static native boolean native_postConcat ( long native_object , long native_other_matrix ) ;
Source:
private static boolean isAsymmetric ( java.lang.String algorithm ) { return libcore.javax.crypto.CipherTest.getBaseAlgoritm ( algorithm ) . equals ( "RSA" ) ; }

Target:
private static boolean isAsymmetric ( java.lang.String algorithm ) { return libcore.javax.crypto.CipherTest.getBaseAlgorithm ( algorithm ) . equals ( "RSA" ) ; }
Source:
protected void finalize ( ) throws java.lang.Throwable { try { org.conscrypt.NativeCrypto.EVP_CIPHER_CTX_cleanup ( context ) ; } finally { super . finalize ( ) ; } }

Target:
protected void finalize ( ) throws java.lang.Throwable { try { org.conscrypt.NativeCrypto.EVP_CIPHER_CTX_free ( context ) ; } finally { super . finalize ( ) ; } }
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_181 ( ) { java.util.regex.Pattern.compile ( "[\\t-\\r]" ) ; }
Source:
private void expectSetInterfaceAlert ( java.lang.String iface , long alertBytes ) throws java.lang.Exception { mNetworkManager.setInterfaceAlert ( iface , alertBytes ) ; org.easymock.EasyMock.expectLastCall ( ) . atLeastOnce ( ) ; }

Target:
private void verifyAdvisePersistThreshold ( ) throws java.lang.Exception { org.mockito.Mockito.verify ( mStatsService ) . advisePersistThreshold ( org.mockito.Matchers.anyLong ( ) ) ; }
Source:
private static void markReachable ( @ com.android.annotations.Nullable com.android.build.gradle.tasks.ResourceUsageAnalyzer.Resource resource ) { if ( resource != null ) { resource.reachable = true ; } }

Target:
private static boolean markReachable ( @ com.android.annotations.Nullable com.android.build.gradle.tasks.ResourceUsageAnalyzer.Resource resource ) { if ( resource != null ) { boolean wasReachable = resource.reachable ; resource.reachable = true ; return ! wasReachable ; } return false ; }
Source:
public java.lang.String toString ( ) { if ( hasDelimiter ) { return ( ( majorNumber ) + ( com.android.tv.data.ChannelNumber.PRIMARY_CHANNEL_DELIMITER ) ) + ( minorNumber ) ; } return majorNumber ; }

Target:
public java.lang.String toString ( ) { if ( hasDelimiter ) { return ( ( majorNumber ) + ( Channel.CHANNEL_NUMBER_DELIMITER ) ) + ( minorNumber ) ; } return majorNumber ; }
Source:
public java.lang.String getCompilerVersion ( ) { return com.android.jack.Jack.getVersionString ( ) ; }

Target:
public java.lang.String getCompilerVersion ( ) { return com.android.jack.Jack.getVersion ( ) . getVersion ( ) ; }
Source:
final void putByte ( int offset , byte value ) { sun.nio.ch.NativeObject.unsafe.putByte ( ( offset + ( address ) ) , value ) ; }

Target:
final void putByte ( int offset , byte value ) { sun.nio.ch.NativeObject.unsafe.putByte$ ( ( offset + ( address ) ) , value ) ; }
Source:
public void setupMenu ( java.lang.String appName , org.eclipse.swt.widgets.Menu swtMenu , com.android.menubar.IMenuBarCallback callbacks ) ;

Target:
public void setupMenu ( java.lang.String appName , org.eclipse.swt.widgets.Display display , com.android.menubar.IMenuBarCallback callbacks ) ;
Source:
public static java.lang.String getApplicationIcon ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { javax.xml.xpath.XPath xPath = com.android.xml.AndroidXPathFactory.newXPath ( ) ; return xPath.evaluate ( ( ( ( ( ( ( ( "/" + ( com.android.xml.AndroidManifest.NODE_MANIFEST ) ) + "/" ) + ( com.android.xml.AndroidManifest.NODE_APPLICATION ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.xml.AndroidManifest.ATTRIBUTE_ICON ) ) , new org.xml.sax.InputSource ( manifestFile.getContents ( ) ) ) ; }

Target:
public static java.lang.String getApplicationIcon ( com.android.io.IAbstractFile manifestFile ) throws com.android.io.StreamException , javax.xml.xpath.XPathExpressionException { return com.android.xml.AndroidManifest.getStringValue ( manifestFile , ( ( ( ( ( ( ( "/" + ( com.android.xml.AndroidManifest.NODE_MANIFEST ) ) + "/" ) + ( com.android.xml.AndroidManifest.NODE_APPLICATION ) ) + "/@" ) + ( AndroidXPathFactory.DEFAULT_NS_PREFIX ) ) + ":" ) + ( com.android.xml.AndroidManifest.ATTRIBUTE_ICON ) ) ) ; }
Source:
public boolean isRttActive ( ) { return ( mRttCall ) != null ; }

Target:
public boolean isRttActive ( ) { return ( ( mRttCall ) != null ) && ( mDetails.hasProperty ( android.telecom.Call.Details.PROPERTY_RTT ) ) ; }
Source:
public boolean sendUssdResponse ( com.android.internal.telephony.Phone phone , java.lang.String ussdMessge ) { android.util.Log.e ( com.android.internal.telephony.CallManager.LOG_TAG , "sendUssdResponse not implemented" ) ; return false ; }

Target:
public java.util.List < ? extends com.android.internal.telephony.MmiCode > getPendingMmiCodes ( com.android.internal.telephony.Phone phone ) { android.telephony.Rlog.e ( com.android.internal.telephony.CallManager.LOG_TAG , "getPendingMmiCodes not implemented" ) ; return null ; }
Source:
public java.util.Iterator < E > iterator ( ) { return com.google.common.collect.Multisets.iteratorImpl ( this ) ; }

Target:
public java.util.NavigableSet < E > tailSet ( E fromElement , boolean inclusive ) { return new com.google.common.collect.SortedMultisets.NavigableElementSet < E > ( multiset ( ) . tailMultiset ( fromElement , com.google.common.collect.BoundType.forBoolean ( inclusive ) ) ) ; }
Source:
private void readFromParcel ( android.os.Parcel in ) { mServiceType = in.readInt ( ) ; mCallType = in.readInt ( ) ; mCallExtras = in.readBundle ( ) ; mMediaProfile = in.readParcelable ( null ) ; }

Target:
private void readFromParcel ( android.os.Parcel in ) { mServiceType = in.readInt ( ) ; mCallType = in.readInt ( ) ; mCallExtras = in.readBundle ( ) ; mMediaProfile = in.readParcelable ( com.android.ims.ImsStreamMediaProfile.class . getClassLoader ( ) ) ; }
Source:
public void setFolder ( java.lang.String id ) { android.util.Log.d ( com.android.bluetooth.avrcpcontroller.AvrcpControllerStateMachine.GetFolderList.STATE_TAG , ( "Setting folder to " + id ) ) ; mID = id ; }

Target:
public void setFolder ( java.lang.String id ) { if ( com.android.bluetooth.avrcpcontroller.AvrcpControllerStateMachine.DBG ) android.util.Log.d ( com.android.bluetooth.avrcpcontroller.AvrcpControllerStateMachine.GetFolderList.STATE_TAG , ( "Setting folder to " + id ) ) ; mID = id ; }
Source:
public void reset ( ) { added = 0 ; removed = 0 ; }

Target:
public synchronized void reset ( ) { eventCount = 0 ; added = 0 ; removed = 0 ; }
Source:
public void setVolume ( int volume ) { }

Target:
public void setVolume ( int volume ) { volume = ( ( volume * 512 ) / 100 ) - 128 ; }
Source:
public native boolean createFileExclusively ( java.lang.String path ) throws java.io.IOException ;

Target:
private native boolean createFileExclusively0 ( java.lang.String path ) throws java.io.IOException ;
Source:
public java.lang.String getText ( java.lang.Object element ) { com.android.ide.eclipse.adt.internal.wizards.newproject.ImportedProject file = ( ( com.android.ide.eclipse.adt.internal.wizards.newproject.ImportedProject ) ( element ) ) ; return java.lang.String.format ( "%1$s (%2$s)" , file.getProjectName ( ) , file.getLocation ( ) . getPath ( ) ) ; }

Target:
protected java.lang.Object getValue ( java.lang.Object element ) { com.android.ide.eclipse.adt.internal.wizards.newproject.ImportedProject project = ( ( com.android.ide.eclipse.adt.internal.wizards.newproject.ImportedProject ) ( element ) ) ; return project.getProjectName ( ) ; }
Source:
private static void $opt$InplaceNegOneLong ( long a ) { a = - a ; Main.assertEquals ( ( - 1L ) , a ) ; }

Target:
private static void $opt$noinline$InplaceNegOneLong ( long a ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } a = - a ; Main.assertEquals ( ( - 1L ) , a ) ; }
Source:
public boolean onOptionsItemSelected ( android.view.MenuItem item ) { switch ( item.getItemId ( ) ) { case android.R.id.home : finish ( ) ; return true ; } return super . onOptionsItemSelected ( item ) ; }

Target:
public boolean onOptionsItemSelected ( android.view.MenuItem item ) { switch ( item.getItemId ( ) ) { case android.R.id.home : onBackPressed ( ) ; return true ; } return super . onOptionsItemSelected ( item ) ; }
Source:
public void setBasebandVersion ( java.lang.String version ) { int phoneId = android.telephony.TelephonyManager.getDefaultPhone ( ) ; setBasebandVersionForPhone ( phoneId , version ) ; }

Target:
public void setBasebandVersion ( java.lang.String version ) { int phoneId = getPhoneId ( ) ; setBasebandVersionForPhone ( phoneId , version ) ; }
Source:
private static void usage ( ) { java.lang.System.err.println ( ( "Usage: signapk [-w] " + ( ( ( "[-providerClass <className>] " + "publickey.x509[.pem] privatekey.pk8 " ) + "[publickey2.x509[.pem] privatekey2.pk8 ...] " ) + "input.jar output.jar" ) ) ) ; java.lang.System.exit ( 2 ) ; }

Target:
private static void usage ( ) { java.lang.System.err.println ( ( "Usage: signapk [-w] " + ( ( ( ( "[-a <alignment>] " + "[-providerClass <className>] " ) + "publickey.x509[.pem] privatekey.pk8 " ) + "[publickey2.x509[.pem] privatekey2.pk8 ...] " ) + "input.jar output.jar" ) ) ) ; java.lang.System.exit ( 2 ) ; }
Source:
public void callSessionStartFailed ( com.android.ims.internal.IImsCallSession i , android.telephony.ims.ImsReasonInfo imsReasonInfo ) throws android.os.RemoteException { mNewListener.callSessionInitiatedFailed ( imsReasonInfo ) ; }

Target:
public void callSessionMergeStarted ( com.android.ims.internal.IImsCallSession i , com.android.ims.internal.IImsCallSession newSession , android.telephony.ims.ImsCallProfile profile ) throws android.os.RemoteException { mNewListener.callSessionMergeStarted ( newSession , profile ) ; }
Source:
public void setApplicationEnabledSetting ( java.lang.String packageName , int newState , int flags ) { try { mPM.setApplicationEnabledSetting ( packageName , newState , flags , mContext.getUserId ( ) , mContext.getBasePackageName ( ) ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public android.content.ComponentName getHomeActivities ( java.util.List < android.content.pm.ResolveInfo > outActivities ) { try { return mPM.getHomeActivities ( outActivities ) ; } catch ( android.os.RemoteException e ) { } return null ; }
Source:
public void testEncodeDecodeVideoFromBufferToSurfaceQCIF ( ) throws java.lang.Throwable { setParameters ( 176 , 144 , 1000000 ) ; android.media.cts.EncodeDecodeTest.BufferToSurfaceWrapper.runTest ( this ) ; }

Target:
public void testEncodeDecodeVideoFromBufferToBuffer720p ( ) throws java.lang.Exception { setParameters ( 1280 , 720 , 6000000 , android.media.cts.EncodeDecodeTest.MIME_TYPE_AVC ) ; encodeDecodeVideoFromBuffer ( false ) ; }
Source:
java.util.List < java.lang.String > getProjectDependenciesPath ( ) ;

Target:
java.util.List < java.lang.String > getProjects ( ) ;
Source:
public static void computePowr ( android.renderscript.cts.TestPowr.ArgumentsFloatFloatFloat args ) { args.ulf = 16 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( java.lang.StrictMath.pow ( args.inX , args.inY ) ) ) ; }

Target:
public static void computePowr ( android.renderscript.cts.TestPowr.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( android.renderscript.cts.CoreMathVerifier.pow ( args.inX , args.inY ) , 16 , 128 ) ; }
Source:
public void start ( java.lang.String title , com.android.sdklib.internal.repository.ITaskMonitor parentMonitor , com.android.sdklib.internal.repository.ITask task ) { new com.android.sdkuilib.internal.repository.MockUpdaterData.MockTask ( task ) ; }

Target:
public void start ( java.lang.String title , com.android.sdklib.internal.repository.ITaskMonitor parentMonitor , com.android.sdklib.internal.repository.ITask task ) { new com.android.sdkuilib.internal.repository.MockSwtUpdaterData.MockTask ( task ) ; }
Source:
public java.util.List < java.lang.String > getApplicableCallNames ( ) { return java.util.Collections.singletonList ( com.android.tools.lint.checks.AddJavascriptInterfaceDetector.ADD_JAVASCRIPT_INTERFACE ) ; }

Target:
public java.util.List < java.lang.String > getApplicableMethodNames ( ) { return java.util.Collections.singletonList ( com.android.tools.lint.checks.AddJavascriptInterfaceDetector.ADD_JAVASCRIPT_INTERFACE ) ; }
Source:
public static com.android.bluetooth.opp.BluetoothOppManager getInstance ( android.content.Context context ) { synchronized ( com.android.bluetooth.opp.BluetoothOppManager.INSTANCE_LOCK ) { if ( ( com.android.bluetooth.opp.BluetoothOppManager.sInstance ) == null ) { com.android.bluetooth.opp.BluetoothOppManager.sInstance = new com.android.bluetooth.opp.BluetoothOppManager ( ) ; } com.android.bluetooth.opp.BluetoothOppManager.sInstance.init ( context ) ; return com.android.bluetooth.opp.BluetoothOppManager.sInstance ; } }

Target:
public static com.android.bluetooth.opp.BluetoothOppManager getInstance ( android.content.Context context ) { synchronized ( com.android.bluetooth.opp.BluetoothOppManager.INSTANCE_LOCK ) { if ( ( com.android.bluetooth.opp.BluetoothOppManager.INSTANCE ) == null ) { com.android.bluetooth.opp.BluetoothOppManager.INSTANCE = new com.android.bluetooth.opp.BluetoothOppManager ( ) ; } com.android.bluetooth.opp.BluetoothOppManager.INSTANCE.init ( context ) ; return com.android.bluetooth.opp.BluetoothOppManager.INSTANCE ; } }
Source:
public void run ( ) { }

Target:
public void run ( dot.junit.opcodes.invoke_interface.ITest test ) { }
Source:
private com.android.draw9patch.ui.ImageViewer.UpdateRegionInfo getVerticalPaddingRight ( int y ) { int top = ( patchInfo.verticalPadding.first ) + 1 ; int bottom = ( ( image.getHeight ( ) ) - ( patchInfo.verticalPadding.second ) ) - 1 ; return getContainingPadding ( top , bottom , y , com.android.draw9patch.ui.ImageViewer.UpdateRegion.RIGHT_PADDING ) ; }

Target:
private void resetDrawMode ( ) { currentMode = com.android.draw9patch.ui.ImageViewer.DrawMode.PATCH ; }
Source:
public boolean isSleeping ( ) { return mSleeping ; }

Target:
boolean isSleepingLocked ( ) { return mSleeping ; }
Source:
private void ensureCapacityInternal ( int minCapacity ) { if ( ( elementData ) == ( java.util.ArrayList.EMPTY_ELEMENTDATA ) ) { minCapacity = java.lang.Math.max ( java.util.ArrayList.DEFAULT_CAPACITY , minCapacity ) ; } ensureExplicitCapacity ( minCapacity ) ; }

Target:
public void ensureCapacity ( int minCapacity ) { int minExpand = ( ( elementData ) != ( java.util.ArrayList.DEFAULTCAPACITY_EMPTY_ELEMENTDATA ) ) ? 0 : java.util.ArrayList.DEFAULT_CAPACITY ; if ( minCapacity > minExpand ) { ensureExplicitCapacity ( minCapacity ) ; } }
Source:
private void onCallSetup ( int callsetup ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_CALLSETUP ) ; event.valueInt = callsetup ; android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }

Target:
private void onClip ( java.lang.String number ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_CLIP ) ; event.valueString = number ; if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; } sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }
Source:
public boolean onScaleBegin ( android.view.ScaleGestureDetector detector ) { if ( mTransformsEnabled ) { mScaleRunnable.stop ( ) ; mIsDoubleTouch = true ; } return true ; }

Target:
public boolean onScaleBegin ( android.view.ScaleGestureDetector detector ) { if ( ( mTransformsEnabled ) && ( ! ( mScaleRunnable.mRunning ) ) ) { mScaleRunnable.stop ( ) ; mIsDoubleTouch = true ; } return true ; }
Source:
public void test_Shift_JIS ( ) throws java.lang.Exception { assertEncodes ( java.nio.charset.Charset.forName ( "Shift_JIS" ) , "�" , 252 , 252 ) ; }

Target:
public void test_SCSU_replacement_character ( ) throws java.lang.Exception { assertDecodes ( java.nio.charset.Charset.forName ( "SCSU" ) , "�" , 14 , 255 ) ; assertEncodes ( java.nio.charset.Charset.forName ( "SCSU" ) , "�" , 14 , 255 ) ; }
Source:
public static < K , V > org.hamcrest.Matcher < java.util.Map < K , V > > hasEntry ( K key , V value ) { return org.hamcrest.collection.IsMapContaining.hasEntry ( org.hamcrest.collection.IsMapContaining.equalTo ( key ) , org.hamcrest.collection.IsMapContaining.equalTo ( value ) ) ; }

Target:
public static < V > org.hamcrest.Matcher < java.util.Map < ? , ? extends V > > hasValue ( V value ) { return new org.hamcrest.collection.IsMapContaining < java.lang.Object , V > ( org.hamcrest.collection.IsMapContaining.anything ( ) , org.hamcrest.collection.IsMapContaining.equalTo ( value ) ) ; }
Source:
public java.util.List < ? > getClassGeneratingTasks ( ) { return classGeneratingTasks ; }

Target:
public java.util.List < ? > getClassGeneratingTasks ( ) { com.google.common.base.Preconditions.checkState ( ( ( classGeneratingTasks ) != null ) ) ; return classGeneratingTasks ; }
Source:
public void updatePackageCompatibilityInfo ( java.lang.String pkg , android.content.res.CompatibilityInfo info ) { android.app.ActivityThread.UpdateCompatibilityData ucd = new android.app.ActivityThread.UpdateCompatibilityData ( ) ; ucd.pkg = pkg ; ucd.info = info ; queueOrSendMessage ( android.app.ActivityThread.H.UPDATE_PACKAGE_COMPATIBILITY_INFO , ucd ) ; }

Target:
public void updatePackageCompatibilityInfo ( java.lang.String pkg , android.content.res.CompatibilityInfo info ) { android.app.ActivityThread.UpdateCompatibilityData ucd = new android.app.ActivityThread.UpdateCompatibilityData ( ) ; ucd.pkg = pkg ; ucd.info = info ; sendMessage ( android.app.ActivityThread.H.UPDATE_PACKAGE_COMPATIBILITY_INFO , ucd ) ; }
Source:
public java.util.List < android.bluetooth.BluetoothDevice > getConnectedDevices ( ) { com.android.bluetooth.hearingaid.HearingAidService service = getService ( ) ; if ( service == null ) { return new java.util.ArrayList < android.bluetooth.BluetoothDevice > ( 0 ) ; } return service.getConnectedDevices ( ) ; }

Target:
public java.util.List < android.bluetooth.BluetoothDevice > getDevicesMatchingConnectionStates ( int [ ] states ) { com.android.bluetooth.hearingaid.HearingAidService service = getService ( ) ; if ( service == null ) { return new java.util.ArrayList < > ( ) ; } return service.getDevicesMatchingConnectionStates ( states ) ; }
Source:
public static java.util.Locale [ ] getAvailableLocales ( ) { sun.util.LocaleServiceProviderPool pool = sun.util.LocaleServiceProviderPool.getPool ( java.text.spi.NumberFormatProvider.class ) ; return pool.getAvailableLocales ( ) ; }

Target:
public static java.util.Locale [ ] getAvailableLocales ( ) { return libcore.icu.ICU.getAvailableLocales ( ) ; }
Source:
public boolean isCancelled ( ) { return false ; }

Target:
public java.io.File getDataFile ( ) { return mFile ; }
Source:
public static java.io.File getAvdFolder ( java.lang.String name ) throws com.android.prefs.AndroidLocation.AndroidLocationException { return new java.io.File ( ( ( com.android.prefs.AndroidLocation.getFolder ( ) ) + ( com.android.prefs.AndroidLocation.FOLDER_AVD ) ) , ( name + ( com.android.sdklib.internal.avd.AvdManager.AVD_FOLDER_EXTENSION ) ) ) ; }

Target:
public java.lang.String getBaseAvdFolder ( ) throws com.android.prefs.AndroidLocation.AndroidLocationException { assert com.android.prefs.AndroidLocation.getFolder ( ) . endsWith ( java.io.File.separator ) ; return ( com.android.prefs.AndroidLocation.getFolder ( ) ) + ( com.android.prefs.AndroidLocation.FOLDER_AVD ) ; }
Source:
public void setQualifier ( com.android.ide.eclipse.adt.internal.resources.configurations.ResourceQualifier qualifier ) { com.android.ide.eclipse.adt.internal.resources.configurations.LanguageQualifier q = ( ( com.android.ide.eclipse.adt.internal.resources.configurations.LanguageQualifier ) ( qualifier ) ) ; java.lang.String value = q.getValue ( ) ; if ( value != null ) { mLanguage.setText ( value ) ; } }

Target:
public void setQualifier ( com.android.ide.common.resources.configuration.ResourceQualifier qualifier ) { com.android.ide.common.resources.configuration.LanguageQualifier q = ( ( com.android.ide.common.resources.configuration.LanguageQualifier ) ( qualifier ) ) ; java.lang.String value = q.getValue ( ) ; if ( value != null ) { mLanguage.setText ( value ) ; } }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.doTest ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { art.Main.bindAgentJNIForClass ( Main.class ) ; Main.doTest ( ) ; }
Source:
public void execute ( ) throws java.lang.InterruptedException { android.hardware.cts.helpers.SensorCtsHelper.sleep ( mDelay , mTimeUnit ) ; mOperation.execute ( ) ; }

Target:
public void execute ( android.hardware.cts.helpers.reporting.ISensorTestNode parent ) throws java.lang.InterruptedException { android.hardware.cts.helpers.SensorCtsHelper.sleep ( mDelay , mTimeUnit ) ; mOperation.execute ( asTestNode ( parent ) ) ; }
Source:
private void markIfNecessary ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNode node ) { node.addMarkerIfAbsent ( MultiDexInstallerMarker.INSTANCE ) ; }

Target:
private synchronized void markIfNecessary ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JNode node ) { if ( ! ( node.containsMarker ( com.android.jack.backend.dex.MultiDexLegacyTracerBrush.MultiDexInstallerMarker.class ) ) ) { node.addMarker ( MultiDexInstallerMarker.INSTANCE ) ; } }
Source:
public void test_F32_3_SCALE20_20_inRectangle ( ) { testReszie ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.FLOAT_32 , 3 , 2.0F , 2.0F ) ; checkError ( ) ; }

Target:
public void test_F32_3_SCALE20_20_inRectangle ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inY , Element.DataType.FLOAT_32 , 3 , 2.0F , 2.0F ) ; checkError ( ) ; }
Source:
private static boolean isIncoming ( com.android.incallui.incall.protocol.PrimaryCallState state ) { return ( ( state.state ( ) ) == ( com.android.incallui.call.DialerCall.State.INCOMING ) ) || ( ( state.state ( ) ) == ( com.android.incallui.call.DialerCall.State.CALL_WAITING ) ) ; }

Target:
private static boolean isIncoming ( com.android.incallui.incall.protocol.PrimaryCallState state ) { return ( ( state.state ( ) ) == ( com.android.incallui.call.state.DialerCallState.INCOMING ) ) || ( ( state.state ( ) ) == ( com.android.incallui.call.state.DialerCallState.CALL_WAITING ) ) ; }
Source:
public void initComponent ( ) { checkJvm ( ) ; checkIBusPresent ( ) ; com.intellij.ide.SystemHealthMonitor.startDiskSpaceMonitoring ( ) ; }

Target:
public void appClosing ( ) { myProperties.setValue ( com.intellij.ide.SystemHealthMonitor.STUDIO_ACTIVITY_COUNT , java.lang.Long.toString ( com.intellij.ide.SystemHealthMonitor.ourStudioActionCount.get ( ) ) ) ; }
Source:
public void run ( ) { synchronized ( this ) { if ( com.android.internal.policy.impl.PhoneWindowManager.localLOGV ) android.util.Log.v ( com.android.internal.policy.impl.PhoneWindowManager.TAG , "mScreenLockTimeout activating keyguard" ) ; if ( ( mKeyguardMediator ) != null ) { mKeyguardMediator.doKeyguardTimeout ( ) ; } mLockScreenTimerActive = false ; } }

Target:
public void keepScreenOnStartedLw ( ) { }
Source:
public void setInitialAttachApn ( com.android.internal.telephony.dataconnection.DataProfile dataProfile , boolean isRoaming , android.os.Message result ) { }

Target:
public void setDataProfile ( android.telephony.data.DataProfile [ ] dps , boolean isRoaming , android.os.Message result ) { }
Source:
public void test_U8_2_SCALE05_20_inSqure ( ) { testReszie ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.UNSIGNED_8 , 2 , 0.5F , 2.0F ) ; checkError ( ) ; }

Target:
public void test_U8_2_SCALE05_20_inSqure ( ) { testResize ( android.renderscript.cts.IntrinsicResize.inX , android.renderscript.cts.IntrinsicResize.inX , Element.DataType.UNSIGNED_8 , 2 , 0.5F , 2.0F ) ; checkError ( ) ; }
Source:
public com.android.layoutlib.api.SceneResult insertChild ( java.lang.Object parentView , com.android.layoutlib.api.IXmlPullParser childXml , int index , com.android.layoutlib.api.LayoutScene.IAnimationListener listener ) { return SceneStatus.NOT_IMPLEMENTED.getResult ( ) ; }

Target:
public com.android.layoutlib.api.SceneResult insertChild ( java.lang.Object parentView , com.android.layoutlib.api.IXmlPullParser childXml , int index , com.android.layoutlib.api.LayoutScene.IAnimationListener listener ) { return SceneStatus.NOT_IMPLEMENTED.createResult ( ) ; }
Source:
public static void computeAtan2pi ( android.renderscript.cts.TestAtan2pi.ArgumentsFloatFloatFloat args ) { args.ulf = 6 ; args.ulfRelaxed = 128 ; args.out = ( ( float ) ( ( java.lang.StrictMath.atan2 ( args.inY , args.inX ) ) / ( java.lang.StrictMath.PI ) ) ) ; }

Target:
public static void computeConvert ( android.renderscript.cts.TestConvert.ArgumentsFloatUchar args ) { args.out = android.renderscript.cts.CoreMathVerifier.convertFloatToUchar ( args.inV ) ; }
Source:
public void fatalError ( org.xml.sax.SAXParseException e ) { log.printf ( "Fatal error when parsing %s: %s" , xmlFile.getName ( ) , e.toString ( ) ) ; }

Target:
public void fatalError ( org.xml.sax.SAXParseException e ) { log.error ( Severity.ERROR , new com.android.manifmerger.IMergerLog.FileAndLine ( xmlFile.getName ( ) , 0 ) , "Fatal error when parsing: %1$s" , xmlFile.getName ( ) , e.toString ( ) ) ; }
Source:
static int $opt$FloatToInt ( float a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( int ) ( a ) ) ; }

Target:
static int $opt$noinline$FloatToInt ( float a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( int ) ( a ) ) ; }
Source:
public android.net.IpConfiguration getConfiguration ( ) { try { return mService.getConfiguration ( ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public android.net.IpConfiguration getConfiguration ( java.lang.String iface ) { try { return mService.getConfiguration ( iface ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public boolean hasClients ( ) { synchronized ( mClients ) { return ( mClients.size ( ) ) > 0 ; } }

Target:
public boolean hasClients ( ) { synchronized ( mClients ) { return ! ( mClients.isEmpty ( ) ) ; } }
Source:
public void testVector ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "res/drawable/vector.xml:1: Error: <vector> requires API level 21 (current min is 1) [NewApi]\n" + "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n" ) + "^\n" ) + "AndroidManifest.xml:8: Warning: Attribute viewportHeight is only used in API level 21 and higher (current min is 1) [UnusedAttribute]\n" ) + " android:viewportHeight=\"24\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "AndroidManifest.xml:9: Warning: Attribute viewportWidth is only used in API level 21 and higher (current min is 1) [UnusedAttribute]\n" ) + " android:viewportWidth=\"24\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/drawable/vector.xml:8: Warning: Attribute viewportHeight is only used in API level 21 and higher (current min is 1) [UnusedAttribute]\n" ) + " android:viewportHeight=\"24\"\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "res/drawable/vector.xml:9: Warning: Attribute viewportWidth is only used in API level 21 and higher (current min is 1) [UnusedAttribute]\n" ) + " android:viewportWidth=\"24\" />\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~~~~~\n" ) + "1 errors, 4 warnings\n" ) ) , lintProject ( "apicheck/vector.xml=>AndroidManifest.xml" , "apicheck/vector.xml=>res/drawable/vector.xml" ) ) ; }

Target:
public void testAnimatedVector ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "res/drawable/animated_vector.xml:1: Error: <animated-vector> requires API level 21 (current min is 14) [NewApi]\n" + "<animated-vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + "^\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "apicheck/minsdk14.xml=>AndroidManifest.xml" , "apicheck/animated_vector.xml=>res/drawable/animated_vector.xml" ) ) ; }
Source:
static void filter ( @ javax.annotation.Nonnull com.android.jack.shrob.spec.FilterSpecification filter , boolean negator , java.lang.String filterName ) { assert filterName != null ; filter.addElement ( com.android.jack.shrob.proguard.GrammarActions.name ( filterName ) , negator ) ; }

Target:
static void filter ( @ javax.annotation.Nonnull com.android.jack.shrob.spec.FilterSpecification filter , boolean negator , java.lang.String filterName , @ javax.annotation.Nonnull com.android.jack.shrob.proguard.GrammarActions.FilterSeparator separator ) { assert filterName != null ; filter.addElement ( com.android.jack.shrob.proguard.GrammarActions.name ( filterName , separator ) , negator ) ; }
Source:
public void registerT3tIdentifier ( java.lang.String systemCode , java.lang.String nfcId2 ) { android.util.Log.d ( com.android.nfc.NfcService.TAG , "request to register LF_T3T_IDENTIFIER" ) ; byte [ ] t3tIdentifier = getT3tIdentifierBytes ( systemCode , nfcId2 ) ; sendMessage ( com.android.nfc.NfcService.MSG_REGISTER_T3T_IDENTIFIER , t3tIdentifier ) ; }

Target:
public void deregisterT3tIdentifier ( java.lang.String systemCode , java.lang.String nfcId2 , java.lang.String t3tPmm ) { android.util.Log.d ( com.android.nfc.NfcService.TAG , "request to deregister LF_T3T_IDENTIFIER" ) ; byte [ ] t3tIdentifier = getT3tIdentifierBytes ( systemCode , nfcId2 , t3tPmm ) ; sendMessage ( com.android.nfc.NfcService.MSG_DEREGISTER_T3T_IDENTIFIER , t3tIdentifier ) ; }
Source:
public boolean onTouchEvent ( android.view.MotionEvent event ) { switch ( event.getAction ( ) ) { case android.view.MotionEvent.ACTION_DOWN : sendResponse ( StkAppService.RES_ID_END_SESSION ) ; finish ( ) ; return true ; } return super . onTouchEvent ( event ) ; }

Target:
public boolean onTouchEvent ( android.view.MotionEvent event ) { switch ( event.getAction ( ) ) { case android.view.MotionEvent.ACTION_DOWN : sendStopTone ( ) ; finish ( ) ; return true ; } return super . onTouchEvent ( event ) ; }
Source:
public native short getShort ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native short getShort ( java.lang.Object object , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public static double DoubleMultiplication ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 7.0 ) ; b = Main.$inline$double ( 3.0 ) ; c = a * b ; return c ; }

Target:
public static int IntMultiplication ( ) { int a ; int b ; int c ; a = 7 ; b = 3 ; c = a * b ; return c ; }
Source:
public boolean isDocumented ( ) { return ( optionUsageRestrictions ( ) ) == ( com.google.devtools.common.options.OptionsParser.OptionUsageRestrictions.DOCUMENTED ) ; }

Target:
private com.google.common.collect.ImmutableList < com.google.devtools.common.options.proto.OptionFilters.OptionMetadataTag > metadataTags ( ) { return com.google.common.collect.ImmutableList.copyOf ( field.getAnnotation ( com.google.devtools.common.options.Option.class ) . metadataTags ( ) ) ; }
Source:
public void setEnabledCipherSuites ( java.lang.String [ ] suites ) { sslParameters.openSslEnabledCipherSuites = org.conscrypt.NativeCrypto.checkEnabledCipherSuites ( suites ) ; }

Target:
public java.lang.String chooseClientAlias ( javax.net.ssl.X509KeyManager keyManager , javax.security.auth.x500.X500Principal [ ] issuers , java.lang.String [ ] keyTypes ) { return keyManager.chooseClientAlias ( keyTypes , null , this ) ; }
Source:
public int getBasicFrameType ( ) { switch ( basicType ) { case com.android.jack.dx.rop.type.Type.BT_BOOLEAN : case com.android.jack.dx.rop.type.Type.BT_BYTE : case com.android.jack.dx.rop.type.Type.BT_CHAR : case com.android.jack.dx.rop.type.Type.BT_INT : case com.android.jack.dx.rop.type.Type.BT_SHORT : { return com.android.jack.dx.rop.type.Type.BT_INT ; } } return basicType ; }

Target:
public int getBasicFrameTypeImpl ( ) { switch ( basicType ) { case com.android.jack.dx.rop.type.Type.BT_BOOLEAN : case com.android.jack.dx.rop.type.Type.BT_BYTE : case com.android.jack.dx.rop.type.Type.BT_CHAR : case com.android.jack.dx.rop.type.Type.BT_INT : case com.android.jack.dx.rop.type.Type.BT_SHORT : { return com.android.jack.dx.rop.type.Type.BT_INT ; } } return basicType ; }
Source:
public void doBuildPatchFile ( java.io.File toFile , com.intellij.updater.MultiZipFile.OutputStream patchOutput ) throws java.io.IOException { }

Target:
public void doBuildPatchFile ( java.io.File olderDir , java.io.File newerFile , java.util.zip.ZipOutputStream patchOutput ) throws java.io.IOException { }
Source:
public void onSuccess ( ) { try { mServiceInterface.connectionServiceFocusLost ( android.telecom.Log.getExternalSession ( ) ) ; } catch ( android.os.RemoteException ignored ) { android.telecom.Log.d ( this , "failed to inform the focus lost event" ) ; } }

Target:
public void connectionServiceFocusLost ( ) { if ( ( mConnSvrFocusListener ) != null ) { mConnSvrFocusListener.onConnectionServiceReleased ( this ) ; } }
Source:
private void writeToFile ( @ javax.annotation.Nonnull com.android.sched.vfs.OutputVFile file , @ javax.annotation.Nonnull java.lang.String string ) throws java.io.IOException { java.io.OutputStreamWriter writer = new java.io.OutputStreamWriter ( file.openWrite ( ) ) ; writer.write ( string ) ; writer.close ( ) ; }

Target:
private void writeToFile ( @ javax.annotation.Nonnull com.android.sched.vfs.OutputVFile file , @ javax.annotation.Nonnull java.lang.String string ) throws java.io.IOException { java.io.OutputStreamWriter writer = new java.io.OutputStreamWriter ( file.getOutputStream ( ) ) ; writer.write ( string ) ; writer.close ( ) ; }
Source:
private void onCallWaiting ( java.lang.String number ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_CALL_WAITING ) ; event.valueString = number ; android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }

Target:
private void onCallWaiting ( java.lang.String number ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_CALL_WAITING ) ; event.valueString = number ; if ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; } sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }
Source:
public void visitElementAfter ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.XmlContext context , @ com.android.annotations.NonNull org.w3c.dom.Element element ) { if ( isVerticalScroll ( element ) ) { ( mVisitingVerticalScroll ) -- ; assert ( mVisitingVerticalScroll ) >= 0 ; } else { ( mVisitingHorizontalScroll ) -- ; assert ( mVisitingHorizontalScroll ) >= 0 ; } }

Target:
public void visitElementAfter ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.XmlContext context , @ com.android.annotations.NonNull org.w3c.dom.Element element ) { if ( com.android.tools.lint.checks.NestedScrollingWidgetDetector.isVerticalScroll ( element ) ) { ( mVisitingVerticalScroll ) -- ; assert ( mVisitingVerticalScroll ) >= 0 ; } else { ( mVisitingHorizontalScroll ) -- ; assert ( mVisitingHorizontalScroll ) >= 0 ; } }
Source:
private java.util.regex.Matcher methodStringMatcher ( ) { return java.util.regex.Pattern.compile ( "(.*)\\((.*)\\)" ) . matcher ( toString ( ) ) ; }

Target:
private java.lang.String methodAndClassNamePatternGroupOrDefault ( int group , java.lang.String defaultString ) { java.util.regex.Matcher matcher = org.junit.runner.Description.METHOD_AND_CLASS_NAME_PATTERN.matcher ( toString ( ) ) ; return matcher.matches ( ) ? matcher.group ( group ) : defaultString ; }
Source:
public void sayHi ( ) { java.lang.System.out.println ( "Hello" ) ; }

Target:
public void sayHi ( ) { java.lang.System.out.println ( "hello" ) ; }
Source:
public android.net.wifi.IApInterface setupForSoftApMode ( ) { if ( ! ( startHal ( false ) ) ) { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "Failed to start HAL for AP mode" ) ; } return mWificondControl.setupDriverForSoftApMode ( ) ; }

Target:
public android.net.wifi.IApInterface setupForSoftApMode ( ) { if ( ! ( startHal ( false ) ) ) { android.util.Log.e ( mTAG , "Failed to start HAL for AP mode" ) ; } return mWificondControl.setupDriverForSoftApMode ( ) ; }
Source:
public void connectToUserSelectNetwork ( int netId , boolean persistent ) { android.util.Log.i ( com.android.server.wifi.WifiConnectivityManager.TAG , ( ( ( "connectToUserSelectNetwork: netId=" + netId ) + " persist=" ) + persistent ) ) ; mQualifiedNetworkSelector.userSelectNetwork ( netId , persistent ) ; clearConnectionAttemptTimeStamps ( ) ; }

Target:
public void setUserConnectChoice ( int netId ) { android.util.Log.i ( com.android.server.wifi.WifiConnectivityManager.TAG , ( "setUserConnectChoice: netId=" + netId ) ) ; mQualifiedNetworkSelector.setUserConnectChoice ( netId ) ; clearConnectionAttemptTimeStamps ( ) ; }
Source:
public final java.lang.String getHumanReadableValue ( @ javax.annotation.Nonnegative int columnIdx ) { return ( ( com.android.sched.util.codec.Formatter < java.lang.Object > ) ( getFormatters ( ) [ columnIdx ] ) ) . formatValue ( getValue ( columnIdx ) ) ; }

Target:
public final java.lang.Object getValue ( @ javax.annotation.Nonnegative int columnIdx ) { return com.google.common.collect.Iterators.get ( iterator ( ) , columnIdx ) ; }
Source:
private void notifyThroughIntent ( ) { android.net.Uri uri = android.net.Uri.parse ( ( ( ( android.provider.Downloads.CONTENT_URI ) + "/" ) + ( mInfo.id ) ) ) ; mInfo.sendIntentIfRequested ( uri , mContext ) ; }

Target:
private void notifyThroughIntent ( ) { android.net.Uri uri = android.net.Uri.parse ( ( ( ( android.provider.Downloads.CONTENT_URI ) + "/" ) + ( mInfo.mId ) ) ) ; mInfo.sendIntentIfRequested ( uri , mContext ) ; }
Source:
public static void main ( java.lang.String [ ] args ) { new Main ( ) . run ( ) ; java.lang.System.out.println ( "finish" ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { new Main ( ) . run ( ) ; Main.testPreserveFloat ( ) ; Main.testPreserveDouble ( ) ; java.lang.System.out.println ( "finish" ) ; }
Source:
protected void launchActivityOnDisplay ( java.lang.String targetActivityName , int displayId ) throws java.lang.Exception { executeShellCommand ( android.server.cts.ActivityManagerTestBase.getAmStartCmd ( targetActivityName , displayId ) ) ; mAmWmState.waitForValidState ( mDevice , targetActivityName ) ; }

Target:
protected void launchActivityOnDisplay ( java.lang.String targetActivityName , int displayId , java.lang.String ... keyValuePairs ) throws java.lang.Exception { executeShellCommand ( android.server.cts.ActivityManagerTestBase.getAmStartCmd ( targetActivityName , displayId , keyValuePairs ) ) ; mAmWmState.waitForValidState ( mDevice , targetActivityName ) ; }