auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
public void onSkipToNext ( ) { android.util.Log.d ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.TAG , "onSkipToNext" ) ; mAvrcpCommandQueue.obtainMessage ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.MSG_AVRCP_PASSTHRU , BluetoothAvrcpController.PASS_THRU_CMD_ID_FORWARD ) . sendToTarget ( ) ; }

Target:
public void onSkipToPrevious ( ) { android.util.Log.d ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.TAG , "onSkipToPrevious" ) ; mAvrcpCommandQueue.obtainMessage ( com.android.bluetooth.a2dpsink.mbs.A2dpMediaBrowserService.MSG_AVRCP_PASSTHRU , AvrcpControllerService.PASS_THRU_CMD_ID_BACKWARD ) . sendToTarget ( ) ; }
Source:
native int rsnScriptKernelIDCreate ( int con , int sid , int slot , int sig ) ;

Target:
native long rsnScriptFieldIDCreate ( long con , long sid , int slot ) ;
Source:
private static void initLogging ( ) { android.telecom.Log.setTag ( com.android.server.telecom.LogUtils.TAG ) ; for ( android.telecom.Logging.EventManager.TimedEventPair p : com.android.server.telecom.LogUtils.Events.Timings.sTimedEvents ) { android.telecom.Log.addRequestResponsePair ( p ) ; } }

Target:
public static void initLogging ( android.content.Context context ) { android.telecom.Log.setTag ( com.android.server.telecom.LogUtils.TAG ) ; android.telecom.Log.setSessionContext ( context ) ; android.telecom.Log.initMd5Sum ( ) ; for ( android.telecom.Logging.EventManager.TimedEventPair p : com.android.server.telecom.LogUtils.Events.Timings.sTimedEvents ) { android.telecom.Log.addRequestResponsePair ( p ) ; } }
Source:
public void streamStateUpdated ( @ android.telephony.mbms.StreamingService.StreamingState int state , @ android.telephony.mbms.StreamingService.StreamingStateChangeReason int reason ) throws android.os.RemoteException { }

Target:
public void onStreamStateUpdated ( @ android.telephony.mbms.StreamingService.StreamingState int state , @ android.telephony.mbms.StreamingService.StreamingStateChangeReason int reason ) { }
Source:
private native void doEnableDiscovery ( int techMask , boolean enableLowPowerPolling , boolean enableReaderMode , boolean enableHostRouting , boolean restart ) ;

Target:
private native void doEnableDiscovery ( int techMask , boolean enableLowPowerPolling , boolean enableReaderMode , boolean enableHostRouting , boolean enableP2p , boolean restart ) ;
Source:
public com.android.dx.merge.SortableType adjust ( com.android.dx.merge.SortableType sortableType ) { return new com.android.dx.merge.SortableType ( sortableType.getDex ( ) , adjust ( sortableType.getClassDef ( ) ) ) ; }

Target:
public com.android.dx.merge.SortableType adjust ( com.android.dx.merge.SortableType sortableType ) { return new com.android.dx.merge.SortableType ( sortableType.getDex ( ) , sortableType.getIndexMap ( ) , adjust ( sortableType.getClassDef ( ) ) ) ; }
Source:
protected void missingType ( @ javax.annotation.Nonnull java.lang.String typeName , boolean missingInReference ) { differenceFound = true ; java.lang.String location = ( missingInReference ) ? "reference" : "candidate" ; logger.log ( java.util.logging.Level.SEVERE , "Type {0} not found in {1}" , new java.lang.Object [ ] { typeName , location } ) ; }

Target:
protected void missingType ( @ javax.annotation.Nonnull java.lang.String typeName , boolean missingInReference ) { differenceFound = true ; java.lang.String location = ( missingInReference ) ? "reference" : "candidate" ; com.android.jack.shrob.AbstractListingComparator.logger.log ( java.util.logging.Level.SEVERE , "Type {0} not found in {1}" , new java.lang.Object [ ] { typeName , location } ) ; }
Source:
public synchronized void onUserStopped ( ) { setVpnForcedLocked ( false ) ; mAlwaysOn = false ; unregisterPackageChangeReceiverLocked ( ) ; agentDisconnect ( ) ; }

Target:
public synchronized void onUserStopped ( ) { setLockdown ( false ) ; mAlwaysOn = false ; unregisterPackageChangeReceiverLocked ( ) ; agentDisconnect ( ) ; }
Source:
void detachNativeFunctor ( ) { if ( ( ( mNativeDrawGLFunctor ) != 0 ) && ( ( mViewRootImpl ) != null ) ) { mViewRootImpl.detachFunctor ( mNativeDrawGLFunctor ) ; } mViewRootImpl = null ; }

Target:
public void run ( ) { detachNativeFunctor ( ) ; com.android.webview.chromium.DrawGLFunctor.nativeDestroyGLFunctor ( mNativeDrawGLFunctor ) ; mNativeDrawGLFunctor = 0 ; }
Source:
public void TestDataDrivenJDK ( ) { com.ibm.icu.dev.test.format.DataDrivenNumberFormatTestSuite.runSuite ( this . params , "numberformattestspecification.txt" , JDK ) ; }

Target:
public void TestDataDrivenJDK ( ) { if ( ( com.ibm.icu.dev.test.TestUtil.getJavaVendor ( ) ) == ( TestUtil.JavaVendor.Android ) ) return ; com.ibm.icu.dev.test.format.DataDrivenNumberFormatTestSuite.runSuite ( this . params , "numberformattestspecification.txt" , JDK ) ; }
Source:
public void test_getByName_empty ( ) throws java.lang.Exception { java.net.InetAddress inetAddress = java.net.InetAddress.getByName ( "" ) ; libcore.java.net.InetAddressTest.assertEquals ( libcore.java.net.InetAddressTest.LOOPBACK6_BYTES , "localhost" , inetAddress ) ; assertTrue ( inetAddress.isLoopbackAddress ( ) ) ; }

Target:
public void test_getByName_empty ( ) throws java.lang.Exception { java.net.InetAddress inetAddress = java.net.InetAddress.getByName ( "" ) ; libcore.java.net.InetAddressTest.assertEquals ( libcore.java.net.InetAddressTest.LOOPBACK6_BYTES , "ip6-localhost" , inetAddress ) ; assertTrue ( inetAddress.isLoopbackAddress ( ) ) ; }
Source:
public java.lang.String getAuthTokenLabel ( java.lang.String s ) { android.util.Log.d ( com.android.bluetooth.pbapclient.Authenticator.TAG , "got call" , new java.lang.Exception ( ) ) ; return null ; }

