auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public static synchronized com.android.internal.telephony.uicc.UiccController getInstance ( com.android.internal.telephony.PhoneBase phone ) { if ( ( com.android.internal.telephony.uicc.UiccController.mInstance ) == null ) { com.android.internal.telephony.uicc.UiccController.mInstance = new com.android.internal.telephony.uicc.UiccController ( phone ) ; } else if ( phone != null ) { com.android.internal.telephony.uicc.UiccController.mInstance.setNewPhone ( phone ) ; } return com.android.internal.telephony.uicc.UiccController.mInstance ; }

Target:
public static com.android.internal.telephony.uicc.UiccController make ( android.content.Context c , com.android.internal.telephony.CommandsInterface ci ) { synchronized ( com.android.internal.telephony.uicc.UiccController.mLock ) { if ( ( com.android.internal.telephony.uicc.UiccController.mInstance ) != null ) { throw new java.lang.RuntimeException ( "UiccController.make() should only be called once" ) ; } com.android.internal.telephony.uicc.UiccController.mInstance = new com.android.internal.telephony.uicc.UiccController ( c , ci ) ; return com.android.internal.telephony.uicc.UiccController.mInstance ; } }
Source:
public void onPositiveButtonClick ( android.app.DialogFragment dialog ) { mPhone.setDataRoamingEnabled ( true ) ; mButtonDataRoam.setChecked ( true ) ; }

Target:
public void onPositiveButtonClick ( android.app.DialogFragment dialog ) { mPhone.setDataRoamingEnabled ( true ) ; mButtonDataRoam.setChecked ( true ) ; com.android.internal.logging.MetricsLogger.action ( getContext ( ) , getMetricsEventCategory ( getPreferenceScreen ( ) , mButtonDataRoam ) , true ) ; }
Source:
public void run ( ) { setHttpAuthUsernamePassword ( host , realm , username , password ) ; }

Target:
public java.lang.String [ ] call ( ) { return getHttpAuthUsernamePassword ( host , realm ) ; }
Source:
private void updateProgramTextView ( com.android.tv.data.Program program ) { if ( program == null ) { return ; } updateProgramTextView ( ( program == ( com.android.tv.ui.ChannelBannerView.sLockedChannelProgram ) ) , program.getTitle ( ) , program.getEpisodeDisplayTitle ( getContext ( ) ) ) ; }

Target:
private void updateProgramTextView ( com.android.tv.data.Program program ) { if ( program == null ) { return ; } updateProgramTextView ( ( program == ( mLockedChannelProgram ) ) , program.getTitle ( ) , program.getEpisodeDisplayTitle ( getContext ( ) ) ) ; }
Source:
public java.lang.String getClassName ( ) { return null ; }

Target:
public java.lang.String getClassName ( ) { return mName ; }
Source:
protected boolean check ( ) { android.media.tv.cts.TvInputServiceTest.CountingTvInputService.CountingSession session = android.media.tv.cts.TvInputServiceTest.CountingTvInputService.sSession ; return ( session != null ) && ( ( session.mTuneCount ) > 0 ) ; }

Target:
protected boolean check ( ) { android.media.tv.cts.TvInputServiceTest.CountingTvInputService.CountingSession session = android.media.tv.cts.TvInputServiceTest.CountingTvInputService.sSession ; return ( ( session != null ) && ( ( session.mTuneCount ) > 0 ) ) && ( ( session.mCreateOverlayView ) > 0 ) ; }
Source:
public void setCdmaBroadcastConfigResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { }

Target:
public void writeSmsToRuimResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , int index ) { responseInts ( responseInfo , index ) ; }
Source:
public void onClick ( android.view.View v ) { refreshSmsc ( ) ; }

Target:
public void onClick ( android.view.View v ) { updatePingState ( ) ; }
Source:
public java.lang.String getInstrumentationRunner ( ) { java.lang.String runner = mMergedFlavor.getTestInstrumentationRunner ( ) ; return runner != null ? runner : com.android.builder.VariantConfiguration.DEFAULT_TEST_RUNNER ; }

Target:
public java.lang.String getInstrumentationRunner ( ) { com.android.builder.VariantConfiguration config = this ; if ( ( mType ) == ( com.android.builder.VariantConfiguration.Type.TEST ) ) { config = getTestedConfig ( ) ; } java.lang.String runner = config.mMergedFlavor.getTestInstrumentationRunner ( ) ; return runner != null ? runner : com.android.builder.VariantConfiguration.DEFAULT_TEST_RUNNER ; }
Source:
public abstract com.android.dialer.lightbringer.Lightbringer bindsLightbringer ( com.android.dialer.lightbringer.stub.LightbringerStub lightbringer ) ;

Target:
public abstract com.android.dialer.duo.Duo bindsDuo ( com.android.dialer.duo.stub.DuoStub duoStub ) ;
Source:
public boolean delete ( java.lang.String key ) { return delete ( android.security.KeyStore.getKeyBytes ( key ) ) ; }

Target:
public boolean delete ( java.lang.String key ) { try { return ( mBinder.del ( key ) ) == ( android.security.KeyStore.NO_ERROR ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.security.KeyStore.TAG , "Cannot connect to keystore" , e ) ; return false ; } }
Source:
public java.util.List < java.lang.String > getApplicableCallNames ( ) { return java.util.Arrays.asList ( com.android.tools.lint.checks.WakelockDetector.ACQUIRE_METHOD , com.android.tools.lint.checks.WakelockDetector.RELEASE_METHOD ) ; }

Target:
public java.util.List < java.lang.String > getApplicableCallNames ( ) { return java.util.Arrays.asList ( com.android.tools.lint.checks.WakelockDetector.ACQUIRE_METHOD , com.android.tools.lint.checks.WakelockDetector.RELEASE_METHOD , com.android.tools.lint.checks.WakelockDetector.NEW_WAKE_LOCK_METHOD ) ; }
Source:
public boolean isVectorDrawable ( java.io.File xmlFile ) { return true ; }

Target:
public boolean isVectorDrawable ( java.io.File resourceFile ) { return ( resourceFile.getPath ( ) . endsWith ( ".xml" ) ) && ( resourceFile.getParentFile ( ) . getName ( ) . equals ( "drawable" ) ) ; }
Source:
public static int floatConditionNotEqualOne ( float f ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( f > 42.0F ) == true ? 13 : 54 ; }

Target:
public static int $noinline$floatConditionNotEqualOne ( float f ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( f > 42.0F ) == true ? 13 : 54 ; }
Source:
public synchronized void cancelSubsession ( android.telecom.Logging.Session subsession ) { if ( subsession == null ) { return ; } subsession.markSessionCompleted ( 0 ) ; endParentSessions ( subsession ) ; }

Target:
public synchronized void cancelSubsession ( android.telecom.Logging.Session subsession ) { if ( subsession == null ) { return ; } subsession.markSessionCompleted ( Session.UNDEFINED ) ; endParentSessions ( subsession ) ; }
Source:
public java.lang.String [ ] getHeader ( ) { return com.android.sched.util.log.stats.Percent.HEADER.clone ( ) ; }

