auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
private static boolean checkDunRequired ( android.content.Context ctx ) { final android.telephony.TelephonyManager tm = ctx.getSystemService ( android.telephony.TelephonyManager.class ) ; final int secureSetting = ( tm != null ) ? tm.getTetherApnRequired ( ) : com.android.server.connectivity.tethering.TetheringConfiguration.DUN_UNSPECIFIED ; return secureSetting == ( com.android.server.connectivity.tethering.TetheringConfiguration.DUN_REQUIRED ) ; }

Target:
private static int checkDunRequired ( android.content.Context ctx ) { final android.telephony.TelephonyManager tm = ( ( android.telephony.TelephonyManager ) ( ctx.getSystemService ( android.content.Context.TELEPHONY_SERVICE ) ) ) ; return tm != null ? tm.getTetherApnRequired ( ) : com.android.server.connectivity.tethering.TetheringConfiguration.DUN_UNSPECIFIED ; }
Source:
public com.intellij.openapi.editor.colors.TextAttributesKey getTextAttributesKey ( ) { if ( psiClass.isDeprecated ( ) ) { return com.intellij.openapi.editor.colors.CodeInsightColors.DEPRECATED_ATTRIBUTES ; } return null ; }

Target:
public com.intellij.openapi.editor.colors.TextAttributesKey getTextAttributesKey ( ) { try { if ( psiClass.isDeprecated ( ) ) { return com.intellij.openapi.editor.colors.CodeInsightColors.DEPRECATED_ATTRIBUTES ; } } catch ( com.intellij.openapi.project.IndexNotReadyException ignore ) { } return null ; }
Source:
public static void computeDot ( android.renderscript.cts.TestDot.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( ( ( args.inLhs ) * ( args.inRhs ) ) ) ; }

Target:
public static void computeDot ( android.renderscript.cts.TestDot.ArgumentsFloatFloatFloat args ) { args.out = new android.renderscript.cts.Floaty ( ( ( args.inLhs ) * ( args.inRhs ) ) ) ; args.out.setMinimumError ( 1 , 4 ) ; }
Source:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { com.android.jack.transformations.request.TransformationRequest tr = new com.android.jack.transformations.request.TransformationRequest ( type ) ; com.android.jack.transformations.ast.string.StringLiteralRefinerVisitor visitor = new com.android.jack.transformations.ast.string.StringLiteralRefinerVisitor ( tr ) ; visitor.accept ( type ) ; tr.commit ( ) ; }

Target:
public void run ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface type ) { com.android.jack.transformations.request.TransformationRequest tr = new com.android.jack.transformations.request.TransformationRequest ( type ) ; com.android.jack.transformations.ast.string.StringLiteralRefinerVisitor visitor = new com.android.jack.transformations.ast.string.StringLiteralRefinerVisitor ( tr ) ; visitor.accept ( type.getAnnotations ( ) ) ; tr.commit ( ) ; }
Source:
private static void assertEquals ( byte [ ] expectedAddressBytes , java.lang.String expectedHostname , java.net.InetAddress actual ) { libcore.java.net.InetAddressTest.assertArrayEquals ( expectedAddressBytes , actual.getAddress ( ) ) ; libcore.java.net.InetAddressTest.assertEquals ( expectedHostname , actual.getHostName ( ) ) ; }

Target:
private static void checkInetAddress ( byte [ ] expectedAddressBytes , java.lang.String expectedHostname , java.net.InetAddress actual ) { libcore.java.net.InetAddressTest.assertArrayEquals ( expectedAddressBytes , actual.getAddress ( ) ) ; org.junit.Assert.assertEquals ( expectedHostname , actual.getHostName ( ) ) ; }
Source:
public proguard.gradle.ProGuardTask getProguard ( ) { return getVariantData ( ) . proguardTask ; }

Target:
public org.gradle.api.Task getObfuscation ( ) { return getVariantData ( ) . obfuscationTask ; }
Source:
public void queryPasspointIcon ( long bssid , java.lang.String fileName ) { mWifiStateMachine.syncQueryPasspointIcon ( mWifiStateMachineChannel , bssid , fileName ) ; }

Target:
public void queryPasspointIcon ( long bssid , java.lang.String fileName ) { enforceAccessPermission ( ) ; mLog.trace ( "queryPasspointIcon uid=%" ) . c ( android.os.Binder.getCallingUid ( ) ) . flush ( ) ; mWifiStateMachine.syncQueryPasspointIcon ( mWifiStateMachineChannel , bssid , fileName ) ; }
Source:
private void free ( ) { if ( ( sslNativePointer ) == 0 ) { return ; } org.conscrypt.NativeCrypto.SSL_free ( sslNativePointer ) ; sslNativePointer = 0 ; guard.close ( ) ; }

Target:
protected void finalize ( ) throws java.lang.Throwable { try { if ( ( guard ) != null ) { org.conscrypt.Platform.closeGuardWarnIfOpen ( guard ) ; } free ( ) ; } finally { super . finalize ( ) ; } }
Source:
public void testComplexPermission2 ( ) throws java.lang.Exception { assertEquals ( "No warnings." , lintProject ( getManifestWithPermissions ( 14 , "android.permission.ACCESS_FINE_LOCATION" , "com.android.voicemail.permission.ADD_VOICEMAIL" ) , mPermissionTest , mComplexLocationManagerStub , mRequirePermissionAnnotation ) ) ; }

Target:
public void testComplexPermission2 ( ) throws java.lang.Exception { assertEquals ( "No warnings." , lintProject ( getManifestWithPermissions ( 14 , "android.permission.ACCESS_FINE_LOCATION" , "android.permission.BLUETOOTH" ) , mPermissionTest , mComplexLocationManagerStub , mRequirePermissionAnnotation ) ) ; }
Source:
public void testParseBatchTimestamp ( ) { com.android.bluetooth.gatt.GattService service = new com.android.bluetooth.gatt.GattService ( ) ; long timestampNanos = service.parseTimestampNanos ( new byte [ ] { - 54 , 7 } ) ; org.junit.Assert.assertEquals ( 99700000000L , timestampNanos ) ; }

Target:
public void testParseBatchTimestamp ( ) { long timestampNanos = mService.parseTimestampNanos ( new byte [ ] { - 54 , 7 } ) ; org.junit.Assert.assertEquals ( 99700000000L , timestampNanos ) ; }
Source:
public void dragFinished ( org.eclipse.swt.dnd.DragSourceEvent event ) { adjustEventCoordinates ( event ) ; com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutCanvas canvas = mGraphicalEditorPart.getCanvasControl ( ) ; if ( canvas != null ) { canvas.getDragListener ( ) . dragFinished ( event ) ; } }

