auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public com.android.sched.vfs.MessageDigestInputVFS.MessageDigestInputVFile getInputVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotFileOrDirectoryException { return new com.android.sched.vfs.MessageDigestInputVFS.MessageDigestInputVFile ( dir.getInputVFile ( path ) , digests.get ( path ) ) ; }

Target:
public com.android.sched.vfs.MessageDigestInputVFS.MessageDigestInputVFile getInputVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotFileOrDirectoryException { com.android.sched.vfs.VPath filePathToRoot = pathToRoot.clone ( ) ; filePathToRoot.appendPath ( path ) ; return new com.android.sched.vfs.MessageDigestInputVFS.MessageDigestInputVFile ( dir.getInputVFile ( path ) , digests.get ( filePathToRoot ) ) ; }
Source:
public void setStrength ( int value ) { if ( value == ( java.text.Collator.IDENTICAL ) ) { value = java.text.com.ibm.icu.text.Collator ; } icuColl.setStrength ( value ) ; }

Target:
public void setStrength ( int value ) { icuColl.setStrength ( strength_Java_ICU ( value ) ) ; }
Source:
public android.content.Intent getIntent ( android.content.Context context ) { return new com.android.dialer.callintent.CallIntentBuilder ( number , CallInitiationType.Type.CALL_LOG ) . setPhoneAccountHandle ( accountHandle ) . setIsVideoCall ( true ) . build ( ) ; }

Target:
public android.content.Intent getIntent ( android.content.Context context ) { return com.android.dialer.precall.PreCall.getIntent ( context , new com.android.dialer.callintent.CallIntentBuilder ( number , CallInitiationType.Type.CALL_LOG ) . setPhoneAccountHandle ( accountHandle ) . setIsVideoCall ( true ) ) ; }
Source:
public void addDexPath ( java.lang.String dexPath ) { pathList.addDexPath ( dexPath , null ) ; }

Target:
public void addDexPath ( java.lang.String dexPath , boolean isTrusted ) { pathList.addDexPath ( dexPath , null , isTrusted ) ; }
Source:
void splitFromConference ( ) { if ( ( mConnectionService ) == null ) { com.android.server.telecom.Log.w ( this , "splitting from conference call without a connection service" ) ; } else { com.android.server.telecom.Log.event ( this , Log.Events.SPLIT_CONFERENCE ) ; mConnectionService.splitFromConference ( this ) ; } }

Target:
void splitFromConference ( ) { if ( ( mConnectionService ) == null ) { android.telecom.Log.w ( this , "splitting from conference call without a connection service" ) ; } else { android.telecom.Log.addEvent ( this , LogUtils.Events.SPLIT_FROM_CONFERENCE ) ; mConnectionService.splitFromConference ( this ) ; } }
Source:
public void playDtmfTone ( java.lang.String callId , char digit ) throws android.os.RemoteException { }

Target:
public void playDtmfTone ( java.lang.String callId , char digit , android.telecom.Logging.Session.Info info ) throws android.os.RemoteException { }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { on_ButtonDelete_widgetSelected ( e ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent event ) { on_SitesTableViewer_deselectAll ( ) ; }
Source:
protected java.util.Set < java.util.Map.Entry < K , java.util.Collection < V > > > createEntrySet ( ) { return new AsMapEntries ( ) ; }

Target:
java.util.Map < K , java.util.Collection < V > > createAsMap ( ) { return new com.google.common.collect.Multimaps.AsMap < K , V > ( this ) ; }
Source:
public com.google.common.base.Stopwatch stop ( ) { long tick = ticker.read ( ) ; com.google.common.base.Preconditions.checkState ( isRunning ) ; isRunning = false ; elapsedNanos += tick - ( startTick ) ; return this ; }

Target:
public com.google.common.base.Stopwatch stop ( ) { long tick = ticker.read ( ) ; com.google.common.base.Preconditions.checkState ( isRunning , "This stopwatch is already stopped." ) ; isRunning = false ; elapsedNanos += tick - ( startTick ) ; return this ; }
Source:
public void run ( ) { synchronized ( this ) { loadImage ( ) ; } }

Target:
public void run ( ) { synchronized ( this ) { loadImage ( ) ; crosshairLocation = model.getCrosshairLocation ( ) ; selectedNode = model.getSelected ( ) ; overlayImage = model.getOverlayImage ( ) ; } }
Source:
private boolean hasExpectedState ( ) { return ( mExpectedState ) == ( mConnectivityManager.getNetworkInfo ( mNetworkType ) . getState ( ) ) ; }

Target:
private boolean hasExpectedState ( ) { android.net.NetworkInfo network = mConnectivityManager.getNetworkInfo ( mNetworkType ) ; assertNotNull ( ( "Network type should be supported but it is not. Type: " + ( mNetworkType ) ) , network ) ; return ( mExpectedState ) == ( network.getState ( ) ) ; }
Source:
public void execute ( org.w3c.dom.Element element ) { renderPackages ( element ) ; }

Target:
protected void doExecute ( org.gradle.api.internal.html.SimpleHtmlWriter writer ) throws java.io.IOException { renderPackages ( writer ) ; }
Source:
native void rsnScriptSetVarV ( int con , int id , int slot , byte [ ] val ) ;

Target:
native void rsnScriptSetVarVE ( long con , long id , int slot , byte [ ] val , long e , int [ ] dims ) ;
Source:
static byte $opt$CharToByte ( char a ) { return ( ( byte ) ( a ) ) ; }

Target:
static byte $opt$CharToByte ( char a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( byte ) ( a ) ) ; }
Source:
public java.lang.String apply ( com.google.gct.testing.dimension.GoogleCloudTestingType input ) { return input.getResultsViewerDisplayName ( ) ; }

Target:
public java.lang.String apply ( com.google.gct.testing.dimension.CloudTestingType input ) { return input.getResultsViewerDisplayName ( ) ; }
Source:
public void testCaseSensitive ( ) { org.junit.Assert.assertFalse ( new org.jacoco.core.matcher.WildcardMatcher ( "abcdef" ) . matches ( "abcDef" ) ) ; org.junit.Assert.assertFalse ( new org.jacoco.core.matcher.WildcardMatcher ( "ABCDEF" ) . matches ( "AbCDEF" ) ) ; }

Target:
public void testCaseSensitive ( ) { org.junit.Assert.assertFalse ( new org.jacoco.core.matcher.WildcardMatcher ( "abcdef" ) . apply ( "abcDef" ) ) ; org.junit.Assert.assertFalse ( new org.jacoco.core.matcher.WildcardMatcher ( "ABCDEF" ) . apply ( "AbCDEF" ) ) ; }
Source:
public void test_minus_Period_timeNotAllowed ( ) { test.java.time.MockSimplePeriod period = test.java.time.MockSimplePeriod.of ( 7 , java.time.temporal.ChronoUnit.HOURS ) ; TEST_2007_07_15.minus ( period ) ; }

