auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void getVoiceRadioTechnology ( android.os.Message result ) { android.hardware.radio.V1_0.IRadio radioProxy = getRadioProxy ( result ) ; if ( radioProxy != null ) { com.android.internal.telephony.RILRequest rr = obtainRequest ( com.android.internal.telephony.RIL_REQUEST_VOICE_RADIO_TECH , result , mRILDefaultWorkSource ) ; if ( com.android.internal.telephony.RIL.RILJ_LOGD ) riljLog ( ( ( ( rr.serialString ( ) ) + "> " ) + ( com.android.internal.telephony.RIL.requestToString ( rr.mRequest ) ) ) ) ; try { radioProxy.getVoiceRadioTechnology ( rr.mSerial ) ; } catch ( android.os.RemoteException | java.lang.RuntimeException e ) { handleRadioProxyExceptionForRR ( rr , "getVoiceRadioTechnology" , e ) ; } } }

Target:
public void getImsRegistrationState ( android.os.Message result ) { android.hardware.radio.V1_0.IRadio radioProxy = getRadioProxy ( result ) ; if ( radioProxy != null ) { com.android.internal.telephony.RILRequest rr = obtainRequest ( com.android.internal.telephony.RIL_REQUEST_IMS_REGISTRATION_STATE , result , mRILDefaultWorkSource ) ; if ( com.android.internal.telephony.RIL.RILJ_LOGD ) { riljLog ( ( ( ( rr.serialString ( ) ) + "> " ) + ( com.android.internal.telephony.RIL.requestToString ( rr.mRequest ) ) ) ) ; } try { radioProxy.getImsRegistrationState ( rr.mSerial ) ; } catch ( android.os.RemoteException | java.lang.RuntimeException e ) { handleRadioProxyExceptionForRR ( rr , "getImsRegistrationState" , e ) ; } } }
Source:
public java.util.List < java.lang.String > getProviders ( android.location.Criteria criteria , boolean enabledOnly ) { try { synchronized ( mLock ) { return _getProvidersLocked ( criteria , enabledOnly ) ; } } catch ( java.lang.SecurityException se ) { throw se ; } catch ( java.lang.Exception e ) { android.util.Slog.e ( com.android.server.LocationManagerService.TAG , "getProviders got exception:" , e ) ; return null ; } }

Target:
private int getCallerAllowedResolutionLevel ( ) { return getAllowedResolutionLevel ( android.os.Binder.getCallingPid ( ) , android.os.Binder.getCallingUid ( ) ) ; }
Source:
public int movedex ( java.lang.String srcPath , java.lang.String dstPath ) { java.lang.StringBuilder builder = new java.lang.StringBuilder ( "movedex" ) ; builder.append ( ' ' ) ; builder.append ( srcPath ) ; builder.append ( ' ' ) ; builder.append ( dstPath ) ; return execute ( builder.toString ( ) ) ; }

Target:
public int movedex ( java.lang.String srcPath , java.lang.String dstPath , java.lang.String instructionSet ) { java.lang.StringBuilder builder = new java.lang.StringBuilder ( "movedex" ) ; builder.append ( ' ' ) ; builder.append ( srcPath ) ; builder.append ( ' ' ) ; builder.append ( dstPath ) ; builder.append ( ' ' ) ; builder.append ( instructionSet ) ; return execute ( builder.toString ( ) ) ; }
Source:
private static void setWfcRoamingSettingInternal ( android.content.Context context , boolean enabled ) { final com.android.ims.ImsManager imsManager = com.android.ims.ImsManager.getInstance ( context , android.telephony.SubscriptionManager.getDefaultVoicePhoneId ( ) ) ; if ( imsManager != null ) { final int value = ( enabled ) ? ImsConfig.FeatureValueConstants.ON : ImsConfig.FeatureValueConstants.OFF ; java.lang.Thread thread = new java.lang.Thread ( new java.lang.Runnable ( ) { public void run ( ) { try { imsManager.getConfigInterface ( ) . setProvisionedValue ( ImsConfig.ConfigConstants.VOICE_OVER_WIFI_ROAMING , value ) ; } catch ( com.android.ims.ImsException e ) { } } } ) ; thread.start ( ) ; } }

Target:
private void setWfcModeInternalForSlot ( int wfcMode ) { final int value = wfcMode ; java.lang.Thread thread = new java.lang.Thread ( ( ) -> { try { getConfigInterface ( ) . setProvisionedValue ( ImsConfig.ConfigConstants.VOICE_OVER_WIFI_MODE , value ) ; } catch ( com.android.ims.ImsException e ) { } } ) ; thread.start ( ) ; }
Source:
public static double $noinline$returnDouble ( ) { if ( Main.doThrow ) throw new java.lang.Error ( "" ) ; int i = 0 ; for ( ; i < 300000000 ; ++ i ) { } while ( ! ( Main.ensureInOsrCode ( ) ) ) { } java.lang.System.out.println ( i ) ; return java.lang.Double.longBitsToDouble ( - 1152921504606842607L ) ; }

Target:
public static double $noinline$returnDouble ( ) { if ( Main.doThrow ) throw new java.lang.Error ( "" ) ; int i = 0 ; for ( ; i < 300000 ; ++ i ) { } while ( ! ( Main.ensureInOsrCode ( ) ) ) { } java.lang.System.out.println ( i ) ; return java.lang.Double.longBitsToDouble ( - 1152921504606842607L ) ; }
Source:
private static void assertSubArrayEquals ( byte [ ] expected , int len , byte [ ] actual ) { assertEquals ( len , actual.length ) ; for ( int i = 0 ; i < len ; ++ i ) { assertEquals ( expected [ i ] , actual [ i ] ) ; } }

Target:
public void testDecode_urlAlphabet ( ) throws java.lang.Exception { assertNull ( libcore.io.Base64Test.decodeToInts ( "_w==" ) ) ; assertNull ( libcore.io.Base64Test.decodeToInts ( "-w==" ) ) ; }
Source:
public void log ( java.util.logging.Level level , java.lang.String msg , java.lang.Throwable thrown ) { if ( ( ( level.intValue ( ) ) < ( levelValue ) ) || ( ( levelValue ) == ( java.util.logging.Logger.offValue ) ) ) { return ; } java.util.logging.LogRecord lr = new java.util.logging.LogRecord ( level , msg ) ; lr.setThrown ( thrown ) ; doLog ( lr ) ; }

Target:
public void log ( java.util.logging.Level level , java.lang.String msg , java.lang.Object [ ] params ) { if ( ! ( isLoggable ( level ) ) ) { return ; } java.util.logging.LogRecord lr = new java.util.logging.LogRecord ( level , msg ) ; lr.setParameters ( params ) ; doLog ( lr ) ; }
Source:
protected void registerTabs ( ) { addFailuresTab ( ) ; if ( ! ( getResults ( ) . getPackages ( ) . isEmpty ( ) ) ) { addTab ( "Packages" , new org.gradle.api.Action < org.w3c.dom.Element > ( ) { @ java.lang.Override public void execute ( org.w3c.dom.Element element ) { renderPackages ( element ) ; } } ) ; } addTab ( "Classes" , new org.gradle.api.Action < org.w3c.dom.Element > ( ) { @ java.lang.Override public void execute ( org.w3c.dom.Element element ) { renderClasses ( element ) ; } } ) ; }