Target:
public android.os.Bundle getAuthToken ( android.accounts.AccountAuthenticatorResponse r , android.accounts.Account account , java.lang.String s , android.os.Bundle bundle ) throws android.accounts.NetworkErrorException { if ( com.android.bluetooth.pbapclient.Authenticator.DBG ) android.util.Log.d ( com.android.bluetooth.pbapclient.Authenticator.TAG , "got call" , new java.lang.Exception ( ) ) ; throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public int size ( ) { return getArray ( ) . length ; }

Target:
public boolean contains ( java.lang.Object o ) { return ( indexOf ( o ) ) != ( - 1 ) ; }
Source:
public java.util.List < com.android.tools.lint.client.api.JavaParser.ResolvedAnnotation > getAnnotations ( @ com.android.annotations.NonNull com.android.tools.lint.client.api.JavaParser.ResolvedAnnotation cls ) { com.android.tools.lint.ExternalAnnotationRepository.ClassInfo c = findClass ( cls ) ; if ( c == null ) { return null ; } return c.annotations ; }

Target:
public java.util.Collection < com.intellij.psi.PsiAnnotation > getAnnotations ( @ com.android.annotations.NonNull org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding cls ) { com.android.tools.lint.ExternalAnnotationRepository.ClassInfo c = findClass ( cls ) ; if ( c == null ) { return null ; } return c.psiAnnotations ; }
Source:
protected javax.swing.JComponent getHeader ( ) { return com.google.gct.idea.appengine.wizard.NewCloudModuleDynamicWizardStep.createHeader ( com.google.gct.idea.appengine.wizard.NewCloudModuleDynamicWizardStep.CLOUD_HEADER_BACKGROUND_COLOR , GoogleCloudToolsIcons.CLOUD_72x64 , com.google.gct.idea.util.GctBundle.message ( "appengine.wizard.step_title" ) ) ; }

Target:
protected com.google.gct.idea.appengine.wizard.WizardStepHeaderSettings getStepHeader ( ) { return com.google.gct.idea.appengine.wizard.WizardStepHeaderSettings.createCustomColorHeader ( com.google.gct.idea.appengine.wizard.NewCloudModuleDynamicWizardStep.CLOUD_HEADER_BACKGROUND_COLOR , com.google.gct.idea.util.GctBundle.message ( "appengine.wizard.step_title" ) ) ; }
Source:
native void rsnScriptSetVarD ( int con , int id , int slot , double val ) ;

Target:
native void rsnScriptForEach ( long con , long id , int slot , long ain , long aout ) ;
Source:
private int strength_Java_ICU ( int value ) { switch ( value ) { case java.text.Collator.PRIMARY : return libcore.icu.RuleBasedCollatorICU.VALUE_PRIMARY ; case java.text.Collator.SECONDARY : return libcore.icu.RuleBasedCollatorICU.VALUE_SECONDARY ; case java.text.Collator.TERTIARY : return libcore.icu.RuleBasedCollatorICU.VALUE_TERTIARY ; case java.text.Collator.IDENTICAL : return libcore.icu.RuleBasedCollatorICU.VALUE_IDENTICAL ; } throw new java.lang.IllegalArgumentException ( ) ; }

Target:
private int strength_Java_ICU ( int value ) { switch ( value ) { case java.text.Collator.PRIMARY : return libcore.icu.RuleBasedCollatorICU.VALUE_PRIMARY ; case java.text.Collator.SECONDARY : return libcore.icu.RuleBasedCollatorICU.VALUE_SECONDARY ; case java.text.Collator.TERTIARY : return libcore.icu.RuleBasedCollatorICU.VALUE_TERTIARY ; case java.text.Collator.IDENTICAL : return libcore.icu.RuleBasedCollatorICU.VALUE_IDENTICAL ; } throw new java.lang.IllegalArgumentException ( ( "Bad strength: " + value ) ) ; }
Source:
public java.util.Collection < V > remove ( java.lang.Object key ) { return containsKey ( key ) ? multimap ( ) . removeAll ( key ) : null ; }

Target:
public java.util.Collection < V > remove ( java.lang.Object key ) { return containsKey ( key ) ? multimap.removeAll ( key ) : null ; }
Source:
void setDataEnabled ( boolean enable ) ;

Target:
void setUserDataEnabled ( boolean enable ) ;
Source:
public void onClick ( android.view.View v ) { final int progress = seekBar.getProgress ( ) ; if ( progress < ( seekBar.getMax ( ) ) ) { seekBar.setProgress ( ( progress + 1 ) , true ) ; } }

Target:
public void onClick ( android.view.View v ) { final int progress = mSeekBar.getProgress ( ) ; if ( progress < ( mSeekBar.getMax ( ) ) ) { mSeekBar.setProgress ( ( progress + 1 ) , true ) ; } }
Source:
private void prepareRefocusFilter ( com.android.rs.test.DepthOfFieldOptions options ) { blurStack = com.android.rs.test.BlurStack.createFromDepthTransform ( options.rgbz.getDepthTransform ( ) , options.focalDepth , options.depthOfField , options.blurInfinity , com.android.rs.test.RenderScriptTask.NUM_BLENDING_LAYERS ) ; rgbdImage = options.rgbz.getBitmap ( ) ; }

Target:
private void prepareRefocusFilter ( com.android.rs.refocus.DepthOfFieldOptions options ) { blurStack = com.android.rs.refocus.BlurStack.createFromDepthTransform ( options.rgbz.getDepthTransform ( ) , options.focalDepth , options.depthOfField , options.blurInfinity , com.android.rs.refocus.RenderScriptTask.NUM_BLENDING_LAYERS ) ; rgbdImage = options.rgbz.getBitmap ( ) ; }
Source:
public void onClick ( android.view.View view ) { com.android.dialer.common.LogUtil.i ( "NewVoicemailMediaPlayer.phoneButtonListener" , "speaker request for voicemailUri: %s" , voicemailUri.toString ( ) ) ; }

Target:
public void onClick ( android.view.View view ) { com.android.dialer.common.LogUtil.i ( "NewVoicemailMediaPlayer.deleteButtonListener" , "delete voicemailUri %s" , java.lang.String.valueOf ( voicemailUri ) ) ; newVoicemailViewHolderListener.deleteViewHolder ( getContext ( ) , fragmentManager , newVoicemailViewHolder , voicemailUri ) ; }
Source:
public void setCaptureRate ( double fps ) { setParameter ( java.lang.String.format ( "time-lapse-enable=1" ) ) ; double timeBetweenFrameCapture = 1 / fps ; int timeBetweenFrameCaptureMs = ( ( int ) ( 1000 * timeBetweenFrameCapture ) ) ; setParameter ( java.lang.String.format ( "time-between-time-lapse-frame-capture=%d" , timeBetweenFrameCaptureMs ) ) ; }

Target:
public void setCaptureRate ( double fps ) { setParameter ( "time-lapse-enable=1" ) ; double timeBetweenFrameCapture = 1 / fps ; int timeBetweenFrameCaptureMs = ( ( int ) ( 1000 * timeBetweenFrameCapture ) ) ; setParameter ( ( "time-between-time-lapse-frame-capture=" + timeBetweenFrameCaptureMs ) ) ; }
Source:
public void test_android_bug_38116746 ( ) { java.io.InputStream exploitImage = getResource ( R.raw.bug_38116746 ) ; try { android.graphics.BitmapFactory.decodeStream ( exploitImage ) ; } catch ( java.lang.OutOfMemoryError e ) { fail ( "OOM attempting to decode ICO" ) ; } }

Target:
public void test_android_bug_38116746 ( ) { java.io.FileDescriptor exploitImage = getResource ( R.raw.bug_38116746 ) ; try { android.graphics.BitmapFactory.decodeFileDescriptor ( exploitImage ) ; } catch ( java.lang.OutOfMemoryError e ) { fail ( "OOM attempting to decode ICO" ) ; } android.graphics.BitmapFactory.decodeFileDescriptor ( getResource ( R.raw.b38116746_new ) ) ; }
Source:
public void registerObject ( @ javax.annotation.Nonnull java.lang.Object object , @ javax.annotation.Nonnegative long size , int count ) { throw new java.lang.UnsupportedOperationException ( ) ; }

Target:
public < T > void registerWatcher ( @ javax.annotation.Nonnull java.lang.Class < T > objectClass , @ javax.annotation.Nonnull java.lang.Class < ? extends com.android.sched.util.log.tracer.watcher.ObjectWatcher < ? extends T > > watcherClass ) { assert ( config ) == ( com.android.sched.util.config.ThreadConfig.getConfig ( ) ) ; throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public java.net.SocketAddress getLocalSocketAddress ( ) { if ( ! ( isBound ( ) ) ) { return null ; } return new java.net.InetSocketAddress ( getInetAddress ( ) , getLocalPort ( ) ) ; }

Target:
public java.net.SocketAddress getLocalSocketAddress ( ) { if ( ! ( isBound ( ) ) ) { return null ; } return new java.net.InetSocketAddress ( localAddress , getLocalPort ( ) ) ; }
Source:
public void testEvaluateNetworks_onlyTrustedNetworksAllowed_noTrustedInScanList ( ) { android.net.wifi.WifiConfiguration result = mRecommendedNetworkEvaluator.evaluateNetworks ( com.google.android.collect.Lists.newArrayList ( com.android.server.wifi.RecommendedNetworkEvaluatorTest.UNTRUSTED_SCAN_DETAIL ) , null , null , false , false , null ) ; junit.framework.Assert.assertNull ( result ) ; org.mockito.Mockito.verifyZeroInteractions ( mNetworkScoreManager ) ; }

Target:
public void testEvaluateNetworks_onlyTrustedNetworksAllowed_noTrustedInScanList ( ) { android.net.wifi.WifiConfiguration result = mRecommendedNetworkEvaluator.evaluateNetworks ( com.google.android.collect.Lists.newArrayList ( mUntrustedScanDetail ) , null , null , false , false , null ) ; junit.framework.Assert.assertNull ( result ) ; org.mockito.Mockito.verifyZeroInteractions ( mNetworkScoreManager ) ; }
Source:
public com.android.jack.dx.rop.type.Type getArrayType ( ) { if ( ( arrayType ) == null ) { arrayType = com.android.jack.dx.rop.type.Type.putIntern ( new com.android.jack.dx.rop.type.Type ( ( '[' + ( descriptor ) ) , com.android.jack.dx.rop.type.Type.BT_OBJECT ) ) ; } return arrayType ; }

Target:
public com.android.jack.dx.rop.type.Type getArrayType ( ) { if ( ( arrayType ) == null ) { arrayType = com.android.jack.dx.rop.type.Type.putIntern ( new com.android.jack.dx.rop.type.Type ( ( '[' + ( descriptor.getString ( ) ) ) , com.android.jack.dx.rop.type.Type.BT_OBJECT ) ) ; } return arrayType ; }
Source:
public void dump ( java.io.FileDescriptor fd , java.io.PrintWriter pw , java.lang.String [ ] args ) { pw.println ( "WifiNanRttStateManager:" ) ; pw.println ( ( ( " mPendingOperations: [" + ( mPendingOperations ) ) + "]" ) ) ; }

Target:
public void dump ( java.io.FileDescriptor fd , java.io.PrintWriter pw , java.lang.String [ ] args ) { pw.println ( "WifiAwareRttStateManager:" ) ; pw.println ( ( ( " mPendingOperations: [" + ( mPendingOperations ) ) + "]" ) ) ; }
Source:
public void visitAnyClass ( proguard.optimize.info.Clazz clazz ) { if ( ( clazz.findMethod ( ClassConstants.INTERNAL_METHOD_NAME_CLINIT , ClassConstants.INTERNAL_METHOD_TYPE_CLINIT ) ) != null ) { proguard.optimize.info.StaticInitializerContainingClassMarker.setStaticInitializer ( clazz ) ; } }

Target:
public void visitAnyClass ( proguard.optimize.info.Clazz clazz ) { if ( ( clazz.findMethod ( ClassConstants.METHOD_NAME_CLINIT , ClassConstants.METHOD_TYPE_CLINIT ) ) != null ) { proguard.optimize.info.StaticInitializerContainingClassMarker.setStaticInitializer ( clazz ) ; } }
Source:
public void testRequestTriggerWithNonTriggerSensor ( ) { android.hardware.Sensor sensor = mSensorManager.getDefaultSensor ( Sensor.TYPE_ACCELEROMETER ) ; if ( sensor == null ) { throw new android.hardware.cts.helpers.SensorNotSupportedException ( android.hardware.Sensor.TYPE_ACCELEROMETER ) ; } boolean result = mSensorManager.requestTriggerSensor ( mNullTriggerEventListener , sensor ) ; assertFalse ( result ) ; }

Target:
public void testCancelTriggerWithNonTriggerSensor ( ) { mTriggerSensor = mSensorManager.getDefaultSensor ( Sensor.TYPE_ACCELEROMETER ) ; if ( ( mTriggerSensor ) == null ) { throw new android.hardware.cts.helpers.SensorNotSupportedException ( android.hardware.Sensor.TYPE_ACCELEROMETER ) ; } boolean result = mSensorManager.cancelTriggerSensor ( mNullTriggerEventListener , mTriggerSensor ) ; assertFalse ( result ) ; }
Source:
public void testClassInheritedAnnotations ( ) { assertAnnotatedElement ( libcore.java.lang.reflect.AnnotationsTest.ExtendsType.class , libcore.java.lang.reflect.AnnotationsTest.AnnotationB.class ) ; }

Target:
public void testClassInheritedAnnotations ( ) { assertAnnotatedElement ( libcore.java.lang.reflect.AnnotationsTest.ExtendsType.class , libcore.java.lang.reflect.AnnotationsTest.AnnotationB.class ) ; assertAnnotatedElementDeclared ( libcore.java.lang.reflect.AnnotationsTest.ExtendsType.class ) ; }
Source:
public void flingScroll ( int vx , int vy ) { checkThread ( ) ; if ( DebugFlags.TRACE_API ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "flingScroll" ) ; mProvider.flingScroll ( vx , vy ) ; }

Target:
public void flingScroll ( int vx , int vy ) { checkThread ( ) ; if ( android.webkit.WebView.TRACE ) android.util.Log.d ( android.webkit.WebView.LOGTAG , "flingScroll" ) ; mProvider.flingScroll ( vx , vy ) ; }
Source:
public boolean disableCellBroadcastRange ( int startMessageId , int endMessageId ) { android.util.Log.e ( com.android.internal.telephony.cdma.RuimSmsInterfaceManager.LOG_TAG , "Error! Not implemented for CDMA." ) ; return false ; }

Target:
protected void finalize ( ) { try { super . finalize ( ) ; } catch ( java.lang.Throwable throwable ) { android.telephony.Rlog.e ( com.android.internal.telephony.cdma.RuimSmsInterfaceManager.LOG_TAG , "Error while finalizing:" , throwable ) ; } if ( com.android.internal.telephony.cdma.RuimSmsInterfaceManager.DBG ) android.telephony.Rlog.d ( com.android.internal.telephony.cdma.RuimSmsInterfaceManager.LOG_TAG , "RuimSmsInterfaceManager finalized" ) ; }
Source:
public int generateKey ( java.lang.String alias , android.security.keymaster.KeymasterArguments args , int flags , android.security.keymaster.KeyCharacteristics outCharacteristics ) { return generateKey ( alias , args , android.security.KeyStore.UID_SELF , flags , outCharacteristics ) ; }

Target:
public int generateKey ( java.lang.String alias , android.security.keymaster.KeymasterArguments args , byte [ ] entropy , int flags , android.security.keymaster.KeyCharacteristics outCharacteristics ) { return generateKey ( alias , args , entropy , android.security.KeyStore.UID_SELF , flags , outCharacteristics ) ; }
Source:
public void testIntegerArrayOverlay ( ) throws java.lang.Throwable { final int resId = com.android.internal.R.array.config_scrollBarrierVibePattern ; assertResource ( resId , new int [ ] { 0 , 15 , 10 , 10 } , new int [ ] { 100 , 200 , 300 } ) ; }

Target:
private void assertResource ( int resId , java.lang.String no , java.lang.String so , java.lang.String mo ) throws java.lang.Throwable { java.lang.String expected = getExpected ( no , so , mo ) ; java.lang.String actual = mResources.getString ( resId ) ; assertEquals ( expected , actual ) ; }
Source:
public static boolean containsMethodKey ( @ javax.annotation.Nonnull java.lang.String methodKey , @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethodIdWide methodId ) { com.android.jack.shrob.obfuscation.MethodInHierarchyFinder visitor = new com.android.jack.shrob.obfuscation.MethodInHierarchyFinder ( methodKey ) ; for ( com.android.jack.ir.ast.JMethod otherMethod : methodId.getMethods ( ) ) { visitor.startVisit ( otherMethod.getEnclosingType ( ) ) ; } return visitor.hasFoundMethodId ; }

Target:
public static boolean containsMethodKey ( @ javax.annotation.Nonnull com.android.jack.shrob.obfuscation.key.MethodKey methodKey , @ javax.annotation.Nonnull com.android.jack.ir.ast.JMethodIdWide methodId ) { com.android.jack.shrob.obfuscation.MethodInHierarchyFinder visitor = new com.android.jack.shrob.obfuscation.MethodInHierarchyFinder ( methodKey ) ; for ( com.android.jack.ir.ast.JMethod otherMethod : methodId.getMethods ( ) ) { visitor.startVisit ( otherMethod.getEnclosingType ( ) ) ; } return visitor.hasFoundMethodId ; }
Source:
public void setCallDisconnectCause ( android.telecom.DisconnectCause disconnectCause ) { com.android.server.telecom.Log.d ( com.android.server.telecom.Analytics.TAG , ( ( ( "setting disconnectCause for call " + ( callId ) ) + " to " ) + disconnectCause ) ) ; this . callTerminationReason = disconnectCause ; }

Target:
public void setCallDisconnectCause ( android.telecom.DisconnectCause disconnectCause ) { android.telecom.Log.d ( com.android.server.telecom.Analytics.TAG , ( ( ( "setting disconnectCause for call " + ( callId ) ) + " to " ) + disconnectCause ) ) ; this . callTerminationReason = disconnectCause ; }
Source:
private java.lang.String getAttributeValue ( org.w3c.dom.Element element , java.lang.String attrName ) { org.w3c.dom.Attr attr = element.getAttributeNodeNS ( NS_URI , attrName ) ; java.lang.String value = ( attr == null ) ? "" : attr.getNodeValue ( ) ; return value ; }

Target:
private java.lang.String getAttributeValue ( org.w3c.dom.Element element , java.lang.String attrName ) { org.w3c.dom.Attr attr = element.getAttributeNodeNS ( com.android.manifmerger.ManifestMerger.NS_URI , attrName ) ; java.lang.String value = ( attr == null ) ? "" : attr.getNodeValue ( ) ; return value ; }
Source:
protected void ensureAll ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface loaded ) { }

Target:
public void ensureAnnotation ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JDefinedClassOrInterface loaded , @ javax.annotation.Nonnull com.android.jack.ir.ast.JAnnotationType annotation ) { }
Source:
private void onNew ( ) { com.android.sdkuilib.internal.widgets.AvdCreationDialog dlg = new com.android.sdkuilib.internal.widgets.AvdCreationDialog ( mTable.getShell ( ) , mAvdManager , mImageFactory , mSdkLog , null ) ; if ( ( dlg.open ( ) ) == ( org.eclipse.jface.window.Window.OK ) ) { refresh ( false ) ; } }