Target:
public void dispose ( ) { mRootWrapper.setRoot ( null ) ; getSite ( ) . getPage ( ) . removeSelectionListener ( this ) ; super . dispose ( ) ; }
Source:
private native void gattClientConnectNative ( int clientIf , java.lang.String address , boolean isDirect , int transport ) ;

Target:
private native void gattClientConnectNative ( int clientIf , java.lang.String address , boolean isDirect , int transport , int initiating_phys ) ;
Source:
public static float FloatMultiplication ( ) { float a ; float b ; float c ; a = Main.$inline$float ( 7.0F ) ; b = Main.$inline$float ( 3.0F ) ; c = a * b ; return c ; }

Target:
public static long LongMultiplication ( ) { long a ; long b ; long c ; a = 7L ; b = 3L ; c = a * b ; return c ; }
Source:
public com.google.i18n.phonenumbers.Phonenumber.PhoneNumber parseAndKeepRawInput ( java.lang.String numberToParse , java.lang.String defaultRegion ) throws com.google.i18n.phonenumbers.NumberParseException { com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber = new com.google.i18n.phonenumbers.Phonenumber.PhoneNumber ( ) ; parseAndKeepRawInput ( numberToParse , defaultRegion , phoneNumber ) ; return phoneNumber ; }

Target:
public void parse ( java.lang.CharSequence numberToParse , java.lang.String defaultRegion , com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber ) throws com.google.i18n.phonenumbers.NumberParseException { parseHelper ( numberToParse , defaultRegion , false , true , phoneNumber ) ; }
Source:
public boolean areCarrierPriviligeRulesLoaded ( ) { com.android.internal.telephony.uicc.UiccCarrierPrivilegeRules carrierPrivilegeRules = getCarrierPrivilegeRules ( ) ; return ( carrierPrivilegeRules == null ) || ( carrierPrivilegeRules.areCarrierPriviligeRulesLoaded ( ) ) ; }

Target:
public boolean areCarrierPriviligeRulesLoaded ( ) { if ( ( mUiccProfile ) != null ) { return mUiccProfile.areCarrierPriviligeRulesLoaded ( ) ; } else { return false ; } }
Source:
public final java.security.cert.CertPath generateCertPath ( java.io.InputStream inStream , java.lang.String encoding ) throws java.security.cert.CertificateException { return spiImpl.engineGenerateCertPath ( inStream , encoding ) ; }

Target:
public final java.security.cert.CertPath generateCertPath ( java.io.InputStream inputStream , java.lang.String charsetName ) throws java.security.cert.CertificateException { return spiImpl.engineGenerateCertPath ( inputStream , charsetName ) ; }
Source:
public void unregisterRemoteControlDisplay ( android.media.IRemoteControlDisplay rcd ) { mMediaFocusControl.unregisterRemoteControlDisplay ( rcd ) ; }

Target:
public java.util.List < android.media.AudioRecordingConfiguration > getActiveRecordingConfigurations ( ) { return mRecordMonitor.getActiveRecordingConfigurations ( ) ; }
Source:
private void exit ( ) { java.lang.System.err.printf ( "myApplied = %s, mySuccessExitCode = %d\n" , myApplied , mySuccessExitCode ) ; java.lang.System.exit ( ( myApplied ? mySuccessExitCode : 0 ) ) ; }

Target:
public void perform ( ) { myConsole.setText ( "" ) ; myConsolePane.setVisible ( false ) ; myConsolePane.setPreferredSize ( new java.awt.Dimension ( 10 , 200 ) ) ; myRetryButton.setEnabled ( false ) ; myCancelButton.setEnabled ( true ) ; }
Source:
public void setInitialAttachApn ( java.lang.String apn , java.lang.String protocol , int authType , java.lang.String username , java.lang.String password , android.os.Message result ) ;

Target:
void setInitialAttachApn ( com.android.internal.telephony.dataconnection.DataProfile dataProfile , boolean isRoaming , android.os.Message result ) ;
Source:
public boolean readBoolean ( ) { checkType ( com.android.dx.io.EncodedValueReader.ENCODED_BOOLEAN ) ; type = com.android.dx.io.EncodedValueReader.MUST_READ ; return ( arg ) != 0 ; }

Target:
public boolean readBoolean ( ) { checkType ( com.android.dex.EncodedValueReader.ENCODED_BOOLEAN ) ; type = com.android.dex.EncodedValueReader.MUST_READ ; return ( arg ) != 0 ; }
Source:
public void TestNFDChainRBT ( ) { android.icu.text.Transliterator t = android.icu.text.Transliterator.createFromRules ( "TEST" , "::NFD; aa > Q; a > q;" , Transliterator.FORWARD ) ; logln ( t.toRules ( true ) ) ; expect ( t , "aa" , "Q" ) ; }

Target:
public void TestNFDChainRBT ( ) { android.icu.text.Transliterator t = android.icu.text.Transliterator.createFromRules ( "TEST" , "::NFD; aa > Q; a > q;" , Transliterator.FORWARD ) ; logln ( t.toRules ( true ) ) ; android.icu.dev.test.translit.TransliteratorTest.expect ( t , "aa" , "Q" ) ; }
Source:
boolean hasError ( ) { return ( ( mMainError ) != null ) || ( ! ( mFileStatus.isEmpty ( ) ) ) ; }

Target:
boolean hasError ( ) { return ( ( ( mMainError ) != null ) || ( ! ( mFileStatus.get ( com.android.ide.eclipse.adt.internal.wizards.exportgradle.ExportStatus.FileStatus.VCS_FAILURE ) . isEmpty ( ) ) ) ) || ( ! ( mFileStatus.get ( com.android.ide.eclipse.adt.internal.wizards.exportgradle.ExportStatus.FileStatus.IO_FAILURE ) . isEmpty ( ) ) ) ; }
Source:
public void assertUnreleasedResourceCount ( java.lang.Object owner , int expectedCount ) { libcore.junit.util.ResourceLeakageDetector.FINALIZER_CHECKER.accept ( owner , expectedCount ) ; }

Target:
public void assertUnreleasedResourceCount ( java.lang.Object owner , int expectedCount ) { if ( leakageDetectionEnabledForTest ) { libcore.junit.util.ResourceLeakageDetector.FINALIZER_CHECKER.accept ( owner , expectedCount ) ; } else { throw new java.lang.IllegalStateException ( ( "Does not work when leakage detection has been disabled; remove the " + "@DisableResourceLeakageDetection from the test method" ) ) ; } }
Source:
java.lang.String getAdapterItemValue ( com.android.ide.common.rendering.api.ResourceReference adapterView , com.android.ide.common.rendering.api.ResourceReference itemRef , int fullPosition , int typePosition , com.android.ide.common.rendering.api.ResourceReference viewRef , java.lang.String viewClass ) ;