Target:
protected void registerTabs ( ) { addFailuresTab ( ) ; if ( ! ( getResults ( ) . getPackages ( ) . isEmpty ( ) ) ) { addTab ( "Packages" , new org.gradle.api.Action < org.w3c.dom.Element > ( ) { @ java.lang.Override public void execute ( org.w3c.dom.Element element ) { renderPackages ( element ) ; } } ) ; } addTab ( "Classes" , new org.gradle.api.Action < org.w3c.dom.Element > ( ) { @ java.lang.Override public void execute ( org.w3c.dom.Element element ) { renderClasses ( element ) ; } } ) ; addDeviceAndVariantTabs ( ) ; }
Source:
public final android.content.IContentProvider acquireExistingProvider ( android.net.Uri uri ) { if ( ! ( android.content.ContentResolver.SCHEME_CONTENT.equals ( uri.getScheme ( ) ) ) ) { return null ; } java.lang.String auth = uri.getAuthority ( ) ; if ( auth != null ) { return acquireExistingProvider ( mContext , uri.getAuthority ( ) ) ; } return null ; }

Target:
public final android.content.IContentProvider acquireUnstableProvider ( android.net.Uri uri ) { if ( ! ( android.content.ContentResolver.SCHEME_CONTENT.equals ( uri.getScheme ( ) ) ) ) { return null ; } java.lang.String auth = uri.getAuthority ( ) ; if ( auth != null ) { return acquireUnstableProvider ( mContext , uri.getAuthority ( ) ) ; } return null ; }
Source:
public void replaceWith ( com.android.ide.common.rendering.api.ResourceValue value ) { assert value instanceof com.android.ide.common.rendering.api.StyleResourceValue ; super . replaceWith ( value ) ; if ( value instanceof com.android.ide.common.rendering.api.StyleResourceValue ) { mItems.clear ( ) ; mItems.putAll ( ( ( com.android.ide.common.rendering.api.StyleResourceValue ) ( value ) ) . mItems ) ; } }

Target:
public void replaceWith ( com.android.ide.common.rendering.api.ResourceValue value ) { assert value instanceof com.android.ide.common.rendering.api.StyleResourceValue : ( value.getClass ( ) ) + " is not StyleResourceValue" ; super . replaceWith ( value ) ; if ( value instanceof com.android.ide.common.rendering.api.StyleResourceValue ) { mItems.clear ( ) ; mItems.putAll ( ( ( com.android.ide.common.rendering.api.StyleResourceValue ) ( value ) ) . mItems ) ; } }
Source:
public void testMatchesIntentWithTypeAndMatcherWithNoType ( ) { org.hamcrest.Matcher < android.content.Intent > matcher = android.support.test.espresso.intent.matcher.IntentMatchers.hasAction ( org.hamcrest.Matchers.equalTo ( Intent.ACTION_VIEW ) ) ; android.content.Intent intent = new android.content.Intent ( android.content.Intent.ACTION_VIEW ) . addCategory ( "category" ) . setDataAndType ( uri , Context.ACTIVITY_SERVICE ) ; assertTrue ( matcher.matches ( intent ) ) ; }

Target:
public void matchesIntentWithTypeAndMatcherWithNoType ( ) { org.hamcrest.Matcher < android.content.Intent > matcher = android.support.test.espresso.intent.matcher.IntentMatchers.hasAction ( org.hamcrest.Matchers.equalTo ( Intent.ACTION_VIEW ) ) ; android.content.Intent intent = new android.content.Intent ( android.content.Intent.ACTION_VIEW ) . addCategory ( "category" ) . setDataAndType ( uri , Context.ACTIVITY_SERVICE ) ; org.junit.Assert.assertTrue ( matcher.matches ( intent ) ) ; }
Source:
private void dexAndPush ( java.util.Set < vogar.tasks.Task > tasks , java.lang.String name , java.io.File jar , vogar.Action action ) { java.io.File localDex = run.localDexFile ( name ) ; java.io.File deviceDex = run.targetDexFile ( name ) ; vogar.tasks.Task dex = new vogar.android.DexTask ( run.androidSdk , run.classpath , run.benchmark , name , jar , action , localDex ) ; tasks.add ( dex ) ; tasks.add ( run.target.pushTask ( localDex , deviceDex ) . afterSuccess ( dex ) ) ; }

Target:
private vogar.tasks.Task newCreateDexJarTask ( vogar.Classpath classpath , java.io.File classpathElement , java.lang.String name , vogar.Action action , java.io.File localDex ) { vogar.tasks.Task dex ; if ( run.useJack ) { dex = new vogar.android.JackDexTask ( run , classpath , run.benchmark , name , classpathElement , null , localDex ) ; } else { dex = new vogar.android.DexTask ( run.androidSdk , classpath , run.benchmark , name , classpathElement , action , localDex ) ; } return dex ; }
Source:
public static vogar.commands.Jack getJackCompiler ( vogar.Log log ) throws java.lang.IllegalStateException { if ( ( vogar.commands.Jack.JACK_JAR ) != null ) { return new vogar.commands.Jack ( log , com.google.common.collect.Lists.newArrayList ( "java" , "-jar" , vogar.commands.Jack.JACK_JAR.getAbsolutePath ( ) ) ) ; } else { throw new java.lang.IllegalStateException ( "Jack library not found, cannot use jack." ) ; } }

Target:
public static vogar.commands.Jack getJackCompiler ( vogar.Log log ) throws java.lang.IllegalStateException { if ( ( vogar.commands.Jack.JACK_SCRIPT ) != null ) { return new vogar.commands.Jack ( log , com.google.common.collect.Lists.newArrayList ( vogar.commands.Jack.JACK_SCRIPT.getAbsolutePath ( ) ) ) ; } if ( ( vogar.commands.Jack.JACK_JAR ) != null ) { return new vogar.commands.Jack ( log , com.google.common.collect.Lists.newArrayList ( "java" , "-jar" , vogar.commands.Jack.JACK_JAR.getAbsolutePath ( ) ) ) ; } throw new java.lang.IllegalStateException ( "Jack library not found, cannot use jack." ) ; }
Source:
public void copyFrom ( short [ ] d ) { mRS.validate ( ) ; if ( ( mCurrentDimZ ) > 0 ) { copy3DRangeFrom ( 0 , 0 , 0 , mCurrentDimX , mCurrentDimY , mCurrentDimZ , d ) ; } else if ( ( mCurrentDimY ) > 0 ) { copy2DRangeFrom ( 0 , 0 , mCurrentDimX , mCurrentDimY , d ) ; } else { copy1DRangeFrom ( 0 , mCurrentCount , d ) ; } }

Target:
public void copyFromUnchecked ( java.lang.Object array ) { copyFromUnchecked ( array , validateObjectIsPrimitiveArray ( array , false ) , java.lang.reflect.Array.getLength ( array ) ) ; }
Source:
private java.io.File createJackArchiveWithResources ( ) throws java.lang.Exception { java.io.File jackAr = com.android.jack.TestTools.createTempFile ( "resourcetestjack" , ".zip" ) ; com.android.jack.Options options = new com.android.jack.Options ( ) ; options.addResource ( new java.io.File ( com.android.jack.resource.ResourceTests.FILE , "rsc" ) ) ; com.android.jack.TestTools.compileSourceToJack ( options , com.android.jack.resource.ResourceTests.FILE , com.android.jack.TestTools.getDefaultBootclasspathString ( ) , jackAr , true ) ; return jackAr ; }