Target:
public void test_minus_Period_timeNotAllowed ( ) { test.java.time.MockSimplePeriod period = test.java.time.MockSimplePeriod.of ( 7 , java.time.temporal.ChronoUnit.HOURS ) ; tck.java.time.TCKLocalDate.TEST_2007_07_15.minus ( period ) ; }
Source:
public void saveProperties ( java.util.Properties props ) { super . saveProperties ( props ) ; if ( ! ( getMinToolsRevision ( ) . equals ( com.android.sdklib.internal.repository.packages.MIN_TOOLS_REV_NOT_SPECIFIED ) ) ) { props.setProperty ( PkgProps.MIN_TOOLS_REV , getMinToolsRevision ( ) . toShortString ( ) ) ; } }

Target:
public void saveProperties ( java.util.Properties props ) { super . saveProperties ( props ) ; mMinToolsMixin.saveProperties ( props ) ; }
Source:
public final void scheduleCreateBackupAgent ( android.content.pm.ApplicationInfo app , android.content.res.CompatibilityInfo compatInfo , int backupMode ) { android.app.ActivityThread.CreateBackupAgentData d = new android.app.ActivityThread.CreateBackupAgentData ( ) ; d.appInfo = app ; d.compatInfo = compatInfo ; d.backupMode = backupMode ; queueOrSendMessage ( android.app.ActivityThread.H.CREATE_BACKUP_AGENT , d ) ; }

Target:
public final void scheduleCreateBackupAgent ( android.content.pm.ApplicationInfo app , android.content.res.CompatibilityInfo compatInfo , int backupMode ) { android.app.ActivityThread.CreateBackupAgentData d = new android.app.ActivityThread.CreateBackupAgentData ( ) ; d.appInfo = app ; d.compatInfo = compatInfo ; d.backupMode = backupMode ; sendMessage ( android.app.ActivityThread.H.CREATE_BACKUP_AGENT , d ) ; }
Source:
public void core ( ) throws java.lang.Exception { java.io.File coreOutFolder = com.android.jack.test.toolchain.AbstractTestTools.createTempDir ( ) ; com.android.jack.test.toolchain.AndroidToolchain toolchain = com.android.jack.test.toolchain.AbstractTestTools.getCandidateToolchain ( com.android.jack.test.toolchain.AndroidToolchain.class ) ; toolchain.libToExe ( com.android.jack.toolchain.ToolchainTest.corePath , coreOutFolder , false ) ; }

Target:
public void core ( ) throws java.lang.Exception { java.io.File coreOutFolder = com.android.jack.test.toolchain.AbstractTestTools.createTempDir ( ) ; com.android.jack.test.toolchain.AndroidToolchain toolchain = com.android.jack.test.toolchain.AbstractTestTools.getCandidateToolchain ( com.android.jack.test.toolchain.AndroidToolchain.class ) ; toolchain.libToExe ( com.android.jack.toolchain.ToolchainTest.coreOut , coreOutFolder , false ) ; }
Source:
public int getVerboseLoggingLevel ( ) { enforceAccessPermission ( ) ; return mFacade.getIntegerSetting ( mContext , Settings.Global.WIFI_VERBOSE_LOGGING_ENABLED , 0 ) ; }

Target:
public int getVerboseLoggingLevel ( ) { enforceAccessPermission ( ) ; mLog.trace ( "getVerboseLoggingLevel uid=%" ) . c ( android.os.Binder.getCallingUid ( ) ) . flush ( ) ; return mFacade.getIntegerSetting ( mContext , Settings.Global.WIFI_VERBOSE_LOGGING_ENABLED , 0 ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBranchBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 4 ; branch_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBuildVendorFingerprintBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 16384 ; buildVendorFingerprint_ = value ; onChanged ( ) ; return this ; }
Source:
public boolean isEmpty ( ) { return this . isEmpty ( ) ; }

Target:
public boolean isEmpty ( ) { return map.isEmpty ( ) ; }
Source:
boolean disable ( ) { enforceCallingOrSelfPermission ( com.android.bluetooth.btservice.AdapterService.BLUETOOTH_ADMIN_PERM , "Need BLUETOOTH ADMIN permission" ) ; debugLog ( ( "disable() called with mRunningProfiles.size() = " + ( mRunningProfiles.size ( ) ) ) ) ; mAdapterStateMachine.sendMessage ( AdapterState.BLE_TURN_OFF ) ; return true ; }

Target:
void onBrEdrDown ( ) { mAdapterStateMachine.sendMessage ( AdapterState.BLE_TURN_OFF ) ; }
Source:
private void unloadAllContainers ( java.util.Set < com.android.server.pm.PackageManagerService.SdInstallArgs > cidArgs ) { for ( com.android.server.pm.PackageManagerService.SdInstallArgs arg : cidArgs ) { synchronized ( mInstallLock ) { arg.doPostDeleteLI ( false ) ; } } }

Target:
private void unloadAllContainers ( java.util.Set < com.android.server.pm.PackageManagerService.AsecInstallArgs > cidArgs ) { for ( com.android.server.pm.PackageManagerService.AsecInstallArgs arg : cidArgs ) { synchronized ( mInstallLock ) { arg.doPostDeleteLI ( false ) ; } } }
Source:
public void testBack ( ) throws java.lang.Exception { com.android.tools.lint.checks.ButtonDetectorTest.sTestIssue = ButtonDetector.BACKBUTTON ; assertEquals ( "buttonbar.xml:183: Warning: Back buttons are not standard on Android; see design guide's navigation section" , lintProject ( "res/layout/buttonbar.xml" , "res/values/buttonbar-values.xml" ) ) ; }

Target:
public void testBack ( ) throws java.lang.Exception { com.android.tools.lint.checks.ButtonDetectorTest.sTestIssue = ButtonDetector.BACKBUTTON ; assertEquals ( ( "res/layout/buttonbar.xml:183: Warning: Back buttons are not standard on Android; see design guide\'s navigation section [BackButton]\n" + ( ( ( " <Button\n" + " ^\n" ) + "0 errors, 1 warnings\n" ) + "" ) ) , lintProject ( "res/layout/buttonbar.xml" , "res/values/buttonbar-values.xml" ) ) ; }
Source:
public void onLoadFinished ( android.support.v4.content.Loader < android.database.Cursor > loader , android.database.Cursor data ) { adapter.setCursor ( ( ( com.android.dialer.speeddial.SpeedDialCursor ) ( data ) ) ) ; }

Target:
public void onFailure ( java.lang.Throwable throwable ) { throw new java.lang.RuntimeException ( throwable ) ; }
Source:
static void inlinedForNull ( java.lang.Iterable < ? > it ) { if ( it != null ) { if ( Main.doThrow ) { throw new java.lang.Error ( "" ) ; } } }

Target:
static void inlinedForNull ( java.lang.Iterable < ? > it ) { it.iterator ( ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; android.wm.cts.aeacf4 Merge ; }

Target:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; mDevice = getDevice ( ) ; if ( ! ( supportsDragAndDrop ( ) ) ) { return ; } mSourcePackageName = android.wm.cts.CrossAppDragAndDropTests.SOURCE_PACKAGE_NAME ; mTargetPackageName = android.wm.cts.CrossAppDragAndDropTests.TARGET_PACKAGE_NAME ; }
Source:
public static < T > org.hamcrest.Matcher < java.lang.Iterable < T > > hasItems ( org.hamcrest.Matcher < ? super T > ... elementMatchers ) { return org.hamcrest.CoreMatchers.hasItems ( elementMatchers ) ; }

Target:
public static < T > org.hamcrest.Matcher < java.lang.Iterable < T > > hasItems ( org.junit.matchers.org.hamcrest ... elementMatchers ) { return org.junit.internal.matchers.IsCollectionContaining.hasItems ( elementMatchers ) ; }
Source:
private void cutSelectionToClipboard ( java.util.List < com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasSelection > selection ) { copySelectionToClipboard ( selection ) ; deleteSelection ( mCutAction.getText ( ) , selection ) ; }

Target:
java.lang.String getCutLabel ( ) { return mCutAction.getText ( ) ; }
Source:
public static boolean isGenericSignature ( @ javax.annotation.Nonnull org.objectweb.asm.tree.ClassNode cn ) { if ( ( ( cn.signature ) != null ) && ( cn.signature.contains ( com.android.jill.frontend.java.AsmHelper.GENERIC_SIGNATURE_START ) ) ) { assert cn.signature.contains ( com.android.jill.frontend.java.AsmHelper.GENERIC_SIGNATURE_END ) ; return true ; } return false ; }

Target:
public static boolean hasValidGenericSignature ( @ javax.annotation.Nonnull org.objectweb.asm.tree.ClassNode cn ) { if ( ( cn.signature ) != null ) { try { GenericSignatureParser.PARSER.parseClassSignature ( cn.signature ) ; return true ; } catch ( java.lang.reflect.GenericSignatureFormatError e ) { } } return false ; }
Source:
public boolean connect ( android.bluetooth.BluetoothDevice device ) { if ( com.android.bluetooth.mapclient.MceStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.mapclient.MceStateMachine.TAG , ( "Connect Request " + ( device.getAddress ( ) ) ) ) ; } sendMessage ( com.android.bluetooth.mapclient.MceStateMachine.MSG_CONNECT , device ) ; return true ; }