Target:
private void onNew ( ) { com.android.sdkuilib.internal.widgets.LegacyAvdEditDialog dlg = new com.android.sdkuilib.internal.widgets.LegacyAvdEditDialog ( mTable.getShell ( ) , mAvdManager , mImageFactory , mSdkLog , null ) ; if ( ( dlg.open ( ) ) == ( org.eclipse.jface.window.Window.OK ) ) { refresh ( false ) ; } }
Source:
private java.lang.String getAppInstructionSetFromSettings ( com.android.server.pm.PackageSetting ps ) { java.lang.String instructionSet = com.android.server.pm.PackageManagerService.getPreferredInstructionSet ( ) ; if ( ( ps.requiredCpuAbiString ) != null ) { instructionSet = dalvik.system.VMRuntime.getInstructionSet ( ps.requiredCpuAbiString ) ; } return instructionSet ; }

Target:
private java.lang.String getAppInstructionSetFromSettings ( com.android.server.pm.PackageSetting ps ) { java.lang.String instructionSet = com.android.server.pm.PackageManagerService.getPreferredInstructionSet ( ) ; if ( ( ps.cpuAbiString ) != null ) { instructionSet = dalvik.system.VMRuntime.getInstructionSet ( ps.cpuAbiString ) ; } return instructionSet ; }
Source:
private void setUpResources ( android.content.Context ctx ) { org.chromium.android_webview.AwResource.setResources ( com.android.webview.chromium.WebViewChromiumFactoryProvider.getWebViewPackageResources ( ctx ) ) ; org.chromium.android_webview.AwResource.setErrorPageResources ( com.android.internal.R.raw.loaderror , com.android.internal.R.raw.nodomain ) ; org.chromium.android_webview.AwResource.setDefaultTextEncoding ( com.android.internal.R.string.default_text_encoding ) ; org.chromium.android_webview.AwResource.setConfigKeySystemUuidMapping ( R.array.config_keySystemUuidMapping ) ; }