Target:
private java.io.File createJackArchiveWithResources ( ) throws java.lang.Exception { java.io.File jackAr = com.android.jack.test.toolchain.AbstractTestTools.createTempFile ( "resourcetestjack" , ".zip" ) ; com.android.jack.test.toolchain.JackBasedToolchain toolchain = com.android.jack.test.toolchain.AbstractTestTools.getCandidateToolchain ( com.android.jack.test.toolchain.JackBasedToolchain.class ) ; toolchain.addResource ( new java.io.File ( com.android.jack.resource.ResourceTests.FILE , "rsc" ) ) ; toolchain.srcToLib ( com.android.jack.test.toolchain.AbstractTestTools.getClasspathAsString ( toolchain.getDefaultBootClasspath ( ) ) , jackAr , true , com.android.jack.resource.ResourceTests.FILE ) ; return jackAr ; }
Source:
protected void orderItems ( ) { int idx = 0 ; if ( ( items ( ) . size ( ) ) > ( com.android.dx.dex.file.MemberIdsSection.MAX_MEMBERS ) ) { throw new com.android.dx.util.DexException ( tooManyMembersMessage ( ) ) ; } for ( java.lang.Object i : items ( ) ) { ( ( com.android.dx.dex.file.MemberIdItem ) ( i ) ) . setIndex ( idx ) ; idx ++ ; } }

Target:
protected void orderItems ( ) { int idx = 0 ; if ( ( items ( ) . size ( ) ) > ( com.android.dx.dex.file.MemberIdsSection.MAX_MEMBERS ) ) { throw new com.android.dex.DexException ( tooManyMembersMessage ( ) ) ; } for ( java.lang.Object i : items ( ) ) { ( ( com.android.dx.dex.file.MemberIdItem ) ( i ) ) . setIndex ( idx ) ; idx ++ ; } }
Source:
private void reportConnectionAttemptStart ( android.net.wifi.WifiConfiguration config , java.lang.String targetBSSID , int roamType ) { mWifiMetrics.startConnectionEvent ( config , targetBSSID , roamType ) ; mWifiDiagnostics.reportConnectionEvent ( ( - 1 ) , WifiDiagnostics.CONNECTION_EVENT_STARTED ) ; }

Target:
private void reportConnectionAttemptEnd ( int level2FailureCode , int connectivityFailureCode ) { mWifiMetrics.endConnectionEvent ( level2FailureCode , connectivityFailureCode ) ; switch ( level2FailureCode ) { case WifiMetrics.ConnectionEvent.FAILURE_NONE : mWifiDiagnostics.reportConnectionEvent ( mDiagsConnectionStartMillis , WifiDiagnostics.CONNECTION_EVENT_SUCCEEDED ) ; break ; case WifiMetrics.ConnectionEvent.FAILURE_REDUNDANT_CONNECTION_ATTEMPT : case WifiMetrics.ConnectionEvent.FAILURE_CONNECT_NETWORK_FAILED : break ; default : mWifiDiagnostics.reportConnectionEvent ( mDiagsConnectionStartMillis , WifiDiagnostics.CONNECTION_EVENT_FAILED ) ; } mDiagsConnectionStartMillis = - 1 ; }
Source:
public void write ( boolean forceSync , com.android.server.wifi.WifiConfigStoreData storeData ) throws java.io.IOException , org.xmlpull.v1.XmlPullParserException { byte [ ] sharedDataBytes = storeData.createSharedRawData ( ) ; mSharedStore.storeRawDataToWrite ( sharedDataBytes ) ; if ( ( mUserStore ) != null ) { byte [ ] userDataBytes = storeData.createUserRawData ( ) ; mUserStore.storeRawDataToWrite ( userDataBytes ) ; } if ( forceSync ) { writeBufferedData ( ) ; } else { startBufferedWriteAlarm ( ) ; } }

Target:
public void write ( boolean forceSync ) throws java.io.IOException , org.xmlpull.v1.XmlPullParserException { byte [ ] sharedDataBytes = serializeData ( true ) ; mSharedStore.storeRawDataToWrite ( sharedDataBytes ) ; if ( ( mUserStore ) != null ) { byte [ ] userDataBytes = serializeData ( false ) ; mUserStore.storeRawDataToWrite ( userDataBytes ) ; } if ( forceSync ) { writeBufferedData ( ) ; } else { startBufferedWriteAlarm ( ) ; } }
Source:
public static void main ( java.lang.String [ ] args ) { if ( com.android.ddms.Main.isMac ( ) ) { java.lang.management.RuntimeMXBean rt = java.lang.management.ManagementFactory.getRuntimeMXBean ( ) ; java.lang.System.setProperty ( ( "JAVA_STARTED_ON_FIRST_THREAD_" + ( rt.getName ( ) . split ( "@" ) [ 0 ] ) ) , "1" ) ; } java.lang.Thread.setDefaultUncaughtExceptionHandler ( new com.android.ddms.Main.UncaughtHandler ( ) ) ; com.android.ddms.PrefsDialog.init ( ) ; com.android.ddmlib.Log.d ( "ddms" , "Initializing" ) ; if ( ( ( args.length ) >= 3 ) && ( args [ 0 ] . equals ( "ping" ) ) ) { com.android.sdkstats.SdkStatsService.ping ( args [ 1 ] , args [ 2 ] , null ) ; return ; } else if ( ( args.length ) > 0 ) { com.android.ddmlib.Log.e ( "ddms" , ( "Unknown argument: " + ( args [ 0 ] ) ) ) ; java.lang.System.exit ( 1 ) ; } java.lang.String ddmsParentLocation = java.lang.System.getProperty ( "com.android.ddms.bindir" ) ; com.android.ddms.Main.ping ( ddmsParentLocation ) ; com.android.ddmlib.DebugPortManager.setProvider ( com.android.ddms.DebugPortProvider.getInstance ( ) ) ; com.android.ddms.UIThread ui = com.android.ddms.UIThread.getInstance ( ) ; try { ui.runUI ( ddmsParentLocation ) ; } finally { com.android.ddms.PrefsDialog.save ( ) ; com.android.ddmlib.AndroidDebugBridge.terminate ( ) ; } com.android.ddmlib.Log.d ( "ddms" , "Bye" ) ; java.lang.System.exit ( 0 ) ; }

