auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
static android.icu.impl.TimeZoneNamesImpl.ZNamesLoader forMetaZoneNames ( ) { return new android.icu.impl.TimeZoneNamesImpl.ZNamesLoader ( android.icu.impl.TimeZoneNamesImpl.ZNamesLoader.NUM_META_ZONE_NAMES ) ; }

Target:
void loadMetaZone ( android.icu.impl.ICUResourceBundle zoneStrings , java.lang.String mzID ) { java.lang.String key = ( android.icu.impl.TimeZoneNamesImpl.MZ_PREFIX ) + mzID ; loadNames ( zoneStrings , key ) ; }
Source:
public android.net.wifi.WifiConfiguration buildWifiConfig ( java.lang.String uriString , java.lang.String mimeType , byte [ ] data ) { try { return mService.buildWifiConfig ( uriString , mimeType , data ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public boolean setWifiEnabled ( boolean enabled ) { try { return mService.setWifiEnabled ( mContext.getOpPackageName ( ) , enabled ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
com.google.common.collect.ImmutableSet < com.google.common.collect.Multiset.Entry < E > > createEntrySet ( ) { throw new java.lang.AssertionError ( "should never be called" ) ; }

Target:
com.google.common.collect.Multiset.Entry < E > getEntry ( int index ) { throw new java.lang.AssertionError ( "should never be called" ) ; }
Source:
public com.android.builder.model.AndroidProject executeAndReturnModel ( boolean emulateStudio_1_0 , java.lang.String ... tasks ) { return execute ( java.util.Collections.< java.lang.String > emptyList ( ) , true , emulateStudio_1_0 , tasks ) ; }

Target:
public void executeExpectingFailure ( @ com.android.annotations.NonNull java.util.List < java.lang.String > arguments , java.lang.String ... tasks ) { execute ( arguments , false , false , com.android.build.gradle.integration.common.fixture.GradleTestProject.ExpectedBuildResult.FAILURE , tasks ) ; }
Source:
public void testFlagEManifestA ( ) { installFromRawResource ( "install.apk" , R.raw.install_loc_auto , PackageManager.INSTALL_EXTERNAL , true , false , ( - 1 ) , PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL ) ; }

Target:
public void testFlagFManifestA ( ) { installFromRawResource ( "install.apk" , R.raw.install_loc_auto , PackageManager.INSTALL_FORWARD_LOCK , true , false , ( - 1 ) , PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL ) ; }
Source:
public static native byte [ ] SSL_SESSION_session_id ( int sslSessionNativePointer ) ;

Target:
public static native java.lang.String SSL_SESSION_get_version ( long sslSessionNativePointer ) ;
Source:
native boolean nIncLoadSO ( ) ;

Target:
native boolean nIncLoadSO ( int deviceApi ) ;
Source:
public static int IntSubtraction ( ) { int a ; int b ; int c ; a = 6 ; b = 2 ; c = a - b ; return c ; }

Target:
public static double DoubleSubtraction ( ) { double a ; double b ; double c ; a = Main.$inline$double ( 6.0 ) ; b = Main.$inline$double ( 2.0 ) ; c = a - b ; return c ; }
Source:
public void enter ( ) { cleanup ( ) ; }

Target:
public void enter ( ) { mWifiStateTracker.updateState ( WifiStateTracker.INVALID ) ; cleanup ( ) ; }
Source:
public void removeProfile ( com.android.bluetooth.btservice.ProfileService profile ) { android.os.Message m = mHandler.obtainMessage ( com.android.bluetooth.btservice.AdapterService.MESSAGE_PROFILE_SERVICE_UNREGISTERED , profile ) ; mHandler.sendMessage ( m ) ; }

Target:
public void removeProfile ( com.android.bluetooth.btservice.ProfileService profile ) { synchronized ( mProfiles ) { mProfiles.remove ( profile ) ; } }
Source:
static void asInts ( byte [ ] x , int [ ] z ) { org.bouncycastle.crypto.util.Pack.bigEndianToInt ( x , 0 , z ) ; }

Target:
public static void asInts ( byte [ ] x , int [ ] z ) { org.bouncycastle.util.Pack.bigEndianToInt ( x , 0 , z ) ; }
Source:
protected void onStop ( ) { super . onStop ( ) ; closeAccessory ( ) ; }

Target:
protected void onStop ( ) { super . onStop ( ) ; android.util.Log.d ( com.android.cts.verifier.usb.UsbAccessoryTestActivity.TAG , ( "onStop: state=" + ( com.android.cts.verifier.usb.UsbAccessoryTestActivity.stateToString ( mState ) ) ) ) ; closeAccessory ( ) ; }
Source:
public java.util.Collection < java.lang.Class < ? extends com.android.jack.api.JackConfig > > getSupportedConfigs ( ) { return com.android.jack.api.impl.JackProviderImpl.map.keySet ( ) ; }

Target:
public java.util.Collection < java.lang.Class < ? extends com.android.jack.api.JackConfig > > getSupportedConfigs ( ) { return com.android.jack.api.impl.JackProviderImpl.impl.keySet ( ) ; }
Source:
public void addRegistrationListener ( int sessionId , com.android.ims.internal.IImsRegistrationListener listener ) { }

Target:
public void removeRegistrationListener ( com.android.ims.internal.IImsRegistrationListener listener ) { }
Source:
public void copy1DRangeFrom ( int off , int count , byte [ ] d ) { android.os.Trace.traceBegin ( RenderScript.TRACE_TAG , "copy1DRangeFrom" ) ; validateIsInt8 ( ) ; copy1DRangeFromUnchecked ( off , count , d ) ; android.os.Trace.traceEnd ( RenderScript.TRACE_TAG ) ; }

Target:
public void copy1DRangeFromUnchecked ( int off , int count , byte [ ] d ) { copy1DRangeFromUnchecked ( off , count , ( ( java.lang.Object ) ( d ) ) , Element.DataType.SIGNED_8 , d.length ) ; }
Source:
android.net.ip.IpReachabilityMonitor makeMonitor ( ) { return new android.net.ip.IpReachabilityMonitor ( "fake0" , 1 , mHandler , mLog , mCallback , null , mDependencies ) ; }

Target:
android.net.ip.IpReachabilityMonitor makeMonitor ( ) { final android.net.util.InterfaceParams ifParams = new android.net.util.InterfaceParams ( "fake0" , 1 , null ) ; return new android.net.ip.IpReachabilityMonitor ( ifParams , mHandler , mLog , mCallback , null , mDependencies ) ; }
Source:
public java.lang.String toString ( ) { return ( ( ( ( ( "EnumConstantLocater{" + "enumTypeLocater=" ) + ( enumTypeLocater ) ) + ", constantName='" ) + ( constantName ) ) + '\'' ) + '}' ; }

Target:
public java.lang.String toString ( ) { return ( ( ( ( ( "EnumConstantLocator{" + "typeLocator=" ) + ( typeLocator ) ) + ", constantName='" ) + ( constantName ) ) + '\'' ) + '}' ; }
Source:
public int hashCode ( ) { int result = 0 ; for ( int i = 0 ; i < ( original.length ) ; ++ i ) { result ^= original [ i ] . hashCode ( ) ; } return result ; }

Target:
public java.lang.String toCanonicalString ( ) { return original.toCanonicalString ( ) ; }
Source:
public static void wtf ( java.lang.String prefix , java.lang.String format , java.lang.Object ... args ) { java.lang.String msg = android.telecom.Log.buildMessage ( prefix , format , args ) ; android.util.Log.wtf ( android.telecom.Log.TAG , msg , new java.lang.IllegalStateException ( msg ) ) ; }

Target:
public static void wtf ( java.lang.Object objectPrefix , java.lang.Throwable tr , java.lang.String format , java.lang.Object ... args ) { android.util.Slog.wtf ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( android.telecom.Log.getPrefixFromObject ( objectPrefix ) , format , args ) , tr ) ; }
Source:
public static float abs ( float a ) { return a <= 0.0F ? 0.0F - a : a ; }

Target:
public static float abs ( float a ) { return java.lang.Math.abs ( a ) ; }
Source:
private static com.android.build.SplitOutput getUniversalOutput ( ) { return new com.android.ide.common.build.SplitOutputMatcherTest.FakeSplitOutput ( null , null ) ; }

Target:
private static com.android.build.SplitOutput getUniversalOutput ( int versionCode ) { return new com.android.ide.common.build.SplitOutputMatcherTest.FakeSplitOutput ( null , null , versionCode ) ; }
Source:
static byte $opt$ShortToByte ( short a ) { return ( ( byte ) ( a ) ) ; }

Target:
static int $opt$LongToInt ( long a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( int ) ( a ) ) ; }
Source:
public void removeRecordedProgram ( com.android.tv.dvr.RecordedProgram scheduledRecording ) { mRecordedPrograms.remove ( scheduledRecording.getId ( ) ) ; notifyRecordedProgramsRemoved ( scheduledRecording ) ; }

Target:
public void removeRecordedProgram ( com.android.tv.dvr.data.RecordedProgram scheduledRecording ) { mRecordedPrograms.remove ( scheduledRecording.getId ( ) ) ; notifyRecordedProgramsRemoved ( scheduledRecording ) ; }
Source:
public synchronized void close ( ) throws android.system.ErrnoException { if ( ( address ) != 0 ) { Libcore.os.munmap ( address , size ) ; address = 0 ; } }

Target:
public void close ( ) throws android.system.ErrnoException { if ( ! ( closed ) ) { closed = true ; Libcore.os.munmap ( address , size ) ; } }
Source:
public static < V > com.google.common.util.concurrent.ListenableFuture < java.util.List < V > > allAsList ( com.google.common.util.concurrent.ListenableFuture < ? extends V > ... futures ) { return new com.google.common.util.concurrent.Futures.ListFuture < V > ( com.google.common.collect.ImmutableList.copyOf ( futures ) , true , com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor ( ) ) ; }

Target:
public static < V > com.google.common.util.concurrent.ListenableFuture < java.util.List < V > > successfulAsList ( com.google.common.util.concurrent.ListenableFuture < ? extends V > ... futures ) { return com.google.common.util.concurrent.Futures.listFuture ( com.google.common.collect.ImmutableList.copyOf ( futures ) , false , com.google.common.util.concurrent.MoreExecutors.directExecutor ( ) ) ; }
Source:
private void enforceReadPhoneStatePermission ( java.lang.String fn ) { if ( ( checkCallingOrSelfPermission ( android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE ) ) != ( android.content.pm.PackageManager.PERMISSION_GRANTED ) ) { enforceCallingOrSelfPermission ( android.Manifest.permission.READ_PHONE_STATE , fn ) ; } }

Target:
public android.telephony.ims.feature.MMTelFeature onCreateMMTelImsFeature ( int slotId ) { return null ; }
Source:
public com.android.jack.ir.ast.JAnnotation getType ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JPackage pack , @ javax.annotation.Nonnull java.lang.String simpleName ) { return pack.getPhantomAnnotation ( simpleName ) ; }

Target:
public com.android.jack.ir.ast.JAnnotationType getType ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JPackage pack , @ javax.annotation.Nonnull java.lang.String simpleName ) { return pack.getPhantomAnnotationType ( simpleName ) ; }
Source:
public native void setShort ( java.lang.Object object , short value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native void setShort ( java.lang.Object object , short value , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneMetadata getMetadataForRegion ( java.lang.String regionCode ) { synchronized ( regionToMetadataMap ) { if ( ! ( regionToMetadataMap.containsKey ( regionCode ) ) ) { loadMetadataFromFile ( regionCode , 0 ) ; } } return regionToMetadataMap.get ( regionCode ) ; }

Target:
public com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata getMetadataForRegion ( java.lang.String regionCode ) { synchronized ( regionToMetadataMap ) { if ( ! ( regionToMetadataMap.containsKey ( regionCode ) ) ) { loadMetadataFromFile ( currentFilePrefix , regionCode , 0 , metadataLoader ) ; } } return regionToMetadataMap.get ( regionCode ) ; }
Source:
public com.android.ide.common.resources.configuration.FolderConfiguration getConfiguration ( ) { java.lang.String qualifier = getQualifiers ( ) ; if ( qualifier.isEmpty ( ) ) { return new com.android.ide.common.resources.configuration.FolderConfiguration ( ) ; } return com.android.ide.common.resources.configuration.FolderConfiguration.getConfigFromQualifiers ( com.google.common.base.Splitter.on ( '-' ) . split ( qualifier ) ) ; }

Target:
public com.android.ide.common.resources.configuration.FolderConfiguration getConfiguration ( ) { java.lang.String qualifier = getQualifiers ( ) ; if ( qualifier.isEmpty ( ) ) { return new com.android.ide.common.resources.configuration.FolderConfiguration ( ) ; } return com.android.ide.common.resources.configuration.FolderConfiguration.getConfigForQualifierString ( qualifier ) ; }
Source:
protected void connect ( java.net.InetAddress address , int port ) throws java.net.SocketException { connect0 ( address , port ) ; connectedAddress = address ; connectedPort = port ; connected = true ; }

Target:
protected void connect ( java.net.InetAddress address , int port ) throws java.net.SocketException { dalvik.system.BlockGuard.getThreadPolicy ( ) . onNetwork ( ) ; connect0 ( address , port ) ; connectedAddress = address ; connectedPort = port ; connected = true ; }
Source:
public void sendMessage ( @ android.annotation.NonNull java.lang.Object peerHandle , int messageId , @ android.annotation.Nullable byte [ ] message ) { sendMessage ( peerHandle , messageId , message , 0 ) ; }

Target:
public void sendMessage ( @ android.annotation.NonNull android.net.wifi.aware.WifiAwareManager.PeerHandle peerHandle , int messageId , @ android.annotation.Nullable byte [ ] message ) { sendMessage ( peerHandle , messageId , message , 0 ) ; }
Source:
public void visitTableSwitchInsn ( int min , int max , org.objectweb.asm.Label dflt , org.objectweb.asm.Label ... labels ) { printer.visitTableSwitchInsn ( min , max , dflt , labels ) ; printTypeOfOperandStackTop ( ) ; super . visitTableSwitchInsn ( min , max , dflt , labels ) ; }

Target:
public void visitLookupSwitchInsn ( org.objectweb.asm.Label dflt , int [ ] keys , org.objectweb.asm.Label [ ] labels ) { printer.visitLookupSwitchInsn ( dflt , keys , labels ) ; printTypeOfOperandStack ( ) ; super . visitLookupSwitchInsn ( dflt , keys , labels ) ; }
Source:
public static void computeMin ( android.renderscript.cts.TestMin.ArgumentsCharCharChar args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( byte ) ( java.lang.StrictMath.min ( args.inV1 , args.inV2 ) ) ) ; }

Target:
public static void computeMax ( android.renderscript.cts.TestMax.ArgumentsShortShortShort args ) { args.out = android.renderscript.cts.CoreMathVerifier.maxI16 ( args.inV1 , args.inV2 ) ; }
Source:
public void testRemainderF32 ( ) { script_f32 = new android.renderscript.cts.ScriptC_remainder_f32 ( mRS , mRes , R.raw.remainder_f32 ) ; android.renderscript.cts.ScriptField_remainder_f32 in = new android.renderscript.cts.ScriptField_remainder_f32 ( mRS , INPUTSIZE ) ; mIn = in.getAllocation ( ) ; doF32 ( 1193592 , 0 ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; script_f32 = new android.renderscript.cts.ScriptC_remainder_f32 ( mRS ) ; }
Source:
public int poll ( libcore.io.StructPollfd [ ] fds , int timeoutMs ) throws libcore.io.ErrnoException { return os.poll ( fds , timeoutMs ) ; }

Target:
public int poll ( android.system.StructPollfd [ ] fds , int timeoutMs ) throws android.system.ErrnoException { return os.poll ( fds , timeoutMs ) ; }
Source:
public native boolean setLastModifiedTime ( java.io.File f , long time ) ;

Target:
public boolean setLastModifiedTime ( java.io.File f , long time ) { dalvik.system.BlockGuard.getThreadPolicy ( ) . onWriteToDisk ( ) ; return setLastModifiedTime0 ( f , time ) ; }
Source:
public void resetDownloadKnowledge ( java.lang.String appName , android.telephony.mbms.DownloadRequest downloadRequest ) throws android.os.RemoteException { }

Target:
public void dispose ( java.lang.String appName , int subscriptionId ) throws android.os.RemoteException { }
Source:
public void enableDiscovery ( com.android.nfc.NfcDiscoveryParameters params , boolean restart ) { doEnableDiscovery ( params.getTechMask ( ) , params.shouldEnableLowPowerDiscovery ( ) , params.shouldEnableReaderMode ( ) , restart ) ; }

Target:
public void enableDiscovery ( com.android.nfc.NfcDiscoveryParameters params , boolean restart ) { doEnableDiscovery ( params.getTechMask ( ) , params.shouldEnableLowPowerDiscovery ( ) , params.shouldEnableReaderMode ( ) , params.shouldEnableP2p ( ) , restart ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mHasTelephony = getContext ( ) . getPackageManager ( ) . hasSystemFeature ( PackageManager.FEATURE_TELEPHONY ) ; }
Source:
public void testAdd3 ( ) { java.util.concurrent.CopyOnWriteArraySet full = jsr166.CopyOnWriteArraySetTest.populatedSet ( 3 ) ; full.add ( three ) ; assertTrue ( full.contains ( three ) ) ; }

Target:
public void testAdd2 ( ) { java.util.Set full = jsr166.CopyOnWriteArraySetTest.populatedSet ( 3 ) ; full.add ( one ) ; assertEquals ( 3 , full.size ( ) ) ; }
Source:
public org.objectweb.asm.tree.AbstractInsnNode clone ( final java.util.Map < org.objectweb.asm.tree.LabelNode , org.objectweb.asm.tree.LabelNode > labels ) { return new org.objectweb.asm.tree.JumpInsnNode ( opcode , clone ( label , labels ) ) ; }

Target:
public org.objectweb.asm.tree.AbstractInsnNode clone ( final java.util.Map < org.objectweb.asm.tree.LabelNode , org.objectweb.asm.tree.LabelNode > labels ) { return new org.objectweb.asm.tree.JumpInsnNode ( opcode , clone ( label , labels ) ) . cloneAnnotations ( this ) ; }
Source:
public void testDisconnectCause ( ) { if ( ! ( mShouldTestTelecom ) ) { return ; } org.junit.Assert.assertThat ( mCall.getDetails ( ) . getDisconnectCause ( ) , org.hamcrest.CoreMatchers.is ( android.telecom.DisconnectCause.class ) ) ; }

Target:
public void testDisconnectCause ( ) { if ( ! ( mShouldTestTelecom ) ) { return ; } org.junit.Assert.assertThat ( mCall.getDetails ( ) . getDisconnectCause ( ) , org.hamcrest.CoreMatchers.instanceOf ( android.telecom.DisconnectCause.class ) ) ; }
Source:
public final double getDouble ( int index ) { checkNotFreed ( ) ; checkIndex ( index , SizeOf.DOUBLE ) ; return java.lang.Double.longBitsToDouble ( this . block.peekLong ( ( ( offset ) + index ) , order ) ) ; }

Target:
public final double getDouble ( int index ) { checkIsAccessible ( ) ; checkIndex ( index , SizeOf.DOUBLE ) ; return java.lang.Double.longBitsToDouble ( this . block.peekLong ( ( ( offset ) + index ) , order ) ) ; }
Source:
protected java.io.File downloadFile ( com.android.sdklib.internal.repository.Archive archive , java.lang.String osSdkRoot , com.android.sdklib.internal.repository.ITaskMonitor monitor , boolean forceHttp ) { java.io.File file = mDownloadMap.get ( archive ) ; this . mFile.recordExistingFile ( file ) ; return file ; }

Target:
protected java.io.File downloadFile ( com.android.sdklib.internal.repository.Archive archive , java.lang.String osSdkRoot , com.android.sdklib.internal.repository.DownloadCache cache , com.android.sdklib.internal.repository.ITaskMonitor monitor , boolean forceHttp ) { java.io.File file = mDownloadMap.get ( archive ) ; this . mFile.recordExistingFile ( file ) ; return file ; }
Source:
public void requestNetwork ( android.net.NetworkRequest request , int timeoutMs , android.net.ConnectivityManager.NetworkCallback networkCallback ) { android.net.ConnectivityManager.checkTimeout ( timeoutMs ) ; int legacyType = inferLegacyTypeForNetworkCapabilities ( request.networkCapabilities ) ; requestNetwork ( request , networkCallback , timeoutMs , legacyType , getDefaultHandler ( ) ) ; }

Target:
public void startCaptivePortalApp ( android.net.Network network ) { try { mService.startCaptivePortalApp ( network ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public void setBounds ( int startInd , int endInd ) { if ( com.android.bluetooth.avrcpcontroller.AvrcpControllerStateMachine.DBG ) { android.util.Log.d ( STATE_TAG , ( ( ( "startInd " + startInd ) + " endInd " ) + endInd ) ) ; } mStartInd = startInd ; mEndInd = endInd ; }

Target:
public void setBounds ( int startInd , int endInd ) { if ( com.android.bluetooth.avrcpcontroller.AvrcpControllerStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.avrcpcontroller.AvrcpControllerStateMachine.GetFolderList.STATE_TAG , ( ( ( "startInd " + startInd ) + " endInd " ) + endInd ) ) ; } mStartInd = startInd ; mEndInd = endInd ; }
Source:
public static short $noinline$floatToIntToShort ( float value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( value ) ) ; }

Target:
public static int $noinline$floatToDoubleToInt ( float value ) { return ( ( int ) ( ( double ) ( value ) ) ) ; }
Source:
public java.util.Set < java.lang.String > getApplicationFilters ( ) { return ( include ) == null ? new java.util.HashSet < java.lang.String > ( ) : include ; }

Target:
public java.util.Set < java.lang.String > getApplicationFilters ( ) { return ( ( include ) == null ) || ( ! ( enable ) ) ? new java.util.HashSet < java.lang.String > ( ) : include ; }
Source:
public int hashCode ( ) { return getHandle ( ) ; }

Target:
public int hashCode ( ) { int result = 17 ; result = ( 31 * result ) + ( ( int ) ( ( mHandle ) ^ ( ( mHandle ) > > > 32 ) ) ) ; return result ; }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { mWipeData = wipeButton.getSelection ( ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent arg0 ) { mWipeData = wipeButton.getSelection ( ) ; updateSnapshotLaunchAvailability ( ) ; }
Source:
native void rsnScriptForEach ( long con , long id , int slot , long ain , long aout , byte [ ] params ) ;

Target:
native void rsnScriptForEach ( long con , long incCon , long id , int slot , long ain , long aout , byte [ ] params , boolean mUseInc ) ;
Source:
public static int Xor0 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg ^ 0 ; }

Target:
public static int $noinline$Xor0 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg ^ 0 ; }
Source:
private static byte [ ] generateAdditionalAttributes ( com.android.apksig.internal.apk.ApkSigningBlockUtils.SignerConfig signerConfig ) { if ( ( signerConfig.mSigningCertificateLineage ) == null ) { return new byte [ 0 ] ; } throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
private static byte [ ] generateAdditionalAttributes ( com.android.apksig.internal.apk.ApkSigningBlockUtils.SignerConfig signerConfig ) { if ( ( signerConfig.mSigningCertificateLineage ) == null ) { return new byte [ 0 ] ; } return signerConfig.mSigningCertificateLineage.generateV3SignerAttribute ( ) ; }
Source:
public static com.android.ide.eclipse.ddms.DdmsPlugin.IDebugLauncher getRunningAppDebugLauncher ( ) { return com.android.ide.eclipse.ddms.DdmsPlugin.sRunningAppDebugLauncher ; }

Target:
public com.android.ide.eclipse.ddms.IDebuggerConnector [ ] getDebuggerConnectors ( ) { return mDebuggerConnectors ; }
Source:
public android.net.wifi.nan.LvBufferUtils.LvConstructor putByte ( byte b ) { mTlvImpl.putByte ( 0 , b ) ; return this ; }

Target:
public android.net.wifi.aware.LvBufferUtils.LvConstructor putByte ( byte b ) { mTlvImpl.putByte ( 0 , b ) ; return this ; }
Source:
public static void v ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { if ( android.telecom.Log.VERBOSE ) { android.util.Log.v ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( android.telecom.Log.getPrefixFromObject ( objectPrefix ) , format , args ) ) ; } }

Target:
public static void w ( java.lang.Object objectPrefix , java.lang.String format , java.lang.Object ... args ) { if ( android.telecom.Log.WARN ) { android.util.Slog.w ( android.telecom.Log.TAG , android.telecom.Log.buildMessage ( android.telecom.Log.getPrefixFromObject ( objectPrefix ) , format , args ) ) ; } }
Source:
public void loadBoundProfilePackage ( java.lang.String callingPackage , byte [ ] boundProfilePackage , com.android.internal.telephony.euicc.ILoadBoundProfilePackageCallback callback ) { checkCallingPackage ( callingPackage ) ; }

Target:
public void onResult ( byte [ ] result ) { try { callback.onComplete ( EuiccCardManager.RESULT_OK , result ) ; } catch ( android.os.RemoteException exception ) { throw exception.rethrowFromSystemServer ( ) ; } }
Source:
public void notifyChange ( android.net.Uri uri , android.database.ContentObserver observer , boolean syncToNetwork , int userHandle ) { ( notifyChangeCount ) ++ ; }

Target:
public void notifyChange ( android.net.Uri uri , android.database.ContentObserver observer , boolean syncToNetwork , int userHandle ) { ( notifyChangeCount ) ++ ; if ( com.android.providers.telephony.TelephonyProviderTest.URL_RESTOREAPN_USING_SUBID.equals ( uri ) ) { ( notifyChangeRestoreCount ) ++ ; } }
Source:
public void handshakeCompleted ( ) { if ( org.apache.harmony.xnet.provider.jsse.NativeCryptoTest.DEBUG ) { java.lang.System.out.println ( ( ( "ssl=0x" + ( java.lang.Integer.toString ( sslNativePointer , 16 ) ) ) + " handshakeCompleted" ) ) ; } this . handshakeCompletedCalled = true ; }

Target:
public void handshakeCompleted ( ) { if ( org.apache.harmony.xnet.provider.jsse.NativeCryptoTest.DEBUG ) { java.lang.System.out.println ( ( ( "ssl=0x" + ( java.lang.Long.toString ( sslNativePointer , 16 ) ) ) + " handshakeCompleted" ) ) ; } this . handshakeCompletedCalled = true ; }
Source:
public com.android.build.gradle.integration.common.fixture.GradleTestProject create ( ) { return new com.android.build.gradle.integration.common.fixture.GradleTestProject ( name , testProject , experimentalMode , ( experimentalMode ? com.android.build.gradle.integration.common.fixture.GradleTestProject.GRADLE_EXP_TEST_VERSION : com.android.build.gradle.integration.common.fixture.GradleTestProject.GRADLE_TEST_VERSION ) , captureStdOut ) ; }

Target:
public com.android.build.gradle.integration.common.fixture.GradleTestProject create ( ) { return new com.android.build.gradle.integration.common.fixture.GradleTestProject ( name , testProject , experimentalMode , ( experimentalMode ? com.android.build.gradle.integration.common.fixture.GradleTestProject.GRADLE_EXP_TEST_VERSION : com.android.build.gradle.integration.common.fixture.GradleTestProject.GRADLE_TEST_VERSION ) , captureStdOut , captureStdErr ) ; }
Source:
public void testGetNonStartedScheduledRecordings ( ) { com.android.tv.dvr.ScheduledRecording recording = mDvrDataManager.addScheduledRecordingInternal ( createNewScheduledRecordingStartingNow ( ) ) ; java.util.List < com.android.tv.dvr.ScheduledRecording > result = mDvrDataManager.getNonStartedScheduledRecordings ( ) ; android.test.MoreAsserts.assertContentsInAnyOrder ( result , recording ) ; }

Target:
public void testGetNonStartedScheduledRecordings ( ) { com.android.tv.dvr.data.ScheduledRecording recording = mDvrDataManager.addScheduledRecordingInternal ( createNewScheduledRecordingStartingNow ( ) ) ; java.util.List < com.android.tv.dvr.data.ScheduledRecording > result = mDvrDataManager.getNonStartedScheduledRecordings ( ) ; android.test.MoreAsserts.assertContentsInAnyOrder ( result , recording ) ; }
Source:
void putUnchecked ( int pos , int [ ] dst , int srcOffset , int length ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
abstract void getUnchecked ( int pos , long [ ] dst , int dstOffset , int length ) ;
Source:
public void reloadFromXmlNode ( org.w3c.dom.Node xml_node ) { com.android.ide.eclipse.adt.internal.editors.AndroidEditor editor = getEditor ( ) ; clearContent ( ) ; setEditor ( editor ) ; if ( xml_node != null ) { setXmlDocument ( xml_node.getOwnerDocument ( ) ) ; } loadFromXmlNode ( xml_node ) ; }

Target:
public void reloadFromXmlNode ( org.w3c.dom.Node xml_node ) { com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor editor = getEditor ( ) ; clearContent ( ) ; setEditor ( editor ) ; if ( xml_node != null ) { setXmlDocument ( xml_node.getOwnerDocument ( ) ) ; } loadFromXmlNode ( xml_node ) ; }
Source:
public void onRemovingChildren ( @ com.android.annotations.NonNull java.util.List < com.android.ide.common.api.INode > deleted , @ com.android.annotations.NonNull com.android.ide.common.api.INode parent ) { super . onRemovingChildren ( deleted , parent ) ; com.android.ide.common.layout.grid.GridModel grid = com.android.ide.common.layout.grid.GridModel.get ( mRulesEngine , parent , null ) ; grid.onDeleted ( deleted ) ; }

Target:
public void onRemovingChildren ( @ com.android.annotations.NonNull java.util.List < com.android.ide.common.api.INode > deleted , @ com.android.annotations.NonNull com.android.ide.common.api.INode parent , boolean moved ) { super . onRemovingChildren ( deleted , parent , moved ) ; com.android.ide.common.layout.grid.GridModel grid = com.android.ide.common.layout.grid.GridModel.get ( mRulesEngine , parent , null ) ; grid.onDeleted ( deleted ) ; }
Source:
public void test_until_TemporalUnit_nullUnit ( ) { TEST_12345_123456789.until ( TEST_12345_123456789 , null ) ; }

Target:
public void test_until_TemporalUnit_nullUnit ( ) { tck.java.time.TCKInstant.TEST_12345_123456789.until ( tck.java.time.TCKInstant.TEST_12345_123456789 , null ) ; }
Source:
public < A extends java.lang.annotation.Annotation > A getAnnotation ( java.lang.Class < A > annotationType ) { if ( annotationType == null ) { throw new java.lang.NullPointerException ( "annotationType == null" ) ; } return getAnnotationNative ( annotationType ) ; }

Target:
public < A extends java.lang.annotation.Annotation > A getAnnotation ( java.lang.Class < A > annotationType ) { if ( annotationType == null ) { throw new java.lang.NullPointerException ( "annotationType == null" ) ; } return libcore.reflect.AnnotationAccess.getDeclaredAnnotation ( this , annotationType ) ; }
Source:
public void invokeOemRilRequestStrings ( java.lang.String [ ] strings , android.os.Message response ) { if ( response != null ) { android.os.AsyncResult.forMessage ( response ) . result = strings ; response.sendToTarget ( ) ; } }

Target:
public void unregisterForIccRefresh ( android.os.Handler h ) { super . unregisterForIccRefresh ( h ) ; com.android.internal.telephony.test.SimulatedCommandsVerifier.getInstance ( ) . unregisterForIccRefresh ( h ) ; }
Source:
public void onClick ( android.view.View v ) { mPrivateHandler.removeCallbacks ( mZoomControlRunnable ) ; mPrivateHandler.postDelayed ( mZoomControlRunnable , android.webkit.WebView.ZOOM_CONTROLS_TIMEOUT ) ; zoomScrollOut ( ) ; }

Target:
public void onClick ( android.view.View v ) { mPrivateHandler.removeCallbacks ( mZoomControlRunnable ) ; mPrivateHandler.postDelayed ( mZoomControlRunnable , android.webkit.WebView.ZOOM_CONTROLS_TIMEOUT ) ; zoomIn ( ) ; }
Source:
public void testTranslatedArrays ( ) throws java.lang.Exception { TranslationDetector.COMPLETE_REGIONS = true ; assertEquals ( "No warnings." , lintProject ( "res/values/translatedarrays.xml" , "res/values-cs/translatedarrays.xml" ) ) ; }

Target:
public void testTranslatedArrays ( ) throws java.lang.Exception { TranslationDetector.sCompleteRegions = true ; assertEquals ( "No warnings." , lintProject ( "res/values/translatedarrays.xml" , "res/values-cs/translatedarrays.xml" ) ) ; }
Source:
private void debugLog ( java.lang.String msg ) { if ( com.android.bluetooth.btservice.AdapterState.DBG ) { android.util.Log.d ( com.android.bluetooth.btservice.AdapterState.TAG , msg ) ; } }

Target:
void infoLog ( java.lang.String msg ) { if ( com.android.bluetooth.btservice.AdapterState.DBG ) { android.util.Log.i ( com.android.bluetooth.btservice.AdapterState.TAG , ( ( ( android.bluetooth.BluetoothAdapter.nameForState ( getStateValue ( ) ) ) + " : " ) + msg ) ) ; } }
Source:
public static native double hypot ( double x , double y ) ;

Target:
public static native double cosh ( double x ) ;
Source:
void expect ( java.lang.String rules , java.lang.String source , java.lang.String expectedResult ) { expect ( rules , source , expectedResult , null ) ; }

Target:
static void expect ( android.icu.text.Transliterator t , java.lang.String source , java.lang.String expectedResult ) { android.icu.dev.test.translit.TransliteratorTest.expect ( t , source , expectedResult , ( ( android.icu.text.Transliterator.Position ) ( null ) ) ) ; }
Source:
public boolean contains ( java.lang.String key ) { return contains ( key , ( - 1 ) ) ; }

Target:
public boolean contains ( java.lang.String key ) { return contains ( key , android.security.KeyStore.UID_SELF ) ; }
Source:
public native void set ( java.lang.Object object , java.lang.Object value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native byte getByte ( java.lang.Object object , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public static short charToDoubleToShort ( char value ) { return ( ( short ) ( ( double ) ( value ) ) ) ; }

Target:
public static short $noinline$charToDoubleToShort ( char value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( short ) ( ( double ) ( value ) ) ) ; }
Source:
public static byte checkedCast ( long value ) { com.google.common.base.Preconditions.checkArgument ( ( ( value > > ( java.lang.Byte.SIZE ) ) == 0 ) , "out of range: %s" , value ) ; return ( ( byte ) ( value ) ) ; }

Target:
public static byte checkedCast ( long value ) { if ( ( value > > ( java.lang.Byte.SIZE ) ) != 0 ) { throw new java.lang.IllegalArgumentException ( ( "Out of range: " + value ) ) ; } return ( ( byte ) ( value ) ) ; }
Source:
public abstract boolean handleChangedGeneratedJavaFile ( org.eclipse.core.resources.IFolder currentSourceFolder , org.eclipse.core.resources.IFile file , java.util.List < org.eclipse.core.runtime.IPath > sourceFolders ) ;

Target:
protected abstract java.lang.String getExtension ( ) ;
Source:
public static boolean isCleartextTrafficPermitted ( ) { return libcore.net.NetworkSecurityPolicy.cleartextTrafficPermitted ; }

Target:
public static libcore.net.NetworkSecurityPolicy getInstance ( ) { return libcore.net.NetworkSecurityPolicy.instance ; }
Source:
final void putFloat ( int offset , float value ) { sun.nio.ch.NativeObject.unsafe.putFloat ( ( offset + ( address ) ) , value ) ; }

Target:
final void putFloat ( int offset , float value ) { sun.nio.ch.NativeObject.unsafe.putFloat$ ( ( offset + ( address ) ) , value ) ; }
Source:
public java.lang.String getTypeDescription ( ) { return "a list of dependency android data in the format " + ( "resources[#resources]:assets[#assets]:manifest:r.txt" + "[,resources[#resources]:assets[#assets]:manifest:r.txt]" ) ; }

Target:
public java.lang.String getTypeDescription ( ) { return ( "a list of dependency android data in the format " + ( DependencyAndroidData.EXPECTED_FORMAT ) ) + "[,...]" ; }
Source:
public void test1 ( ) throws java.lang.Exception { assertEquals ( ( "" + ( ( ( "res/values-pl/plurals2.xml:3: Error: For locale \"pl\" (Polish) the following quantities should also be defined: many [MissingQuantity]\n" + " <plurals name=\"numberOfSongsAvailable\">\n" ) + " ^\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "res/values/plurals.xml" , "res/values/plurals2.xml" , "res/values-pl/plurals2.xml" ) ) ; }

Target:
public void test1 ( ) throws java.lang.Exception { mEnabled = com.google.common.collect.Sets.newHashSet ( PluralsDetector.MISSING , PluralsDetector.EXTRA ) ; assertEquals ( ( "" + ( ( ( "res/values-pl/plurals2.xml:3: Error: For locale \"pl\" (Polish) the following quantities should also be defined: many [MissingQuantity]\n" + " <plurals name=\"numberOfSongsAvailable\">\n" ) + " ^\n" ) + "1 errors, 0 warnings\n" ) ) , lintProject ( "res/values/plurals.xml" , "res/values/plurals2.xml" , "res/values-pl/plurals2.xml" ) ) ; }
Source:
public int getCompilerSubReleaseCode ( ) { return 8 ; }

Target:
public int getCompilerSubReleaseCode ( ) { return com.android.jack.Jack.getVersion ( ) . getSubReleaseCode ( ) ; }
Source:
public void addFailure ( junit.framework.Test test , junit.framework.AssertionFailedError error ) { java.lang.System.out.println ( java.lang.String.format ( "failure:%s" , stringify ( error ) ) ) ; }

Target:
public void addError ( junit.framework.Test test , java.lang.Throwable error ) { java.lang.System.out.println ( java.lang.String.format ( "failure:%s" , com.android.compatibility.dalvik.DalvikTestRunner.DalvikTestListener.stringify ( error ) ) ) ; }
Source:
public void actionPerformed ( java.awt.event.ActionEvent e ) { updateCheckboxes ( ) ; }

Target:
public void actionPerformed ( java.awt.event.ActionEvent event ) { if ( myPassCountCheckbox.isSelected ( ) ) { myConditionCheckbox.setSelected ( false ) ; } updateCheckboxes ( ) ; }
Source:
private void handleChannelChanged ( ) { if ( mStarted ) { if ( needToStop ( ) ) { stop ( ) ; } } else { start ( ) ; } }

Target:
private void handleChannelChanged ( ) { if ( mStarted ) { if ( needToStop ( ) ) { stop ( ) ; } } else { if ( canStart ( ) ) { start ( ) ; } } }
Source:
static float $opt$ShortToFloat ( short a ) { return ( ( float ) ( a ) ) ; }

Target:
static char $opt$ShortToChar ( short a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( char ) ( a ) ) ; }
Source:
public void registrationProgressing ( ) { if ( com.android.ims.ImsManager.DBG ) { com.android.ims.ImsManager.log ( "registrationProgressing ::" ) ; } if ( ( mListener ) != null ) { mListener.onImsProgressing ( ) ; } }

Target:
public void registrationConnected ( ) { if ( com.android.ims.ImsManager.DBG ) { com.android.ims.ImsManager.log ( "registrationConnected ::" ) ; } if ( ( mListener ) != null ) { mListener.onImsConnected ( ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN ) ; } }
Source:
public java.lang.String installId ( ) { return com.android.sdklib.internal.repository.packages.PlatformToolPackage.INSTALL_ID ; }

Target:
public java.lang.String installId ( ) { if ( getRevision ( ) . isPreview ( ) ) { return com.android.sdklib.internal.repository.packages.PlatformToolPackage.INSTALL_ID_PREVIEW ; } else { return com.android.sdklib.internal.repository.packages.PlatformToolPackage.INSTALL_ID ; } }
Source:
public static com.google.gct.testing.CloudResultsAdapter getCloudResultsAdapter ( java.lang.String testRunId ) { return com.google.gct.testing.GoogleCloudTestingConfigurationFactoryImpl.testRunIdToCloudResultsAdapter.get ( testRunId ) ; }

Target:
public static com.google.gct.testing.CloudResultsAdapter getCloudResultsAdapter ( java.lang.String testRunId ) { return com.google.gct.testing.CloudTestConfigurationProviderImpl.testRunIdToCloudResultsAdapter.get ( testRunId ) ; }
Source:
public void testVroot ( ) throws java.lang.Exception { assertTrue ( ( "Device is vulnerable to CVE-2013-6282. Please apply security patch at " + ( ( "https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/" + "commit/arch/arm/include/asm/uaccess.h?id=" ) + "8404663f81d212918ff85f493649a7991209fa04" ) ) , android.security.cts.NativeCodeTest.doVrootTest ( ) ) ; }

Target:
public void testVroot ( ) throws java.lang.Exception { assertTrue ( android.security.cts.NativeCodeTest.doVrootTest ( ) ) ; }
Source:
java.io.File getOutputFile ( ) ;

Target:
java.util.Collection < com.android.builder.model.AndroidArtifactOutput > getOutputs ( ) ;
Source:
public void visitBlock ( com.android.dx.cf.code.BasicBlock b ) { reachableLabels.add ( b.getLabel ( ) ) ; }

Target:
public void visitBlock ( com.android.dx.rop.code.BasicBlock b ) { reachableLabels.add ( b.getLabel ( ) ) ; }
Source:
public void onConnectionServiceChanged ( com.android.server.telecom.Call call , com.android.server.telecom.ConnectionServiceWrapper oldService , com.android.server.telecom.ConnectionServiceWrapper newService ) { updateCall ( call ) ; }

Target:
public void onCallStateChanged ( com.android.server.telecom.Call call , int oldState , int newState ) { if ( call.isSelfManaged ( ) ) { android.telecom.Log.i ( this , "onExternalCallChanged: skipped self-managed %s" , call ) ; return ; } updateCall ( call ) ; }
Source:
public void setTrace ( @ com.android.annotations.NonNull com.android.tools.perflib.vmtrace.VmTraceData traceData , @ com.android.annotations.NonNull java.lang.String threadName , com.android.tools.perflib.vmtrace.ClockType renderClockType ) { mTraceData = traceData ; displayThread ( threadName ) ; }

Target:
public void setTrace ( @ com.android.annotations.NonNull com.android.tools.perflib.vmtrace.VmTraceData traceData , @ com.android.annotations.NonNull java.lang.String threadName , com.android.tools.perflib.vmtrace.ClockType renderClock ) { mTraceData = traceData ; displayThread ( threadName ) ; setRenderClock ( renderClock ) ; }
Source:
public static java.lang.String getDialogTitle ( com.android.internal.location.GpsNetInitiatedHandler.GpsNiNotification notif ) { return com.android.internal.location.GpsNetInitiatedHandler.getNotifTitle ( notif ) ; }

Target:
private static java.lang.String getDialogMessage ( com.android.internal.location.GpsNetInitiatedHandler.GpsNiNotification notif , android.content.Context context ) { return com.android.internal.location.GpsNetInitiatedHandler.getNotifMessage ( notif , context ) ; }
Source:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { return vfs.getVFileLocation ( parent , name ) ; }

Target:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { return vfs.getVDirLocation ( parent.getWrappedDir ( ) , path ) ; }
Source:
public int setProvisionedValue ( int item , int value ) throws android.os.RemoteException { return ImsConfig.OperationStatusConstants.SUCCESS ; }

Target:
public int setConfig ( int item , java.lang.String value ) { replaceConfig ( new com.android.phone.testapps.imstestapp.TestImsConfigImpl.ConfigItem ( item , value ) ) ; return ImsConfig.OperationStatusConstants.SUCCESS ; }
Source:
public com.android.ims.internal.IImsCallSession createCallSession ( com.android.ims.ImsCallProfile profile ) throws android.os.RemoteException { synchronized ( mLock ) { com.android.ims.internal.ImsCallSession s = this . createCallSession ( profile ) ; return s != null ? s.getSession ( ) : null ; } }

Target:
public com.android.ims.internal.IImsCallSession createCallSession ( android.telephony.ims.ImsCallProfile profile ) throws android.os.RemoteException { synchronized ( mLock ) { android.telephony.ims.stub.ImsCallSessionImplBase s = this . createCallSession ( profile ) ; return s != null ? s.getServiceImpl ( ) : null ; } }
Source:
public void visitMethodrefConstant ( proguard.optimize.Clazz clazz , proguard.classfile.constant.MethodrefConstant methodrefConstant ) { recursive = targetMethod.equals ( methodrefConstant.referencedMember ) ; }

Target:
public void visitAnyMethodrefConstant ( proguard.optimize.Clazz clazz , proguard.optimize.RefConstant methodrefConstant ) { recursive = targetMethod.equals ( methodrefConstant.referencedMember ) ; }
Source:
public void verifyParcelWithoutPolicyUpdate ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.Policy policy = android.net.wifi.hotspot2.pps.PolicyTest.createPolicy ( ) ; policy.policyUpdate = null ; android.net.wifi.hotspot2.pps.PolicyTest.verifyParcel ( policy ) ; }

Target:
public void verifyParcelWithoutProtoPortMap ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.Policy policy = android.net.wifi.hotspot2.pps.PolicyTest.createPolicy ( ) ; policy.setRequiredProtoPortMap ( null ) ; android.net.wifi.hotspot2.pps.PolicyTest.verifyParcel ( policy ) ; }
Source:
public void factory_ofEpochDay_belowMin ( ) { java.time.LocalDate.ofEpochDay ( ( ( MIN_VALID_EPOCHDAYS ) - 1 ) ) ; }

Target:
public void factory_ofEpochDay_belowMin ( ) { java.time.LocalDate.ofEpochDay ( ( ( tck.java.time.TCKLocalDate.MIN_VALID_EPOCHDAYS ) - 1 ) ) ; }
Source:
java.lang.String toGenericString ( ) { return toGenericStringHelper ( ) ; }

Target:
public java.lang.reflect.Type [ ] getGenericExceptionTypes ( ) { return libcore.reflect.Types.getTypeArray ( getMethodOrConstructorGenericInfoInternal ( ) . genericExceptionTypes , false ) ; }
Source:
public android.hardware.cts.helpers.SensorStats getStats ( ) { return mOperation.getStats ( ) ; }

Target:
public android.hardware.cts.helpers.sensoroperations.DelaySensorOperation clone ( ) { return new android.hardware.cts.helpers.sensoroperations.DelaySensorOperation ( mOperation.clone ( ) , mDelay , mTimeUnit ) ; }
Source:
private void onCall ( int call ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_CALL ) ; event.valueInt = call ; android.util.Log.d ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.TAG , ( "incoming" + event ) ) ; sendMessage ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.STACK_EVENT , event ) ; }

Target:
private void onCall ( int call ) { com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent event = new com.android.bluetooth.hfpclient.HeadsetClientStateMachine.StackEvent ( com.android.bluetooth.hfpclient.HeadsetClientStateMachine.EVENT_TYPE_CALL ) ; event.valueInt = call ; 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:
com.google.devtools.common.options.OptionsData.ExpansionData getExpansionDataForField ( java.lang.reflect.Field field ) { com.google.devtools.common.options.OptionsData.ExpansionData result = expansionDataForFields.get ( field ) ; return result != null ? result : com.google.devtools.common.options.OptionsData.EMPTY_EXPANSION_DATA ; }

Target:
com.google.devtools.common.options.OptionsData.ExpansionData getExpansionDataForField ( com.google.devtools.common.options.OptionDefinition optionDefinition ) { com.google.devtools.common.options.OptionsData.ExpansionData result = expansionDataForFields.get ( optionDefinition ) ; return result != null ? result : com.google.devtools.common.options.OptionsData.EMPTY_EXPANSION_DATA ; }
Source:
private static com.android.sdklib.repository.FullRevision parseRevisionSilently ( java.lang.String versionString ) { try { return com.android.sdklib.repository.FullRevision.parseRevision ( versionString ) ; } catch ( java.lang.Throwable t ) { return null ; } }

Target:
private static com.android.sdklib.repository.PreciseRevision parseRevisionSilently ( java.lang.String versionString ) { try { return com.android.sdklib.repository.PreciseRevision.parseRevision ( versionString ) ; } catch ( java.lang.Throwable t ) { return null ; } }
Source:
public long queryCapabilities ( ) throws android.os.RemoteException { return this . queryCapabilities ( ) . mCapabilities ; }

Target:
public void sendSms ( int messageRef , java.lang.String format , java.lang.String smsc , boolean retry , byte [ ] pdu ) { synchronized ( mLock ) { this . sendSms ( messageRef , format , smsc , retry , pdu ) ; } }
Source:
public void testFindView_Ambiguous ( ) { android.view.View root = setUpViewHierarchy ( ) ; try { android.support.test.espresso.assertion.PositionAssertions.findView ( android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom ( android.widget.TextView.class ) , root ) ; } catch ( android.support.test.espresso.AmbiguousViewMatcherException expected ) { return ; } fail ( "AmbiguousViewMatcherException is expected." ) ; }

Target:
public void findView_Ambiguous ( ) { android.view.View root = setUpViewHierarchy ( ) ; expectedException.expect ( android.support.test.espresso.AmbiguousViewMatcherException.class ) ; android.support.test.espresso.assertion.PositionAssertions.findView ( android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom ( android.widget.TextView.class ) , root ) ; }
Source:
public java.util.Map < java.lang.String , com.android.builder.model.AndroidProject > getAllModels ( ) { org.gradle.tooling.ProjectConnection connection = getProjectConnection ( ) ; try { return com.android.build.gradle.integration.common.fixture.GradleTestProject.buildModel ( connection ) ; } finally { connection.close ( ) ; } }

Target:
public java.util.Map < java.lang.String , com.android.builder.model.AndroidProject > getAllModels ( boolean emulateStudio_1_0 ) { org.gradle.tooling.ProjectConnection connection = getProjectConnection ( ) ; try { return com.android.build.gradle.integration.common.fixture.GradleTestProject.buildModel ( connection , emulateStudio_1_0 ) ; } finally { connection.close ( ) ; } }