Target:
public boolean disconnect ( ) { if ( com.android.bluetooth.mapclient.MceStateMachine.DBG ) { android.util.Log.d ( com.android.bluetooth.mapclient.MceStateMachine.TAG , ( "Disconnect Request " + ( mDevice.getAddress ( ) ) ) ) ; } sendMessage ( com.android.bluetooth.mapclient.MceStateMachine.MSG_DISCONNECT , mDevice ) ; return true ; }
Source:
void removeValuesForKey ( java.lang.Object key ) { multimap ( ) . removeAll ( key ) ; }

Target:
public void clear ( ) { multimap.clear ( ) ; }
Source:
public void setUseExecutor ( boolean useExecutor ) { if ( useExecutor ) { mExecutor = new com.android.ide.common.internal.WaitableExecutor ( ) ; } else { mExecutor = null ; } }

Target:
public void setUseExecutor ( boolean useExecutor ) { if ( useExecutor ) { mExecutor = new com.android.ide.common.internal.WaitableExecutor < java.lang.Void > ( ) ; } else { mExecutor = null ; } }
Source:
public static double DoubleAddition ( ) { double a ; double b ; double c ; a = 1.0 ; b = 2.0 ; c = a + b ; return c ; }

Target:
public static long LongAddition ( ) { long a ; long b ; long c ; a = Main.$inline$long ( 1L ) ; b = Main.$inline$long ( 2L ) ; c = a + b ; return c ; }
Source:
public void start ( ) { mBrowsePlayerInfoList.clear ( ) ; android.content.Intent intent = new android.content.Intent ( android.service.media.MediaBrowserService.SERVICE_INTERFACE ) ; mWaiting = mPackageManager.queryIntentServices ( intent , PackageManager.MATCH_ALL ) ; connectNextPlayer ( ) ; }

Target:
public void start ( ) { mBrowsePlayerInfoList.clear ( ) ; mPlayersChanged = false ; android.content.Intent intent = new android.content.Intent ( android.service.media.MediaBrowserService.SERVICE_INTERFACE ) ; mWaiting = mPackageManager.queryIntentServices ( intent , PackageManager.MATCH_ALL ) ; connectNextPlayer ( ) ; }
Source:
private java.lang.String toZoneOffsetStr ( java.lang.String expected ) { return expected.replaceAll ( "(?:GMT|UTC)(?<off>[+\\-]?[0-9]{2}:[0-9]{2})" , "${off}" ) . replaceAll ( "GMT|UTC|UT" , "Z" ) ; }

Target:
private java.lang.String toZoneOffsetStr ( java.lang.String expected ) { return expected.replaceAll ( "GMT(?:\\+00:00)|UTC|UT" , "Z" ) . replaceAll ( "(?:GMT|UTC)([+\\-]?[0-9]{2}:[0-9]{2})" , "$1" ) ; }
Source:
public void setRetainedSize ( com.android.tools.perflib.heap.Heap heap , long size ) { mRetainedSizes.put ( heap , size ) ; }

Target:
public void setTopologicalOrder ( int topologicalOrder ) { mTopologicalOrder = topologicalOrder ; }
Source:
public synchronized void cleanup ( ) throws android.os.RemoteException { if ( com.android.server.pm.OtaDexoptService.DEBUG_DEXOPT ) { android.util.Log.i ( com.android.server.pm.OtaDexoptService.TAG , "Cleaning up OTA Dexopt state." ) ; } mDexoptCommands = null ; }

Target:
public synchronized void cleanup ( ) throws android.os.RemoteException { if ( com.android.server.pm.OtaDexoptService.DEBUG_DEXOPT ) { android.util.Log.i ( com.android.server.pm.OtaDexoptService.TAG , "Cleaning up OTA Dexopt state." ) ; } mDexoptCommands = null ; performMetricsLogging ( ) ; }
Source:
private void calcOurContentVisibleRect ( android.graphics.Rect r ) { calcOurVisibleRect ( r ) ; r.left = viewToContent ( r.left ) ; r.top = viewToContent ( r.top ) ; r.right = viewToContent ( r.right ) ; r.bottom = viewToContent ( r.bottom ) ; }

Target:
private void invalidateContentRect ( android.graphics.Rect r ) { viewInvalidate ( r.left , r.top , r.right , r.bottom ) ; }
Source:
public com.google.currysrc.api.transform.ast.TypeLocater getTypeLocater ( ) { return this ; }