Target:
java.lang.Object getAdapterItemValue ( com.android.ide.common.rendering.api.ResourceReference adapterView , java.lang.Object adapterCookie , com.android.ide.common.rendering.api.ResourceReference itemRef , int fullPosition , int typePosition , com.android.ide.common.rendering.api.ResourceReference viewRef , com.android.ide.common.rendering.api.IProjectCallback.ViewAttribute viewAttribute , java.lang.Object defaultValue ) ;
Source:
public com.google.devtools.build.android.UnvalidatedAndroidData convert ( java.lang.String input ) throws com.google.devtools.common.options.OptionsParsingException { try { return com.google.devtools.build.android.UnvalidatedAndroidData.valueOf ( input ) ; } catch ( java.lang.IllegalArgumentException e ) { throw new com.google.devtools.common.options.OptionsParsingException ( "invalid UnvalidatedAndroidData specification" , e ) ; } }

Target:
public com.google.devtools.build.android.UnvalidatedAndroidData convert ( java.lang.String input ) throws com.google.devtools.common.options.OptionsParsingException { try { return com.google.devtools.build.android.UnvalidatedAndroidData.valueOf ( input ) ; } catch ( java.lang.IllegalArgumentException e ) { throw new com.google.devtools.common.options.OptionsParsingException ( java.lang.String.format ( "invalid UnvalidatedAndroidData: %s" , e.getMessage ( ) ) , e ) ; } }
Source:
public java.math.BigInteger getS ( ) { return getPrivateKey ( ) ; }

Target:
public java.math.BigInteger getS ( ) { if ( key.isEngineBased ( ) ) { throw new java.lang.UnsupportedOperationException ( "private key value S cannot be extracted" ) ; } return getPrivateKey ( ) ; }
Source:
public void testExistingEUserI ( ) { int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_INTERNAL ; int iFlags = PackageManager.INSTALL_EXTERNAL ; setExistingXUserX ( userSetting , iFlags , PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL ) ; }

Target:
public void testUserPrefOffUserI ( ) { int userSetting = com.android.internal.content.PackageHelper.APP_INSTALL_INTERNAL ; int iloc = android.content.pm.PackageInfo.INSTALL_LOCATION_UNSPECIFIED ; setUserX ( false , userSetting , iloc ) ; }
Source:
public boolean queueIdle ( ) { this . mResult = true ; return true ; }

Target:
public boolean queueIdle ( ) { mIdleLatch.countDown ( ) ; return false ; }
Source:
public static int Or0 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg | 0 ; }

Target:
public static int $noinline$Or0 ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return arg | 0 ; }
Source:
public void test_twoDex_callStaticMethod ( ) throws java.lang.Exception { dalvik.system.DexClassLoaderTest.test_callStaticMethod ( dalvik.system.DexClassLoaderTest.Configuration.TWO_DEX ) ; }

Target:
public void test_twoDex_callStaticMethod ( ) throws java.lang.Exception { createLoaderAndCallMethod ( "test.TestMethods" , "test_callStaticMethod" , dex1 , dex2 ) ; }
Source:
public static java.lang.String getOldValue ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue issue , @ com.android.annotations.NonNull java.lang.String errorMessage ) { if ( issue == ( com.android.tools.lint.checks.MissingClassDetector.INNERCLASS ) ) { return com.android.tools.lint.detector.api.LintUtils.findSubstring ( errorMessage , " replace \"" , "\"" ) ; } return null ; }

Target:
public static java.lang.String getOldValue ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue issue , @ com.android.annotations.NonNull java.lang.String errorMessage , @ com.android.annotations.NonNull com.android.tools.lint.detector.api.TextFormat format ) { if ( issue == ( com.android.tools.lint.checks.MissingClassDetector.INNERCLASS ) ) { errorMessage = format.toText ( errorMessage ) ; return com.android.tools.lint.detector.api.LintUtils.findSubstring ( errorMessage , " replace \"" , "\"" ) ; } return null ; }
Source:
public void disconnect ( int clientId ) { android.os.Message msg = mSm.obtainMessage ( com.android.server.wifi.nan.WifiNanStateManager.MESSAGE_TYPE_COMMAND ) ; msg.arg1 = com.android.server.wifi.nan.WifiNanStateManager.COMMAND_TYPE_DISCONNECT ; msg.arg2 = clientId ; mSm.sendMessage ( msg ) ; }

Target:
public void disconnect ( int clientId ) { android.os.Message msg = mSm.obtainMessage ( com.android.server.wifi.aware.WifiAwareStateManager.MESSAGE_TYPE_COMMAND ) ; msg.arg1 = com.android.server.wifi.aware.WifiAwareStateManager.COMMAND_TYPE_DISCONNECT ; msg.arg2 = clientId ; mSm.sendMessage ( msg ) ; }
Source:
public void setModifier ( int modifier ) { assert com.android.jack.ir.ast.JModifier.isMethodModifier ( modifier ) ; assert com.android.jack.ir.ast.JModifier.isValidMethodModifier ( modifier ) ; this . modifier = modifier ; }

Target:
public void setModifier ( int modifier ) { assert com.android.jack.ir.ast.JModifier.isMethodModifier ( modifier ) ; assert com.android.jack.ir.ast.JModifier.isValidMethodModifier ( modifier ) ; this . modifier = modifier ; hasPolymorphicSignature = com.android.jack.util.TriStateBoolean.UNDEFINED ; }
Source:
private int getCountryCodeForValidRegion ( java.lang.String regionCode ) { com.google.i18n.phonenumbers.nano.Phonemetadata.PhoneMetadata metadata = getMetadataForRegion ( regionCode ) ; if ( metadata == null ) { throw new java.lang.IllegalArgumentException ( ( "Invalid region code: " + regionCode ) ) ; } return metadata.countryCode ; }