Target:
public synchronized java.util.Iterator < java.lang.Object > iterator ( ) { return com.google.common.collect.Iterators.< java.lang.Object > forArray ( java.lang.Double.valueOf ( getPercent ( ) ) , java.lang.Long.valueOf ( getTrueCount ( ) ) , java.lang.Long.valueOf ( getTotal ( ) ) ) ; }
Source:
public void testEncode_String_NullString ( ) { tests.api.java.nio.charset.CharsetTest.MockCharset c = new tests.api.java.nio.charset.CharsetTest.MockCharset ( "mock" , null ) ; try { c.encode ( ( ( java.lang.String ) ( null ) ) ) ; fail ( "Should throw NullPointerException!" ) ; } catch ( java.lang.NullPointerException e ) { } }

Target:
public void testForName_NotSupported ( ) { try { java.nio.charset.Charset.forName ( "impossible" ) ; fail ( ) ; } catch ( java.nio.charset.UnsupportedCharsetException expected ) { } }
Source:
private void sendAvailablePlayersChanged ( ) { if ( com.android.bluetooth.avrcp.Avrcp.DEBUG ) android.util.Log.d ( com.android.bluetooth.avrcp.Avrcp.TAG , "sendAvailablePlayersChanged" ) ; registerNotificationRspAvalPlayerChangedNative ( AvrcpConstants.NOTIFICATION_TYPE_CHANGED ) ; }

Target:
private void sendAvailablePlayersChanged ( ) { if ( com.android.bluetooth.avrcp.Avrcp.DEBUG ) android.util.Log.d ( com.android.bluetooth.avrcp.Avrcp.TAG , "sendAvailablePlayersChanged" ) ; mHandler.sendEmptyMessage ( com.android.bluetooth.avrcp.Avrcp.MSG_AVAILABLE_PLAYERS_CHANGED_RSP ) ; }
Source:
private java.util.concurrent.RunnableScheduledFuture pollExpired ( ) { java.util.concurrent.RunnableScheduledFuture first = queue [ 0 ] ; if ( ( first == null ) || ( ( first.getDelay ( java.util.concurrent.TimeUnit.NANOSECONDS ) ) > 0 ) ) return null ; return finishPoll ( first ) ; }

Target:
private java.util.concurrent.RunnableScheduledFuture < ? > peekExpired ( ) { java.util.concurrent.RunnableScheduledFuture < ? > first = queue [ 0 ] ; return ( first == null ) || ( ( first.getDelay ( java.util.concurrent.TimeUnit.NANOSECONDS ) ) > 0 ) ? null : first ; }
Source:
private static javax.crypto.SecretKey getSecretKey2 ( ) { if ( ( libcore.java.security.KeyStoreTest.SECRET_KEY_2 ) == null ) { libcore.java.security.KeyStoreTest.SECRET_KEY_2 = libcore.java.security.KeyStoreTest.generateSecretKey ( ) ; } return libcore.java.security.KeyStoreTest.SECRET_KEY_2 ; }

Target:
private static javax.crypto.SecretKey getSecretKey2 ( ) { if ( ( libcore.java.security.KeyStoreTest.sSecretKey2 ) == null ) { libcore.java.security.KeyStoreTest.sSecretKey2 = libcore.java.security.KeyStoreTest.generateSecretKey ( ) ; } return libcore.java.security.KeyStoreTest.sSecretKey2 ; }
Source:
T createVariantData ( @ com.android.annotations.NonNull com.android.builder.core.VariantConfiguration variantConfiguration , @ com.android.annotations.NonNull java.util.Set < java.lang.String > densities , @ com.android.annotations.NonNull java.util.Set < java.lang.String > abis ) ;

Target:
T createVariantData ( @ com.android.annotations.NonNull com.android.builder.core.VariantConfiguration variantConfiguration , @ com.android.annotations.NonNull java.util.Set < java.lang.String > densities , @ com.android.annotations.NonNull java.util.Set < java.lang.String > abi , @ com.android.annotations.NonNull java.util.Set < java.lang.String > compatibleScreens ) ;
Source:
private void onUpdateSelected ( ) { mUpdaterData.updateOrInstallAll ( null ) ; }

Target:
private void onUpdateSelected ( ) { mUpdaterData.updateOrInstallAll_WithGUI ( null ) ; }
Source:
public void doWork ( ) throws android.os.RemoteException { mService.addAcount ( this . mResponse , accountType , authTokenType , requiredFeatures , ( activity != null ) , optionsIn ) ; }

Target:
public void doWork ( ) throws android.os.RemoteException { mService.removeAccountAsUser ( mResponse , account , false , userHandle.getIdentifier ( ) ) ; }
Source:
protected java.net.URLConnection openConnection ( java.net.URL url ) throws java.io.IOException { return new libcore.io.ClassPathURLStreamHandler.ClassPathURLConnection ( url , jarFile ) ; }

Target:
public void close ( ) throws java.io.IOException { strictJarFile.close ( ) ; if ( ( jarFile ) != null ) { jarFile.close ( ) ; } }
Source:
public void testVFE2 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.goto_32.d.T_goto_32_3" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE3 ( ) { load ( "dot.junit.opcodes.goto_32.d.T_goto_32_4" , null ) ; }
Source:
private static void showDeviceCatalogError ( java.lang.String errorMessageSuffix , long currentTimestamp ) { if ( ( currentTimestamp - ( com.google.gct.testing.launcher.CloudAuthenticator.lastDiscoveryServiceInvocationTimestamp ) ) > 1000L ) { com.google.gct.testing.GoogleCloudTestingUtils.showErrorMessage ( null , "Error retrieving android device catalog" , ( "Failed to retrieve available cloud devices! Please try again later.\n" + errorMessageSuffix ) ) ; } }

Target:
private static void showDeviceCatalogError ( java.lang.String errorMessageSuffix , long currentTimestamp ) { if ( ( currentTimestamp - ( com.google.gct.testing.launcher.CloudAuthenticator.lastDiscoveryServiceInvocationTimestamp ) ) > 1000L ) { com.google.gct.testing.CloudTestingUtils.showErrorMessage ( null , "Error retrieving android device catalog" , ( "Failed to retrieve available cloud devices! Please try again later.\n" + errorMessageSuffix ) ) ; } }
Source:
public int getUtf8Size ( ) { return bytes.size ( ) ; }

Target:
public int getUtf8Size ( ) { if ( ( bytesCount ) == ( - 1 ) ) { bytesCount = com.android.jack.dx.rop.cst.CstString.stringToUtf8BytesCount ( string ) ; } return bytesCount ; }
Source:
public void cancelledRequest ( ) throws java.lang.Exception { mRequest.cancel ( ) ; mCacheQueue.add ( mRequest ) ; mCacheQueue.waitUntilEmpty ( com.android.volley.CacheDispatcherTest.TIMEOUT_MILLIS ) ; assertFalse ( mCache.getCalled ) ; assertFalse ( mDelivery.wasEitherResponseCalled ( ) ) ; }