Target:
public static void main ( java.lang.String [ ] args ) { if ( com.android.ddms.Main.isMac ( ) ) { java.lang.management.RuntimeMXBean rt = java.lang.management.ManagementFactory.getRuntimeMXBean ( ) ; java.lang.System.setProperty ( ( "JAVA_STARTED_ON_FIRST_THREAD_" + ( rt.getName ( ) . split ( "@" ) [ 0 ] ) ) , "1" ) ; } java.lang.Thread.setDefaultUncaughtExceptionHandler ( new com.android.ddms.Main.UncaughtHandler ( ) ) ; com.android.ddms.PrefsDialog.init ( ) ; com.android.ddmlib.Log.d ( "ddms" , "Initializing" ) ; if ( ( ( args.length ) >= 3 ) && ( args [ 0 ] . equals ( "ping" ) ) ) { com.android.sdkstats.SdkStatsService.ping ( args [ 1 ] , args [ 2 ] , null ) ; return ; } else if ( ( args.length ) > 0 ) { com.android.ddmlib.Log.e ( "ddms" , ( "Unknown argument: " + ( args [ 0 ] ) ) ) ; java.lang.System.exit ( 1 ) ; } java.lang.String ddmsParentLocation = java.lang.System.getProperty ( "com.android.ddms.bindir" ) ; if ( ddmsParentLocation == null ) { ddmsParentLocation = java.lang.System.getenv ( "com.android.ddms.bindir" ) ; } com.android.ddms.Main.ping ( ddmsParentLocation ) ; com.android.ddmlib.DebugPortManager.setProvider ( com.android.ddms.DebugPortProvider.getInstance ( ) ) ; com.android.ddms.UIThread ui = com.android.ddms.UIThread.getInstance ( ) ; try { ui.runUI ( ddmsParentLocation ) ; } finally { com.android.ddms.PrefsDialog.save ( ) ; com.android.ddmlib.AndroidDebugBridge.terminate ( ) ; } com.android.ddmlib.Log.d ( "ddms" , "Bye" ) ; java.lang.System.exit ( 0 ) ; }
Source:
public java.util.List < java.lang.String > getBuildConfigLines ( ) { java.util.List < java.lang.String > fullList = new java.util.ArrayList < java.lang.String > ( ) ; java.util.List < java.lang.String > list = mDefaultConfig.getBuildConfigLines ( ) ; if ( ! ( list.isEmpty ( ) ) ) { fullList.add ( "// lines from default config." ) ; fullList.addAll ( list ) ; } list = mBuildType.getBuildConfigLines ( ) ; if ( ! ( list.isEmpty ( ) ) ) { fullList.add ( ( "// lines from build type: " + ( mBuildType.getName ( ) ) ) ) ; fullList.addAll ( list ) ; } for ( com.android.builder.ProductFlavor flavor : mFlavorConfigs ) { list = flavor.getBuildConfigLines ( ) ; if ( ! ( list.isEmpty ( ) ) ) { fullList.add ( ( "// lines from product flavor: " + ( flavor.getName ( ) ) ) ) ; fullList.addAll ( list ) ; } } return fullList ; }

Target:
public java.util.List < java.lang.String > getBuildConfigLines ( ) { java.util.List < java.lang.String > fullList = com.google.common.collect.Lists.newArrayList ( ) ; java.util.List < java.lang.String > list = mDefaultConfig.getBuildConfigLines ( ) ; if ( ! ( list.isEmpty ( ) ) ) { fullList.add ( "// lines from default config." ) ; fullList.addAll ( list ) ; } list = mBuildType.getBuildConfigLines ( ) ; if ( ! ( list.isEmpty ( ) ) ) { fullList.add ( ( "// lines from build type: " + ( mBuildType.getName ( ) ) ) ) ; fullList.addAll ( list ) ; } for ( com.android.builder.ProductFlavor flavor : mFlavorConfigs ) { list = flavor.getBuildConfigLines ( ) ; if ( ! ( list.isEmpty ( ) ) ) { fullList.add ( ( "// lines from product flavor: " + ( flavor.getName ( ) ) ) ) ; fullList.addAll ( list ) ; } } return fullList ; }
Source:
private void assertOverLapping ( boolean expected , long lower , long upper , com.android.tv.dvr.ScheduledRecording r ) { assertEquals ( ( ( ( ( ( "isOverlapping(Range(" + lower ) + "," ) + upper ) + "), recording " ) + r ) , expected , r.isOverLapping ( new android.util.Range ( lower , upper ) ) ) ; }

Target:
private void assertOverLapping ( boolean expected , long lower , long upper , com.android.tv.dvr.data.ScheduledRecording r ) { assertEquals ( ( ( ( ( ( "isOverlapping(Range(" + lower ) + "," ) + upper ) + "), recording " ) + r ) , expected , r.isOverLapping ( new android.util.Range ( lower , upper ) ) ) ; }
Source:
public void adjustVolume ( int direction ) { android.os.Message msg = mHandler.obtainMessage ( com.android.bluetooth.avrcp.Avrcp.MSG_ADJUST_VOLUME , direction , 0 ) ; mHandler.sendMessage ( msg ) ; }

Target:
public void setAbsoluteVolume ( int volume ) { if ( volume == ( mLocalVolume ) ) { if ( com.android.bluetooth.avrcp.Avrcp.DEBUG ) { android.util.Log.v ( com.android.bluetooth.avrcp.Avrcp.TAG , ( "setAbsoluteVolume is setting same index, ignore " + volume ) ) ; } return ; } final com.android.bluetooth.avrcp.Avrcp.AvrcpMessageHandler handler = mHandler ; if ( handler == null ) { if ( com.android.bluetooth.avrcp.Avrcp.DEBUG ) android.util.Log.d ( com.android.bluetooth.avrcp.Avrcp.TAG , "setAbsoluteVolume: mHandler is already null" ) ; return ; } handler.removeMessages ( com.android.bluetooth.avrcp.Avrcp.MSG_ADJUST_VOLUME ) ; android.os.Message msg = handler.obtainMessage ( com.android.bluetooth.avrcp.Avrcp.MSG_SET_ABSOLUTE_VOLUME , volume , 0 ) ; handler.sendMessage ( msg ) ; }
Source:
private ApkVerifier.Result verifyForMinSdkVersion ( java.lang.String apkFilenameInResources , int minSdkVersion ) throws com.android.apksig.apk.ApkFormatException , java.io.IOException , java.security.NoSuchAlgorithmException { return verify ( apkFilenameInResources , minSdkVersion ) ; }

Target:
public void testTargetSandboxVersion2AndHigher ( ) throws java.lang.Exception { com.android.apksig.ApkVerifierTest.assertVerified ( verify ( "targetSandboxVersion-2.apk" ) ) ; com.android.apksig.ApkVerifierTest.assertVerificationFailure ( verify ( "v2-only-targetSandboxVersion-2.apk" ) , Issue.JAR_SIG_NO_MANIFEST ) ; com.android.apksig.ApkVerifierTest.assertVerified ( verifyForMinSdkVersion ( "v2-only-targetSandboxVersion-2.apk" , 24 ) ) ; com.android.apksig.ApkVerifierTest.assertVerificationFailure ( verify ( "v1-only-targetSandboxVersion-2.apk" ) , Issue.NO_SIG_FOR_TARGET_SANDBOX_VERSION ) ; com.android.apksig.ApkVerifierTest.assertVerificationFailure ( verify ( "unsigned-targetSandboxVersion-2.apk" ) , Issue.NO_SIG_FOR_TARGET_SANDBOX_VERSION ) ; com.android.apksig.ApkVerifierTest.assertVerified ( verify ( "v2-only-targetSandboxVersion-3.apk" ) ) ; }
Source:
public void logError ( java.lang.String log ) { synchronized ( mLogText ) { mLogText.append ( "=> " ) . append ( log ) ; } }

Target:
public void logError ( java.lang.String log ) { if ( acceptLog ( log ) ) { if ( ( mLog ) != null ) { mLog.error ( null , " %1$s" , log ) ; } else { synchronized ( mLogText ) { mLogText.append ( "ERROR: " ) . append ( log ) ; } } } }
Source:
public void enter ( ) { if ( com.android.server.wifi.WifiStateMachine.DBG ) { log ( ( ( "RoamingState Enter" + " mScreenOn=" ) + ( mScreenOn ) ) ) ; } setScanAlarm ( false ) ; ( roamWatchdogCount ) ++ ; logd ( ( "Start Roam Watchdog " + ( roamWatchdogCount ) ) ) ; sendMessageDelayed ( obtainMessage ( com.android.server.wifi.WifiStateMachine.CMD_ROAM_WATCHDOG_TIMER , roamWatchdogCount , 0 ) , com.android.server.wifi.WifiStateMachine.ROAM_GUARD_TIMER_MSEC ) ; mAssociated = false ; }