Target:
private int getCountryCodeForValidRegion ( java.lang.String regionCode ) { com.google.i18n.phonenumbers.Phonemetadata.PhoneMetadata metadata = getMetadataForRegion ( regionCode ) ; if ( metadata == null ) { throw new java.lang.IllegalArgumentException ( ( "Invalid region code: " + regionCode ) ) ; } return metadata.getCountryCode ( ) ; }
Source:
public void destroyAppProfiles ( java.lang.String packageName ) throws com.android.internal.os.InstallerConnection.InstallerException { checkLock ( ) ; try { mInstalld.destroyAppProfiles ( packageName ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw new com.android.internal.os.InstallerConnection.InstallerException ( e.getMessage ( ) ) ; } }

Target:
public void rmPackageDir ( java.lang.String packageDir ) throws com.android.internal.os.InstallerConnection.InstallerException { if ( ! ( checkBeforeRemote ( ) ) ) return ; try { mInstalld.rmPackageDir ( packageDir ) ; } catch ( android.os.RemoteException | android.os.ServiceSpecificException e ) { throw new com.android.internal.os.InstallerConnection.InstallerException ( e.getMessage ( ) ) ; } }
Source:
public void uint64 ( long v ) throws java.io.IOException { int64 ( v ) ; }

Target:
public void uint64 ( long v ) throws java.io.IOException { uintv ( v ) ; }
Source:
public void run ( ) { openChannel ( ) ; }

Target:
public void run ( ) { openChannel ( mAIDInUse ) ; }
Source:
public void testUnsuccessfulFirstUpdate_olderVersionThanSystem ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundle ( libcore.tzdata.update2.TimeZoneBundleInstallerTest.OLDER_RULES_VERSION , "001" ) ; assertFalse ( installer.install ( bundle.getBytes ( ) ) ) ; assertNoContentInstalled ( ) ; }

Target:
public void testInstall_unsuccessfulFirstUpdate_olderVersionThanSystem ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundle ( libcore.tzdata.update2.TimeZoneBundleInstallerTest.OLDER_RULES_VERSION , "001" ) ; assertFalse ( installer.install ( bundle.getBytes ( ) ) ) ; assertNoContentInstalled ( ) ; }
Source:
public void setResultCode ( com.android.internal.telephony.gsm.stk.ResultCode resCode ) { this . resCode = resCode ; }

Target:
public void setResultCode ( com.android.internal.telephony.cat.ResultCode resCode ) { this . resCode = resCode ; }
Source:
public void stkCallControlAlphaNotify ( int var1 , java.lang.String var2 ) { }

Target:
public void modemReset ( int indicationType , java.lang.String var2 ) { }
Source:
public java.util.Map < R , java.util.Map < C , V > > rowMap ( ) { com.google.common.collect.StandardTable < R , C , V > . RowMap result = rowMap ; return result == null ? rowMap = new RowMap ( ) : result ; }

Target:
public java.util.Map < R , java.util.Map < C , V > > rowMap ( ) { java.util.Map < R , java.util.Map < C , V > > result = rowMap ; return result == null ? rowMap = createRowMap ( ) : result ; }
Source:
public void onAmbiguousContactClicked ( java.util.List < com.android.dialer.speeddial.database.SpeedDialEntry.Channel > channels ) { }

Target:
public void onAmbiguousContactClicked ( java.util.List < com.android.dialer.speeddial.database.SpeedDialEntry.Channel > channels ) { com.android.dialer.speeddial.DisambigDialog.show ( channels , getChildFragmentManager ( ) ) ; }
Source:
private boolean canRespondViaSms ( com.android.server.telecom.Call call ) { return ( ( call.getHandle ( ) ) != null ) && ( PhoneAccount.SCHEME_TEL.equals ( call.getHandle ( ) . getScheme ( ) ) ) ; }

Target:
private boolean canRespondViaSms ( @ android.annotation.NonNull com.android.server.telecom.ui.CallInfo callInfo ) { return ( ( callInfo.getHandle ( ) ) != null ) && ( PhoneAccount.SCHEME_TEL.equals ( callInfo.getHandle ( ) . getScheme ( ) ) ) ; }
Source:
private final com.android.server.am.HistoryRecord finishCurrentActivityLocked ( com.android.server.am.HistoryRecord r , int mode ) { final int index = indexOfTokenLocked ( r ) ; if ( index < 0 ) { return null ; } return finishCurrentActivityLocked ( r , index , mode ) ; }

Target:
public void setPackageScreenCompatMode ( java.lang.String packageName , int mode ) { synchronized ( this ) { mCompatModePackages.setPackageScreenCompatModeLocked ( packageName , mode ) ; } }
Source:
private void cleanup ( ) { call.removeListener ( this ) ; releaseProximityWakeLock ( ) ; }

Target:
private void cleanup ( ) { android.os.Trace.beginSection ( "AnswerProximitySensor.Cleanup" ) ; call.removeListener ( this ) ; releaseProximityWakeLock ( ) ; android.os.Trace.endSection ( ) ; }
Source:
public void clearEvents ( ) { if ( ( mTestSensorEventListener ) == null ) { android.util.Log.w ( android.hardware.cts.helpers.TestSensorManager.LOG_TAG , "No listener registered, returning." ) ; return ; } mTestSensorEventListener.clearEvents ( ) ; }

Target:
public void waitForEvents ( long duration , java.util.concurrent.TimeUnit timeUnit ) { if ( ( mTestSensorEventListener ) == null ) { android.util.Log.w ( android.hardware.cts.helpers.TestSensorManager.LOG_TAG , "No listener registered, returning." ) ; return ; } mTestSensorEventListener.waitForEvents ( duration , timeUnit ) ; }
Source:
public boolean isSameMainPackageAs ( java.lang.Package pkg ) { if ( ( mMainPkg.canBeUpdatedBy ( pkg ) ) == ( com.android.sdklib.internal.repository.Package.UpdateInfo.NOT_UPDATE ) ) { return ( mMainPkg.getRevision ( ) ) == ( pkg.getRevision ( ) ) ; } return false ; }

Target:
public boolean isSameMainPackageAs ( java.lang.Package pkg ) { if ( ( mMainPkg.canBeUpdatedBy ( pkg ) ) == ( com.android.sdklib.internal.repository.packages.Package.UpdateInfo.NOT_UPDATE ) ) { return ( mMainPkg.getRevision ( ) ) == ( pkg.getRevision ( ) ) ; } return false ; }
Source:
public java.util.Map < java.lang.String , com.google.gct.login.User > getAllUsers ( ) { synchronized ( this ) { java.util.Map < java.lang.String , com.google.gct.login.User > clone = new java.util.HashMap < java.lang.String , com.google.gct.login.User > ( ) ; clone.putAll ( allUsers ) ; return clone ; } }

Target:
public java.util.Map < java.lang.String , com.google.gct.login.CredentialedUser > getAllUsers ( ) { synchronized ( this ) { java.util.Map < java.lang.String , com.google.gct.login.CredentialedUser > clone = new java.util.HashMap < java.lang.String , com.google.gct.login.CredentialedUser > ( ) ; clone.putAll ( allUsers ) ; return clone ; } }
Source:
synchronized void nAllocationGenerateMipmaps ( int alloc ) { validate ( ) ; rsnAllocationGenerateMipmaps ( mContext , alloc ) ; }