Target:
public void cancelledRequest ( ) throws java.lang.Exception { mRequest.cancel ( ) ; mDispatcher.processRequest ( mRequest ) ; org.mockito.Mockito.verify ( mCache , org.mockito.Mockito.never ( ) ) . get ( org.mockito.Matchers.anyString ( ) ) ; com.android.volley.CacheDispatcherTest.verifyNoResponse ( mDelivery ) ; }
Source:
public static com.android.dialer.speeddial.database.SpeedDialEntry.Builder builder ( ) { return new com.android.dialer.speeddial.database.AutoValue_SpeedDialEntry.Builder ( ) ; }

Target:
public static com.android.dialer.speeddial.database.SpeedDialEntry.Builder builder ( ) { return new com.android.dialer.speeddial.database.AutoValue_SpeedDialEntry.Builder ( ) . setPinnedPosition ( com.google.common.base.Optional.absent ( ) ) ; }
Source:
public void accept ( int result ) { if ( result == ( android.app.Activity.RESULT_OK ) ) { status = com.android.cts.verifier.notifications.InteractiveVerifierActivity.PASS ; next ( ) ; } else { logFail ( ) ; status = com.android.cts.verifier.notifications.InteractiveVerifierActivity.RETEST ; delay ( ) ; } }

Target:
void test ( ) { if ( ( com.android.cts.verifier.notifications.MockListener.getInstance ( ) ) != null ) { status = com.android.cts.verifier.notifications.InteractiveVerifierActivity.PASS ; next ( ) ; } else { logFail ( ) ; status = com.android.cts.verifier.notifications.InteractiveVerifierActivity.RETEST ; delay ( ) ; } }
Source:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.doTest ( ) ; Main.doFollowReferencesTest ( ) ; }

Target:
public static void main ( java.lang.String [ ] args ) throws java.lang.Exception { Main.doTest ( ) ; new Main.TestConfig ( ) . doFollowReferencesTest ( ) ; }
Source:
private int getSwapToSecondaryButtonState ( ) { if ( ( secondary ) == null ) { return com.android.incallui.incall.protocol.PrimaryCallState.ButtonState.NOT_SUPPORT ; } if ( ( primary.getState ( ) ) == ( com.android.incallui.call.DialerCall.State.ACTIVE ) ) { return com.android.incallui.incall.protocol.PrimaryCallState.ButtonState.ENABLED ; } return com.android.incallui.incall.protocol.PrimaryCallState.ButtonState.DISABLED ; }

Target:
private int getSwapToSecondaryButtonState ( ) { if ( ( secondary ) == null ) { return com.android.incallui.incall.protocol.PrimaryCallState.ButtonState.NOT_SUPPORT ; } if ( ( primary.getState ( ) ) == ( com.android.incallui.call.state.DialerCallState.ACTIVE ) ) { return com.android.incallui.incall.protocol.PrimaryCallState.ButtonState.ENABLED ; } return com.android.incallui.incall.protocol.PrimaryCallState.ButtonState.DISABLED ; }
Source:
public void onListItemClick ( android.widget.ListView l , android.view.View v , int position , long id ) { editSelected ( position ) ; }

Target:
public void onListItemClick ( android.widget.ListView l , android.view.View v , int position , long id ) { mPopup = new com.android.phone.settings.fdn.FdnList.SelectionPopupMenu ( this , v , position ) ; mPopup.showPopUp ( ) ; }
Source:
public void onReceive ( android.content.Context context , android.content.Intent intent ) { synchronized ( this ) { mPendingAlarm = null ; alarmFiredNative ( ) ; } }

Target:
protected java.lang.Void doInBackground ( java.lang.Void ... params ) { getSharedPreferences ( com.android.bluetooth.btservice.AdapterService.PHONEBOOK_ACCESS_PERMISSION_PREFERENCE_FILE , Context.MODE_PRIVATE ) ; getSharedPreferences ( com.android.bluetooth.btservice.AdapterService.MESSAGE_ACCESS_PERMISSION_PREFERENCE_FILE , Context.MODE_PRIVATE ) ; getSharedPreferences ( com.android.bluetooth.btservice.AdapterService.SIM_ACCESS_PERMISSION_PREFERENCE_FILE , Context.MODE_PRIVATE ) ; return null ; }
Source:
public com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode insertNewUiChild ( int index , com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor descriptor ) { com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode ui_node ; ui_node = descriptor.createUiNode ( ) ; mUiChildren.add ( index , ui_node ) ; ui_node.setUiParent ( this ) ; ui_node.invokeUiUpdateListeners ( UiUpdateState.CREATED ) ; return ui_node ; }

Target:
public com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode insertNewUiChild ( int index , com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor descriptor ) { com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode uiNode ; uiNode = descriptor.createUiNode ( ) ; mUiChildren.add ( index , uiNode ) ; uiNode.setUiParent ( this ) ; uiNode.invokeUiUpdateListeners ( UiUpdateState.CREATED ) ; return uiNode ; }
Source:
public void testDevPortSane ( ) throws java.lang.Exception { java.io.File f = new java.io.File ( "/dev/port" ) ; assertFalse ( f.canRead ( ) ) ; assertFalse ( f.canWrite ( ) ) ; assertFalse ( f.canExecute ( ) ) ; }

Target:
public void testAllBlockDevicesAreSecure ( ) throws java.lang.Exception { java.util.Set < java.io.File > insecure = android.permission.cts.FileSystemPermissionTest.getAllInsecureDevicesInDirAndSubdir ( new java.io.File ( "/dev" ) , FileUtils.S_IFBLK ) ; assertTrue ( ( "Found insecure block devices: " + ( insecure.toString ( ) ) ) , insecure.isEmpty ( ) ) ; }
Source:
private native void gattClientUpdateAdvNative ( int advertiserId , int min_interval , int max_interval , int adv_type , int chnl_map , int tx_power , int timeout_s ) ;

Target:
private native void gattClientEnableAdvNative ( int advertiserId , boolean enable , int timeout_s ) ;
Source:
public void testSimpleResMatch ( ) { runConfigMatchTest ( "en-rGB-port-hdpi-notouch-12key" , 3 , "" , "en" , "fr-rCA" , "en-port" , "en-notouch-12key" , "port-ldpi" , "port-notouch-12key" ) ; }