Target:
public void enter ( ) { if ( mVerboseLoggingEnabled ) { log ( ( ( "RoamingState Enter" + " mScreenOn=" ) + ( mScreenOn ) ) ) ; } ( roamWatchdogCount ) ++ ; logd ( ( "Start Roam Watchdog " + ( roamWatchdogCount ) ) ) ; sendMessageDelayed ( obtainMessage ( com.android.server.wifi.WifiStateMachine.CMD_ROAM_WATCHDOG_TIMER , roamWatchdogCount , 0 ) , com.android.server.wifi.WifiStateMachine.ROAM_GUARD_TIMER_MSEC ) ; mAssociated = false ; }
Source:
synchronized long nInvokeClosureCreate ( long invokeID , byte [ ] params , long [ ] fieldIDs , long [ ] values , int [ ] sizes ) { validate ( ) ; return rsnInvokeClosureCreate ( mContext , invokeID , params , fieldIDs , values , sizes ) ; }

Target:
synchronized long nInvokeClosureCreate ( long invokeID , byte [ ] params , long [ ] fieldIDs , long [ ] values , int [ ] sizes ) { validate ( ) ; long c = rsnInvokeClosureCreate ( mContext , invokeID , params , fieldIDs , values , sizes ) ; if ( c == 0 ) { throw new android.support.v8.renderscript.RSRuntimeException ( "Failed creating closure." ) ; } return c ; }
Source:
public void setMethodId ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethodId methodId ) { assert ( getExpectedMethodKind ( ) ) == ( methodId.getMethodIdWide ( ) . getKind ( ) ) ; this . methodId = methodId ; methodId.addMethod ( this ) ; }

Target:
public void setMethodId ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethodId methodId ) { assert ( getExpectedMethodKind ( ) ) == ( methodId.getMethodIdWide ( ) . getKind ( ) ) ; assert methodId.getType ( ) . equals ( this . methodId.getType ( ) ) ; this . methodId = methodId ; methodId.addMethod ( this ) ; }
Source:
private static final java.lang.String fingerprint ( byte [ ] bytes ) { if ( bytes == null ) { return "" ; } java.lang.StringBuilder sb = new java.lang.StringBuilder ( ) ; for ( int i = 0 ; i < ( bytes.length ) ; i ++ ) { byte b = bytes [ i ] ; android.net.http.IntegralToString.appendByteAsHex ( sb , b , true ) ; if ( ( i + 1 ) != ( bytes.length ) ) { sb.append ( ':' ) ; } } return sb.toString ( ) ; }

Target:
private static final java.lang.String fingerprint ( byte [ ] bytes ) { if ( bytes == null ) { return "" ; } java.lang.StringBuilder sb = new java.lang.StringBuilder ( ) ; for ( int i = 0 ; i < ( bytes.length ) ; i ++ ) { byte b = bytes [ i ] ; com.android.internal.util.HexDump.appendByteAsHex ( sb , b , true ) ; if ( ( i + 1 ) != ( bytes.length ) ) { sb.append ( ':' ) ; } } return sb.toString ( ) ; }
Source:
public void testE3 ( ) { dot.junit.opcodes.aput_short.d.T_aput_short_1 t = new dot.junit.opcodes.aput_short.d.T_aput_short_1 ( ) ; short [ ] arr = new short [ 2 ] ; try { t.run ( arr , ( - 1 ) , ( ( short ) ( 10000 ) ) ) ; fail ( "expected ArrayIndexOutOfBoundsException" ) ; } catch ( java.lang.ArrayIndexOutOfBoundsException aie ) { } }

Target:
public void testE3 ( ) { loadAndRun ( "dot.junit.opcodes.aput_short.d.T_aput_short_1" , java.lang.ArrayIndexOutOfBoundsException.class , new short [ 2 ] , ( - 1 ) , ( ( short ) ( 10000 ) ) ) ; }
Source:
public static < K , V > com.google.common.cache.RemovalListener < K , V > asynchronous ( final com.google.common.cache.RemovalListener < K , V > listener , final java.util.concurrent.Executor executor ) { return new com.google.common.cache.RemovalListener < K , V > ( ) { @ java.lang.Override public void onRemoval ( final com.google.common.cache.RemovalNotification < K , V > notification ) { executor.execute ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { listener.onRemoval ( notification ) ; } } ) ; } } ; }

Target:
public static < K , V > com.google.common.cache.RemovalListener < K , V > asynchronous ( final com.google.common.cache.RemovalListener < K , V > listener , final java.util.concurrent.Executor executor ) { com.google.common.base.Preconditions.checkNotNull ( listener ) ; com.google.common.base.Preconditions.checkNotNull ( executor ) ; return new com.google.common.cache.RemovalListener < K , V > ( ) { @ java.lang.Override public void onRemoval ( final com.google.common.cache.RemovalNotification < K , V > notification ) { executor.execute ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { listener.onRemoval ( notification ) ; } } ) ; } } ; }
Source:
synchronized void nAllocationRead2D ( long id , int xoff , int yoff , int mip , int face , int w , int h , java.lang.Object d , int sizeBytes , android.support.v8.renderscript.Element.DataType dt ) { validate ( ) ; rsnAllocationRead2D ( mContext , id , xoff , yoff , mip , face , w , h , d , sizeBytes , dt.mID ) ; }

Target:
native void rsnAllocationRead1D ( long con , long id , int off , int mip , int count , java.lang.Object d , int sizeBytes , int dt , int mSize , boolean usePadding ) ;
Source:
public void testInstallEmptyDeletedSystemExists ( ) throws java.lang.Exception { org.conscrypt.TrustedCertificateStoreTest.install ( org.conscrypt.TrustedCertificateStoreTest.getCa1 ( ) , org.conscrypt.TrustedCertificateStoreTest.getAliasSystemCa1 ( ) ) ; store.deleteCertificateEntry ( org.conscrypt.TrustedCertificateStoreTest.getAliasSystemCa1 ( ) ) ; assertEmpty ( ) ; assertDeleted ( org.conscrypt.TrustedCertificateStoreTest.getCa1 ( ) , org.conscrypt.TrustedCertificateStoreTest.getAliasSystemCa1 ( ) ) ; store.installCertificate ( org.conscrypt.TrustedCertificateStoreTest.getCa1 ( ) ) ; assertRootCa ( org.conscrypt.TrustedCertificateStoreTest.getCa1 ( ) , org.conscrypt.TrustedCertificateStoreTest.getAliasSystemCa1 ( ) ) ; assertAliases ( org.conscrypt.TrustedCertificateStoreTest.getAliasSystemCa1 ( ) ) ; }