Target:
private void setUpResources ( android.content.Context ctx ) { org.chromium.android_webview.AwResource.setResources ( com.android.webview.chromium.WebViewChromiumFactoryProvider.getWebViewPackageResources ( ctx ) ) ; org.chromium.android_webview.AwResource.setErrorPageResources ( R.raw.webviewchromium_loaderror , R.raw.webviewchromium_nodomain ) ; org.chromium.android_webview.AwResource.setDefaultTextEncoding ( R.string.webviewchromium_default_text_encoding ) ; org.chromium.android_webview.AwResource.setConfigKeySystemUuidMapping ( R.array.config_keySystemUuidMapping ) ; }
Source:
public void onDescriptorWrite ( java.lang.String address , int status , int srvcType , int srvcInstId , android.os.ParcelUuid srvcUuid , int charInstId , android.os.ParcelUuid charUuid , int descrInstId , android.os.ParcelUuid descrUuid ) throws android.os.RemoteException { }

Target:
public void onDescriptorWrite ( java.lang.String address , int status , int handle ) throws android.os.RemoteException { }
Source:
private com.google.devtools.common.options.OptionsParser.OptionUsageRestrictions optionUsageRestrictions ( ) { return field.getAnnotation ( com.google.devtools.common.options.Option.class ) . optionUsageRestrictions ( ) ; }

