Searched refs:IntentPayload (Results 1 – 13 of 13) sorted by relevance
25 public class IntentPayload extends ResultPayload { class28 private IntentPayload(Parcel in) { in IntentPayload() method in IntentPayload29 intent = in.readParcelable(IntentPayload.class.getClassLoader()); in IntentPayload()32 public IntentPayload(Intent newIntent) { in IntentPayload() method in IntentPayload50 public static final Creator<IntentPayload> CREATOR = new Creator<IntentPayload>() {52 public IntentPayload createFromParcel(Parcel in) {53 return new IntentPayload(in);57 public IntentPayload[] newArray(int size) {58 return new IntentPayload[size];
199 private IntentPayload getIntentPayload(Cursor cursor, String action, String key, in getIntentPayload()201 IntentPayload payload; in getIntentPayload()210 payload = new IntentPayload(intent); in getIntentPayload()219 payload = new IntentPayload(intent); in getIntentPayload()
44 final Intent intent = ((IntentPayload) result.payload).intent; in onBind()
101 .addPayload(new IntentPayload(intent)); in loadInBackground()
45 import com.android.settings.search2.IntentPayload;123 eq(((IntentPayload)result.payload).intent.getComponent().flattenToString()), in testBindViewElements_allUpdated()140 .addPayload(new IntentPayload(null)) in testBindViewElements_emptySummary_hideSummaryView()157 .addPayload(new IntentPayload(null)) in testBindViewElements_withBreadcrumb_shouldFormatBreadcrumb()173 .addPayload(new IntentPayload(null)) in testBindElements_placeholderSummary_visibilityIsGone()187 .addPayload(new IntentPayload(null)) in testBindElements_dynamicSummary_visibilityIsGone()215 eq(((IntentPayload)result.payload).intent.getComponent().flattenToString()), in testBindViewElements_appSearchResult()224 .addPayload(new IntentPayload( in getSearchResult()238 .addPayload(new IntentPayload( in getAppSearchResult()
24 import com.android.settings.search2.IntentPayload;39 private IntentPayload payload;48 payload = new IntentPayload(intent); in setUp()55 ResultPayloadUtils.unmarshall(badData, IntentPayload.CREATOR); in testUnmarshallBadData_ExceptionThrown()72 IntentPayload newPayload = ResultPayloadUtils.unmarshall(marshalledPayload, in testUnmarshall_PreservedData()73 IntentPayload.CREATOR); in testUnmarshall_PreservedData()
24 import com.android.settings.search2.IntentPayload;35 private IntentPayload mPayload;46 mPayload = new IntentPayload(intent); in testParcelOrdering_StaysValid()50 IntentPayload newPayload = IntentPayload.CREATOR.createFromParcel(parcel); in testParcelOrdering_StaysValid()
34 import com.android.settings.search2.IntentPayload;161 IntentPayload payload = new IntentPayload(new Intent()); in getDummyDbResults()182 IntentPayload payload = new IntentPayload(new Intent()); in getDummyAppResults()219 final ResultPayload payload = new IntentPayload(null); in getIntentSampleResults()
25 import com.android.settings.search2.IntentPayload;59 private static IntentPayload intentPayload;68 intentPayload = new IntentPayload(intent); in setUp()109 IntentPayload payload = ResultPayloadUtils.unmarshall(marshalledPayload, in testPayload_PayloadTypeAdded()110 IntentPayload.CREATOR); in testPayload_PayloadTypeAdded()
35 import com.android.settings.search2.IntentPayload;106 return new IntentPayload(null); in testGetPayloadFromMap_MatchingKey_ReturnsPayload()113 assertThat(payload).isInstanceOf(IntentPayload.class); in testGetPayloadFromMap_MatchingKey_ReturnsPayload()
26 import com.android.settings.search2.IntentPayload;60 mResultPayload = new IntentPayload(null); in setUp()
218 IntentPayload intentPayload = new IntentPayload(new Intent()); in testDeDupe_noDuplicates_originalListReturn()248 IntentPayload intentPayload = new IntentPayload(new Intent()); in testDeDupe_oneDuplicate_duplicateRemoved()283 IntentPayload intentPayload = new IntentPayload(new Intent()); in testDeDupe_firstDupeInline_secondDuplicateRemoved()334 IntentPayload intentPayload = new IntentPayload(new Intent()); in testDeDupe_secondDupeInline_firstDuplicateRemoved()393 IntentPayload intentPayload = new IntentPayload(new Intent()); in testDeDupe_threeDuplicates_onlyOneStays()
194 IntentPayload payload = (IntentPayload) results.get(0).payload; in testParseCursor_MatchesIntentForSubSettings()203 IntentPayload payload; in testParseCursor_MatchesIntentPayload()205 payload = (IntentPayload) results.get(i).payload; in testParseCursor_MatchesIntentPayload()230 IntentPayload payload = (IntentPayload) results.get(0).payload; in testParseCursor_MatchesIntentPayloadForExternalApps()