Target:
public void testInstallEmptySystemExists ( ) throws java.lang.Exception { install ( org.conscrypt.TrustedCertificateStoreTest.getCa1 ( ) , org.conscrypt.TrustedCertificateStoreTest.getAliasSystemCa1 ( ) ) ; assertRootCa ( org.conscrypt.TrustedCertificateStoreTest.getCa1 ( ) , org.conscrypt.TrustedCertificateStoreTest.getAliasSystemCa1 ( ) ) ; assertAliases ( org.conscrypt.TrustedCertificateStoreTest.getAliasSystemCa1 ( ) ) ; store.installCertificate ( org.conscrypt.TrustedCertificateStoreTest.getCa1 ( ) ) ; assertRootCa ( org.conscrypt.TrustedCertificateStoreTest.getCa1 ( ) , org.conscrypt.TrustedCertificateStoreTest.getAliasSystemCa1 ( ) ) ; assertAliases ( org.conscrypt.TrustedCertificateStoreTest.getAliasSystemCa1 ( ) ) ; }
Source:
private static < K , V > com.google.common.collect.SortedMapDifference < K , V > sortedMapDifference ( boolean areEqual , java.util.SortedMap < K , V > onlyOnLeft , java.util.SortedMap < K , V > onlyOnRight , java.util.SortedMap < K , V > onBoth , java.util.SortedMap < K , com.google.common.collect.MapDifference.ValueDifference < V > > differences ) { return new com.google.common.collect.Maps.SortedMapDifferenceImpl < K , V > ( areEqual , java.util.Collections.unmodifiableSortedMap ( onlyOnLeft ) , java.util.Collections.unmodifiableSortedMap ( onlyOnRight ) , java.util.Collections.unmodifiableSortedMap ( onBoth ) , java.util.Collections.unmodifiableSortedMap ( differences ) ) ; }

Target:
public V get ( @ javax.annotation.Nullable java.lang.Object key ) { if ( com.google.common.collect.Collections2.safeContains ( set , key ) ) { @ java.lang.SuppressWarnings ( value = "unchecked" ) K k = ( ( K ) ( key ) ) ; return function.apply ( k ) ; } else { return null ; } }
Source:
public void setError ( java.lang.CharSequence error , android.graphics.drawable.Drawable icon ) { mError = android.text.TextUtils.stringOrSpannedString ( error ) ; mErrorWasChanged = true ; if ( ( mError ) == null ) { setErrorIcon ( null ) ; if ( ( mErrorPopup ) != null ) { if ( mErrorPopup.isShowing ( ) ) { mErrorPopup.dismiss ( ) ; } mErrorPopup = null ; } } else { setErrorIcon ( icon ) ; if ( mTextView.isFocused ( ) ) { showError ( ) ; } } }

Target:
public void setError ( java.lang.CharSequence error , android.graphics.drawable.Drawable icon ) { mError = android.text.TextUtils.stringOrSpannedString ( error ) ; mErrorWasChanged = true ; if ( ( mError ) == null ) { setErrorIcon ( null ) ; if ( ( mErrorPopup ) != null ) { if ( mErrorPopup.isShowing ( ) ) { mErrorPopup.dismiss ( ) ; } mErrorPopup = null ; } mShowErrorAfterAttach = false ; } else { setErrorIcon ( icon ) ; if ( mTextView.isFocused ( ) ) { showError ( ) ; } } }
Source:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; if ( ( mResourceType ) == ( com.android.resources.ResourceType.STRING ) ) { createNewString ( ) ; } else { assert com.android.ide.eclipse.adt.internal.editors.xml.Hyperlinks.isValueResource ( mResourceType ) ; java.lang.String newName = createNewValue ( mResourceType ) ; if ( newName != null ) { setupResourceList ( ) ; selectItemName ( newName ) ; } } }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent e ) { super . widgetSelected ( e ) ; if ( ( mResourceType ) == ( com.android.resources.ResourceType.STRING ) ) { createNewString ( ) ; } else { assert com.android.ide.eclipse.adt.internal.editors.xml.Hyperlinks.isValueResource ( mResourceType ) ; java.lang.String newName = createNewValue ( mResourceType ) ; if ( newName != null ) { com.android.ide.eclipse.adt.internal.resources.ResourceItem [ ] items = setupResourceList ( ) ; selectItemName ( newName , items ) ; } } }
Source:
private void constructorPutAll ( java.util.Map < ? extends K , ? extends V > map ) { for ( java.util.Map.Entry < ? extends K , ? extends V > e : map.entrySet ( ) ) { constructorPut ( e.getKey ( ) , e.getValue ( ) ) ; } }

Target:
private void constructorPutAll ( java.util.Map < ? extends K , ? extends V > map ) { if ( ( table ) == ( java.util.Hashtable.EMPTY_TABLE ) ) { doubleCapacity ( ) ; } for ( java.util.Map.Entry < ? extends K , ? extends V > e : map.entrySet ( ) ) { constructorPut ( e.getKey ( ) , e.getValue ( ) ) ; } }
Source:
static void preload ( ) { android.util.Log.d ( com.android.internal.os.ZygoteInit.TAG , "begin preload" ) ; com.android.internal.os.ZygoteInit.preloadClasses ( ) ; com.android.internal.os.ZygoteInit.preloadResources ( ) ; com.android.internal.os.ZygoteInit.preloadOpenGL ( ) ; com.android.internal.os.ZygoteInit.preloadSharedLibraries ( ) ; android.webkit.WebViewFactory.prepareWebViewInZygote ( ) ; android.util.Log.d ( com.android.internal.os.ZygoteInit.TAG , "end preload" ) ; }

Target:
static void preload ( ) { android.util.Log.d ( com.android.internal.os.ZygoteInit.TAG , "begin preload" ) ; try { android.os.Trace.traceBegin ( Trace.TRACE_TAG_DALVIK , "PreloadClasses" ) ; com.android.internal.os.ZygoteInit.preloadClasses ( ) ; } finally { android.os.Trace.traceEnd ( Trace.TRACE_TAG_DALVIK ) ; } try { android.os.Trace.traceBegin ( Trace.TRACE_TAG_DALVIK , "PreloadResources" ) ; com.android.internal.os.ZygoteInit.preloadResources ( ) ; } finally { android.os.Trace.traceEnd ( Trace.TRACE_TAG_DALVIK ) ; } com.android.internal.os.ZygoteInit.preloadOpenGL ( ) ; com.android.internal.os.ZygoteInit.preloadSharedLibraries ( ) ; android.webkit.WebViewFactory.prepareWebViewInZygote ( ) ; android.util.Log.d ( com.android.internal.os.ZygoteInit.TAG , "end preload" ) ; }
Source:
public void finish ( @ javax.annotation.Nonnull java.io.OutputStream out ) throws java.io.IOException { dexResult.prepare ( cstManager.getCstStrings ( ) , cstManager.getCstFieldRefs ( ) , cstManager.getCstMethodRefs ( ) , cstManager.getCstTypes ( ) ) ; if ( ! ( cstManager.validate ( dexResult ) ) ) { throw new java.lang.AssertionError ( ) ; } dexResult.writeTo ( out , null , false ) ; finished = true ; }

Target:
public void finish ( @ javax.annotation.Nonnull java.io.OutputStream out ) throws java.io.IOException { dexResult.prepare ( cstManager.getCstStrings ( ) , cstManager.getCstFieldRefs ( ) , cstManager.getCstMethodRefs ( ) , cstManager.getCstTypes ( ) , cstManager.getCstPrototypeRefs ( ) ) ; if ( ! ( cstManager.validate ( dexResult ) ) ) { throw new java.lang.AssertionError ( ) ; } dexResult.writeTo ( out , null , false ) ; finished = true ; }
Source:
private static int longCompareTo ( long value1 , long value2 ) { return value1 > value2 ? 1 : value1 < value2 ? - 1 : 0 ; }