Target:
synchronized void nAllocationIoSend ( long alloc ) { validate ( ) ; rsnAllocationIoSend ( mContext , alloc ) ; }
Source:
public static final java.lang.String getBluetoothInputDevicePriorityKey ( java.lang.String address ) { return ( android.provider.Settings.Global.BLUETOOTH_INPUT_DEVICE_PRIORITY_PREFIX ) + ( address.toUpperCase ( java.util.Locale.ROOT ) ) ; }

Target:
public static final java.lang.String getBluetoothHidHostPriorityKey ( java.lang.String address ) { return ( android.provider.Settings.Global.BLUETOOTH_INPUT_DEVICE_PRIORITY_PREFIX ) + ( address.toUpperCase ( java.util.Locale.ROOT ) ) ; }
Source:
public static java.lang.String toString ( java.net.URL url , java.nio.charset.Charset charset ) throws java.io.IOException { return com.google.common.io.CharStreams.toString ( com.google.common.io.Resources.newReaderSupplier ( url , charset ) ) ; }

Target:
public static java.lang.String toString ( java.net.URL url , java.nio.charset.Charset charset ) throws java.io.IOException { return com.google.common.io.Resources.asCharSource ( url , charset ) . read ( ) ; }
Source:
public void run ( ) { c.call ( this ) ; }