Target:
private com.google.devtools.common.options.OptionDocumentationCategory documentationCategory ( ) { return field.getAnnotation ( com.google.devtools.common.options.Option.class ) . documentationCategory ( ) ; }
Source:
public void testIsEmergencyNumberLongNumber_BR ( ) { assertFalse ( shortInfo.isEmergencyNumber ( "9111" , RegionCode.BR ) ) ; assertFalse ( shortInfo.isEmergencyNumber ( "1900" , RegionCode.BR ) ) ; assertFalse ( shortInfo.isEmergencyNumber ( "9996" , RegionCode.BR ) ) ; }

Target:
public void testIsEmergencyNumber_AO ( ) { assertFalse ( com.android.i18n.phonenumbers.ShortNumberInfoTest.shortInfo.isEmergencyNumber ( "911" , RegionCode.AO ) ) ; assertFalse ( com.android.i18n.phonenumbers.ShortNumberInfoTest.shortInfo.isEmergencyNumber ( "222123456" , RegionCode.AO ) ) ; assertFalse ( com.android.i18n.phonenumbers.ShortNumberInfoTest.shortInfo.isEmergencyNumber ( "923123456" , RegionCode.AO ) ) ; }
Source:
public void validateUpdateParameterWithoutTrustRootCertUrl ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.UpdateParameter updateParam = android.net.wifi.hotspot2.pps.UpdateParameterTest.createUpdateParameter ( ) ; updateParam.trustRootCertUrl = null ; org.junit.Assert.assertFalse ( updateParam.validate ( ) ) ; }

Target:
public void validateUpdateParameterWithEmptyPassword ( ) throws java.lang.Exception { android.net.wifi.hotspot2.pps.UpdateParameter updateParam = android.net.wifi.hotspot2.pps.UpdateParameterTest.createUpdateParameter ( ) ; updateParam.setBase64EncodedPassword ( null ) ; org.junit.Assert.assertFalse ( updateParam.validate ( ) ) ; }
Source:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.BaseVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { return vfs.getVFileLocation ( parent , name ) ; }

Target:
com.android.sched.util.location.Location getVFileLocation ( @ javax.annotation.Nonnull com.android.sched.vfs.DeflateFS.DeflateVDir parent , @ javax.annotation.Nonnull java.lang.String name ) { return vfs.getVFileLocation ( parent.getWrappedDir ( ) , name ) ; }
Source:
public android.content.Intent getIntent ( android.content.Context context ) { return com.android.dialer.duo.DuoComponent.get ( context ) . getDuo ( ) . getCallIntent ( number ) . orNull ( ) ; }

Target:
public android.content.Intent getIntent ( android.content.Context context ) { return com.android.dialer.precall.PreCall.getIntent ( context , new com.android.dialer.callintent.CallIntentBuilder ( number , CallInitiationType.Type.CALL_LOG ) . setIsDuoCall ( true ) . setIsVideoCall ( true ) ) ; }
Source:
public void setCellInfoListRate ( int rateInMillis , android.os.Message response ) { unimplemented ( response ) ; }

Target:
public void setCellInfoListRate ( int rateInMillis , android.os.Message response , android.os.WorkSource workSource ) { unimplemented ( response ) ; }
Source:
public void onClick ( android.content.DialogInterface dialog , int which ) { finish ( ) ; }

Target:
public void onClick ( android.content.DialogInterface dialog , int which ) { setTestResultAndFinish ( false ) ; }
Source:
public static boolean isKey ( java.lang.String keyString ) { return com.android.vts.util.FilterUtil.FilterKey.keyMap.containsKey ( keyString ) ; }

Target:
public static boolean isDeviceKey ( java.lang.String keyString ) { return ( com.android.vts.util.FilterUtil.FilterKey.keyMap.containsKey ( keyString ) ) && ( com.android.vts.util.FilterUtil.FilterKey.keyMap.get ( keyString ) . isDevice ) ; }
Source:
public java.util.Collection < com.android.tools.perflib.heap.RootObj > getGCRoots ( ) { return mSnapshot.getGCRoots ( ) ; }

Target:
public java.util.Collection < com.android.tools.perflib.heap.RootType > getRootTypes ( com.android.tools.perflib.heap.Instance inst ) { return mRoots.get ( inst ) ; }
Source:
private boolean isPermissionEnforcedLocked ( java.lang.String permission , boolean enforcedDefault ) { if ( android.Manifest.permission.READ_EXTERNAL_STORAGE.equals ( permission ) ) { if ( ( mSettings.mReadExternalStorageEnforced ) != null ) { return mSettings.mReadExternalStorageEnforced ; } else { return enforcedDefault ; } } else { return true ; } }

Target:
void createNewUserLILPw ( int userHandle , java.io.File path ) { if ( ( mInstaller ) != null ) { mSettings.createNewUserLILPw ( this , mInstaller , userHandle , path ) ; } }
Source:
private void fetchEpg ( long delay ) { mHandler.removeMessages ( com.android.tv.data.epg.EpgFetcher.MSG_FETCH_EPG ) ; mHandler.sendEmptyMessageDelayed ( com.android.tv.data.epg.EpgFetcher.MSG_FETCH_EPG , delay ) ; }