Target:
public void testSimpleResMatch ( ) { com.android.ide.common.resources.configuration.FolderConfigurationTest.runConfigMatchTest ( "en-rGB-port-hdpi-notouch-12key" , 3 , "" , "en" , "fr-rCA" , "en-port" , "en-notouch-12key" , "port-ldpi" , "port-notouch-12key" ) ; }
Source:
protected void ensureAll ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod loaded ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public void ensureMarker ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethod loaded , @ javax.annotation.Nonnull java.lang.Class < ? extends com.android.sched.marker.Marker > cls ) { ensureMarkers ( loaded ) ; }
Source:
public void setUp ( ) { org.mockito.MockitoAnnotations.initMocks ( this ) ; mProvider = new com.android.networkrecommendation.DefaultNetworkRecommendationService.DefaultNetworkRecommendationProvider ( new android.os.Handler ( android.os.Looper.getMainLooper ( ) ) , mNetworkScoreManager , new com.android.networkrecommendation.DefaultNetworkRecommendationService.ScoreStorage ( ) ) ; }

Target:
public void setUp ( ) { org.mockito.MockitoAnnotations.initMocks ( this ) ; mStorage = new com.android.networkrecommendation.DefaultNetworkRecommendationService.ScoreStorage ( ) ; mProvider = new com.android.networkrecommendation.DefaultNetworkRecommendationService.DefaultNetworkRecommendationProvider ( new android.os.Handler ( android.os.Looper.getMainLooper ( ) ) , mNetworkScoreManager , mStorage ) ; }
Source:
private void handleScanPeriod ( ) { synchronized ( mSettingsLock ) { mBackgroundScanPeriodPending = true ; processPendingScans ( ) ; } }

Target:
private void handleScanPeriod ( ) { synchronized ( mSettingsLock ) { mBackgroundScanPeriodPending = true ; android.util.Log.d ( com.android.server.wifi.scanner.WificondScannerImpl.TAG , "processPendingScans in request of handleScanPeriod" ) ; processPendingScans ( ) ; } }
Source:
public void TestDump ( ) { android.icu.text.RuleBasedBreakIterator rbbi = new android.icu.text.RuleBasedBreakIterator ( "" ) ; try { rbbi.dump ( ) ; errln ( ( "RuleBasedBreakIterator.dump() was suppose to return " + "an exception for a blank RuleBasedBreakIterator object." ) ) ; } catch ( java.lang.Exception e ) { } }

Target:
public void TestBug7547 ( ) { try { new android.icu.text.RuleBasedBreakIterator ( "" ) ; fail ( "TestBug7547: RuleBasedBreakIterator constructor failed to throw an exception with empty rules." ) ; } catch ( java.lang.IllegalArgumentException e ) { } catch ( java.lang.Exception e ) { fail ( ( "TestBug7547: Unexpected exception while creating RuleBasedBreakIterator: " + e ) ) ; } }
Source:
public void run ( ) { appNotResponding ( proc , activity , parent , aboveSystem , annotation ) ; }

Target:
public void binderDied ( ) { synchronized ( this ) { notifyAll ( ) ; } }
Source:
protected boolean standardContainsAll ( java.util.Collection < ? > collection ) { for ( java.lang.Object o : collection ) { if ( ! ( contains ( o ) ) ) { return false ; } } return true ; }

Target:
protected boolean standardContainsAll ( java.util.Collection < ? > collection ) { return com.google.common.collect.Collections2.containsAllImpl ( this , collection ) ; }
Source:
boolean isAudioConnected ( android.bluetooth.BluetoothDevice device ) { enforceCallingOrSelfPermission ( com.android.bluetooth.hfp.BLUETOOTH_PERM , "Need BLUETOOTH permission" ) ; return mStateMachine.isAudioConnected ( device ) ; }

Target:
int getAudioState ( android.bluetooth.BluetoothDevice device ) { return mStateMachine.getAudioState ( ) ; }
Source:
private boolean restartHwPnoScan ( ) { mHwPnoDebouncer.forceStopPnoScan ( ) ; return mHwPnoDebouncer.startPnoScan ( mHwPnoDebouncerListener ) ; }

Target:
private boolean startHwPnoScan ( com.android.server.wifi.WifiNative.PnoSettings pnoSettings ) { return mHwPnoDebouncer.startPnoScan ( pnoSettings , mHwPnoDebouncerListener ) ; }
Source:
public com.android.jack.test.toolchain.IToolchain build ( ) { return new com.android.jack.test.toolchain.JillApiV01Toolchain ( com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jill" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jack" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "legacy-java-compiler" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jarjar" ) , com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "proguard" ) ) ; }

Target:
public com.android.jack.test.toolchain.JackApiV02Toolchain build ( ) { java.io.File jackPrebuilt = ( com.android.jack.test.toolchain.AbstractTestTools.isPrebuiltAvailable ( "jack" ) ) ? com.android.jack.test.toolchain.AbstractTestTools.getPrebuilt ( "jack" ) : null ; return new com.android.jack.test.toolchain.JackApiV02Toolchain ( jackPrebuilt ) ; }
Source:
public void testInstall_withNewerBundleVersion ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundleBuilder ( libcore.tzdata.update2.TimeZoneBundleInstallerTest.NEW_RULES_VERSION , "001" ) . setBundleVersionForTests ( "002.001" ) . buildUnvalidated ( ) ; assertFalse ( installer.install ( bundle.getBytes ( ) ) ) ; assertNoContentInstalled ( ) ; }

Target:
public void testInstall_withMissingBundleVersionFile ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundleBuilder ( libcore.tzdata.update2.TimeZoneBundleInstallerTest.NEW_RULES_VERSION , 1 ) . clearVersionForTests ( ) . buildUnvalidated ( ) ; assertEquals ( TimeZoneBundleInstaller.INSTALL_FAIL_BAD_BUNDLE_STRUCTURE , installer.installWithErrorCode ( bundle.getBytes ( ) ) ) ; assertNoContentInstalled ( ) ; }
Source:
public void test_minusMonths_long_negative ( ) { java.time.LocalDate t = TEST_2007_07_15.minusMonths ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 8 , 15 ) ) ; }

Target:
public void test_minusMonths_long_negative ( ) { java.time.LocalDate t = tck.java.time.TCKLocalDate.TEST_2007_07_15.minusMonths ( ( - 1 ) ) ; org.testng.Assert.assertEquals ( t , java.time.LocalDate.of ( 2007 , 8 , 15 ) ) ; }
Source:
public java.io.OutputStream openWrite ( ) throws java.io.FileNotFoundException { return new java.io.FileOutputStream ( file ) ; }

Target:
public java.io.OutputStream openWrite ( ) throws java.io.FileNotFoundException { assert ! ( vfs.isClosed ( ) ) ; return new java.io.FileOutputStream ( file ) ; }
Source:
public com.android.sdkuilib.ui.GridLayoutBuilder columns ( int n ) { com.android.sdkuilib.ui.GridLayoutBuilder.mGL.numColumns = n ; return this ; }