Target:
public com.google.currysrc.api.process.ast.TypeLocator getTypeLocator ( ) { return this ; }
Source:
public void setRttMode ( int mode ) { try { mAdapter.setRttMode ( mode ) ; } catch ( android.os.RemoteException ignored ) { } }

Target:
public void setRttMode ( java.lang.String callId , int mode ) { try { mAdapter.setRttMode ( callId , mode ) ; } catch ( android.os.RemoteException ignored ) { } }
Source:
public void onTextChanged ( java.lang.CharSequence input , int start , int before , int changeCount ) { }

Target:
public void onTextChanged ( java.lang.CharSequence input , int start , int before , int changeCount ) { maybeChangeHintSize ( ) ; }
Source:
public void getSmscAddressResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String var2 ) { }

Target:
public void getSmscAddressResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , java.lang.String smsc ) { responseString ( responseInfo , smsc ) ; }
Source:
public java.util.Scanner useRadix ( int radix ) { checkRadix ( radix ) ; this . integerRadix = radix ; return this ; }

Target:
public java.util.Scanner useRadix ( int radix ) { checkRadix ( radix ) ; this . currentRadix = radix ; return this ; }
Source:
public java.lang.String getPath ( ) { return ( ( com.android.sched.util.location.FileLocation ) ( location ) ) . getPath ( ) ; }

Target:
public java.lang.String getPath ( ) { assert ( file ) != null ; return file.getPath ( ) ; }
Source:
public void run ( ) { try { mConnectionServiceFixtureA.sendSetActive ( ids.mConnectionId ) ; } catch ( java.lang.Exception e ) { com.android.server.telecom.Log.e ( this , e , "" ) ; } }

Target:
public void run ( ) { try { mConnectionServiceFixtureA.sendSetActive ( ids.mConnectionId ) ; } catch ( java.lang.Exception e ) { android.telecom.Log.e ( this , e , "" ) ; } }
Source:
static double $opt$CharToDouble ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( double ) ( a ) ) ; }

Target:
static double $opt$noinline$CharToDouble ( int a ) { if ( Main.doThrow ) throw new java.lang.Error ( ) ; return ( ( double ) ( a ) ) ; }
Source:
public static void init ( ) throws java.io.IOException , java.lang.Exception { com.android.jack.multidex.MultidexMinimalTests.annotations = com.android.jack.multidex.MultidexMinimalTests.prepareAnnotations ( ) ; com.android.jack.multidex.MultidexMinimalTests.frameworks = com.android.jack.multidex.MultidexMinimalTests.prepareFrameworks ( ) ; com.android.jack.multidex.MultidexMinimalTests.library = com.android.jack.multidex.MultidexMinimalTests.prepareLibrary ( com.android.jack.multidex.MultidexMinimalTests.frameworks ) ; }

Target:
public static void init ( ) throws java.io.IOException , java.lang.Exception { com.android.jack.multidex.MultiDexTests.annotations = com.android.jack.multidex.MultiDexTests.prepareAnnotations ( ) ; com.android.jack.multidex.MultiDexTests.frameworks = com.android.jack.multidex.MultiDexTests.prepareFrameworks ( ) ; com.android.jack.multidex.MultiDexTests.library = com.android.jack.multidex.MultiDexTests.prepareLibrary ( com.android.jack.multidex.MultiDexTests.frameworks ) ; }
Source:
public void setUp ( ) throws java.lang.Exception { org.mockito.MockitoAnnotations.initMocks ( this ) ; }

Target:
public void answer ( ) { when ( mHalDeviceManager.isReady ( ) ) . thenReturn ( true ) ; when ( mHalDeviceManager.isStarted ( ) ) . thenReturn ( false ) ; mHalDeviceManagerStatusCallbacks.onStatusChanged ( ) ; }
Source:
public void onCreate ( android.os.Bundle icicle ) { super . onCreate ( icicle ) ; tryLoadingLib ( "foo.oem1" ) ; tryLoadingLib ( "bar.oem1" ) ; tryLoadingLib ( "foo.oem2" ) ; tryLoadingLib ( "bar.oem2" ) ; }

Target:
public void onCreate ( android.os.Bundle icicle ) { super . onCreate ( icicle ) ; tryLoadingLib ( "foo.oem1" ) ; tryLoadingLib ( "bar.oem1" ) ; tryLoadingLib ( "foo.oem2" ) ; tryLoadingLib ( "bar.oem2" ) ; tryLoadingLib ( "foo.product1" ) ; tryLoadingLib ( "bar.product1" ) ; }
Source:
private static void writeBase64AndRawBytesTo ( byte [ ] bytes , java.io.OutputStream outputStream ) throws java.io.IOException { java.lang.String base64OfBytes = libcore.io.Base64.encode ( bytes ) ; outputStream.write ( base64OfBytes.getBytes ( java.nio.charset.Charset.defaultCharset ( ) ) ) ; outputStream.write ( bytes ) ; }

Target:
private long getFdInode ( int processId , int fd ) throws java.lang.Exception { java.lang.String path = java.lang.String.format ( java.util.Locale.US , "/proc/%d/fd/%d" , processId , fd ) ; return android.system.Os.stat ( path ) . st_ino ; }
Source:
private com.android.server.accessibility.AccessibilityManagerService.Service getQueryBridge ( ) { if ( ( mQueryBridge ) == null ) { android.accessibilityservice.AccessibilityServiceInfo info = new android.accessibilityservice.AccessibilityServiceInfo ( ) ; mQueryBridge = new com.android.server.accessibility.AccessibilityManagerService.Service ( null , info , true ) ; } return mQueryBridge ; }

Target:
private com.android.server.accessibility.AccessibilityManagerService.Service getQueryBridge ( ) { if ( ( mQueryBridge ) == null ) { android.accessibilityservice.AccessibilityServiceInfo info = new android.accessibilityservice.AccessibilityServiceInfo ( ) ; mQueryBridge = new com.android.server.accessibility.AccessibilityManagerService.Service ( android.os.UserHandle.USER_NULL , null , info , true ) ; } return mQueryBridge ; }
Source:
public boolean isCspPlmnEnabled ( ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.isCspPlmnEnabled ( ) : false ; }

Target:
public boolean isCspPlmnEnabled ( ) { com.android.internal.telephony.uicc.IccRecords r = mIccRecords.get ( ) ; return r != null ? r.isCspPlmnEnabled ( ) : false ; }
Source:
public int count ( ) { int product = 1 ; for ( com.google.gct.testing.GoogleCloudTestingDimension dimension : getDimensions ( ) ) { product *= dimension.getEnabledTypes ( ) . size ( ) ; } return product ; }