Target:
private void onFetchEpg ( ) { onFetchEpg ( false ) ; }
Source:
public void write ( com.android.sdklib.internal.project.ProjectProperties properties ) { properties.setProperty ( ProjectProperties.PROPERTY_SPLIT_BY_DENSITY , java.lang.Boolean.toString ( mSplitByDensity ) ) ; properties.setProperty ( ProjectProperties.PROPERTY_SPLIT_BY_ABI , java.lang.Boolean.toString ( mSplitByAbi ) ) ; }

Target:
public void write ( com.android.sdklib.internal.project.ProjectPropertiesWorkingCopy properties ) { properties.setProperty ( ProjectProperties.PROPERTY_SPLIT_BY_DENSITY , java.lang.Boolean.toString ( mSplitByDensity ) ) ; properties.setProperty ( ProjectProperties.PROPERTY_SPLIT_BY_ABI , java.lang.Boolean.toString ( mSplitByAbi ) ) ; }
Source:
public final void registerContentObserver ( android.net.Uri uri , boolean notifyForDescendents , android.database.ContentObserver observer ) { try { android.content.ContentResolver.getContentService ( ) . registerContentObserver ( uri , notifyForDescendents , observer.getContentObserver ( ) ) ; } catch ( android.os.RemoteException e ) { } }

Target:
public final void registerContentObserver ( android.net.Uri uri , boolean notifyForDescendents , android.database.ContentObserver observer , int userHandle ) { try { android.content.ContentResolver.getContentService ( ) . registerContentObserver ( uri , notifyForDescendents , observer.getContentObserver ( ) , userHandle ) ; } catch ( android.os.RemoteException e ) { } }
Source:
public synchronized void requestToResetMode ( com.android.cts.verifier.sensors.base.ISensorTestStateContainer stateContainer ) throws java.lang.InterruptedException { if ( ! ( isSettingAvailable ( ) ) ) { return ; } trySetMode ( stateContainer , mCapturedModeOn ) ; }

Target:
public synchronized void requestToResetMode ( com.android.cts.verifier.sensors.base.ISensorTestStateContainer stateContainer ) throws java.lang.InterruptedException { if ( ( ! ( isSettingAvailable ( ) ) ) || ( ! ( isSettingUiAvailable ( stateContainer ) ) ) ) { return ; } trySetMode ( stateContainer , mCapturedModeOn ) ; }
Source:
public void testDiff1 ( ) throws java.lang.Exception { java.lang.String main = "" + ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <application android:label=\"@string/lib_name\" />\n" ) + "\n" ) + "</manifest>" ) ; java.lang.String library = "" + ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <activity android:name=\"activityOne\" />\n" ) + "\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument mainDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testDiff1()" ) , main ) ; com.android.manifmerger.XmlDocument libraryDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testDiff1()" ) , library ) ; assertTrue ( mainDocument.compareTo ( libraryDocument ) . isPresent ( ) ) ; }

Target:
public void testDiff1 ( ) throws java.lang.Exception { java.lang.String main = "" + ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <application android:label=\"@string/lib_name\" />\n" ) + "\n" ) + "</manifest>" ) ; java.lang.String library = "" + ( ( ( ( ( ( "<manifest\n" + " xmlns:android=\"http://schemas.android.com/apk/res/android\"\n" ) + " package=\"com.example.lib3\">\n" ) + "\n" ) + " <activity android:name=\"activityOne\" />\n" ) + "\n" ) + "</manifest>" ) ; com.android.manifmerger.XmlDocument mainDocument = com.android.manifmerger.TestUtils.xmlDocumentFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testDiff1()" ) , main ) ; com.android.manifmerger.XmlDocument libraryDocument = com.android.manifmerger.TestUtils.xmlLibraryFromString ( new com.android.manifmerger.TestUtils.TestSourceLocation ( getClass ( ) , "testDiff1()" ) , library ) ; assertTrue ( mainDocument.compareTo ( libraryDocument ) . isPresent ( ) ) ; }
Source:
com.android.dx.io.Annotation read ( com.android.dx.io.DexBuffer.Section in , com.android.dx.merge.IndexMap indexMap , int index ) { return indexMap.adjust ( in.readAnnotation ( ) ) ; }

Target:
com.android.dex.Annotation read ( com.android.dex.Dex.Section in , com.android.dx.merge.IndexMap indexMap , int index ) { return indexMap.adjust ( in.readAnnotation ( ) ) ; }
Source:
static float $opt$NegFloat ( float a ) { return - a ; }

Target:
private static int $opt$noinline$NegInt ( int a ) { if ( Main.doThrow ) { throw new java.lang.Error ( ) ; } return - a ; }
Source:
public void execute ( java.lang.Runnable runnable ) { new java.lang.Thread ( runnable ) . start ( ) ; }

Target:
public void execute ( java.lang.Runnable runnable ) { android.os.AsyncTask.execute ( runnable ) ; }
Source:
public void execute ( java.io.OutputStream stdout , java.lang.String ... tasks ) { execute ( java.util.Collections.< java.lang.String > emptyList ( ) , stdout , false , tasks ) ; }

Target:
public java.io.ByteArrayOutputStream getStdout ( ) { return stdout ; }
Source:
public static native void SSL_interrupt ( int sslNativePointer ) ;

Target:
public static native byte [ ] [ ] SSL_get_peer_cert_chain ( long sslNativePointer ) ;
Source:
protected void setUp ( ) throws java.lang.Exception { a1 = type.newInstance ( "https://mail.google.com/mail/u/0/?shva=1#inbox" ) ; a2 = type.newInstance ( "https://mail.google.com/mail/u/0/?shva=1#inbox" ) ; b1 = type.newInstance ( "http://developer.android.com/reference/java/net/URI.html" ) ; b2 = type.newInstance ( "http://developer.android.com/reference/java/net/URI.html" ) ; }

Target:
protected void setUp ( ) throws java.lang.Exception { a1 = type.newInstance ( "https://mail.google.com/mail/u/0/?shva=1#inbox" ) ; a2 = type.newInstance ( "https://mail.google.com/mail/u/0/?shva=1#inbox" ) ; b1 = type.newInstance ( "http://developer.android.com/reference/java/net/URI.html" ) ; b2 = type.newInstance ( "http://developer.android.com/reference/java/net/URI.html" ) ; c1 = type.newInstance ( ( "http://developer.android.com/query?q=" + ( benchmarks.regression.EqualsHashCodeBenchmark.QUERY ) ) ) ; c2 = type.newInstance ( ( ( "http://developer.android.com/query?q=" + ( benchmarks.regression.EqualsHashCodeBenchmark.QUERY.substring ( 0 , ( ( benchmarks.regression.EqualsHashCodeBenchmark.QUERY.length ( ) ) - 3 ) ) ) ) + "%AF" ) ) ; }
Source:
public java.util.List < android.hardware.cts.helpers.TestSensorEvent > getCollectedEvents ( ) { synchronized ( mCollectedEvents ) { return java.util.Collections.unmodifiableList ( mCollectedEvents ) ; } }

