@Test public void testExtractCallback_extraMapValues() { Bundle validBundle = new Bundle(); validBundle.putString("foo", "bar"); validBundle.putInt("bar", 3); validBundle.putParcelable("parcelable", new Bundle()); validBundle.putParcelable("callback", new InspectableBinder().toPendingCallback()); Pair<JobCallback, Bundle> extraction = extractCallback(validBundle); assertNotNull(extraction); assertEquals( "should have stripped the 'callback' entry from the extracted bundle", 3, extraction.second.keySet().size()); }
public Pair<JobCallback, Bundle> extractCallback(@Nullable Bundle data) { if (data == null) { Log.e(TAG, ERROR_NULL_CALLBACK); return null; } return extractWrappedBinderFromParcel(data); }
GooglePlayCallbackExtractor { public Pair<JobCallback, Bundle> extractCallback(@Nullable Bundle data) { if (data == null) { Log.e(TAG, ERROR_NULL_CALLBACK); return null; } return extractWrappedBinderFromParcel(data); } }
GooglePlayCallbackExtractor { public Pair<JobCallback, Bundle> extractCallback(@Nullable Bundle data) { if (data == null) { Log.e(TAG, ERROR_NULL_CALLBACK); return null; } return extractWrappedBinderFromParcel(data); }  }
GooglePlayCallbackExtractor { public Pair<JobCallback, Bundle> extractCallback(@Nullable Bundle data) { if (data == null) { Log.e(TAG, ERROR_NULL_CALLBACK); return null; } return extractWrappedBinderFromParcel(data); }  Pair<JobCallback, Bundle> extractCallback(@Nullable Bundle data); }
GooglePlayCallbackExtractor { public Pair<JobCallback, Bundle> extractCallback(@Nullable Bundle data) { if (data == null) { Log.e(TAG, ERROR_NULL_CALLBACK); return null; } return extractWrappedBinderFromParcel(data); }  Pair<JobCallback, Bundle> extractCallback(@Nullable Bundle data);  }