auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void addValue ( com.android.ide.common.rendering.api.AttrResourceValue attr ) { if ( ( mAttrMap ) == null ) { mAttrMap = new java.util.LinkedHashMap < java.lang.String , com.android.ide.common.rendering.api.AttrResourceValue > ( ) ; } mAttrMap.put ( attr.getName ( ) , attr ) ; }

Target:
public void addValue ( com.android.ide.common.rendering.api.AttrResourceValue attr ) { assert ( attr.isFramework ( ) ) || ( ! ( isFramework ( ) ) ) : "Can't add non-framework attributes to framework resource." ; mAttrs.add ( attr ) ; }
Source:
public boolean isCompatible ( com.android.jack.dx.dex.code.DalvInsn insn ) { if ( ! ( insn instanceof com.android.jack.dx.dex.code.SimpleInsn ) ) { return false ; } com.android.jack.dx.rop.code.RegisterSpecList regs = insn.getRegisters ( ) ; return ( wordCount ( regs ) ) >= 0 ; }

Target:
public boolean isCompatible ( com.android.jack.dx.dex.code.DalvInsn insn ) { if ( ! ( insn instanceof com.android.jack.dx.dex.code.SimpleInsn ) ) { return false ; } com.android.jack.dx.rop.code.RegisterSpecList regs = insn.getRegisters ( ) ; return ( com.android.jack.dx.dex.code.form.Form25x.wordCount ( regs ) ) >= 0 ; }
Source:
public abstract com.google.common.collect.GenericMapMaker < K0 , V0 > softKeys ( ) ;

Target:
public abstract com.google.common.collect.GenericMapMaker < K0 , V0 > softValues ( ) ;
Source:
protected boolean stop ( ) { if ( com.android.bluetooth.hid.HidService.DBG ) log ( "Stopping Bluetooth HidService" ) ; return true ; }

Target:
protected boolean stop ( ) { if ( com.android.bluetooth.hid.HidService.DBG ) { android.util.Log.d ( com.android.bluetooth.hid.HidService.TAG , "Stopping Bluetooth HidService" ) ; } return true ; }
Source:
public final int getInt ( int index ) { checkIndex ( index , SizeOf.INT ) ; return this . block.peekInt ( ( ( offset ) + index ) , order ) ; }

Target:
public final byte get ( ) { if ( ( position ) == ( limit ) ) { throw new java.nio.BufferUnderflowException ( ) ; } return this . block.peekByte ( ( ( offset ) + ( ( position ) ++ ) ) ) ; }
Source:
private native void gattClientWriteCharacteristicNative ( int conn_id , int service_type , int service_id_inst_id , long service_id_uuid_lsb , long service_id_uuid_msb , int char_id_inst_id , long char_id_uuid_lsb , long char_id_uuid_msb , int write_type , int auth_req , byte [ ] value ) ;

Target:
private native void gattClientReadDescriptorNative ( int conn_id , int handle , int authReq ) ;
Source:
public static native byte [ ] SSL_SESSION_session_id ( int sslSessionNativePointer ) ;

Target:
public static native void SSL_enable_tls_channel_id ( long ssl ) throws javax.net.ssl.SSLException ;
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 setSuiteName ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 2048 ; suiteName_ = value ; onChanged ( ) ; return this ; }
Source:
public static java.util.List < com.android.compatibility.common.util.IInvocationResult > getResults ( java.io.File resultsDir ) { return com.android.compatibility.common.util.ResultHandler.getResults ( resultsDir , false ) ; }