Target:
public java.util.List < android.hardware.cts.helpers.TestSensorEvent > getCollectedEvents ( ) { synchronized ( mCollectedEvents ) { return java.util.Collections.unmodifiableList ( ( ( java.util.List < android.hardware.cts.helpers.TestSensorEvent > ) ( mCollectedEvents.clone ( ) ) ) ) ; } }
Source:
public void test_until_TemporalUnit_nullEnd ( ) { TEST_2008_06.until ( null , java.time.temporal.ChronoUnit.DAYS ) ; }

Target:
public void test_until_TemporalUnit_nullUnit ( ) { tck.java.time.TCKYearMonth.TEST_2008_06.until ( tck.java.time.TCKYearMonth.TEST_2008_06 , null ) ; }
Source:
public synchronized void assertChanged ( boolean expected ) throws java.lang.InterruptedException { wait ( 100 ) ; assertEquals ( expected , flagChange ) ; flagChange = false ; }

Target:
public synchronized void assertChanged ( boolean expected ) throws java.lang.InterruptedException { if ( ! ( flagChange ) ) { wait ( ( expected ? libcore.java.util.prefs.OldAbstractPreferencesTest.ACTION_EXPECTED_TIMEOUT : libcore.java.util.prefs.OldAbstractPreferencesTest.NO_ACTION_EXPECTED_TIMEOUT ) ) ; } assertEquals ( expected , flagChange ) ; flagChange = false ; }
Source:
private int decompositionMode_ICU_Java ( int mode ) { int javaMode = mode ; switch ( mode ) { case java.text.com.ibm.icu.text.Collator : javaMode = java.text.Collator.NO_DECOMPOSITION ; break ; case java.text.com.ibm.icu.text.Collator : javaMode = java.text.Collator.CANONICAL_DECOMPOSITION ; break ; } return javaMode ; }

Target:
private int decompositionMode_ICU_Java ( int mode ) { int javaMode = mode ; switch ( mode ) { case libcore.icu.RuleBasedCollatorICU.VALUE_OFF : javaMode = java.text.Collator.NO_DECOMPOSITION ; break ; case libcore.icu.RuleBasedCollatorICU.VALUE_ON : javaMode = java.text.Collator.CANONICAL_DECOMPOSITION ; break ; } return javaMode ; }
Source:
public com.android.jack.ir.ast.cfg.JSimpleBasicBlock split ( int at ) { throw new java.lang.AssertionError ( ) ; }

Target:
public com.android.jack.ir.ast.cfg.JSimpleBasicBlock split ( int at ) { throw new java.lang.UnsupportedOperationException ( ) ; }
Source:
public android.content.Intent getIntent ( @ android.support.annotation.NonNull android.content.Context context , @ android.support.annotation.NonNull java.lang.String number ) { com.android.dialer.common.Assert.isMainThread ( ) ; com.android.dialer.common.Assert.isNotNull ( context ) ; com.android.dialer.common.Assert.isNotNull ( number ) ; return null ; }

Target:
public com.google.common.base.Optional < android.content.Intent > getInstallDuoIntent ( ) { return null ; }
Source:
public void unregisterMediaButtonIntent ( android.app.PendingIntent pi ) { mMediaFocusControl.unregisterMediaButtonIntent ( pi ) ; }

Target:
private void makeA2dpSrcAvailable ( java.lang.String address ) { android.media.AudioSystem.setDeviceConnectionState ( AudioSystem.DEVICE_IN_BLUETOOTH_A2DP , AudioSystem.DEVICE_STATE_AVAILABLE , address ) ; mConnectedDevices.put ( new java.lang.Integer ( AudioSystem.DEVICE_IN_BLUETOOTH_A2DP ) , address ) ; }
Source:
public com.android.internal.os.SomeArgs waitOnStateUpdated ( long timeout ) { try { return mCalls.poll ( timeout , java.util.concurrent.TimeUnit.MILLISECONDS ) ; } catch ( java.lang.InterruptedException e ) { return null ; } }

Target:
public com.android.internal.os.SomeArgs waitOnStatusUpdated ( long timeout ) { try { return mCalls.poll ( timeout , java.util.concurrent.TimeUnit.MILLISECONDS ) ; } catch ( java.lang.InterruptedException e ) { return null ; } }
Source:
public void update ( int callType , com.android.ims.ImsStreamMediaProfile profile ) throws android.os.RemoteException { }

Target:
public void update ( int callType , android.telephony.ims.ImsStreamMediaProfile profile ) { this . update ( callType , profile ) ; }
Source:
private com.android.rs.test.Int3 pack_i3 ( int [ ] val ) { assert ( val.length ) == 3 ; return new com.android.rs.test.Int3 ( val [ 0 ] , val [ 1 ] , val [ 2 ] ) ; }

Target:
private android.renderscript.Int3 pack_i3 ( int [ ] val ) { assert ( val.length ) == 3 ; return new android.renderscript.Int3 ( val [ 0 ] , val [ 1 ] , val [ 2 ] ) ; }
Source:
private void expectSetInterfaceQuota ( java.lang.String iface , long quotaBytes ) throws java.lang.Exception { mNetworkManager.setInterfaceQuota ( iface , quotaBytes ) ; org.easymock.EasyMock.expectLastCall ( ) . atLeastOnce ( ) ; }

Target:
private void verifySetInterfaceQuota ( java.lang.String iface , long quotaBytes ) throws java.lang.Exception { org.mockito.Mockito.verify ( mNetworkManager , org.mockito.Mockito.atLeastOnce ( ) ) . setInterfaceQuota ( iface , quotaBytes ) ; }
Source:
public void testSuccessfulFirstUpdate_sameVersionAsSystem ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundle ( libcore.tzdata.update2.TimeZoneBundleInstallerTest.SYSTEM_RULES_VERSION , "001" ) ; assertTrue ( installer.install ( bundle.getBytes ( ) ) ) ; assertBundleInstalled ( bundle ) ; }

Target:
public void testInstall_successfulFirstUpdate_sameVersionAsSystem ( ) throws java.lang.Exception { libcore.tzdata.update2.TimeZoneBundle bundle = libcore.tzdata.update2.TimeZoneBundleInstallerTest.createValidTimeZoneBundle ( libcore.tzdata.update2.TimeZoneBundleInstallerTest.SYSTEM_RULES_VERSION , "001" ) ; assertTrue ( installer.install ( bundle.getBytes ( ) ) ) ; assertBundleInstalled ( bundle ) ; }
Source:
public int compareTo ( jsr166.ConcurrentHashMapTest.BI other ) { return java.lang.Integer.compare ( value , other.value ) ; }

Target:
public int compareTo ( jsr166.ConcurrentHashMapTest.BI other ) { return jsr166.ConcurrentHashMapTest.compare ( value , other.value ) ; }
Source:
public void onError ( java.lang.String id ) { android.util.Log.e ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.TAG , ( "Could not get attributes from media player. id: " + id ) ) ; mMediaInterface.getItemAttrRsp ( mBDAddr , AvrcpConstants.RSP_INTERNAL_ERR , null ) ; }