Target:
public int getDeviceConfigurationCount ( ) { int product = 1 ; for ( com.google.gct.testing.GoogleCloudTestingDimension dimension : getDimensions ( ) ) { product *= dimension.getEnabledTypes ( ) . size ( ) ; } return product ; }
Source:
private native void gattClientReadDescriptorNative ( int conn_id , int service_type , int service_id_inst_id , long service_id_uuid_lsb , long service_id_uuid_msb , int char_id_inst_id , long char_id_uuid_lsb , long char_id_uuid_msb , int descr_id_inst_id , long descr_id_uuid_lsb , long descr_id_uuid_msb , int authReq ) ;

Target:
private native void gattClientReadDescriptorNative ( int conn_id , int handle , int authReq ) ;
Source:
public void test_withMinute_noChange_equal ( ) { java.time.LocalTime t = TEST_12_30_40_987654321.withMinute ( 30 ) ; org.testng.Assert.assertEquals ( t , TEST_12_30_40_987654321 ) ; }

Target:
public void test_withMinute_noChange_equal ( ) { java.time.LocalTime t = tck.java.time.TCKLocalTime.TEST_12_30_40_987654321.withMinute ( 30 ) ; org.testng.Assert.assertEquals ( t , tck.java.time.TCKLocalTime.TEST_12_30_40_987654321 ) ; }
Source:
public boolean isRecommended ( ) { switch ( this ) { case TV : case DPI_280 : case DPI_400 : case DPI_560 : return false ; default : return true ; } }

Target:
public boolean isRecommended ( ) { switch ( this ) { case TV : case DPI_280 : case DPI_360 : case DPI_400 : case DPI_560 : return false ; default : return true ; } }
Source:
public void plug ( long batteryUptime , long batteryRealtime ) { }

Target:
public void plug ( long elapsedRealtime , long batteryUptime , long batteryRealtime ) { }
Source:
public void clear ( ) { entrySet ( ) . clear ( ) ; }

Target:
public boolean remove ( java.lang.Object obj ) { return ( obj != null ) && ( removeFromColumnIf ( com.google.common.collect.Maps.< V > valuePredicateOnEntries ( com.google.common.base.Predicates.equalTo ( obj ) ) ) ) ; }
Source:
public void setCdmaBroadcastConfig ( int [ ] configValuesArray , android.os.Message result ) ;

Target:
public void setCdmaBroadcastConfig ( com.android.internal.telephony.cdma.CdmaSmsBroadcastConfigInfo [ ] configs , android.os.Message response ) ;
Source:
public com.android.bluetooth.pbapclient.PbapClientConnectionHandler.Builder setClientSM ( com.android.bluetooth.pbapclient.PbapClientStateMachine clientStateMachine ) { this . clientStateMachine = clientStateMachine ; return this ; }

Target:
public com.android.bluetooth.pbapclient.PbapClientConnectionHandler.Builder setClientSM ( com.android.bluetooth.pbapclient.PbapClientStateMachine clientStateMachine ) { this . mClientStateMachine = clientStateMachine ; return this ; }
Source:
public boolean sameItemAs ( java.lang.Package pkg ) { if ( pkg instanceof com.android.sdklib.internal.repository.packages.PlatformPackage ) { com.android.sdklib.internal.repository.packages.PlatformPackage newPkg = ( ( com.android.sdklib.internal.repository.packages.PlatformPackage ) ( pkg ) ) ; return newPkg.getVersion ( ) . equals ( this . getVersion ( ) ) ; } return false ; }

Target:
public boolean sameItemAs ( java.lang.Package pkg ) { if ( pkg instanceof com.android.sdklib.internal.repository.packages.PlatformPackage ) { com.android.sdklib.internal.repository.packages.PlatformPackage newPkg = ( ( com.android.sdklib.internal.repository.packages.PlatformPackage ) ( pkg ) ) ; return newPkg.getAndroidVersion ( ) . equals ( this . getAndroidVersion ( ) ) ; } return false ; }
Source:
public void testIsLegalReplacementEmptyArray ( ) { assertTrue ( encoder.isLegalReplacement ( new byte [ 0 ] ) ) ; }

Target:
public void test_isLegalReplacement_empty_array ( ) { assertTrue ( encoder.isLegalReplacement ( new byte [ 0 ] ) ) ; }
Source:
public void deviceDisconnected ( final com.android.ddmlib.IDevice device ) { org.eclipse.swt.widgets.Display.getDefault ( ) . asyncExec ( new java.lang.Runnable ( ) { public void run ( ) { treeViewer.refresh ( ) ; } } ) ; }

Target:
public void deviceDisconnected ( final com.android.ddmlib.IDevice device ) { org.eclipse.swt.widgets.Display.getDefault ( ) . syncExec ( new java.lang.Runnable ( ) { public void run ( ) { treeViewer.refresh ( ) ; } } ) ; }
Source:
private boolean hasDataSms ( ) { java.lang.String mccmnc = mTelephonyManager.getSimOperator ( ) ; return ! ( CarrierCapability.UNSUPPORT_DATA_SMS_MESSAGES.contains ( mccmnc ) ) ; }

Target:
private boolean hasDataSms ( ) { if ( ( mTelephonyManager.getPhoneType ( ) ) == ( android.telephony.TelephonyManager.PHONE_TYPE_CDMA ) ) { return false ; } java.lang.String mccmnc = mTelephonyManager.getSimOperator ( ) ; return ! ( CarrierCapability.UNSUPPORT_DATA_SMS_MESSAGES.contains ( mccmnc ) ) ; }
Source:
private static int transportToLegacyType ( int transport ) { switch ( transport ) { case TRANSPORT_ETHERNET : return android.net.ConnectivityManager.TYPE_ETHERNET ; case TRANSPORT_WIFI : return android.net.ConnectivityManager.TYPE_WIFI ; case TRANSPORT_CELLULAR : return android.net.ConnectivityManager.TYPE_MOBILE ; default : throw new java.lang.IllegalStateException ( ( "Unknown transport " + transport ) ) ; } }

Target:
private static int transportToLegacyType ( int transport ) { switch ( transport ) { case TRANSPORT_ETHERNET : return android.net.ConnectivityManager.TYPE_ETHERNET ; case TRANSPORT_WIFI : return android.net.ConnectivityManager.TYPE_WIFI ; case TRANSPORT_CELLULAR : return android.net.ConnectivityManager.TYPE_MOBILE ; default : return android.net.ConnectivityManager.TYPE_NONE ; } }
Source:
public void setInput ( android.support.v8.renderscript.Allocation ain ) { mInput = ain ; setVar ( 1 , ain ) ; }

Target:
public void setInput ( android.support.v8.renderscript.Allocation ain ) { if ( ( ain.getType ( ) . getY ( ) ) == 0 ) { throw new android.support.v8.renderscript.RSIllegalArgumentException ( "Input set to a 1D Allocation" ) ; } mInput = ain ; setVar ( 1 , ain ) ; }
Source:
public java.io.File getJarjarRulesFile ( ) { return jarjarRulesFile ; }

