Searched refs:hasSendAction (Results 1 – 4 of 4) sorted by relevance
27 private val hasSendAction = constant46 fun hasSendAction() { in hasSendAction() method in com.android.intentresolver.ext.IntentExtTest47 assertThat(Intent(Intent.ACTION_SEND).hasSendAction()).isTrue() in hasSendAction()48 assertThat(Intent(Intent.ACTION_SEND_MULTIPLE).hasSendAction()).isTrue() in hasSendAction()49 assertThat(Intent(Intent.ACTION_SENDTO).hasSendAction()).isFalse() in hasSendAction()50 assertThat(Intent(Intent.ACTION_VIEW).hasSendAction()).isFalse() in hasSendAction()68 sendIntent.ifMatch(hasSendAction) { addFlags(Intent.FLAG_ACTIVITY_MATCH_EXTERNAL) } in ifMatch_matched()69 sendMultipleIntent.ifMatch(hasSendAction) { addFlags(Intent.FLAG_ACTIVITY_MATCH_EXTERNAL) } in ifMatch_matched()82 viewIntent.ifMatch(hasSendAction) { addFlags(Intent.FLAG_ACTIVITY_MATCH_EXTERNAL) } in ifMatch_notMatched()
46 import com.android.intentresolver.ext.hasSendAction62 ifMatch(Intent::hasSendAction) { in maybeAddSendActionFlags()76 val isSendAction = targetIntent.hasSendAction() in readChooserRequest()
42 fun Intent.hasSendAction() = hasAction(Intent.ACTION_SEND, Intent.ACTION_SEND_MULTIPLE) method
602 private static boolean hasSendAction(Intent intent) { in hasSendAction() method in ChooserListAdapter609 if (hasSendAction(getTargetIntent()) && !ActivityManager.isLowRamDeviceStatic()) { in getServiceTargetCount()