Target:
public void onError ( java.lang.String id ) { android.util.Log.e ( com.android.bluetooth.avrcp.BrowsedMediaPlayer.TAG , ( "Could not get attributes from media player id: " + id ) ) ; mMediaInterface.getItemAttrRsp ( mBDAddr , AvrcpConstants.RSP_INTERNAL_ERR , null ) ; }
Source:
public java.lang.String getGid2 ( ) { return null ; }

Target:
public java.lang.String getGid2 ( ) { if ( ( mCarrierTestOverride.isInTestMode ( ) ) && ( ( mFakeGid2 ) != null ) ) { return mFakeGid2 ; } else { return mGid2 ; } }
Source:
public void testE3 ( ) { dot.junit.opcodes.aget_object.d.T_aget_object_1 t = new dot.junit.opcodes.aget_object.d.T_aget_object_1 ( ) ; java.lang.String [ ] arr = null ; try { t.run ( arr , 0 ) ; fail ( "expected NullPointerException" ) ; } catch ( java.lang.NullPointerException npe ) { } }

Target:
public void testVFE4 ( ) { load ( "dot.junit.opcodes.aget_object.d.T_aget_object_5" , java.lang.VerifyError.class ) ; }
Source:
public void onSessionDestroyed ( ) { }

Target:
public void onSessionDestroyed ( ) { android.util.Log.w ( com.android.bluetooth.avrcp.MediaPlayerWrapper.TAG , ( "The session was destroyed " + ( mPackageName ) ) ) ; }
Source:
public void binderDied ( ) { synchronized ( this ) { try { cleanupAndRelease ( ) ; } catch ( java.lang.Exception e ) { android.util.Log.e ( com.android.server.IpSecService.TAG , ( "Failed to release resource: " + e ) ) ; } } }

Target:
public void binderDied ( ) { synchronized ( this ) { try { userRelease ( ) ; } catch ( java.lang.Exception e ) { android.util.Log.e ( com.android.server.IpSecService.TAG , ( "Failed to release resource: " + e ) ) ; } } }
Source:
public boolean isVideoCall ( ) { return getVideoTech ( ) . isTransmittingOrReceiving ( ) ; }

Target:
public boolean isVideoCall ( ) { return ( getVideoTech ( ) . isTransmittingOrReceiving ( ) ) || ( android.telecom.VideoProfile.isVideo ( getVideoState ( ) ) ) ; }
Source:
public void testVFE10 ( ) { try { new dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_18 ( ) . run ( new dot.junit.opcodes.invoke_interface_range.ITestImpl ( ) ) ; fail ( "expected a verification exception" ) ; } catch ( java.lang.Throwable t ) { dot.junit.DxUtil.checkVerifyException ( t ) ; } }

Target:
public void testVFE14 ( ) { loadAndRun ( "dot.junit.opcodes.invoke_interface_range.d.T_invoke_interface_range_7" , java.lang.NoSuchMethodError.class , new dot.junit.opcodes.invoke_interface_range.ITestImpl ( ) ) ; }
Source:
protected void visitPrimitive ( int argAndType , int type , int arg , int size ) { for ( int i = 0 ; i < size ; i ++ ) { in.readByte ( ) ; } }

Target:
public float readFloat ( ) { checkType ( com.android.dx.io.EncodedValueReader.ENCODED_FLOAT ) ; type = com.android.dx.io.EncodedValueReader.MUST_READ ; return java.lang.Float.intBitsToFloat ( com.android.dx.util.EncodedValueUtils.readUnsignedInt ( in , arg , true ) ) ; }
Source:
protected void readResponseHeaders ( javax.obex.HeaderSet headerset ) { android.util.Log.v ( com.android.bluetooth.pbapclient.BluetoothPbapRequest.TAG , "readResponseHeaders" ) ; }

Target:
protected void readResponseHeaders ( javax.obex.HeaderSet headerset ) { if ( com.android.bluetooth.pbapclient.BluetoothPbapRequest.DBG ) android.util.Log.v ( com.android.bluetooth.pbapclient.BluetoothPbapRequest.TAG , "readResponseHeaders" ) ; }
Source:
public void onComplete ( int resultCode , byte [ ] response ) { callback.onComplete ( resultCode , response ) ; }

Target:
public void onComplete ( int resultCode , byte [ ] info ) { executor.execute ( ( ) -> callback.onComplete ( resultCode , info ) ) ; }
Source:
protected void setUp ( ) throws java.lang.Exception { super . setUp ( ) ; }

Target:
public void run ( ) { try { java.lang.Thread.sleep ( 1000 ) ; } catch ( java.lang.InterruptedException ignored ) { } server.enqueue ( new com.google.mockwebserver.MockResponse ( ) . setBody ( "enqueued in the background" ) ) ; }
Source:
public synchronized void childRemoved ( java.util.prefs.NodeChangeEvent e ) { ( removed ) ++ ; notifyAll ( ) ; }

Target:
public void childRemoved ( java.util.prefs.NodeChangeEvent e ) { if ( libcore.java.util.prefs.OldPreferencesTest.ENCOURAGE_RACES ) try { java.lang.Thread.sleep ( 1000 ) ; } catch ( java.lang.InterruptedException ignored ) { } synchronized ( this ) { ++ ( eventCount ) ; ++ ( removed ) ; notifyAll ( ) ; } }
Source:
public static double DoubleMultiplication ( ) { double a ; double b ; double c ; a = 7.0 ; b = 3.0 ; c = a * b ; return c ; }

Target:
public static int IntMultiplication ( ) { int a ; int b ; int c ; a = Main.$inline$int ( 7 ) ; b = Main.$inline$int ( 3 ) ; c = a * b ; return c ; }
Source:
public static long getNewOutgoingCallCancelMillis ( android.content.ContentResolver contentResolver ) { return com.android.server.telecom.Timeouts.get ( contentResolver , "new_outgoing_call_cancel_ms" , 100000L ) ; }

Target:
public static long getMaxNewOutgoingCallCancelMillis ( android.content.ContentResolver contentResolver ) { return com.android.server.telecom.Timeouts.get ( contentResolver , "max_new_outgoing_call_cancel_ms" , 10000L ) ; }
Source:
public void traverse ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JVisitor visitor ) { if ( visitor.visit ( this ) ) { annotations.traverse ( visitor ) ; } visitor.endVisit ( this ) ; }

Target:
public void traverse ( @ javax.annotation.Nonnull com.android.jack.ir.ast.JVisitor visitor ) { if ( visitor.visit ( this ) ) { visitor.accept ( annotations ) ; } visitor.endVisit ( this ) ; }
Source:
public void perform ( ) { doPerform ( ) ; }

Target:
public void windowClosing ( java.awt.event.WindowEvent e ) { doCancel ( ) ; }