Target:
public void setResourceDirs ( @ javax.annotation.Nonnull java.util.List < java.io.File > resourceDirs ) { resImport = resourceDirs ; }
Source:
public void conference ( java.lang.String conferenceCallId , java.lang.String callId ) throws android.os.RemoteException { mConnectionServiceDelegateAdapter.conference ( conferenceCallId , callId ) ; }

Target:
public void swapConference ( java.lang.String conferenceCallId , android.telecom.Logging.Session.Info info ) throws android.os.RemoteException { }
Source:
private android.os.Bundle createGoogleSearchSourceBundle ( java.lang.String source ) { android.os.Bundle bundle = new android.os.Bundle ( ) ; bundle.putString ( Search.SOURCE , source ) ; return bundle ; }

Target:
public boolean supportsVoice ( ) { android.content.pm.PackageManager pm = mActivity.getPackageManager ( ) ; java.util.List activities = pm.queryIntentActivities ( new android.content.Intent ( android.speech.RecognizerIntent.ACTION_RECOGNIZE_SPEECH ) , 0 ) ; return ( activities.size ( ) ) != 0 ; }
Source:
public void report ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue issue , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Severity severity , @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Location location , @ com.android.annotations.NonNull java.lang.String message , @ com.android.annotations.Nullable java.lang.Object data ) { java.lang.System.out.println ( ( ( location + ":" ) + message ) ) ; }

Target:
public void report ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Context context , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue issue , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Severity severity , @ com.android.annotations.Nullable com.android.tools.lint.detector.api.Location location , @ com.android.annotations.NonNull java.lang.String message , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.TextFormat format , @ com.android.annotations.Nullable java.lang.Object data ) { java.lang.System.out.println ( ( ( location + ":" ) + message ) ) ; }
Source:
static boolean checkFileForPackaging ( org.eclipse.core.resources.IFile file ) { java.lang.String name = file.getName ( ) ; java.lang.String ext = file.getFileExtension ( ) ; return com.android.jarutils.JavaResourceFilter.checkFileForPackaging ( name , ext ) ; }

Target:
static boolean checkFileForPackaging ( org.eclipse.core.resources.IFile file ) { java.lang.String name = file.getName ( ) ; java.lang.String ext = file.getFileExtension ( ) ; return com.android.sdklib.internal.build.JavaResourceFilter.checkFileForPackaging ( name , ext ) ; }
Source:
public void writeResponse ( java.io.OutputStream out ) throws java.io.IOException { super . writeResponse ( new java.io.ByteArrayInputStream ( body ) , out ) ; }

Target:
java.io.InputStream getBodyStream ( ) { return ( bodyStream ) != null ? bodyStream : new java.io.ByteArrayInputStream ( body ) ; }
Source:
public com.android.manifmerger.ManifestMerger2.Invoker addLibraryManifest ( java.io.File file ) { mLibraryFilesBuilder.add ( file ) ; return this ; }

Target:
public com.android.manifmerger.ManifestMerger2.Invoker addLibraryManifest ( java.io.File file ) { mLibraryFilesBuilder.add ( com.android.utils.Pair.of ( file.getName ( ) , file ) ) ; return this ; }
Source:
public java.lang.String getDisplayName ( java.util.Locale locale ) { return libcore.icu.ICU.getCurrencyDisplayName ( locale , currencyCode ) ; }

Target:
public java.lang.String getSymbol ( java.util.Locale locale ) { if ( locale == null ) { throw new java.lang.NullPointerException ( "locale == null" ) ; } return icuCurrency.getSymbol ( locale ) ; }
Source:
public int dexopt ( java.lang.String apkPath , int uid , boolean isPublic , java.lang.String instructionSet ) { return dexopt ( apkPath , uid , isPublic , "*" , instructionSet , false , false ) ; }

Target:
public int dexopt ( java.lang.String apkPath , int uid , boolean isPublic , java.lang.String instructionSet , int dexoptNeeded ) { return dexopt ( apkPath , uid , isPublic , "*" , instructionSet , dexoptNeeded , false , false , null ) ; }
Source:
private java.lang.StringBuilder checkNameAndAppend ( java.lang.String name ) { com.google.common.base.Preconditions.checkNotNull ( name ) ; return addHolder ( ) . builder.append ( name ) . append ( '=' ) ; }

Target:
private com.google.common.base.Objects.ToStringHelper addHolder ( java.lang.String name , @ javax.annotation.Nullable java.lang.Object value ) { com.google.common.base.Objects.ToStringHelper.ValueHolder valueHolder = addHolder ( ) ; valueHolder.value = value ; valueHolder.name = com.google.common.base.Preconditions.checkNotNull ( name ) ; return this ; }
Source:
public void processTerminated ( final com.intellij.execution.process.ProcessEvent event ) { outputConsumer.flushBufferBeforeTerminating ( ) ; eventsProcessor.onFinishTesting ( ) ; com.intellij.openapi.util.Disposer.dispose ( eventsProcessor ) ; com.intellij.openapi.util.Disposer.dispose ( outputConsumer ) ; }

Target:
public void processTerminated ( final com.intellij.execution.process.ProcessEvent event ) { matrixExecutionCancellator.cancel ( ) ; outputConsumer.flushBufferBeforeTerminating ( ) ; eventsProcessor.onFinishTesting ( ) ; com.intellij.openapi.util.Disposer.dispose ( eventsProcessor ) ; com.intellij.openapi.util.Disposer.dispose ( outputConsumer ) ; }
Source:
public boolean onPreferenceTreeClick ( android.preference.PreferenceScreen preferenceScreen , android.preference.Preference preference ) { if ( preference.getKey ( ) . equals ( com.android.phone.GsmUmtsOptions.BUTTON_PREFER_2G_KEY ) ) { return true ; } return false ; }

Target:
public boolean preferenceTreeClick ( android.preference.Preference preference ) { if ( preference.getKey ( ) . equals ( com.android.phone.GsmUmtsOptions.BUTTON_PREFER_2G_KEY ) ) { log ( "preferenceTreeClick: return true" ) ; return true ; } log ( "preferenceTreeClick: return false" ) ; return false ; }
Source:
com.android.compatibility.common.tradefed.testtype.suite.CompatibilityTestSuite createTest ( ) { return new com.android.compatibility.common.tradefed.testtype.suite.CompatibilityTestSuite ( ) ; }

Target:
com.android.compatibility.common.tradefed.testtype.CompatibilityTest createTest ( ) { return new com.android.compatibility.common.tradefed.testtype.CompatibilityTest ( ) ; }
Source:
public static native int SSL_write_BIO ( long sslNativePointer , byte [ ] source , int length , long sinkBioRef , org.conscrypt.NativeCrypto.SSLHandshakeCallbacks shc ) throws java.io.IOException ;