Target:
private static int compareAbsoluteValues ( long value1 , long value2 ) { value1 = ( java.lang.Math.abs ( value1 ) ) - 1 ; value2 = ( java.lang.Math.abs ( value2 ) ) - 1 ; return value1 > value2 ? 1 : value1 < value2 ? - 1 : 0 ; }
Source:
public void init ( boolean forEncryption , org.bouncycastle.crypto.CipherParameters privParam , org.bouncycastle.crypto.CipherParameters pubParam , org.bouncycastle.crypto.CipherParameters param ) { this . forEncryption = forEncryption ; this . privParam = privParam ; this . pubParam = pubParam ; this . param = ( ( org.bouncycastle.crypto.params.IESParameters ) ( param ) ) ; this . V = new byte [ 0 ] ; }

Target:
private void extractParams ( org.bouncycastle.crypto.CipherParameters params ) { if ( params instanceof org.bouncycastle.crypto.params.ParametersWithIV ) { this . IV = ( ( org.bouncycastle.crypto.params.ParametersWithIV ) ( params ) ) . getIV ( ) ; this . param = ( ( org.bouncycastle.crypto.params.IESParameters ) ( ( ( org.bouncycastle.crypto.params.ParametersWithIV ) ( params ) ) . getParameters ( ) ) ) ; } else { this . IV = null ; this . param = ( ( org.bouncycastle.crypto.params.IESParameters ) ( params ) ) ; } }
Source:
private void skipGeneric ( ) { int nestingLevel = 1 ; do { char c = descriptor.charAt ( ( ( index ) ++ ) ) ; switch ( c ) { case proguard.classfile.ClassConstants.INTERNAL_TYPE_GENERIC_START : nestingLevel ++ ; break ; case proguard.classfile.ClassConstants.INTERNAL_TYPE_GENERIC_END : nestingLevel -- ; break ; } } while ( nestingLevel > 0 ) ; }

Target:
private void skipGeneric ( ) { int nestingLevel = 1 ; do { char c = descriptor.charAt ( ( ( index ) ++ ) ) ; switch ( c ) { case proguard.classfile.ClassConstants.TYPE_GENERIC_START : nestingLevel ++ ; break ; case proguard.classfile.ClassConstants.TYPE_GENERIC_END : nestingLevel -- ; break ; } } while ( nestingLevel > 0 ) ; }
Source:
public void testToString ( ) { assertEquals ( "[]" , new java.util.concurrent.CopyOnWriteArraySet ( ) . toString ( ) ) ; java.util.concurrent.CopyOnWriteArraySet full = jsr166.CopyOnWriteArraySetTest.populatedSet ( 3 ) ; java.lang.String s = full.toString ( ) ; for ( int i = 0 ; i < 3 ; ++ i ) assertTrue ( s.contains ( java.lang.String.valueOf ( i ) ) ) ; assertEquals ( new java.util.ArrayList ( full ) . toString ( ) , full.toString ( ) ) ; }

Target:
public void testToString ( ) { assertEquals ( "[]" , new java.util.concurrent.CopyOnWriteArraySet ( ) . toString ( ) ) ; java.util.Collection full = jsr166.CopyOnWriteArraySetTest.populatedSet ( 3 ) ; java.lang.String s = full.toString ( ) ; for ( int i = 0 ; i < 3 ; ++ i ) assertTrue ( s.contains ( java.lang.String.valueOf ( i ) ) ) ; assertEquals ( new java.util.ArrayList ( full ) . toString ( ) , full.toString ( ) ) ; }
Source:
public void onDevicesChange ( ) { mDeviceList = sdk.getDevices ( ) ; addDeviceMenuListener ( mDeviceCombo ) ; }

Target:
public void onDevicesChange ( ) { final com.android.ide.eclipse.adt.internal.sdk.Sdk sdk = com.android.ide.eclipse.adt.internal.sdk.Sdk.getCurrent ( ) ; mDeviceList = sdk.getDevices ( ) ; org.eclipse.swt.widgets.Display.getDefault ( ) . asyncExec ( new java.lang.Runnable ( ) { @ java.lang.Override public void run ( ) { addDeviceMenuListener ( mDeviceCombo ) ; } } ) ; }
Source:
private boolean IsFreeSpaceAvailable ( ) { java.io.File dataDir = android.os.Environment.getDataDirectory ( ) ; @ java.lang.SuppressWarnings ( value = "deprecation" ) long lowThreshold = android.os.storage.StorageManager.from ( mContext ) . getStorageLowBytes ( dataDir ) ; if ( lowThreshold == 0 ) { throw new java.lang.IllegalStateException ( "Invalid low memory threshold" ) ; } long usableSpace = dataDir.getUsableSpace ( ) ; return usableSpace >= lowThreshold ; }

Target:
private long getMainLowSpaceThreshold ( ) { java.io.File dataDir = android.os.Environment.getDataDirectory ( ) ; @ java.lang.SuppressWarnings ( value = "deprecation" ) long lowThreshold = android.os.storage.StorageManager.from ( mContext ) . getStorageLowBytes ( dataDir ) ; if ( lowThreshold == 0 ) { throw new java.lang.IllegalStateException ( "Invalid low memory threshold" ) ; } return lowThreshold ; }
Source:
public void testCdmaEnhancedPrivacyVoiceCall ( ) throws java.lang.Exception { mConnectionServiceFixtureA.mConnectionServiceDelegate.mProperties = android.telecom.Connection.PROPERTY_HAS_CDMA_VOICE_PRIVACY ; com.android.server.telecom.tests.IdPair ids = startAndMakeActiveOutgoingCall ( "650-555-1212" , mPhoneAccountA0.getAccountHandle ( ) , mConnectionServiceFixtureA ) ; assertEquals ( Call.STATE_ACTIVE , mInCallServiceFixtureX.getCall ( ids.mCallId ) . getState ( ) ) ; assertTrue ( Call.Details.hasProperty ( mInCallServiceFixtureX.getCall ( ids.mCallId ) . getProperties ( ) , Call.Details.PROPERTY_HAS_CDMA_VOICE_PRIVACY ) ) ; }

Target:
public void testDropCdmaEnhancedPrivacyVoiceCall ( ) throws java.lang.Exception { mConnectionServiceFixtureA.mConnectionServiceDelegate.mProperties = android.telecom.Connection.PROPERTY_HAS_CDMA_VOICE_PRIVACY ; com.android.server.telecom.tests.IdPair ids = startAndMakeActiveOutgoingCall ( "650-555-1212" , mPhoneAccountA0.getAccountHandle ( ) , mConnectionServiceFixtureA ) ; org.junit.Assert.assertEquals ( Call.STATE_ACTIVE , mInCallServiceFixtureX.getCall ( ids.mCallId ) . getState ( ) ) ; mConnectionServiceFixtureA.mLatestConnection.setConnectionProperties ( 0 ) ; org.junit.Assert.assertFalse ( Call.Details.hasProperty ( mInCallServiceFixtureX.getCall ( ids.mCallId ) . getProperties ( ) , Call.Details.PROPERTY_HAS_CDMA_VOICE_PRIVACY ) ) ; }
Source:
protected void sendData ( java.lang.String destAddr , java.lang.String scAddr , int destPort , byte [ ] data , android.app.PendingIntent sentIntent , android.app.PendingIntent deliveryIntent ) { com.android.internal.telephony.cdma.SmsMessage.SubmitPdu pdu = com.android.internal.telephony.cdma.SmsMessage.getSubmitPdu ( scAddr , destAddr , destPort , data , ( deliveryIntent != null ) ) ; sendSubmitPdu ( pdu , sentIntent , deliveryIntent , destAddr ) ; }