Target:
public void run ( ) { c.handle ( this ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearEndTime ( ) { bitField0_ = ( bitField0_ ) & ( ~ 256 ) ; endTime_ = 0L ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder clearStartTime ( ) { bitField0_ = ( bitField0_ ) & ( ~ 256 ) ; startTime_ = 0L ; onChanged ( ) ; return this ; }
Source:
public void onSeriesRecordingRemoved ( com.android.tv.dvr.SeriesRecording ... seriesRecordings ) { for ( com.android.tv.dvr.SeriesRecording r : seriesRecordings ) { if ( ( r.getId ( ) ) == ( mSeriesRecording.getId ( ) ) ) { getActivity ( ) . finish ( ) ; return ; } } }

Target:
public void onSeriesRecordingRemoved ( com.android.tv.dvr.data.SeriesRecording ... seriesRecordings ) { for ( com.android.tv.dvr.data.SeriesRecording r : seriesRecordings ) { if ( ( r.getId ( ) ) == ( mSeriesRecording.getId ( ) ) ) { getActivity ( ) . finish ( ) ; return ; } } }
Source:
public TestCaseBuilder addLayout ( int layoutId , @ android.support.annotation.Nullable android.uirendering.cts.testinfrastructure.ViewInitializer viewInitializer , boolean useHardware ) { }

Target:
private android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCaseBuilder addCanvasClientInternal ( java.lang.String debugString , android.uirendering.cts.testinfrastructure.CanvasClient canvasClient , boolean useHardware , boolean usePicture ) { mTestCases.add ( new android.uirendering.cts.testinfrastructure.ActivityTestBase.TestCase ( canvasClient , debugString , useHardware , usePicture ) ) ; return this ; }
Source:
public java.awt.Color getEmptySpaceColor ( ) { return com.intellij.util.ui.UIUtil.getPanelBackground ( ) ; }

Target:
public java.awt.Color getEmptySpaceColor ( ) { return com.intellij.util.ui.UIUtil.isUnderAquaLookAndFeel ( ) ? com.intellij.ui.Gray.xC8 : com.intellij.util.ui.UIUtil.getPanelBackground ( ) ; }
Source:
public proguard.evaluation.value.ReferenceValue generalize ( proguard.evaluation.value.ReferenceValue other ) { return this . equals ( other ) ? this : new proguard.evaluation.value.ReferenceValue ( type , referencedClass , mayBeNull ) . generalize ( other ) ; }

Target:
public int equal ( proguard.evaluation.value.ReferenceValue other ) { return other.equal ( this ) ; }
Source:
public static void addFile ( @ javax.annotation.Nonnull java.util.List < java.lang.String > args , boolean mustExist , @ javax.annotation.Nonnull java.io.File ... filesOrSourceLists ) { for ( java.io.File file : filesOrSourceLists ) { com.android.jack.test.toolchain.AbstractTestTools.addFile ( file , args , mustExist ) ; } }

Target:
public static void addFile ( @ javax.annotation.Nonnull java.util.List < java.lang.String > commandLine , boolean mustExist , @ javax.annotation.Nonnull java.io.File ... filesOrSourceLists ) { for ( java.io.File file : filesOrSourceLists ) { com.android.jack.test.toolchain.AbstractTestTools.addFile ( file , commandLine , mustExist ) ; } }
Source:
public java.lang.String toLocalizedPattern ( ) { if ( ( style ) == ( NumberFormat.PLURALCURRENCYSTYLE ) ) { return formatPattern ; } return toPattern ( true ) ; }

Target:
public java.lang.String toLocalizedPattern ( ) { if ( ( style ) == ( com.ibm.icu.text.NumberFormat.PLURALCURRENCYSTYLE ) ) { return formatPattern ; } return toPattern ( true ) ; }
Source:
public void testCheckSignaturesSharedAllMatch ( ) { int apk1 = SHARED1_CERT1_CERT2 ; int apk2 = SHARED2_CERT1_CERT2 ; boolean fail = false ; int retCode = - 1 ; int expMatchResult = PackageManager.SIGNATURE_MATCH ; checkSharedSignatures ( apk1 , apk2 , true , fail , retCode , expMatchResult ) ; }

Target:
public void testCheckSignaturesSharedAllMatch ( ) { int apk1 = SHARED1_CERT1_CERT2 ; int apk2 = SHARED2_CERT1_CERT2 ; boolean fail = false ; int retCode = - 1 ; int expMatchResult = android.content.pm.PackageManager.SIGNATURE_MATCH ; checkSharedSignatures ( apk1 , apk2 , true , fail , retCode , expMatchResult ) ; }
Source:
protected void log ( java.lang.String s ) { android.util.Log.d ( com.android.internal.telephony.cdma.CdmaDataConnection.LOG_TAG , ( ( ( "[" + ( getName ( ) ) ) + "] " ) + s ) ) ; }

Target:
protected void log ( java.lang.String s ) { android.telephony.Rlog.d ( com.android.internal.telephony.cdma.CdmaDataConnection.LOG_TAG , ( ( ( "[" + ( getName ( ) ) ) + "] " ) + s ) ) ; }
Source:
public com.android.ahat.DocString render ( com.android.ahat.Site element ) { return com.android.ahat.DocString.link ( com.android.ahat.DocString.uri ( "site?stack=%d&depth=%d" , element.getStackId ( ) , element.getStackDepth ( ) ) , com.android.ahat.DocString.text ( element.getName ( ) ) ) ; }

Target:
public com.android.ahat.DocString render ( com.android.ahat.Site element ) { return com.android.ahat.DocString.link ( com.android.ahat.DocString.formattedUri ( "site?stack=%d&depth=%d" , element.getStackId ( ) , element.getStackDepth ( ) ) , com.android.ahat.DocString.text ( element.getName ( ) ) ) ; }
Source:
public final void dumpSubclasses ( ) { for ( com.android.tools.perflib.heap.Heap heap : mHeaps.values ( ) ) { java.lang.System.out.println ( ( "+------------------ subclasses for heap: " + ( heap.mName ) ) ) ; heap.dumpSubclasses ( ) ; } }

Target:
public final void dumpInstanceCounts ( ) { for ( com.android.tools.perflib.heap.Heap heap : mHeaps ) { java.lang.System.out.println ( ( "+------------------ instance counts for heap: " + ( heap.getName ( ) ) ) ) ; heap.dumpInstanceCounts ( ) ; } }
Source:
public native void setDouble ( java.lang.Object object , double value ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native void setDouble ( java.lang.Object object , double value , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public void supplyPuk2 ( java.lang.String puk2 , java.lang.String newPin2 , android.os.Message onComplete ) ;

Target:
public void supplyPuk2 ( java.lang.String puk2 , java.lang.String newPin2 , android.os.Message onComplete ) { sendMessageWithCardAbsentException ( onComplete ) ; }
Source:
void updateState ( ) { if ( ( mOriginalConnection ) == null ) { return ; } updateStateInternal ( ) ; updateStatusHints ( ) ; updateConnectionCapabilities ( ) ; updateConnectionProperties ( ) ; updateAddress ( ) ; updateMultiparty ( ) ; }

Target:
void updateState ( ) { if ( ( mOriginalConnection ) == null ) { return ; } updateStateInternal ( ) ; updateStatusHints ( ) ; updateConnectionCapabilities ( ) ; updateConnectionProperties ( ) ; updateAddress ( ) ; updateMultiparty ( ) ; refreshDisableAddCall ( ) ; }
Source:
public static java.lang.String getDefaultBootclasspathString ( ) { return com.android.jack.TestTools.getFromAndroidTree ( "toolchain/jack/jack/libs/core-stubs-mini.jack" ) . getAbsolutePath ( ) ; }

Target:
public static java.lang.String getDefaultClasspathString ( ) { return com.android.jack.TestTools.getFromAndroidTree ( "toolchain/jack/jack/libs/core-stubs-mini.jack" ) . getAbsolutePath ( ) ; }
Source:
public void testSendMessageQueueAllTxFail ( ) throws java.lang.Exception { com.android.server.wifi.aware.WifiAwareNative.Capabilities cap = com.android.server.wifi.aware.WifiAwareStateManagerTest.getCapabilities ( ) ; testSendMessageQueue ( com.android.server.wifi.aware.WifiAwareStateManagerTest.SendMessageAnswer.OP_QUEUE_OK_SEND_RETX_FAIL , cap , ( ( cap.maxQueuedTransmitMessages ) + 5 ) ) ; }

Target:
public void testSendMessageQueueAllTxFail ( ) throws java.lang.Exception { com.android.server.wifi.aware.Capabilities cap = com.android.server.wifi.aware.WifiAwareStateManagerTest.getCapabilities ( ) ; testSendMessageQueue ( com.android.server.wifi.aware.WifiAwareStateManagerTest.SendMessageAnswer.OP_QUEUE_OK_SEND_RETX_FAIL , cap , ( ( cap.maxQueuedTransmitMessages ) + 5 ) ) ; }
Source:
public void getDataCallList ( android.os.Message response ) { mCi.getDataCallList ( response ) ; }

Target:
public void changeCallBarringPassword ( java.lang.String facility , java.lang.String oldPwd , java.lang.String newPwd , android.os.Message onComplete ) { if ( isPhoneTypeGsm ( ) ) { mCi.changeBarringPassword ( facility , oldPwd , newPwd , onComplete ) ; } else { loge ( "changeCallBarringPassword: not possible in CDMA" ) ; } }
Source:
public void run ( ) { try { zipArchive.close ( ) ; } catch ( java.io.IOException e ) { logger.log ( java.util.logging.Level.FINE , ( ( "Failed to close zip for '" + string ) + "'." ) , e ) ; } }

Target:
public void run ( ) { try { vfs.close ( ) ; } catch ( java.io.IOException e ) { logger.log ( java.util.logging.Level.FINE , ( ( "Failed to close zip for '" + string ) + "'." ) , e ) ; } }
Source:
public com.google.common.base.Optional < com.android.manifmerger.XmlElement > getNodeByTypeAndKey ( com.android.manifmerger.ManifestModel.NodeTypes type , @ com.android.annotations.Nullable java.lang.String keyValue ) { return getRootNode ( ) . getNodeByTypeAndKey ( type , keyValue ) ; }

Target:
public com.google.common.base.Optional < com.android.manifmerger.XmlElement > getByTypeAndKey ( com.android.manifmerger.ManifestModel.NodeTypes type , @ com.android.annotations.Nullable java.lang.String keyValue ) { return getRootNode ( ) . getNodeByTypeAndKey ( type , keyValue ) ; }
Source:
public android.view.ActionProvider getActionProvider ( android.content.Context context ) { return new com.android.dialer.simulator.impl.SimulatorActionProvider ( context ) ; }

Target:
public android.view.ActionProvider getActionProvider ( android.content.Context context ) { return com.android.dialer.simulator.impl.SimulatorMainMenu.getActionProvider ( context ) ; }
Source:
public void parse ( ) throws java.io.IOException { long headerLength = parseHeader ( mTraceFile ) ; java.nio.ByteBuffer buffer = com.android.tools.perflib.vmtrace.VmTraceParser.mapFile ( mTraceFile , headerLength ) ; parseData ( buffer ) ; computeTimingStatistics ( ) ; }

Target:
public void parse ( ) throws java.io.IOException { long headerLength = parseHeader ( mTraceFile ) ; java.nio.ByteBuffer buffer = com.android.ddmlib.ByteBufferUtil.mapFile ( mTraceFile , headerLength , java.nio.ByteOrder.LITTLE_ENDIAN ) ; parseData ( buffer ) ; computeTimingStatistics ( ) ; }
Source:
void waitForActivity ( ) throws java.lang.Exception { assertTrue ( mLatch.await ( 500 , java.util.concurrent.TimeUnit.MILLISECONDS ) ) ; resetLatch ( ) ; }

Target:
void waitForActivity ( ) throws java.lang.Exception { try { mLatch.await ( 1000 , java.util.concurrent.TimeUnit.MILLISECONDS ) ; } finally { resetLatch ( ) ; } }
Source:
public com.google.common.base.CharMatcher precomputed ( ) { return this ; }

Target:
void setBits ( java.util.BitSet table ) { if ( containsZero ) { table.set ( 0 ) ; } for ( char c : this . table ) { if ( c != 0 ) { table.set ( c ) ; } } }
Source:
public void onSwipeFromBottom ( ) { if ( ( ( mNavigationBar ) != null ) && ( mNavigationBarOnBottom ) ) { requestTransientBars ( mNavigationBar ) ; } }

Target:
public void onSwipeFromRight ( ) { if ( ( ( mNavigationBar ) != null ) && ( ! ( mNavigationBarOnBottom ) ) ) { requestTransientBars ( mNavigationBar ) ; } }
Source:
public void performTest ( ) throws java.lang.Exception { testKeyConversion ( ) ; testAdaptiveKeyConversion ( ) ; decodeTest ( ) ; testECDSA239bitPrime ( ) ; testECDSA239bitBinary ( ) ; testGeneration ( ) ; testKeyPairGenerationWithOIDs ( ) ; testNamedCurveParameterPreservation ( ) ; }

Target:
public void performTest ( ) throws java.lang.Exception { testKeyConversion ( ) ; testAdaptiveKeyConversion ( ) ; decodeTest ( ) ; testECDSA239bitPrime ( ) ; testECDSA239bitBinary ( ) ; testGeneration ( ) ; testKeyPairGenerationWithOIDs ( ) ; testNamedCurveParameterPreservation ( ) ; testNamedCurveSigning ( ) ; testBSI ( ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBranch ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 2 ; branch_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setResultPathBytes ( com.android.vts.proto.ByteString value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 2 ; resultPath_ = value ; onChanged ( ) ; return this ; }
Source:
public static int doubleConditionEqualZero ( double d ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( d > 42.0 ) != false ? 13 : 54 ; }

Target:
public static int $noinline$doubleConditionEqualZero ( double d ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return ( d > 42.0 ) != false ? 13 : 54 ; }
Source:
public android.view.inputmethod.InputMethodSubtype getLastInputMethodSubtype ( ) { synchronized ( mH ) { try { return mService.getLastInputMethodSubtype ( ) ; } catch ( android.os.RemoteException e ) { android.util.Log.w ( android.view.inputmethod.InputMethodManager.TAG , ( "IME died: " + ( mCurId ) ) , e ) ; return null ; } } }

Target:
public boolean switchToLastInputMethod ( android.os.IBinder imeToken ) { synchronized ( mH ) { try { return mService.switchToLastInputMethod ( imeToken ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } } }
Source:
private com.android.jack.test.toolchain.AndroidToolchain createCandidateToolchain ( ) { com.android.jack.test.toolchain.AndroidToolchain candidateTestTools = com.android.jack.test.toolchain.AbstractTestTools.getCandidateToolchain ( com.android.jack.test.toolchain.AndroidToolchain.class ) ; candidateTestTools.setSourceLevel ( level ) ; candidateTestTools.setWithDebugInfos ( withDebugInfos ) ; return candidateTestTools ; }

Target:
private com.android.jack.test.toolchain.AndroidToolchain createCandidateToolchain ( ) { com.android.jack.test.toolchain.AndroidToolchain candidateTestTools = com.android.jack.test.toolchain.AbstractTestTools.getCandidateToolchain ( com.android.jack.test.toolchain.AndroidToolchain.class , ignoredCandidateToolchains ) ; candidateTestTools.setSourceLevel ( level ) ; candidateTestTools.setWithDebugInfos ( withDebugInfos ) ; return candidateTestTools ; }
Source:
public void onAboutMenuSelected ( ) { showRegisteredPage ( Purpose.ABOUT_BOX ) ; }

Target:
public void widgetSelected ( org.eclipse.swt.events.SelectionEvent event ) { onAvdManager ( ) ; }
Source:
protected void doBuildPatchFile ( java.io.File olderFile , java.io.File newerFile , java.util.zip.ZipOutputStream patchOutput ) throws java.io.IOException { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
protected void doBuildPatchFile ( java.io.File toFile , com.intellij.updater.MultiZipFile.OutputStream patchOutput ) throws java.io.IOException { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public void invokeInterface ( final org.objectweb.asm.Type owner , final org.objectweb.asm.commons.Method method ) { invokeInsn ( Opcodes.INVOKEINTERFACE , owner , method ) ; }

Target:
public void invokeStatic ( final org.objectweb.asm.Type owner , final org.objectweb.asm.commons.Method method ) { invokeInsn ( Opcodes.INVOKESTATIC , owner , method , false ) ; }
Source:
public static native int EVP_CipherInit_ex ( int cipherNid , byte [ ] key , byte [ ] iv , boolean encrypting ) ;

Target:
public static native void EVP_CipherInit_ex ( int ctx , int evpCipher , byte [ ] key , byte [ ] iv , boolean encrypting ) ;
Source:
public final E pollFirst ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public final E pollLast ( ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
void setOutputFile ( @ com.android.annotations.NonNull java.io.File outputFile ) ;

Target:
void resValue ( @ com.android.annotations.NonNull java.lang.String type , @ com.android.annotations.NonNull java.lang.String name , @ com.android.annotations.NonNull java.lang.String value ) ;
Source:
private ApkVerifier.Result verify ( java.lang.String apkFilenameInResources ) throws com.android.apksig.apk.ApkFormatException , java.io.IOException , java.security.NoSuchAlgorithmException { return verify ( apkFilenameInResources , null ) ; }

Target:
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 , null ) ; }
Source:
public boolean isPropertySet ( java.lang.Object id ) { com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode uiView = getUiViewKey ( ) ; if ( uiView != null ) { return ( ( org.eclipse.ui.views.properties.IPropertySource ) ( uiView ) ) . isPropertySet ( id ) ; } return false ; }

Target:
public boolean isPropertySet ( java.lang.Object id ) { com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode uiView = getUiViewNode ( ) ; if ( uiView != null ) { return ( ( org.eclipse.ui.views.properties.IPropertySource ) ( uiView ) ) . isPropertySet ( id ) ; } return false ; }
Source:
private void validateInternalClientInfoCleanedUp ( int clientId ) throws java.lang.Exception { com.android.server.wifi.nan.WifiNanClientState client = com.android.server.wifi.nan.WifiNanStateManagerTest.getInternalClientState ( mDut , clientId ) ; collector.checkThat ( ( "Client record not cleared up for clientId=" + clientId ) , client , org.hamcrest.core.IsNull.nullValue ( ) ) ; }

Target:
private void validateInternalClientInfoCleanedUp ( int clientId ) throws java.lang.Exception { com.android.server.wifi.aware.WifiAwareClientState client = com.android.server.wifi.aware.WifiAwareStateManagerTest.getInternalClientState ( mDut , clientId ) ; collector.checkThat ( ( "Client record not cleared up for clientId=" + clientId ) , client , org.hamcrest.core.IsNull.nullValue ( ) ) ; }
Source:
public void setTerminated ( ) { if ( mTerminated ) { android.util.Log.w ( android.net.wifi.nan.WifiNanSession.TAG , "terminate: already terminated." ) ; return ; } mTerminated = true ; mMgr.clear ( ) ; mCloseGuard.close ( ) ; }

Target:
public void setTerminated ( ) { if ( mTerminated ) { android.util.Log.w ( android.net.wifi.nan.WifiNanDiscoveryBaseSession.TAG , "terminate: already terminated." ) ; return ; } mTerminated = true ; mMgr.clear ( ) ; mCloseGuard.close ( ) ; }
Source:
static int testBasis ( int interations ) { new Main.SubClass ( ) . testDirect ( interations ) ; return interations ; }

Target:
static int testBasis ( int iterations ) { new Main.SubClass ( ) . testDirect ( iterations ) ; return iterations ; }
Source:
private static void expectEqualsObj ( java.lang.Object expected , java.lang.Object result ) { if ( expected != result ) { throw new java.lang.Error ( ( ( ( "Expected: " + expected ) + ", found: " ) + result ) ) ; } }

Target:
private static void expectEqualObj ( java.lang.Object expected , java.lang.Object result ) { if ( expected != result ) { throw new java.lang.Error ( ( ( ( "Expected: " + expected ) + ", found: " ) + result ) ) ; } }
Source:
public void indicateRingbackTone ( int var1 , boolean var2 ) { }

Target:
public void subscriptionStatusChanged ( int indicationType , boolean var2 ) { }
Source:
private int getOrdinal ( ) { return mOrdinal ; }

Target:
private java.lang.String getIconName ( ) { return mIconName ; }
Source:
public int getQsCurrentIconId ( ) { if ( mCurrentState.airplaneMode ) { return com.android.systemui.statusbar.phone.SignalDrawable.getAirplaneModeState ( getNumLevels ( ) ) ; } return getCurrentIconId ( ) ; }

Target:
public int getQsCurrentIconId ( ) { if ( mCurrentState.airplaneMode ) { return com.android.settingslib.graph.SignalDrawable.getAirplaneModeState ( getNumLevels ( ) ) ; } return getCurrentIconId ( ) ; }
Source:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { return vfs.getVDirLocation ( parent , path ) ; }

Target:
com.android.sched.util.location.Location getVDirLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.MessageDigestFS.MessageDigestVDir parent , @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) { return vfs.getVDirLocation ( parent.getWrappedDir ( ) , path ) ; }
Source:
protected void finalize ( ) { if ( com.android.internal.telephony.gsm.SimSmsInterfaceManager.DBG ) android.util.Log.d ( com.android.internal.telephony.gsm.SimSmsInterfaceManager.LOG_TAG , "SimSmsInterfaceManager finalized" ) ; }

Target:
protected void finalize ( ) { try { super . finalize ( ) ; } catch ( java.lang.Throwable throwable ) { android.util.Log.e ( com.android.internal.telephony.gsm.SimSmsInterfaceManager.LOG_TAG , "Error while finalizing:" , throwable ) ; } if ( com.android.internal.telephony.gsm.SimSmsInterfaceManager.DBG ) android.util.Log.d ( com.android.internal.telephony.gsm.SimSmsInterfaceManager.LOG_TAG , "SimSmsInterfaceManager finalized" ) ; }
Source:
public static int SubAliasNeg ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return 0 - arg ; }

Target:
public static int $noinline$SubAliasNeg ( int arg ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return 0 - arg ; }
Source:
public static < K , V > com.google.common.collect.ImmutableMap < K , V > of ( ) { return ( ( com.google.common.collect.ImmutableMap < K , V > ) ( EmptyImmutableMap.INSTANCE ) ) ; }

Target:
public static < K , V > com.google.common.collect.ImmutableMap < K , V > of ( ) { return com.google.common.collect.ImmutableBiMap.of ( ) ; }
Source:
void collapseViewHolder ( ) { transcriptionTextView.setMaxLines ( 1 ) ; isViewHolderExpanded = false ; }

Target:
void collapseViewHolder ( ) { transcriptionTextView.setMaxLines ( 1 ) ; isViewHolderExpanded = false ; mediaPlayerView.setVisibility ( View.GONE ) ; }
Source:
public void getCallWaitingResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , boolean var2 , int var3 ) { }

Target:
public void getCallWaitingResponse ( android.hardware.radio.V1_0.RadioResponseInfo responseInfo , boolean enable , int serviceClass ) { responseInts ( responseInfo , ( enable ? 1 : 0 ) , serviceClass ) ; }
Source:
public android.net.wifi.nan.TlvBufferUtils.TlvConstructor putByte ( int type , byte b ) { checkLength ( 1 ) ; addHeader ( type , 1 ) ; mArray [ ( ( mPosition ) ++ ) ] = b ; return this ; }

Target:
public android.net.wifi.aware.TlvBufferUtils.TlvConstructor putByte ( int type , byte b ) { checkLength ( 1 ) ; addHeader ( type , 1 ) ; mArray [ ( ( mPosition ) ++ ) ] = b ; return this ; }
Source:
public void disposeUIResources ( ) { com.intellij.openapi.externalSystem.util.ExternalSystemUiUtil.disposeUi ( this ) ; }

Target:
public void disposeUIResources ( ) { myBuilder.disposeUIResources ( ) ; }
Source:
public static void setCameraPrivacyToastShown ( @ android.support.annotation.NonNull android.content.Context context ) { com.android.dialer.util.DialerUtils.getDefaultSharedPreferenceForDeviceProtectedStorageContext ( context ) . edit ( ) . putBoolean ( com.android.dialer.util.PermissionsUtil.PREFERENCE_CAMERA_ALLOWED_BY_USER , true ) . apply ( ) ; }

Target:
public static void setCameraPrivacyToastShown ( @ android.support.annotation.NonNull android.content.Context context ) { com.android.dialer.storage.StorageComponent.get ( context ) . unencryptedSharedPrefs ( ) . edit ( ) . putBoolean ( com.android.dialer.util.PermissionsUtil.PREFERENCE_CAMERA_ALLOWED_BY_USER , true ) . apply ( ) ; }