Target:
public static native int ENGINE_SSL_read_BIO_heap ( long sslRef , long bioRef , byte [ ] destJava , int destOffset , int destLength , org.conscrypt.NativeCrypto.SSLHandshakeCallbacks shc ) throws java.io.IOException ;
Source:
public void destroy ( ) { checkThread ( ) ; if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "destroy" ) ; mProvider.destroy ( ) ; }

Target:
public void destroy ( ) { checkThread ( ) ; if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "destroy" ) ; mProvider.destroy ( ) ; }
Source:
public void testSELinuxEnforcing ( ) throws java.io.IOException { try { assertEquals ( "1" , getFile ( "/sys/fs/selinux/enforce" ) ) ; } catch ( java.io.FileNotFoundException e ) { fail ( "SELinux is not compiled into this kernel, or is disabled." ) ; } }

Target:
public void testSELinuxEnforcing ( ) throws java.io.IOException { try { assertEquals ( "1" , android.security.cts.KernelSettingsTest.getFile ( "/sys/fs/selinux/enforce" ) ) ; } catch ( java.io.FileNotFoundException e ) { fail ( "SELinux is not compiled into this kernel, or is disabled." ) ; } }
Source:
public void onRemovedFromCallList ( ) { lightbringer.unregisterListener ( this ) ; }

Target:
public void onRemovedFromCallList ( ) { duo.unregisterListener ( this ) ; }
Source:
public java.util.Iterator < E > iterator ( ) { return java.util.Collections.< E > emptySet ( ) . iterator ( ) ; }

Target:
public java.util.Iterator < E > iterator ( ) { return ( ( java.util.Iterator < E > ) ( java.util.concurrent.SynchronousQueue.EmptyIterator.EMPTY_ITERATOR ) ) ; }
Source:
protected java.lang.String getCapitalizedFlavorName ( ) { return com.android.build.gradle.internal.StringHelper.capitalize ( variantConfiguration.getFlavorName ( ) ) ; }

Target:
java.lang.String getName ( ) { return variantConfiguration.getFullName ( ) ; }
Source:
public void tearDown ( ) throws java.lang.Exception { mDispatcher.quit ( ) ; mDispatcher.join ( ) ; }

Target:
public void runStopsOnQuit ( ) throws java.lang.Exception { org.mockito.Mockito.when ( mCacheQueue.take ( ) ) . then ( new com.android.volley.CacheDispatcherTest.WaitForever ( ) ) ; mDispatcher.start ( ) ; mDispatcher.quit ( ) ; mDispatcher.join ( 1000 ) ; }
Source:
public void testDomainDefaulting ( ) throws java.lang.Exception { libcore.java.net.CookiesTest.TestCookieStore cookieStore = new libcore.java.net.CookiesTest.TestCookieStore ( ) ; java.net.CookieManager cookieManager = new java.net.CookieManager ( cookieStore , java.net.CookiePolicy.ACCEPT_ORIGINAL_SERVER ) ; cookieManager.put ( new java.net.URI ( "http://android.com/" ) , cookieHeaders ( "a=android" ) ) ; assertEquals ( "android.com" , cookieStore.getCookie ( "a" ) . getDomain ( ) ) ; }

Target:
public void testNonMatchingDomainsRejected ( ) throws java.lang.Exception { libcore.java.net.CookiesTest.TestCookieStore cookieStore = new libcore.java.net.CookiesTest.TestCookieStore ( ) ; java.net.CookieManager cookieManager = new java.net.CookieManager ( cookieStore , java.net.CookiePolicy.ACCEPT_ORIGINAL_SERVER ) ; cookieManager.put ( new java.net.URI ( "http://android.com/" ) , libcore.java.net.CookiesTest.cookieHeaders ( "a=android;domain=google.com" ) ) ; assertEquals ( java.util.Collections.< java.net.HttpCookie > emptyList ( ) , cookieStore.cookies ) ; }
Source:
public static int FloatLtNonmatCond_IntVarVar ( float a , float b , int x , int y ) { return a > b ? x : y ; }

Target:
public static long LongNonmatCond_LongVarVar ( long a , long b , long x , long y ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return a > b ? x : y ; }
Source:
public com.android.jack.dx.dex.file.ValueEncoder.ValueType getEncodedValueType ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public com.android.jack.dx.dex.file.ValueEncoder.ValueType getEncodedValueType ( ) { return com.android.jack.dx.dex.file.ValueEncoder.ValueType.VALUE_METHOD_TYPE ; }
Source:
public boolean getMasterSyncAutomatically ( ) { synchronized ( mAuthorities ) { return mMasterSyncAutomatically ; } }

Target:
public void removeAuthority ( android.accounts.Account account , int userId , java.lang.String authority ) { synchronized ( mAuthorities ) { removeAuthorityLocked ( account , userId , authority , true ) ; } }
Source:
public java.lang.String longHelp ( ) { return ( ( ( ( ( ( shortHelp ( ) ) + "\n" ) + "\n" ) + "usage: svc usb setFunction [function] [usbDataUnlocked=false]\n" ) + " Set the current usb function and optionally the data lock state.\n\n" ) + " svc usb getFunction\n" ) + " Gets the list of currently enabled functions\n" ; }

Target:
public java.lang.String longHelp ( ) { return ( ( ( ( ( ( ( ( ( shortHelp ( ) ) + "\n" ) + "\n" ) + "usage: svc usb setFunction [function] [usbDataUnlocked=false]\n" ) + " Set the current usb function and optionally the data lock state.\n\n" ) + " svc usb setScreenUnlockedFunctions [function]\n" ) + " Sets the functions which, if the device was charging," ) + " become current on screen unlock.\n" ) + " svc usb getFunction\n" ) + " Gets the list of currently enabled functions\n" ; }
Source:
private static boolean fallInSameMonth ( java.util.Calendar c1 , java.util.Calendar c2 ) { return ( c1.get ( java.util.Calendar.MONTH ) ) == ( c2.get ( java.util.Calendar.MONTH ) ) ; }

Target:
private static boolean fallInSameMonth ( com.ibm.icu.util.Calendar c1 , com.ibm.icu.util.Calendar c2 ) { return ( c1.get ( Calendar.MONTH ) ) == ( c2.get ( Calendar.MONTH ) ) ; }
Source:
public boolean apply ( com.google.gct.testing.ConfigurationResult result ) { return ( ( result.isComplete ( ) ) || ( result.isInfrastructureFailure ( ) ) ) || ( result.isTriggeringError ( ) ) ; }

Target:
public boolean apply ( com.google.gct.testing.ConfigurationResult result ) { return result.isNoProgressExpected ( ) ; }
Source:
private android.content.Context getWrappedCurrentApplicationContext ( ) { return com.android.webview.chromium.ResourcesContextWrapperFactory.get ( android.app.ActivityThread.currentApplication ( ) ) ; }