Target:
protected void sendData ( java.lang.String destAddr , java.lang.String scAddr , int destPort , byte [ ] data , android.app.PendingIntent sentIntent , android.app.PendingIntent deliveryIntent ) { com.android.internal.telephony.cdma.SmsMessage.SubmitPdu pdu = com.android.internal.telephony.cdma.SmsMessage.getSubmitPdu ( scAddr , destAddr , destPort , data , ( deliveryIntent != null ) ) ; java.util.HashMap map = getSmsTrackerMap ( destAddr , scAddr , destPort , data , pdu ) ; com.android.internal.telephony.cdma.SmsTracker tracker = getSmsTracker ( map , sentIntent , deliveryIntent , getFormat ( ) , null , false ) ; sendSubmitPdu ( tracker ) ; }
Source:
private static void repeatConstMethodType0 ( java.lang.invoke.MethodType expected ) { java.lang.System.out.print ( "repeatConstMethodType0(" ) ; java.lang.System.out.print ( expected ) ; java.lang.System.out.println ( ")" ) ; for ( int i = 0 ; i < 12000 ; ++ i ) { java.lang.invoke.MethodType actual = Main.methodType0 ( ) ; if ( ! ( actual.equals ( expected ) ) ) { java.lang.System.out.print ( "Expected: " ) ; java.lang.System.out.println ( expected ) ; java.lang.System.out.print ( "Actual: " ) ; java.lang.System.out.println ( actual ) ; Main.unreachable ( ) ; } } }

Target:
private static void repeatConstMethodType0 ( java.lang.invoke.MethodType expected ) { java.lang.System.out.print ( "repeatConstMethodType0(" ) ; java.lang.System.out.print ( expected ) ; java.lang.System.out.println ( ")" ) ; for ( int i = 0 ; i < ( Main.ITERATIONS_FOR_JIT ) ; ++ i ) { java.lang.invoke.MethodType actual = Main.methodType0 ( ) ; Main.assertEquals ( expected , actual ) ; } }
Source:
public static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration create ( @ com.android.annotations.NonNull com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser chooser , @ com.android.annotations.NonNull org.eclipse.core.resources.IFile file ) { com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration configuration = com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.copy ( chooser.getConfiguration ( ) ) ; com.android.ide.eclipse.adt.internal.resources.manager.ProjectResources resources = chooser.getResources ( ) ; com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationMatcher matcher = new com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationMatcher ( chooser , configuration , file , resources , false ) ; if ( ( configuration.mEditedConfig ) == null ) { configuration.mEditedConfig = new com.android.ide.common.resources.configuration.FolderConfiguration ( ) ; } matcher.adaptConfigSelection ( true ) ; return configuration ; }

Target:
void setChooser ( @ com.android.annotations.NonNull com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser chooser ) { mConfigChooser = chooser ; }
Source:
public void dump ( java.io.PrintWriter out ) { out.println ( ( ( "Last sweep " + ( com.android.server.wifi.hotspot2.Utils.toHMS ( ( ( mClock.getElapsedSinceBootMillis ( ) ) - ( mLastSweep ) ) ) ) ) + " ago." ) ) ; for ( com.android.server.wifi.hotspot2.ANQPData anqpData : mANQPCache.values ( ) ) { out.println ( anqpData ) ; } }

Target:
public void dump ( java.io.PrintWriter out ) { out.println ( ( ( "Last sweep " + ( com.android.server.wifi.hotspot2.Utils.toHMS ( ( ( mClock.getElapsedSinceBootMillis ( ) ) - ( mLastSweep ) ) ) ) ) + " ago." ) ) ; for ( java.util.Map.Entry < com.android.server.wifi.hotspot2.ANQPNetworkKey , com.android.server.wifi.hotspot2.ANQPData > entry : mANQPCache.entrySet ( ) ) { out.println ( ( ( ( entry.getKey ( ) ) + ": " ) + ( entry.getValue ( ) ) ) ) ; } }
Source:
public android.app.ContextImpl getSystemContext ( ) { synchronized ( this ) { if ( ( android.app.ActivityThread.mSystemContext ) == null ) { android.app.ContextImpl context = android.app.ContextImpl.createSystemContext ( this ) ; android.app.LoadedApk info = new android.app.LoadedApk ( this , "android" , context , null , android.content.res.CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO ) ; context.init ( info , null , this ) ; context.getResources ( ) . updateConfiguration ( getConfiguration ( ) , getDisplayMetricsLocked ( Display.DEFAULT_DISPLAY , CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO ) ) ; android.app.ActivityThread.mSystemContext = context ; } } return android.app.ActivityThread.mSystemContext ; }

Target:
private void sendMessage ( int what , java.lang.Object obj , int arg1 , int arg2 ) { sendMessage ( what , obj , arg1 , arg2 , false ) ; }
Source:
public java.util.List < java.security.cert.X509Certificate > checkServerTrusted ( java.security.cert.X509Certificate [ ] chain , java.lang.String authType , java.lang.String host ) throws java.security.cert.CertificateException { return checkTrusted ( chain , authType , host , false ) ; }

Target:
public void checkClientTrusted ( java.security.cert.X509Certificate [ ] chain , java.lang.String authType , java.net.Socket socket ) throws java.security.cert.CertificateException { javax.net.ssl.SSLSession session = null ; javax.net.ssl.SSLParameters parameters = null ; if ( socket instanceof javax.net.ssl.SSLSocket ) { javax.net.ssl.SSLSocket sslSocket = ( ( javax.net.ssl.SSLSocket ) ( socket ) ) ; session = sslSocket.getHandshakeSession ( ) ; if ( session == null ) { throw new java.security.cert.CertificateException ( "Not in handshake; no session available" ) ; } parameters = sslSocket.getSSLParameters ( ) ; } checkTrusted ( chain , authType , session , parameters , true ) ; }
Source:
public static android.icu.util.UResourceBundle getBundleInstance ( java.lang.String baseName , java.util.Locale locale ) { if ( baseName == null ) { baseName = android.icu.impl.ICUResourceBundle.ICU_BASE_NAME ; } android.icu.util.ULocale uloc = ( locale == null ) ? android.icu.util.ULocale.getDefault ( ) : android.icu.util.ULocale.forLocale ( locale ) ; return android.icu.util.UResourceBundle.getBundleInstance ( baseName , uloc.toString ( ) , ICUResourceBundle.ICU_DATA_CLASS_LOADER , false ) ; }

Target:
public static android.icu.util.UResourceBundle getBundleInstance ( java.lang.String baseName , java.util.Locale locale ) { if ( baseName == null ) { baseName = android.icu.impl.ICUData.ICU_BASE_NAME ; } android.icu.util.ULocale uloc = ( locale == null ) ? android.icu.util.ULocale.getDefault ( ) : android.icu.util.ULocale.forLocale ( locale ) ; return android.icu.util.UResourceBundle.getBundleInstance ( baseName , uloc.getBaseName ( ) , ICUResourceBundle.ICU_DATA_CLASS_LOADER , false ) ; }