Target:
public static com.android.compatibility.common.util.IInvocationResult getResultFromDir ( java.io.File resultDir ) { return com.android.compatibility.common.util.ResultHandler.getResultFromDir ( resultDir , false ) ; }
Source:
public android.net.wifi.WifiConfiguration buildWifiConfig ( java.lang.String uriString , java.lang.String mimeType , byte [ ] data ) { try { return mService.buildWifiConfig ( uriString , mimeType , data ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public java.util.List < android.net.wifi.hotspot2.PasspointConfiguration > getPasspointConfigurations ( ) { try { return mService.getPasspointConfigurations ( ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public java.util.List < com.android.ide.eclipse.adt.internal.resources.manager.ResourceFile > getSourceFileList ( ) { return java.util.Collections.unmodifiableList ( mFiles ) ; }

Target:
public java.util.List < com.android.ide.common.resources.ResourceFile > getSourceFileList ( ) { return java.util.Collections.unmodifiableList ( mFiles ) ; }
Source:
private int paddedBlockSizeBytes ( ) { int paddedBlockSizeBytes = keySizeBytes ( ) ; if ( ( padding ) == ( NativeCrypto.RSA_PKCS1_PADDING ) ) { paddedBlockSizeBytes -- ; paddedBlockSizeBytes -= 10 ; } return paddedBlockSizeBytes ; }

Target:
private int paddedBlockSizeBytes ( ) { int paddedBlockSizeBytes = keySizeBytes ( ) ; if ( ( padding ) == ( NativeConstants.RSA_PKCS1_PADDING ) ) { paddedBlockSizeBytes -- ; paddedBlockSizeBytes -= 10 ; } return paddedBlockSizeBytes ; }
Source:
public java.lang.Object clone ( ) { org.conscrypt.OpenSSLDigestContext ctxCopy = new org.conscrypt.OpenSSLDigestContext ( org.conscrypt.NativeCrypto.EVP_MD_CTX_create ( ) ) ; org.conscrypt.NativeCrypto.EVP_MD_CTX_init ( ctxCopy ) ; org.conscrypt.NativeCrypto.EVP_MD_CTX_copy ( ctxCopy , ctx ) ; return new org.conscrypt.OpenSSLMessageDigestJDK ( evp_md , size , ctxCopy ) ; }

Target:
public java.lang.Object clone ( ) { org.conscrypt.NativeRef.EVP_MD_CTX ctxCopy = new org.conscrypt.NativeRef.EVP_MD_CTX ( org.conscrypt.NativeCrypto.EVP_MD_CTX_create ( ) ) ; org.conscrypt.NativeCrypto.EVP_MD_CTX_init ( ctxCopy ) ; org.conscrypt.NativeCrypto.EVP_MD_CTX_copy ( ctxCopy , ctx ) ; return new org.conscrypt.OpenSSLMessageDigestJDK ( evp_md , size , ctxCopy ) ; }
Source:
public native double getDouble ( java.lang.Object obj , long offset ) ;

Target:
public native float getFloat ( java.lang.Object obj , long offset ) ;
Source:
public java.lang.String lookupDefaultTimeZoneIdByCountry ( java.lang.String countryIso ) { countryIso = libcore.util.TimeZoneFinder.normalizeCountryIso ( countryIso ) ; libcore.util.TimeZoneFinder.CountryTimeZones countryTimeZones = findCountryTimeZones ( countryIso ) ; return countryTimeZones == null ? null : countryTimeZones.getDefaultTimeZoneId ( ) ; }

Target:
public java.util.List < java.lang.String > lookupTimeZoneIdsByCountry ( java.lang.String countryIso ) { libcore.util.CountryTimeZones countryTimeZones = lookupCountryTimeZones ( countryIso ) ; return countryTimeZones == null ? null : countryTimeZones.getTimeZoneIds ( ) ; }
Source:
protected void runTest ( ) throws java.lang.Throwable { try { runTasksOnProject ( projectName , gradleVersion , "clean" , "connectedCheck" ) ; } finally { } }

Target:
protected void runTest ( ) throws java.lang.Throwable { try { runTasksOnProject ( projectName , gradleVersion , java.util.Collections.< java.lang.String > emptyList ( ) , "clean" , "connectedCheck" ) ; } finally { } }
Source:
public void addConnectionServiceAdapter ( com.android.internal.telecom.IConnectionServiceAdapter adapter ) throws android.os.RemoteException { if ( ! ( mConnectionServiceAdapters.add ( adapter ) ) ) { throw new java.lang.RuntimeException ( ( "Adapter already added: " + adapter ) ) ; } mConnectionServiceDelegateAdapter.addConnectionServiceAdapter ( adapter ) ; }

Target:
public void addConnectionServiceAdapter ( com.android.internal.telecom.IConnectionServiceAdapter adapter , android.telecom.Logging.Session.Info info ) throws android.os.RemoteException { if ( ! ( mConnectionServiceAdapters.add ( adapter ) ) ) { throw new java.lang.RuntimeException ( ( "Adapter already added: " + adapter ) ) ; } mConnectionServiceDelegateAdapter.addConnectionServiceAdapter ( adapter , null ) ; }
Source:
private void removeCall ( com.android.server.telecom.Call call ) { if ( ! ( mCalls.contains ( call ) ) ) { return ; } com.android.server.telecom.Log.d ( LOG_TAG , "Call removed with id TC@%s in state %s" , call.getId ( ) , com.android.server.telecom.CallState.toString ( call.getState ( ) ) ) ; for ( int i = 0 ; i < ( mCallStateToCalls.size ( ) ) ; i ++ ) { mCallStateToCalls.valueAt ( i ) . remove ( call ) ; } updateForegroundCall ( ) ; mCalls.remove ( call ) ; onCallLeavingState ( call , call.getState ( ) ) ; }

Target:
private void removeCall ( com.android.server.telecom.Call call ) { if ( ! ( mCalls.contains ( call ) ) ) { return ; } android.telecom.Log.d ( LOG_TAG , "Call removed with id TC@%s in state %s" , call.getId ( ) , com.android.server.telecom.CallState.toString ( call.getState ( ) ) ) ; for ( int i = 0 ; i < ( mCallStateToCalls.size ( ) ) ; i ++ ) { mCallStateToCalls.valueAt ( i ) . remove ( call ) ; } updateForegroundCall ( ) ; mCalls.remove ( call ) ; onCallLeavingState ( call , call.getState ( ) ) ; }
Source:
public com.android.jack.jayce.v0002.NNode newNode ( ) { return new com.android.jack.jayce.v0002.nodes.NProgram ( ) ; }

Target:
public com.android.jack.jayce.v0002.NNode newNode ( ) { throw new java.lang.AssertionError ( ) ; }
Source:
public com.android.ide.eclipse.adt.internal.editors.layout.gre.ViewMetadataRepository.RenderMode getRenderMode ( java.lang.String fqcn ) { com.android.ide.eclipse.adt.internal.editors.layout.gre.ViewMetadataRepository.ViewData view = getClassToView ( ) . get ( fqcn ) ; if ( view != null ) { return view.getRenderMode ( ) ; } return com.android.ide.eclipse.adt.internal.editors.layout.gre.ViewMetadataRepository.RenderMode.ALONE ; }

Target:
public com.android.ide.eclipse.adt.internal.editors.layout.gre.ViewMetadataRepository.RenderMode getRenderMode ( java.lang.String fqcn ) { com.android.ide.eclipse.adt.internal.editors.layout.gre.ViewMetadataRepository.ViewData view = getClassToView ( ) . get ( fqcn ) ; if ( view != null ) { return view.getRenderMode ( ) ; } return com.android.ide.eclipse.adt.internal.editors.layout.gre.ViewMetadataRepository.RenderMode.NORMAL ; }
Source:
public void visitMethodrefConstant ( proguard.optimize.peephole.Clazz clazz , proguard.optimize.peephole.MethodrefConstant methodrefConstant ) { isInitializer = methodrefConstant.getName ( clazz ) . equals ( ClassConstants.INTERNAL_METHOD_NAME_INIT ) ; }

Target:
public void visitMethodrefConstant ( proguard.optimize.peephole.Clazz clazz , proguard.optimize.peephole.MethodrefConstant methodrefConstant ) { isInitializer = methodrefConstant.getName ( clazz ) . equals ( ClassConstants.METHOD_NAME_INIT ) ; }
Source:
public void testE3 ( ) { try { dot.junit.opcodes.instance_of.d.T_instance_of_7 tt = new dot.junit.opcodes.instance_of.d.T_instance_of_7 ( ) ; tt.run ( ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.NoClassDefFoundError e ) { } catch ( java.lang.VerifyError e ) { } }

Target:
public void testE3 ( ) { loadAndRun ( "dot.junit.opcodes.instance_of.d.T_instance_of_7" , java.lang.NoClassDefFoundError.class ) ; }
Source:
public static java.lang.String serializeHex ( java.lang.Object object ) throws java.io.IOException { return libcore.util.SerializationTester.hexEncode ( libcore.util.SerializationTester.serialize ( object ) ) ; }

Target:
public static java.lang.String serializeHex ( java.lang.Object object ) throws java.io.IOException { return libcore.util.HexEncoding.encodeToString ( libcore.util.SerializationTester.serialize ( object ) ) ; }
Source:
public void testSpecifiedLanguage ( ) throws java.lang.Exception { TranslationDetector.COMPLETE_REGIONS = false ; assertEquals ( "No warnings." , lintProject ( "res/values-es/strings_locale.xml=>res/values/strings.xml" , "res/values-es-rUS/strings.xml" ) ) ; }

Target:
public void testSpecifiedLanguage ( ) throws java.lang.Exception { TranslationDetector.sCompleteRegions = false ; assertEquals ( "No warnings." , lintProject ( "res/values-es/strings_locale.xml=>res/values/strings.xml" , "res/values-es-rUS/strings.xml" ) ) ; }
Source:
public static void applyDebuggerSystemProperty ( com.android.internal.os.ZygoteConnection.Arguments args ) { if ( "1" . equals ( android.os.SystemProperties.get ( "ro.debuggable" ) ) ) { args.debugFlags |= dalvik.system.Zygote.DEBUG_ENABLE_DEBUGGER ; } }

Target:
public static void applyDebuggerSystemProperty ( com.android.internal.os.ZygoteConnection.Arguments args ) { if ( "1" . equals ( android.os.SystemProperties.get ( "ro.debuggable" ) ) ) { args.debugFlags |= Zygote.DEBUG_ENABLE_DEBUGGER ; } }
Source:
public void setCellInfoListRate ( int rateInMillis , android.os.Message response ) { }

Target:
public void setInitialAttachApn ( com.android.internal.telephony.dataconnection.DataProfile dataProfile , boolean isRoaming , android.os.Message result ) { }
Source:
public void onChunkEvicted ( java.lang.String id , long createdTimeMs ) { if ( ( mBufferListener ) != null ) { mBufferListener.onBufferStartTimeChanged ( ( createdTimeMs + ( java.util.concurrent.TimeUnit.MICROSECONDS.toMillis ( com.android.tv.tuner.exoplayer.buffer.RecordingSampleBuffer.CHUNK_DURATION_US ) ) ) ) ; } }

Target:
public void onChunkEvicted ( java.lang.String id , long createdTimeMs ) { if ( ( mBufferListener ) != null ) { mBufferListener.onBufferStartTimeChanged ( ( createdTimeMs + ( java.util.concurrent.TimeUnit.MICROSECONDS.toMillis ( com.android.tv.tuner.exoplayer.buffer.RecordingSampleBuffer.MIN_SEEK_DURATION_US ) ) ) ) ; } }
Source:
public void run ( ) { try { movePackageInternal ( packageName , volumeUuid , moveId ) ; } catch ( com.android.server.pm.PackageManagerException e ) { android.util.Slog.w ( com.android.server.pm.PackageManagerService.TAG , ( "Failed to move " + packageName ) , e ) ; mMoveCallbacks.notifyStatusChanged ( moveId , PackageManager.MOVE_FAILED_INTERNAL_ERROR ) ; } }

Target:
public void run ( ) { loadPrivatePackagesInner ( vol ) ; }
Source:
public void onClick ( android.view.View v ) { getPassButton ( ) . setEnabled ( true ) ; setTestResultAndFinish ( true ) ; }

Target:
public void onClick ( android.view.View v ) { getPassButton ( ) . setEnabled ( true ) ; mOpenVoiceMailSettingsButton.setEnabled ( false ) ; mRingtoneSettingsDoesNotExistButton.setEnabled ( false ) ; mRingtoneSettingsExistsButton.setEnabled ( false ) ; mRestoreDefaultDialerImage.setImageDrawable ( getDrawable ( R.drawable.fs_warning ) ) ; }
Source:
public static synchronized com.android.ahat.TestDump getTestDump ( ) throws java.io.IOException { return com.android.ahat.TestDump.getTestDump ( "test-dump.hprof" , "test-dump-base.hprof" , "proguard_dictionary" ) ; }

Target:
public static synchronized com.android.ahat.TestDump getTestDump ( ) throws java.io.IOException { return com.android.ahat.TestDump.getTestDump ( "test-dump.hprof" , "test-dump-base.hprof" , "test-dump.map" ) ; }
Source:
public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannel ( java.lang.String AID ) { return iccOpenLogicalChannel ( getSubId ( ) , AID ) ; }

Target:
public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannel ( java.lang.String AID , int p2 ) { return iccOpenLogicalChannel ( getSubId ( ) , AID , p2 ) ; }
Source:
public void run ( ) { new com.intellij.util.indexing.Task.Modal ( null , "Updating index" , false ) { @ java.lang.Override public void run ( @ org.jetbrains.annotations.NotNull final com.intellij.util.indexing.ProgressIndicator indicator ) { indicator.setIndeterminate ( true ) ; rebuildRunnable.run ( ) ; } } . queue ( ) ; }

Target:
public void run ( ) { new com.intellij.openapi.progress.Task.Modal ( null , "Updating index" , false ) { @ java.lang.Override public void run ( @ org.jetbrains.annotations.NotNull final com.intellij.openapi.progress.ProgressIndicator indicator ) { indicator.setIndeterminate ( true ) ; rebuildRunnable.run ( ) ; } } . queue ( ) ; }
Source:
private synchronized void initMediaPlayersInfoList ( ) { if ( com.android.bluetooth.avrcp.Avrcp.DEBUG ) android.util.Log.v ( com.android.bluetooth.avrcp.Avrcp.TAG , "initMediaPlayersInfoList" ) ; mMediaPlayerInfoList.clear ( ) ; for ( com.android.bluetooth.avrcp.MediaController mediaController : getActiveControllersList ( ) ) { initMediaPlayer ( com.android.bluetooth.avrcp.MediaController.wrap ( mediaController ) ) ; } }

Target:
public void onConnected ( ) { android.util.Log.d ( com.android.bluetooth.avrcp.Avrcp.TAG , ( ( "BrowsablePlayerListBuilder: " + ( mCurrentPlayer.packageName ) ) + " OK" ) ) ; mBrowsePlayerInfoList.add ( mCurrentPlayer ) ; mCurrentBrowser.disconnect ( ) ; connectNextPlayer ( ) ; }
Source:
private void assertNoUseInfo ( com.android.server.pm.dex.DexManagerTests.TestData testData ) { org.junit.Assert.assertFalse ( mDexManager.hasInfoOnPackage ( testData.mPackageInfo.packageName ) ) ; }

Target:
private void assertNoUseInfo ( com.android.server.pm.dex.DexManagerTests.TestData testData ) { org.junit.Assert.assertFalse ( mDexManager.hasInfoOnPackage ( testData.getPackageName ( ) ) ) ; }
Source:
public final int getBasicFrameType ( ) { return getType ( ) . getBasicFrameType ( ) ; }

Target:
public final int getBasicFrameType ( ) { return getType ( ) . getBasicFrameTypeImpl ( ) ; }
Source:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBranch ( java.lang.String value ) { if ( value == null ) { throw new java.lang.NullPointerException ( ) ; } bitField0_ |= 4 ; branch_ = value ; onChanged ( ) ; return this ; }

Target:
public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder setBootSuccess ( boolean value ) { bitField0_ |= 4 ; bootSuccess_ = value ; onChanged ( ) ; return this ; }
Source:
public void setConfiguration ( org.jetbrains.android.run.AndroidRunConfigurationBase configuration ) { this . configuration = configuration ; updateGoogleCloudVisible ( isShown ( ) ) ; }

Target:
public void setConfiguration ( org.jetbrains.android.run.AndroidRunConfigurationBase configuration ) { this . configuration = configuration ; myCloudConfigurationCombo.setConfiguration ( configuration ) ; updateGoogleCloudVisible ( isShown ( ) ) ; }
Source:
private boolean isVoicemailTranscriptionEnabled ( ) { return ( ( Build.VERSION.SDK_INT ) >= ( Build.VERSION_CODES.O ) ) && ( com.android.dialer.configprovider.ConfigProviderBindings.get ( context ) . getBoolean ( "voicemail_transcription_enabled" , false ) ) ; }

Target:
private boolean isVoicemailTranscriptionAvailable ( ) { return ( ( Build.VERSION.SDK_INT ) >= ( Build.VERSION_CODES.O ) ) && ( com.android.dialer.configprovider.ConfigProviderBindings.get ( context ) . getBoolean ( "voicemail_transcription_available" , false ) ) ; }
Source:
public int getFeatureStatus ( int slotId , int featureType ) throws android.os.RemoteException { return android.telephony.ims.feature.ImsFeature.STATE_NOT_AVAILABLE ; }

Target:
public com.android.ims.internal.IImsRcsFeature createRcsFeature ( int slotId , com.android.ims.internal.IImsFeatureStatusCallback c ) throws android.os.RemoteException { mStatusCallback = c ; return this . createRcsFeature ( slotId ) ; }
Source:
protected final void loge ( java.lang.String s ) { android.telephony.Rlog.e ( com.android.internal.telephony.ServiceStateTracker.LOG_TAG , s ) ; }

Target:
protected final void log ( java.lang.String s ) { android.telephony.Rlog.d ( com.android.internal.telephony.ServiceStateTracker.LOG_TAG , ( ( ( "[" + ( mPhone.getPhoneId ( ) ) ) + "] " ) + s ) ) ; }
Source:
public static com.android.build.gradle.integration.common.truth.ZipFileSubject assertThatZip ( @ com.android.annotations.NonNull java.io.File file ) { return com.google.common.truth.Truth.assert_ ( ) . about ( com.android.build.gradle.integration.common.truth.ZipFileSubjectFactory.factory ( ) ) . that ( file ) ; }

Target:
public static com.android.build.gradle.integration.common.truth.AarSubject assertThatAar ( @ com.android.annotations.NonNull java.io.File aar ) { return com.google.common.truth.Truth.assert_ ( ) . about ( AarSubject.Factory.get ( ) ) . that ( aar ) ; }
Source:
public java.io.File call ( ) throws java.lang.Exception { return scope.getPackageApk ( ) ; }

Target:
public java.io.File call ( ) throws java.lang.Exception { com.android.build.gradle.tasks.PackageApplication packageApplicationTask = ( ( com.android.build.gradle.internal.variant.ApkVariantOutputData ) ( scope.getVariantOutputData ( ) ) ) . packageApplicationTask ; return packageApplicationTask == null ? scope.getPackageApk ( ) : packageApplicationTask.getOutputFile ( ) ; }
Source:
public java.lang.String toString ( ) { return ref.toString ( ) ; }

Target:
public int getType ( ) { return type ; }
Source:
native void rsnAllocationData2D ( long con , long id , int xoff , int yoff , int mip , int face , int w , int h , short [ ] d , int sizeBytes ) ;

Target:
native void rsnScriptInvoke ( long con , long id , int slot , boolean mUseInc ) ;
Source:
public com.android.sched.util.location.Location getLocation ( ) { return root.getLocation ( ) ; }

Target:
public com.android.sched.util.location.Location getLocation ( ) { return dir.getLocation ( ) ; }
Source:
public void inputChanged ( org.eclipse.jface.viewers.Viewer arg0 , java.lang.Object arg1 , java.lang.Object arg2 ) { }

Target:
public void inputChanged ( org.eclipse.jface.viewers.Viewer viewer , java.lang.Object oldInput , java.lang.Object newInput ) { }
Source:
public static void computeMin ( android.renderscript.cts.TestMin.ArgumentsIntIntInt args ) { args.ulf = 0 ; args.ulfRelaxed = 0 ; args.out = java.lang.StrictMath.min ( args.inV1 , args.inV2 ) ; }

Target:
public static void computeConvert ( android.renderscript.cts.TestConvert.ArgumentsCharShort args ) { args.out = android.renderscript.cts.CoreMathVerifier.convertCharToShort ( args.inV ) ; }
Source:
public java.lang.String getPath ( com.android.sdklib.BuildToolInfo.PathId pathId ) { return mPaths.get ( pathId ) ; }

Target:
public java.lang.String getPath ( com.android.sdklib.BuildToolInfo.PathId pathId ) { assert pathId.isPresentIn ( mRevision ) ; return mPaths.get ( pathId ) ; }
Source:
private android.net.NetworkRequest sendRequestForNetwork ( android.net.NetworkCapabilities need , android.net.ConnectivityManager.NetworkCallback callback , int timeoutMs , int action , int legacyType ) { return sendRequestForNetwork ( need , callback , timeoutMs , action , legacyType , getHandler ( ) ) ; }

Target:
public void requestNetwork ( android.net.NetworkRequest request , android.net.ConnectivityManager.NetworkCallback networkCallback , int timeoutMs , android.os.Handler handler ) { int legacyType = inferLegacyTypeForNetworkCapabilities ( request.networkCapabilities ) ; android.net.ConnectivityManager.CallbackHandler cbHandler = new android.net.ConnectivityManager.CallbackHandler ( handler ) ; requestNetwork ( request , networkCallback , timeoutMs , legacyType , cbHandler ) ; }
Source:
public java.lang.String getExplanationAsSimpleText ( ) { return com.android.tools.lint.detector.api.Issue.convertMarkup ( mExplanation , false ) ; }

Target:
public java.lang.String getExplanation ( @ com.android.annotations.NonNull com.android.tools.lint.detector.api.Issue.OutputFormat format ) { switch ( format ) { case TEXT : return com.android.tools.lint.detector.api.Issue.convertMarkup ( mExplanation , false ) ; case HTML : return com.android.tools.lint.detector.api.Issue.convertMarkup ( mExplanation , true ) ; case RAW : default : return mExplanation ; } }
Source:
int distinctElements ( ) { return multimap ( ) . asMap ( ) . size ( ) ; }

Target:
int distinctElements ( ) { return multimap.asMap ( ) . size ( ) ; }
Source:
protected java.util.List < java.time.temporal.TemporalAccessor > samples ( ) { java.time.temporal.TemporalAccessor [ ] array = new java.time.temporal.TemporalAccessor [ ] { TEST_2007_07_15 , java.time.LocalDate.MAX , java.time.LocalDate.MIN } ; return java.util.Arrays.asList ( array ) ; }

Target:
protected java.util.List < java.time.temporal.TemporalAccessor > samples ( ) { java.time.temporal.TemporalAccessor [ ] array = new java.time.temporal.TemporalAccessor [ ] { tck.java.time.TCKLocalDate.TEST_2007_07_15 , java.time.LocalDate.MAX , java.time.LocalDate.MIN } ; return java.util.Arrays.asList ( array ) ; }
Source:
public static void d ( java.lang.String caller , java.lang.String msg ) { if ( ! ( com.android.internal.telephony.cat.CatLog.DEBUG ) ) { return ; } android.util.Log.d ( "CAT" , ( ( caller + ": " ) + msg ) ) ; }

Target:
public static void d ( java.lang.String caller , java.lang.String msg ) { if ( ! ( com.android.internal.telephony.cat.CatLog.DEBUG ) ) { return ; } android.telephony.Rlog.d ( "CAT" , ( ( caller + ": " ) + msg ) ) ; }
Source:
public com.android.jack.ir.ast.JDefinedInterface getInterface ( @ javax.annotation.Nonnull java.lang.String typeName ) throws com.android.jack.ir.ast.JTypeLookupException { com.android.jack.ir.ast.JType type = getType ( typeName ) ; assert type instanceof com.android.jack.ir.ast.JDefinedInterface ; return ( ( com.android.jack.ir.ast.JDefinedInterface ) ( type ) ) ; }

Target:
public com.android.jack.ir.ast.JDefinedInterface getInterface ( @ javax.annotation.Nonnull java.lang.String typeName ) throws com.android.jack.ir.ast.JTypeLookupException { com.android.jack.ir.ast.JType type = getType ( typeName ) ; if ( type instanceof com.android.jack.ir.ast.JDefinedInterface ) { return ( ( com.android.jack.ir.ast.JDefinedInterface ) ( type ) ) ; } else { throw new com.android.jack.ir.ast.IncompatibleJTypeLookupException ( type , com.android.jack.ir.ast.JDefinedInterface.class ) ; } }
Source:
public synchronized com.android.sched.vfs.OutputVFile createOutputVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) throws com.android.sched.util.file.CannotCreateFileException { assert ! ( closed ) ; com.android.sched.vfs.MessageDigestInputOutputVFS.MessageDigestOutputVFile file = new com.android.sched.vfs.MessageDigestInputOutputVFS.MessageDigestOutputVFile ( dir.createOutputVFile ( path ) , path ) ; files.add ( file ) ; return file ; }

Target:
public synchronized com.android.sched.vfs.OutputVFile createOutputVFile ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath path ) throws com.android.sched.util.file.CannotCreateFileException { assert ! ( isClosed ( ) ) ; com.android.sched.vfs.MessageDigestInputOutputVFS.MessageDigestOutputVFile file = new com.android.sched.vfs.MessageDigestInputOutputVFS.MessageDigestOutputVFile ( dir.createOutputVFile ( path ) , path ) ; files.add ( file ) ; return file ; }
Source:
public void oemHookRaw ( int var1 , java.util.ArrayList < java.lang.Byte > var2 ) { }

Target:
public void oemHookRaw ( int indicationType , java.util.ArrayList < java.lang.Byte > var2 ) { }
Source:
public native byte getByte ( java.lang.Object object ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;

Target:
private native java.lang.Object get ( java.lang.Object object , boolean accessible ) throws java.lang.IllegalAccessException , java.lang.IllegalArgumentException ;
Source:
public void onCancel ( android.content.DialogInterface dialog ) { android.telephony.Rlog.d ( com.android.internal.telephony.SMSDispatcher.TAG , "dialog dismissed: don't send SMS" ) ; sendMessage ( obtainMessage ( com.android.internal.telephony.SMSDispatcher.EVENT_STOP_SENDING , mTracker ) ) ; }

Target:
public void onCancel ( android.content.DialogInterface dialog ) { android.telephony.Rlog.d ( com.android.internal.telephony.SMSDispatcher.TAG , "dialog dismissed: don't send SMS" ) ; android.os.Message msg = obtainMessage ( com.android.internal.telephony.SMSDispatcher.EVENT_STOP_SENDING , mTracker ) ; msg.arg1 = mConfirmationType ; sendMessage ( msg ) ; }
Source:
public void run ( ) { startScrollBarMonitor ( mTable.getVerticalBar ( ) ) ; }

Target:
public void run ( ) { if ( ! ( mTable.isDisposed ( ) ) ) { startScrollBarMonitor ( mTable.getVerticalBar ( ) ) ; } }
Source:
public static byte [ ] getMagicForApi ( int api ) { if ( api < 24 ) { return org.jf.dexlib2.dexbacked.raw.HeaderItem.MAGIC_VALUES [ 0 ] ; } else { return org.jf.dexlib2.dexbacked.raw.HeaderItem.MAGIC_VALUES [ 1 ] ; } }

Target:
public static byte [ ] getMagicForApi ( int api ) { if ( api < 24 ) { return org.jf.dexlib2.dexbacked.raw.HeaderItem.MAGIC_VALUES [ 0 ] ; } else if ( api < 26 ) { return org.jf.dexlib2.dexbacked.raw.HeaderItem.MAGIC_VALUES [ 1 ] ; } else { return org.jf.dexlib2.dexbacked.raw.HeaderItem.MAGIC_VALUES [ 2 ] ; } }
Source:
public void processingInstruction ( java.lang.String target , java.lang.String data ) { data_processingInstruction.append ( ( ( target + ( tests.api.javax.xml.parsers.SAXParserTestSupport.SEPARATOR_STRING ) ) + data ) ) ; data_processingInstruction.append ( tests.api.javax.xml.parsers.SAXParserTestSupport.SEPARATOR_ELEMENT ) ; }

Target:
public void processingInstruction ( java.lang.String target , java.lang.String data ) { data_processingInstruction.append ( ( ( target + ( org.apache.harmony.tests.javax.xml.parsers.SAXParserTestSupport.SEPARATOR_STRING ) ) + data ) ) ; data_processingInstruction.append ( org.apache.harmony.tests.javax.xml.parsers.SAXParserTestSupport.SEPARATOR_ELEMENT ) ; }
Source:
public java.lang.Number parse ( java.lang.String text , java.text.ParsePosition parsePosition ) { return ( ( java.lang.Number ) ( parse ( text , parsePosition , null ) ) ) ; }

Target:
public synchronized boolean isParseStrict ( ) { return ( properties.getParseMode ( ) ) == ( Parse.ParseMode.STRICT ) ; }
Source:
public static org.w3c.dom.Node getNode ( org.eclipse.jface.text.ITextViewer viewer , int offset ) { return com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor.getNode ( viewer.getDocument ( ) , offset ) ; }

Target:
public static org.w3c.dom.Node getNode ( org.eclipse.jface.text.ITextViewer viewer , int offset ) { return com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities.getNode ( viewer.getDocument ( ) , offset ) ; }
Source:
public void releaseNetworkRequest ( android.app.PendingIntent operation ) { android.net.ConnectivityManager.checkPendingIntent ( operation ) ; try { mService.releasePendingNetworkRequest ( operation ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }

Target:
public void releaseNetworkRequest ( android.app.PendingIntent operation ) { android.net.ConnectivityManager.checkPendingIntentNotNull ( operation ) ; try { mService.releasePendingNetworkRequest ( operation ) ; } catch ( android.os.RemoteException e ) { throw e.rethrowFromSystemServer ( ) ; } }
Source:
public final void setLoop ( int streamID , int loop ) { }

Target:
public final void setPriority ( int streamID , int priority ) { }
Source:
public native long getSpace ( java.io.File f , int t ) ;

Target:
public long getSpace ( java.io.File f , int t ) { dalvik.system.BlockGuard.getThreadPolicy ( ) . onReadFromDisk ( ) ; return getSpace0 ( f , t ) ; }
Source:
public void setSignalStrength ( int signalStrength ) { mNetworkCapabilities.setSignalStrength ( signalStrength ) ; mNetworkAgent.sendNetworkCapabilities ( mNetworkCapabilities ) ; }

Target:
public void removeCapability ( int capability ) { mNetworkCapabilities.removeCapability ( capability ) ; mNetworkAgent.sendNetworkCapabilities ( mNetworkCapabilities ) ; }
Source:
public double getDivisor ( ) { return java.lang.Math.pow ( radix , exponent ) ; }

Target:
public long getDivisor ( ) { return com.ibm.icu.text.NFRule.power ( radix , exponent ) ; }
Source:
public long sendfile ( java.io.FileDescriptor outFd , java.io.FileDescriptor inFd , libcore.util.MutableLong inOffset , long byteCount ) throws android.system.ErrnoException { dalvik.system.BlockGuard.getThreadPolicy ( ) . onWriteToDisk ( ) ; return os.sendfile ( outFd , inFd , inOffset , byteCount ) ; }

Target:
public long sendfile ( java.io.FileDescriptor outFd , java.io.FileDescriptor inFd , android.system.Int64Ref offset , long byteCount ) throws android.system.ErrnoException { dalvik.system.BlockGuard.getThreadPolicy ( ) . onWriteToDisk ( ) ; return os.sendfile ( outFd , inFd , offset , byteCount ) ; }
Source:
public void sendBroadcastAsUser ( android.content.Intent intent , android.os.UserHandle user ) { sendBroadcast ( intent ) ; }

Target:
public void sendBroadcastAsUser ( android.content.Intent intent , android.os.UserHandle user , java.lang.String receiverPermission ) { sendBroadcast ( intent ) ; }
Source:
private void gHASHPartial ( byte [ ] Y , byte [ ] b , int off , int len ) { org.bouncycastle.crypto.modes.GCMBlockCipher.xor ( Y , b , off , len ) ; multiplier.multiplyH ( Y ) ; }

Target:
private void gHASHBlock ( byte [ ] Y , byte [ ] b ) { org.bouncycastle.crypto.modes.gcm.GCMUtil.xor ( Y , b ) ; multiplier.multiplyH ( Y ) ; }
Source:
public java.lang.String getShortDescription ( ) { return java.lang.String.format ( "Missing Android SDK %1$s, revision %2$d" , mTitle , mRevision ) ; }

Target:
public java.lang.String getShortDescription ( ) { return java.lang.String.format ( "Missing Android SDK %1$s, revision %2$s" , mTitle , mRevision.toShortString ( ) ) ; }
Source:
public android.net.IpSecTransform.Builder setIpv4Encapsulation ( android.net.IpSecManager.UdpEncapsulationSocket localSocket , int remotePort ) { mConfig.encapType = android.net.IpSecTransform.ENCAP_ESPINUDP ; mConfig.encapLocalPort = localSocket.getPort ( ) ; mConfig.encapRemotePort = remotePort ; return this ; }

Target:
public android.net.IpSecTransform.Builder setIpv4Encapsulation ( android.net.IpSecManager.UdpEncapsulationSocket localSocket , int remotePort ) { mConfig.encapType = android.net.IpSecTransform.ENCAP_ESPINUDP ; mConfig.encapLocalPortResourceId = localSocket.getResourceId ( ) ; mConfig.encapRemotePort = remotePort ; return this ; }
Source:
public void handleEvent ( org.eclipse.swt.widgets.Event event ) { onStopSelected ( ) ; }

Target:
public void widgetDisposed ( org.eclipse.swt.events.DisposeEvent e ) { onAndroidSdkUpdaterDispose ( ) ; }
Source:
public void testCreate ( ) throws java.lang.Exception { java.util.Properties props = createProps ( ) ; java.lang.Package p = new com.android.sdklib.internal.repository.packages.PackageTest.MockPackage ( null , props , ( - 1 ) , null , null , null , com.android.sdklib.internal.repository.archives.Archive.Os.ANY , com.android.sdklib.internal.repository.archives.Archive.Arch.ANY , com.android.sdklib.internal.repository.packages.PackageTest.LOCAL_ARCHIVE_PATH ) ; testCreatedPackage ( p ) ; }

Target:
public void testCreate ( ) throws java.lang.Exception { java.util.Properties props = createExpectedProps ( ) ; java.lang.Package p = new com.android.sdklib.internal.repository.packages.PackageTest.MockPackage ( null , props , ( - 1 ) , null , null , null , com.android.sdklib.internal.repository.archives.Archive.Os.ANY , com.android.sdklib.internal.repository.archives.Archive.Arch.ANY , com.android.sdklib.internal.repository.packages.PackageTest.LOCAL_ARCHIVE_PATH ) ; testCreatedPackage ( p ) ; }
Source:
protected int handleGetLimit ( int field , int limitType ) { return 0 ; }

Target:
protected int handleGetLimit ( int field , int limitType ) { if ( field == ( com.ibm.icu.util.Calendar.LEAST_MAXIMUM ) ) { return 1 ; } else if ( field == ( com.ibm.icu.util.Calendar.GREATEST_MINIMUM ) ) { return 7 ; } return - 1 ; }
Source:
public java.util.Set < java.lang.String > getExcludedClasses ( ) { return new java.util.HashSet < java.lang.String > ( 0 ) ; }

Target:
public java.util.Set < java.lang.String > getExcludedClasses ( ) { return java.util.Collections.emptySet ( ) ; }
Source:
public void setLine1Number ( java.lang.String alphaTag , java.lang.String number , android.os.Message onComplete ) { com.android.internal.telephony.IccRecords r = mIccRecords.get ( ) ; if ( r != null ) { r.setMsisdnNumber ( alphaTag , number , onComplete ) ; } }

Target:
public void setLine1Number ( java.lang.String alphaTag , java.lang.String number , android.os.Message onComplete ) { com.android.internal.telephony.uicc.IccRecords r = mIccRecords.get ( ) ; if ( r != null ) { r.setMsisdnNumber ( alphaTag , number , onComplete ) ; } }
Source:
void addExtraAttributes ( org.w3c.dom.Document document , org.w3c.dom.Node node , java.lang.String namespaceUri ) { com.android.ide.common.res2.NodeUtils.addAttribute ( document , node , null , com.android.ide.common.res2.ResourceItem.ATTR_TYPE , mType.getName ( ) ) ; }

Target:
void addExtraAttributes ( org.w3c.dom.Document document , org.w3c.dom.Node node , java.lang.String namespaceUri ) { com.android.ide.common.res2.NodeUtils.addAttribute ( document , node , null , com.android.SdkConstants.ATTR_TYPE , mType.getName ( ) ) ; }
Source:
public java.lang.String formatValue ( @ javax.annotation.Nonnull com.android.sched.vfs.OutputVFS directory ) { return directory.getLocation ( ) . getDescription ( ) ; }

Target:
public java.lang.String formatValue ( @ javax.annotation.Nonnull com.android.sched.vfs.OutputVFS directory ) { return directory.getPath ( ) ; }
Source:
public void run ( ) { try { run_inner ( ) ; } catch ( java.lang.Throwable t ) { libcore.java.lang.OldAndroidMonitorTest.errorException = t ; libcore.java.lang.OldAndroidMonitorTest.testThread.interrupt ( ) ; } }

Target:
public boolean wasInterrupted ( ) { synchronized ( lock ) { return wasInterrupted ; } }
Source:
com.android.sched.vfs.BaseVDir getVDir ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) throws com.android.sched.util.file.NoSuchFileException , com.android.sched.util.file.NotDirectoryException { return changeVFS ( vfs.getVDir ( parent , name ) ) ; }

Target:
void delete ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVFile file ) throws com.android.sched.util.file.CannotDeleteFileException { vfs.delete ( file.getWrappedFile ( ) ) ; }
Source:
void cleanup ( ) { if ( com.android.bluetooth.avrcp.AddressedMediaPlayer.DEBUG ) android.util.Log.v ( com.android.bluetooth.avrcp.AddressedMediaPlayer.TAG , "cleanup" ) ; mNowPlayingList = null ; mMediaInterface = null ; }

Target:
void cleanup ( ) { if ( com.android.bluetooth.avrcp.AddressedMediaPlayer.DEBUG ) android.util.Log.v ( com.android.bluetooth.avrcp.AddressedMediaPlayer.TAG , "cleanup" ) ; mNowPlayingList = null ; mMediaInterface = null ; mLastTrackIdSent = android.media.session.MediaSession.QueueItem.UNKNOWN_ID ; }
Source:
public int getIndex ( ) { if ( ( index ) < 0 ) { throw new java.lang.RuntimeException ( ( "index not yet set for " + ( constant ) ) ) ; } return index ; }

Target:
public int getIndex ( ) { if ( ( index ) < 0 ) { throw new java.lang.IllegalStateException ( ( "index not yet set for " + ( constant ) ) ) ; } return index ; }
Source:
public void setDockModeQualifier ( com.android.ide.common.resources.configuration.DockModeQualifier qualifier ) { mQualifiers [ com.android.ide.common.resources.configuration.FolderConfiguration.INDEX_DOCK_MODE ] = qualifier ; }

Target:
public void setUiModeQualifier ( com.android.ide.common.resources.configuration.UiModeQualifier qualifier ) { mQualifiers [ com.android.ide.common.resources.configuration.FolderConfiguration.INDEX_UI_MODE ] = qualifier ; }
Source:
private java.io.File getDexFile ( @ javax.annotation.Nonnull java.lang.String typeName ) { return new java.io.File ( options.getIncrementalFolder ( ) , FileType.DEX.buildFileVPath ( new com.android.sched.vfs.VPath ( typeName , '/' ) ) . getPathAsString ( java.io.File.separatorChar ) ) ; }

Target:
private java.io.File getDexFile ( @ javax.annotation.Nonnull java.lang.String typeName ) { return new java.io.File ( incrementalFolder , FileType.DEX.buildFileVPath ( new com.android.sched.vfs.VPath ( typeName , '/' ) ) . getPathAsString ( java.io.File.separatorChar ) ) ; }
Source:
public com.android.ims.internal.IImsMMTelFeature createMMTelFeature ( int slotId , com.android.ims.internal.IImsFeatureStatusCallback c ) { return createMMTelFeatureInternal ( slotId , c ) ; }

Target:
public android.telephony.ims.aidl.IImsConfig getConfig ( int slotId ) throws android.os.RemoteException { android.telephony.ims.stub.ImsConfigImplBase c = this . getConfig ( slotId ) ; return c != null ? c.getIImsConfig ( ) : null ; }
Source:
public void visitConstantValueAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.Field field , proguard.classfile.attribute.visitor.ConstantValueAttribute constantValueAttribute ) { if ( ( requiredAttributeVisitor ) != null ) { constantValueAttribute.accept ( clazz , field , requiredAttributeVisitor ) ; } }

Target:
public void visitBootstrapMethodsAttribute ( proguard.classfile.attribute.visitor.Clazz clazz , proguard.classfile.attribute.visitor.BootstrapMethodsAttribute bootstrapMethodsAttribute ) { if ( ( requiredAttributeVisitor ) != null ) { requiredAttributeVisitor.visitBootstrapMethodsAttribute ( clazz , bootstrapMethodsAttribute ) ; } }
Source:
public void testPass ( ) { assertNotNull ( getDevice ( ) ) ; }

Target:
public void testPass ( ) { assertNotNull ( getDevice ( ) ) ; if ( ( mOption ) != null ) { addTestMetric ( "option" , mOption ) ; } }
Source:
public void setTimeout ( int timeout ) ;

Target:
public void setMaxtimeToOutputResponse ( int maxTimeToOutputResponse ) ;
Source:
com.android.build.gradle.internal.dsl.def all ( com.android.build.gradle.internal.dsl.Closure configClosure ) { testTasks.all = $missing$ ; org.gradle.api.tasks.testing.Test testTask ; org.gradle.util.ConfigureUtil.configure ( configClosure , testTask ) ; }

Target:
public void execute ( org.gradle.api.tasks.testing.Test testTask ) { org.gradle.util.ConfigureUtil.configure ( configClosure , testTask ) ; }
Source:
public void notifyUnavailable ( ) { retryGetImsService ( ) ; }

Target:
public void onCallProgressing ( com.android.ims.ImsCall imsCall ) { if ( com.android.internal.telephony.imsphone.ImsPhoneCallTracker.DBG ) log ( "onCallProgressing" ) ; mPendingMO = null ; processCallStateChange ( imsCall , ImsPhoneCall.State.ALERTING , DisconnectCause.NOT_DISCONNECTED ) ; mMetrics.writeOnImsCallProgressing ( mPhone.getPhoneId ( ) , imsCall.getCallSession ( ) ) ; }
Source:
public boolean setVoiceMailNumber ( java.lang.String alphaTag , java.lang.String number ) { return setVoiceMailNumber ( android.telephony.TelephonyManager.getDefaultSubscription ( ) , alphaTag , number ) ; }

Target:
public boolean setLine1NumberForDisplay ( java.lang.String alphaTag , java.lang.String number ) { return setLine1NumberForDisplay ( getSubId ( ) , alphaTag , number ) ; }
Source:
public com.android.sched.vfs.InputVFile getBinary ( @ javax.annotation.Nonnull com.android.sched.vfs.VPath typePath , @ javax.annotation.Nonnull com.android.jack.library.BinaryKind binaryKind ) throws com.android.jack.library.BinaryDoesNotExistException ;

Target:
public com.android.sched.vfs.InputVFile getFile ( @ javax.annotation.Nonnull com.android.jack.library.FileType fileType , @ javax.annotation.Nonnull com.android.sched.vfs.VPath typePath ) throws com.android.jack.library.FileTypeDoesNotExistException ;
Source:
public boolean isConnected ( int callSessionType , int callType ) { return false ; }

Target:
public com.android.ims.ImsCallProfile createCallProfile ( int sessionId , int callSessionType , int callType ) { return null ; }
Source:
public void testDecodeEmpty ( ) throws java.lang.Exception { assertEquals ( "[]" , java.util.Arrays.toString ( libcore.io.Base64.decode ( new byte [ 0 ] ) ) ) ; }

Target:
public void testDecode_empty ( ) throws java.lang.Exception { byte [ ] decoded = libcore.io.Base64.decode ( new byte [ 0 ] ) ; libcore.io.Base64Test.assertArrayEquals ( new byte [ 0 ] , decoded ) ; }
Source:
private void closeKeyboard ( ) { com.android.dialer.searchfragment.list.NewSearchFragment fragment = getSearchFragment ( ) ; if ( ( fragment != null ) && ( fragment.isAdded ( ) ) ) { toolbar.hideKeyboard ( ) ; } }

Target:
private void closeKeyboard ( ) { if ( ( ( searchFragment ) != null ) && ( searchFragment.isAdded ( ) ) ) { toolbar.hideKeyboard ( ) ; } }
Source:
public static final native android.os.IHwBinder getService ( java.lang.String iface , java.lang.String serviceName ) throws android.os.RemoteException , java.util.NoSuchElementException ;

Target:
public static final native android.os.IHwBinder getService ( java.lang.String iface , java.lang.String serviceName , boolean retry ) throws android.os.RemoteException , java.util.NoSuchElementException ;
Source:
com.android.compatibility.common.tradefed.build.VtsCompatibilityInvocationHelper createVtsHelper ( ) { return mMockHelper ; }

Target:
com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper createBuildHelper ( com.android.tradefed.build.IBuildInfo buildInfo ) { return mMockHelper ; }
Source:
private java.lang.String getStringSetting ( java.lang.String which ) { return Settings.Global.getString ( mContentResolver , which ) ; }

Target:
public com.android.server.connectivity.DnsManager.PrivateDnsConfig getPrivateDnsConfig ( ) { return com.android.server.connectivity.DnsManager.getPrivateDnsConfig ( mContentResolver ) ; }
Source:
public int getType ( ) { return LocalSdk.PKG_ADDONS ; }

Target:
public com.android.sdklib.repository.descriptors.IPkgDesc getDesc ( ) { return mAddonDesc ; }
Source:
public static synchronized double random ( ) { if ( ( java.lang.Math.random ) == null ) { java.lang.Math.random = new java.util.Random ( ) ; } return java.lang.Math.random.nextDouble ( ) ; }

Target:
public static double random ( ) { return java.lang.Math.INSTANCE.nextDouble ( ) ; }
Source:
public static synchronized void setDefault ( java.util.Locale locale ) { if ( locale == null ) { throw new java.lang.NullPointerException ( "locale == null" ) ; } java.util.Locale.defaultLocale = locale ; libcore.icu.ICU.setDefaultLocale ( libcore.icu.ICU.localeIdFromLocale ( locale ) ) ; }

Target:
public static synchronized void setDefault ( java.util.Locale locale ) { if ( locale == null ) { throw new java.lang.NullPointerException ( "locale == null" ) ; } java.lang.String languageTag = locale.toLanguageTag ( ) ; java.util.Locale.defaultLocale = locale ; libcore.icu.ICU.setDefaultLocale ( languageTag ) ; }
Source:
public void onServiceDisconnected ( int profile ) { android.util.Log.d ( com.android.bluetooth.hfpclient.connserv.HfpClientConnectionService.TAG , ( "onServiceDisconnected " + profile ) ) ; mHeadsetProfile = null ; disconnectAll ( ) ; }

Target:
public void onServiceDisconnected ( int profile ) { if ( com.android.bluetooth.hfpclient.connserv.HfpClientConnectionService.DBG ) { android.util.Log.d ( com.android.bluetooth.hfpclient.connserv.HfpClientConnectionService.TAG , ( "onServiceDisconnected " + profile ) ) ; } mHeadsetProfile = null ; disconnectAll ( ) ; }
Source:
public android.net.IpSecManager.SecurityParameterIndex reserveSecurityParameterIndex ( int direction , java.net.InetAddress remoteAddress , int requestedSpi ) throws android.net.IpSecManager.ResourceUnavailableException , android.net.IpSecManager.SpiUnavailableException { if ( requestedSpi == ( android.net.IpSecManager.INVALID_SECURITY_PARAMETER_INDEX ) ) { throw new java.lang.IllegalArgumentException ( "Requested SPI must be a valid (non-zero) SPI" ) ; } return new android.net.IpSecManager.SecurityParameterIndex ( mService , direction , remoteAddress , requestedSpi ) ; }

Target:
public android.net.IpSecManager.SecurityParameterIndex allocateSecurityParameterIndex ( int direction , java.net.InetAddress remoteAddress , int requestedSpi ) throws android.net.IpSecManager.ResourceUnavailableException , android.net.IpSecManager.SpiUnavailableException { if ( requestedSpi == ( android.net.IpSecManager.INVALID_SECURITY_PARAMETER_INDEX ) ) { throw new java.lang.IllegalArgumentException ( "Requested SPI must be a valid (non-zero) SPI" ) ; } return new android.net.IpSecManager.SecurityParameterIndex ( mService , direction , remoteAddress , requestedSpi ) ; }
Source:
public void endTraceEnclosingMethod ( ) { composedStatus.pop ( ) ; for ( com.android.jack.analysis.tracer.TracerBrush config : brushes ) { config.endTraceEnclosingMethod ( ) ; } }

Target:
public void endTraceEnclosingMethod ( ) { composedStatus.pop ( ) ; for ( com.android.jack.analysis.tracer.TracerBrush brush : brushes ) { brush.endTraceEnclosingMethod ( ) ; } }
Source:
public java.lang.String getFlavorDirName ( ) { if ( variantConfiguration.hasFlavors ( ) ) { return getFlavoredName ( false ) ; } else { return "" ; } }

Target:
protected java.lang.String getCapitalizedFlavorName ( ) { return com.android.build.gradle.internal.StringHelper.capitalize ( variantConfiguration.getFlavorName ( ) ) ; }