Target:
private static boolean isBuildDebuggable ( ) { return ! ( Build.TYPE.equals ( "user" ) ) ; }
Source:
private void handleRadioProxyExceptionForRR ( com.android.internal.telephony.RILRequest rr , java.lang.String caller , java.lang.Exception e ) { riljLoge ( caller , e ) ; resetProxyAndRequestList ( ) ; }

Target:
private void handleRadioProxyExceptionForRR ( com.android.internal.telephony.RILRequest rr , java.lang.String caller , java.lang.Exception e ) { riljLoge ( ( ( caller + ": " ) + e ) ) ; resetProxyAndRequestList ( ) ; }
Source:
public final void onAccuracyChanged ( android.hardware.Sensor sensor , int accuracy ) { }

Target:
public final void onAccuracyChanged ( android.hardware.Sensor sensor , int accuracy ) { com.android.cts.verifier.camera.its.Logt.i ( com.android.cts.verifier.camera.its.ItsService.TAG , ( ( ( "Sensor " + ( sensor.getName ( ) ) ) + " accuracy changed to " ) + accuracy ) ) ; }
Source:
public static native double atan2 ( double y , double x ) ;

Target:
public static native double hypot ( double x , double y ) ;
Source:
public void testNewInstance_Thread ( ) { checkNewInstanceTag ( "Ljava/lang/Thread;" , "()V" , new org.apache.harmony.jpda.tests.jdwp.ClassType.NoConstructorArgumentProvider ( ) , JDWPConstants.Tag.THREAD_TAG ) ; }

Target:
public void testNewInstance_ClassLoader ( ) { java.lang.String subclassSig = getClassSignature ( NewInstanceTagDebuggee.MyClassLoader.class ) ; checkNewInstanceTag ( subclassSig , "()V" , new org.apache.harmony.jpda.tests.jdwp.ClassType.NoConstructorArgumentProvider ( ) , new org.apache.harmony.jpda.tests.jdwp.ClassType.Checker ( JDWPConstants.Tag.CLASS_LOADER_TAG ) ) ; }
Source:
public boolean bar ( boolean b ) { if ( b ) { return sleep ( 2 , b , 1.0 ) ; } else { return unwindInProcess ( 1 , b ) ; } }

Target:
public boolean bar ( boolean b ) { if ( b ) { return sleep ( 2 , b , 1.0 ) ; } else { return unwindInProcess ( full_signatures , 1 , b ) ; } }
Source:
public void userActivity ( ) { synchronized ( mScreenLockTimeout ) { if ( mLockScreenTimerActive ) { mHandler.removeCallbacks ( mScreenLockTimeout ) ; mHandler.postDelayed ( mScreenLockTimeout , mLockScreenTimeout ) ; } } }

Target:
public void lockNow ( android.os.Bundle options ) { mContext.enforceCallingOrSelfPermission ( android.Manifest.permission.DEVICE_POWER , null ) ; mHandler.removeCallbacks ( mScreenLockTimeout ) ; if ( options != null ) { mScreenLockTimeout.setLockOptions ( options ) ; } mHandler.post ( mScreenLockTimeout ) ; }
Source:
public void resetDynamicIds ( ) { synchronized ( mDynamicIds ) { mDynamicIds.clear ( ) ; mDynamicSeed = com.android.ide.eclipse.adt.internal.resources.manager.ProjectResources.DYNAMIC_ID_SEED_START ; } }

Target:
public void resetDynamicIds ( ) { synchronized ( mDynamicIds ) { mDynamicIds.clear ( ) ; mRevDynamicIds.clear ( ) ; mDynamicSeed = com.android.ide.eclipse.adt.internal.resources.manager.ProjectResources.DYNAMIC_ID_SEED_START ; } }
Source:
abstract com.google.common.collect.ImmutableMap < K , java.lang.Integer > keyToIndex ( ) ;

Target:
abstract V getValue ( int iterationIndex ) ;
Source:
public java.util.Collection < java.lang.String > getApplicableElements ( ) { return java.util.Arrays.asList ( com.android.tools.lint.detector.api.LintConstants.TAG_SERVICE , com.android.tools.lint.detector.api.LintConstants.TAG_GRANT_PERMISSION , com.android.tools.lint.detector.api.LintConstants.TAG_PROVIDER ) ; }

Target:
public java.util.Collection < java.lang.String > getApplicableElements ( ) { return java.util.Arrays.asList ( com.android.tools.lint.detector.api.LintConstants.TAG_SERVICE , com.android.tools.lint.detector.api.LintConstants.TAG_GRANT_PERMISSION , com.android.tools.lint.detector.api.LintConstants.TAG_PROVIDER , com.android.tools.lint.detector.api.LintConstants.TAG_ACTIVITY , com.android.tools.lint.detector.api.LintConstants.TAG_RECEIVER ) ; }
Source:
public android.net.IpSecTransform.Builder setIpv4Encapsulation ( android.net.IpSecManager.UdpEncapsulationSocket localSocket , int remotePort ) { mConfig.encapType = android.net.IpSecTransform.ENCAP_ESPINUDP ; mConfig.encapLocalPortResourceId = localSocket.getResourceId ( ) ; mConfig.encapRemotePort = remotePort ; return this ; }

Target:
public android.net.IpSecTransform buildTransportModeTransform ( java.net.InetAddress remoteAddress ) throws IpSecManager.ResourceUnavailableException , IpSecManager.SpiUnavailableException , java.io.IOException { mConfig.setMode ( android.net.IpSecTransform.MODE_TRANSPORT ) ; mConfig.setRemoteAddress ( remoteAddress.getHostAddress ( ) ) ; return new android.net.IpSecTransform ( mContext , mConfig ) . activate ( ) ; }
Source:
private static void safePrintln ( java.lang.Object o ) { java.lang.System.out.flush ( ) ; java.lang.System.out.print ( ( ( "\t" + o ) + "\n" ) ) ; java.lang.System.out.flush ( ) ; }

Target:
private static void safePrintln ( java.lang.Object o ) { Main.DisableReporting ( ) ; java.lang.System.out.println ( ( "\t" + o ) ) ; Main.EnableReporting ( ) ; }
Source:
public void checkKeyType ( java.security.Key key ) throws java.security.InvalidKeyException { if ( ! ( key instanceof libcore.javax.crypto.MockKey ) ) { throw new java.security.InvalidKeyException ( "Must be a mock key!" ) ; } }

Target:
public void checkKeyType ( java.security.Key key ) throws java.security.InvalidKeyException { if ( ! ( key instanceof libcore.javax.crypto.MockKey ) ) { throw new java.security.InvalidKeyException ( "Must be MockKey!" ) ; } }
Source:
public boolean processMessage ( android.os.Message message ) { return false ; }

Target:
public boolean processMessage ( android.os.Message message ) { return NOT_HANDLED ; }