Target:
public com.android.sdkuilib.ui.GridLayoutBuilder hSpacing ( int h ) { mGL.horizontalSpacing = h ; return this ; }
Source:
public void connectionEventFailedDisablesTracing ( ) throws java.lang.Exception { mLastMileLogger.reportConnectionEvent ( com.android.server.wifi.LastMileLoggerTest.FAKE_CONNECTION_ID , BaseWifiDiagnostics.CONNECTION_EVENT_FAILED ) ; org.junit.Assert.assertEquals ( "0" , libcore.io.IoUtils.readFileAsString ( mTraceEnableFile.getPath ( ) ) ) ; }

Target:
public void connectionEventFailedDisablesTracingWhenPendingFails ( ) throws java.lang.Exception { mLastMileLogger.reportConnectionEvent ( com.android.server.wifi.LastMileLoggerTest.FAKE_CONNECTION_ID , BaseWifiDiagnostics.CONNECTION_EVENT_STARTED ) ; mLastMileLogger.reportConnectionEvent ( com.android.server.wifi.LastMileLoggerTest.FAKE_CONNECTION_ID , BaseWifiDiagnostics.CONNECTION_EVENT_FAILED ) ; org.junit.Assert.assertEquals ( "0" , libcore.io.IoUtils.readFileAsString ( mTraceEnableFile.getPath ( ) ) ) ; }
Source:
public void run ( ) { onVisibilityChanged ( changedView , visibility ) ; }

Target:
public void run ( ) { onWindowFocusChanged ( hasWindowFocus ) ; }
Source:
public com.android.internal.telephony.IccRecords getIccRecords ( int family ) { if ( ( mUiccCard ) != null ) { com.android.internal.telephony.UiccCardApplication app = mUiccCard.getApplication ( family ) ; if ( app != null ) { return app.getIccRecords ( ) ; } } return null ; }

Target:
public com.android.internal.telephony.uicc.UiccCardApplication getUiccCardApplication ( int family ) { synchronized ( com.android.internal.telephony.uicc.UiccController.mLock ) { if ( ( mUiccCard ) != null ) { return mUiccCard.getApplication ( family ) ; } return null ; } }
Source:
static com.google.common.collect.ImmutableList < com.android.dialer.phonelookup.PhoneLookup > providePhoneLookupList ( com.android.dialer.phonelookup.cp2.Cp2DefaultDirectoryPhoneLookup cp2DefaultDirectoryPhoneLookup , com.android.dialer.phonelookup.cp2.Cp2ExtendedDirectoryPhoneLookup cp2ExtendedDirectoryPhoneLookup , com.android.dialer.phonelookup.blockednumber.SystemBlockedNumberPhoneLookup systemBlockedNumberPhoneLookup , com.android.dialer.phonelookup.spam.SpamPhoneLookup spamPhoneLookup ) { return com.google.common.collect.ImmutableList.of ( cp2DefaultDirectoryPhoneLookup , cp2ExtendedDirectoryPhoneLookup , systemBlockedNumberPhoneLookup , spamPhoneLookup ) ; }

Target:
static com.google.common.collect.ImmutableList < com.android.dialer.phonelookup.PhoneLookup > providePhoneLookupList ( com.android.dialer.phonelookup.cnap.CnapPhoneLookup cnapPhoneLookup , com.android.dialer.phonelookup.cp2.Cp2DefaultDirectoryPhoneLookup cp2DefaultDirectoryPhoneLookup , com.android.dialer.phonelookup.cp2.Cp2ExtendedDirectoryPhoneLookup cp2ExtendedDirectoryPhoneLookup , com.android.dialer.phonelookup.blockednumber.SystemBlockedNumberPhoneLookup systemBlockedNumberPhoneLookup , com.android.dialer.phonelookup.spam.SpamPhoneLookup spamPhoneLookup ) { return com.google.common.collect.ImmutableList.of ( cnapPhoneLookup , cp2DefaultDirectoryPhoneLookup , cp2ExtendedDirectoryPhoneLookup , systemBlockedNumberPhoneLookup , spamPhoneLookup ) ; }
Source:
public final java.lang.String getHumanReadableValue ( @ javax.annotation.Nonnegative int columnIdx ) { return ( ( com.android.sched.util.codec.Formatter < java.lang.Object > ) ( getFormatters ( ) [ columnIdx ] ) ) . formatValue ( getValue ( columnIdx ) ) ; }

Target:
public final java.lang.String getHumanReadableValue ( @ javax.annotation.Nonnegative int columnIdx ) { java.io.ByteArrayOutputStream baos = new java.io.ByteArrayOutputStream ( ) ; java.io.PrintStream printer = new java.io.PrintStream ( baos ) ; com.android.sched.util.print.TextPrinter provider = new com.android.sched.util.print.TextPrinter ( printer ) ; provider.print ( this ) ; return baos.toString ( ) ; }
Source:
native boolean enableNative ( ) ;

Target:
native boolean enableNative ( boolean startRestricted ) ;
Source:
public void setDisplay ( android.view.SurfaceHolder sh ) { mSurfaceHolder = sh ; mSurface = sh.getSurface ( ) ; updateSurfaceScreenOn ( ) ; }

Target:
public void setDisplay ( android.view.SurfaceHolder sh ) { mSurfaceHolder = sh ; if ( sh != null ) { mSurface = sh.getSurface ( ) ; } else { mSurface = null ; } _setVideoSurface ( ) ; updateSurfaceScreenOn ( ) ; }
Source:
public void testVFE7 ( ) { try { java.lang.Class.forName ( "dot.junit.opcodes.aget_short.d.T_aget_short_9" ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testE3 ( ) { loadAndRun ( "dot.junit.opcodes.aget_short.d.T_aget_short_1" , java.lang.ArrayIndexOutOfBoundsException.class , new short [ 2 ] , ( - 1 ) ) ; }
Source:
private static void unpackOnHost ( com.android.cts.tzdata.TzDataCheckTest.PathPair path , libcore.tzdata.shared2.TimeZoneDistro distro ) throws java.lang.Exception { com.android.cts.tzdata.TzDataCheckTest.createHostDirectory ( path ) ; distro.extractTo ( path.hostFile ( ) ) ; }

Target:
private static void unpackOnHost ( com.android.cts.tzdata.TzDataCheckTest.PathPair path , com.android.timezone.distro.TimeZoneDistro distro ) throws java.lang.Exception { com.android.cts.tzdata.TzDataCheckTest.createHostDirectory ( path ) ; distro.extractTo ( path.hostFile ( ) ) ; }
Source:
public void removeParticipants ( java.lang.String [ ] participants ) { }

Target:
public void startConference ( java.lang.String [ ] participants , android.telephony.ims.ImsCallProfile profile ) throws android.os.RemoteException { this . startConference ( participants , profile ) ; }
Source:
private void done ( ) { updateUiState ( ) ; android.util.Log.i ( com.android.cts.verifier.vr.VrListenerVerifierActivity.TAG , "Completed run!" ) ; }

Target:
private void done ( ) { updateUiState ( ) ; persistentTestStatusHandler.clear ( ) ; android.util.Log.i ( com.android.cts.verifier.vr.VrListenerVerifierActivity.TAG , "Completed run!" ) ; }
Source:
public void run ( ) { addVideo ( uri , append ) ; }

Target:
public void run ( ) { goToConversationList ( ) ; }
Source:
public boolean configureRoaming ( com.android.server.wifi.WifiNative.RoamingConfig config ) { android.util.Log.d ( com.android.server.wifi.WifiNative.TAG , "configureRoaming " ) ; try { if ( ( mWifiVendorHal ) != null ) { return mWifiVendorHal.configureRoaming ( config ) ; } } catch ( java.lang.UnsupportedOperationException e ) { } return false ; }

Target:
public boolean configureRoaming ( com.android.server.wifi.WifiNative.RoamingConfig config ) { android.util.Log.d ( com.android.server.wifi.WifiNative.TAG , "configureRoaming " ) ; if ( com.android.server.wifi.WifiNative.HIDL_VENDOR_ENABLE ) { return mWifiVendorHal.configureRoaming ( config ) ; } else { android.util.Log.e ( com.android.server.wifi.WifiNative.TAG , "configureRoaming not supported" ) ; return false ; } }
Source:
public void tesAccelUncalibrated_fastest_flush ( ) throws java.lang.Throwable { runFlushSensorTest ( Sensor.TYPE_ACCELEROMETER_UNCALIBRATED , android.hardware.cts.SensorBatchingTests.RATE_FASTEST , android.hardware.cts.SensorBatchingTests.BATCHING_PERIOD ) ; }

Target:
public void testAccelUncalibrated_fastest_flush ( ) throws java.lang.Throwable { runFlushSensorTest ( Sensor.TYPE_ACCELEROMETER_UNCALIBRATED , android.hardware.cts.SensorBatchingTests.RATE_FASTEST , android.hardware.cts.SensorBatchingTests.BATCHING_PERIOD ) ; }
Source:
public static org.hamcrest.org.hamcrest.Matcher < java.lang.Object > instanceOf ( java.lang.Class < ? > type ) { return org.hamcrest.core.IsInstanceOf.instanceOf ( type ) ; }

Target:
public static < T > org.hamcrest.org.hamcrest.Matcher < T > instanceOf ( java.lang.Class < ? > type ) { return org.hamcrest.core.IsInstanceOf.< T > instanceOf ( type ) ; }
Source:
public boolean hasChanged ( @ com.android.annotations.Nullable com.android.utils.ILogger log ) { return mLocalSdk.hasChanged ( ( ( ( com.android.sdklib.local.LocalSdk.PKG_PLATFORMS ) | ( com.android.sdklib.local.LocalSdk.PKG_ADDONS ) ) | ( com.android.sdklib.local.LocalSdk.PKG_BUILD_TOOLS ) ) ) ; }

Target:
public boolean hasChanged ( @ com.android.annotations.Nullable com.android.utils.ILogger log ) { return mLocalSdk.hasChanged ( ( ( ( com.android.sdklib.repository.local.LocalSdk.PKG_PLATFORMS ) | ( com.android.sdklib.repository.local.LocalSdk.PKG_ADDONS ) ) | ( com.android.sdklib.repository.local.LocalSdk.PKG_BUILD_TOOLS ) ) ) ; }
Source:
public boolean disable ( boolean persist ) { try { return mManagerService.disable ( persist ) ; } catch ( android.os.RemoteException e ) { android.util.Log.e ( android.bluetooth.BluetoothAdapter.TAG , "" , e ) ; } return false ; }

Target:
public boolean disable ( boolean persist ) { try { return mManagerService.disable ( android.app.ActivityThread.currentPackageName ( ) , persist ) ; } catch ( android.os.RemoteException e ) { android.util.Log.e ( android.bluetooth.BluetoothAdapter.TAG , "" , e ) ; } return false ; }
Source:
public static byte longAnd0xffToByte ( long value ) { return ( ( byte ) ( value & 255 ) ) ; }

Target:
public static byte $noinline$longAnd0xffToByte ( long value ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( ( byte ) ( value & 255 ) ) ; }
Source:
void setCarrierInfoForImsiEncryption ( java.security.PublicKey publicKey , java.lang.String keyIdentifier , android.os.Message response ) ;

Target:
void setCarrierInfoForImsiEncryption ( android.telephony.ImsiEncryptionInfo imsiEncryptionInfo , android.os.Message response ) ;
Source:
public boolean isValidForUi ( ) { return ( mType ) != ( com.android.sdklib.internal.avd.HardwareProperties.ValueType.STRING ) ; }

Target:
public boolean isValidForUi ( ) { return ( ( mType ) != ( com.android.sdklib.internal.avd.HardwareProperties.HardwarePropertyType.STRING ) ) || ( mType.isEnum ( ) ) ; }
Source:
private void displayAvdList ( ) { try { com.android.sdklib.internal.avd.AvdManager avdManager = com.android.sdklib.internal.avd.AvdManager.getInstance ( mSdkManager , mSdkLog ) ; displayAvdList ( avdManager ) ; } catch ( com.android.prefs.AndroidLocation.AndroidLocationException e ) { errorAndExit ( e.getMessage ( ) ) ; } }

Target:
private void displayAvdList ( ) { try { com.android.sdklib.internal.avd.AvdManager avdManager = com.android.sdklib.internal.avd.AvdManager.getInstance ( mSdkManager.getLocalSdk ( ) , mSdkLog ) ; displayAvdList ( avdManager ) ; } catch ( com.android.prefs.AndroidLocation.AndroidLocationException e ) { errorAndExit ( e.getMessage ( ) ) ; } }
Source:
public void test_block_filtersAsExpected_anyBind_ipv6 ( ) throws java.lang.Exception { if ( ! ( supportsMulticast ) ) { return ; } java.net.InetAddress ipv6LocalAddress = libcore.java.nio.channels.DatagramChannelMulticastTest.getLocalIpv6Address ( ipv6NetworkInterface ) ; test_block_filtersAsExpected ( ipv6LocalAddress , libcore.java.nio.channels.DatagramChannelMulticastTest.WILDCARD_IPv6 , libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv6 , ipv6NetworkInterface ) ; }

Target:
public void test_block_filtersAsExpected_anyBind_ipv6 ( ) throws java.lang.Exception { if ( ! ( supportsMulticast ) ) { return ; } java.net.InetAddress ipv6LocalAddress = libcore.java.nio.channels.DatagramChannelMulticastTest.getLocalIpv6Address ( ipv6NetworkInterface ) ; check_block_filtersAsExpected ( ipv6LocalAddress , libcore.java.nio.channels.DatagramChannelMulticastTest.WILDCARD_IPv6 , libcore.java.nio.channels.DatagramChannelMulticastTest.GOOD_MULTICAST_IPv6 , ipv6NetworkInterface ) ; }
Source:
public void uninstallPackage ( @ com.android.annotations.NonNull java.lang.String packageName , int timeout ) throws com.android.builder.testing.api.DeviceException { java.lang.System.out.println ( java.lang.String.format ( "UNINSTALL(%S) CALLED" , name ) ) ; uninstallCalled = true ; }

Target:
public void uninstallPackage ( @ com.android.annotations.NonNull java.lang.String packageName , int timeout , com.android.utils.ILogger logger ) throws com.android.builder.testing.api.DeviceException { logger.info ( "UNINSTALL(%S) CALLED" , name ) ; uninstallCalled = true ; }
Source:
public void testCpuAbi ( ) { if ( isArmCpu ( ) ) { assertArmCpuAbiConstants ( ) ; } }

Target:
public void testCpuAbi ( ) { if ( android.os.cts.CpuFeatures.isArmCpu ( ) ) { assertArmCpuAbiConstants ( ) ; } }
Source:
public static void computeClamp ( android.renderscript.cts.TestClamp.ArgumentsShortShortShortShort args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = ( ( short ) ( java.lang.StrictMath.min ( args.inMaxValue , java.lang.StrictMath.max ( args.inValue , args.inMinValue ) ) ) ) ; }

Target:
public static void computeConvert ( android.renderscript.cts.TestConvert.ArgumentsUintShort args ) { args.out = android.renderscript.cts.CoreMathVerifier.convertUintToShort ( args.inV ) ; }
Source:
public static int switch1 ( java.lang.Object o1 ) { com.android.jack.switchstatement.test017.jack.Enum1.Enum1_ enum1 = ( ( com.android.jack.switchstatement.test017.jack.Enum1.Enum1_ ) ( o1 ) ) ; com.android.jack.switchstatement.test017.jack.Enum1 instance = new com.android.jack.switchstatement.test017.jack.Enum1 ( ) ; return instance.new Switch1 ( ) . switch1 ( enum1 ) ; }

Target:
public static int switch1 ( java.lang.Object o1 ) { com.android.jack.switchstatement.test017.jack.Enum1.Enum11 enum1 = ( ( com.android.jack.switchstatement.test017.jack.Enum1.Enum11 ) ( o1 ) ) ; com.android.jack.switchstatement.test017.jack.Enum1 instance = new com.android.jack.switchstatement.test017.jack.Enum1 ( ) ; return instance.new Switch1 ( ) . switch1 ( enum1 ) ; }
Source:
public void test_RAND_bytes_Null_Failure ( ) throws java.lang.Exception { byte [ ] output = null ; try { org.conscrypt.NativeCrypto.RAND_bytes ( output ) ; fail ( "Should be an error on null buffer input" ) ; } catch ( java.lang.RuntimeException expected ) { } }

Target:
public void test_RAND_bytes_Null_Failure ( ) throws java.lang.Exception { byte [ ] output = null ; try { org.conscrypt.NativeCrypto.RAND_bytes ( output ) ; org.junit.Assert.fail ( "Should be an error on null buffer input" ) ; } catch ( java.lang.RuntimeException expected ) { } }
Source:
public void replacedLib ( @ com.android.annotations.NonNull java.lang.String module , @ com.android.annotations.NonNull java.util.List < com.android.ide.common.repository.GradleCoordinate > dependencies ) { mLibDependencies.put ( module , dependencies ) ; }

Target:
public void reportReplacedLib ( @ com.android.annotations.NonNull java.lang.String module , @ com.android.annotations.NonNull java.util.List < com.android.ide.common.repository.GradleCoordinate > dependencies ) { mLibDependencies.put ( module , dependencies ) ; }
Source:
void update ( com.android.ddmlib.Client client , int changeMask ) { mMonitor.getServer ( ) . clientChanged ( client , changeMask ) ; }

Target:
void update ( com.android.ddmlib.Client client , int changeMask ) { mMonitor.getServer ( ) . clientChanged ( client , changeMask ) ; updateClientInfo ( client , changeMask ) ; }
Source:
public java.io.File getToolsApiJarFile ( ) { final java.io.File sdkDir = new java.io.File ( mySdkPath ) ; java.io.File toolsJar = new java.io.File ( sdkDir , com.google.gct.idea.appengine.sdk.AppEngineSdk.TOOLS_API_JAR_PATH ) ; if ( toolsJar.exists ( ) ) { return toolsJar ; } return null ; }

Target:
public java.io.File getSdkJar ( java.lang.String jarPath ) { final java.lang.String fullJarPath = ( mySdkPath ) + jarPath ; java.io.File sdkJar = new java.io.File ( com.intellij.openapi.util.io.FileUtil.toSystemDependentName ( fullJarPath ) ) ; if ( sdkJar.exists ( ) ) { return sdkJar ; } return null ; }
Source:
public static com.google.common.io.OutputSupplier < java.io.OutputStreamWriter > newWriterSupplier ( java.io.File file , java.nio.charset.Charset charset ) { return com.google.common.io.Files.newWriterSupplier ( file , charset , false ) ; }

Target:
public static com.google.common.io.CharSource asCharSource ( java.io.File file , java.nio.charset.Charset charset ) { return com.google.common.io.Files.asByteSource ( file ) . asCharSource ( charset ) ; }
Source:
private void updateViewPortTransform ( java.awt.geom.AffineTransform tx ) { mViewPortTransform = new java.awt.geom.AffineTransform ( tx ) ; try { mViewPortInverseTransform = mViewPortTransform.createInverse ( ) ; } catch ( java.awt.geom.NoninvertibleTransformException e ) { mViewPortInverseTransform = new java.awt.geom.AffineTransform ( ) ; } updateTransform ( ) ; }

Target:
private void updateViewPortTransform ( java.awt.geom.AffineTransform tx ) { mViewPortTransform = new java.awt.geom.AffineTransform ( tx ) ; try { mViewPortInverseTransform = mViewPortTransform.createInverse ( ) ; } catch ( java.awt.geom.NoninvertibleTransformException e ) { mViewPortInverseTransform = new java.awt.geom.AffineTransform ( ) ; } repaint ( ) ; }
Source:
public void testExistingIUserE ( ) { int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_EXTERNAL ; int iFlags = PackageManager.INSTALL_INTERNAL ; setExistingXUserX ( userSetting , iFlags , PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY ) ; }

Target:
public void testExistingIUserA ( ) { int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_AUTO ; int iFlags = android.content.pm.PackageManager.INSTALL_INTERNAL ; setExistingXUserX ( userSetting , iFlags , PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY ) ; }
Source:
public final com.google.common.util.concurrent.ListenableFuture < com.google.common.util.concurrent.Service.State > start ( ) { return delegate.start ( ) ; }

Target:
public final void awaitRunning ( ) { delegate.awaitRunning ( ) ; }
Source:
public void onLinkPropertiesChanged ( android.net.Network network , android.net.LinkProperties newLp ) { handleLinkProp ( network , newLp ) ; }

Target:
public void onLinkPropertiesChanged ( android.net.Network network , android.net.LinkProperties newLp ) { handleLinkProp ( network , newLp ) ; recomputeOffloadExemptPrefixes ( ) ; }
Source:
public PositionXmlParser.Position getPosition ( ) { return mOwnerElement.getDocument ( ) . getNodePosition ( this ) ; }

Target:
public PositionXmlParser.Position getPosition ( ) { try { return mOwnerElement.getDocument ( ) . getNodePosition ( this ) ; } catch ( java.lang.Exception e ) { return PositionImpl.UNKNOWN ; } }
Source:
public void setTTYModeResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo ) { }

Target:
public void getNetworkSelectionModeResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , boolean selection ) { responseInts ( responseInfo , ( selection ? 1 : 0 ) ) ; }
Source:
public void start ( ) throws com.android.ide.common.res2.ConsumerException { super . start ( ) ; mValuesResMap = com.google.common.collect.ArrayListMultimap.create ( ) ; mQualifierWithDeletedValues = com.google.common.collect.Sets.newHashSet ( ) ; }

Target:
public void start ( @ com.android.annotations.NonNull javax.xml.parsers.DocumentBuilderFactory factory ) throws com.android.ide.common.res2.ConsumerException { super . start ( factory ) ; mValuesResMap = com.google.common.collect.ArrayListMultimap.create ( ) ; mQualifierWithDeletedValues = com.google.common.collect.Sets.newHashSet ( ) ; mFactory = factory ; }
Source:
public void setPropertyValue ( java.lang.Object id , java.lang.Object value ) { com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode uiView = getUiViewKey ( ) ; if ( uiView != null ) { ( ( org.eclipse.ui.views.properties.IPropertySource ) ( uiView ) ) . setPropertyValue ( id , value ) ; } }

Target:
public void setPropertyValue ( java.lang.Object id , java.lang.Object value ) { com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode uiView = getUiViewNode ( ) ; if ( uiView != null ) { ( ( org.eclipse.ui.views.properties.IPropertySource ) ( uiView ) ) . setPropertyValue ( id , value ) ; } }
Source:
public void setEmitLocalDebugInfo ( boolean emitLocalDebugInfo ) { this . emitLocalDebugInfo = emitLocalDebugInfo ; }

Target:
public void setEmitLocalDebugInfo ( boolean emitLocalDebugInfo ) { this . emitLocalDebugInfo = java.lang.Boolean.valueOf ( emitLocalDebugInfo ) ; }
Source:
private int strength_Java_ICU ( int value ) { switch ( value ) { case java.text.Collator.PRIMARY : return libcore.icu.RuleBasedCollatorICU.VALUE_PRIMARY ; case java.text.Collator.SECONDARY : return libcore.icu.RuleBasedCollatorICU.VALUE_SECONDARY ; case java.text.Collator.TERTIARY : return libcore.icu.RuleBasedCollatorICU.VALUE_TERTIARY ; case java.text.Collator.IDENTICAL : return libcore.icu.RuleBasedCollatorICU.VALUE_IDENTICAL ; } throw new java.lang.IllegalArgumentException ( ( "Bad strength: " + value ) ) ; }

Target:
public int getStrength ( ) { int value = icuColl.getStrength ( ) ; return value == java.text.com.ibm.icu.text.Collator ? java.text.Collator.IDENTICAL : value ; }
Source:
public void onConnectSuccess ( ) { if ( android.net.wifi.nan.WifiNanManager.VDBG ) android.util.Log.v ( android.net.wifi.nan.WifiNanManager.TAG , "onConnectSuccess" ) ; android.os.Message msg = mHandler.obtainMessage ( android.net.wifi.nan.WifiNanManager.WifiNanEventCallbackProxy.CALLBACK_CONNECT_SUCCESS ) ; mHandler.sendMessage ( msg ) ; }

Target:
public void onConnectSuccess ( int clientId ) { if ( android.net.wifi.nan.WifiNanManager.VDBG ) android.util.Log.v ( android.net.wifi.nan.WifiNanManager.TAG , "onConnectSuccess" ) ; android.os.Message msg = mHandler.obtainMessage ( android.net.wifi.nan.WifiNanManager.WifiNanEventCallbackProxy.CALLBACK_CONNECT_SUCCESS ) ; msg.arg1 = clientId ; mHandler.sendMessage ( msg ) ; }
Source:
public android.icu.text.Collator cloneAsThawed ( ) { throw new java.lang.UnsupportedOperationException ( "Needs to be implemented by the subclass." ) ; }

Target:
public android.icu.text.Collator freeze ( ) { throw new java.lang.UnsupportedOperationException ( "Needs to be implemented by the subclass." ) ; }
Source:
public double float64 ( ) throws java.io.IOException { return java.lang.Double.longBitsToDouble ( int64 ( ) ) ; }

Target:
public long uint64 ( ) throws java.io.IOException { return uintv ( ) ; }
Source:
private static void testClassEvents ( ) throws java.lang.Exception { if ( ( art.Test912Art.hasJit ( ) ) && ( ! ( art.Test912Art.isLoadedClass ( "art.Test912Art$ClassD" ) ) ) ) { art.Test912Art.testClassEventsJit ( ) ; } }

Target:
private static void testClassEvents ( ) throws java.lang.Exception { if ( ( art.Test912Art.hasJit ( ) ) && ( ! ( art.Test912Art.isLoadedClass ( "Lart/Test912Art$ClassD;" ) ) ) ) { art.Test912Art.testClassEventsJit ( ) ; } }
Source:
public boolean hasResources ( com.android.resources.ResourceType type ) { return com.android.ide.eclipse.adt.internal.resources.manager.FolderTypeRelationship.match ( type , getFolder ( ) . getType ( ) ) ; }

Target:
public boolean hasResources ( com.android.resources.ResourceType type ) { return com.android.resources.FolderTypeRelationship.match ( type , getFolder ( ) . getType ( ) ) ; }
Source:
public void printFilteredProblemTest_defaultReporter ( ) throws java.io.IOException { java.io.File refFile = new java.io.File ( com.android.jack.test.TestsProperties.getJackRootDir ( ) , "jack/tests/com/android/jack/reporting/defaultreporter-ref.txt" ) ; com.android.jack.reporting.DefaultReporter reporter = new com.android.jack.reporting.DefaultReporter ( ) ; checkPrintFilteredProblem ( reporter , refFile ) ; }

Target:
public void printFilteredProblemTest_defaultReporter ( ) throws java.io.IOException { java.io.File refFile = new java.io.File ( com.android.jack.test.TestsProperties.getJackRootDir ( ) , "jack/tests/com/android/jack/reporting/defaultreporter-ref.txt" ) ; com.android.jack.reporting.DefaultReporter reporter = new com.android.jack.reporting.DefaultReporter ( ) ; checkPrintFilteredProblem ( reporter , refFile , com.android.jack.reporting.ReporterFormatTest.FILE_PATH , com.android.jack.reporting.ReporterFormatTest.FILE_PATH ) ; }