Home
last modified time | relevance | path

Searched refs:extra (Results 1 – 25 of 116) sorted by relevance

12345

/packages/apps/Settings/src/com/android/settings/sim/
DSimNotificationService.java48 PersistableBundle extra = new PersistableBundle(); in scheduleSimNotification() local
49 extra.putInt(EXTRA_NOTIFICATION_TYPE, notificationType); in scheduleSimNotification()
53 .setExtras(extra) in scheduleSimNotification()
59 PersistableBundle extra = params.getExtras(); in onStartJob() local
60 if (extra == null) { in onStartJob()
64 int notificationType = extra.getInt(EXTRA_NOTIFICATION_TYPE); in onStartJob()
/packages/modules/SdkExtensions/tests/e2e/Extensions/test-src/com/android/tests/apex/sdkextensions/
DSdkExtensionsHostTest.java145 private String broadcast(String action, String extra) throws Exception { in broadcast() argument
146 String command = getBroadcastCommand(action, extra); in broadcast()
154 private boolean broadcastForBoolean(String action, String extra) throws Exception { in broadcastForBoolean() argument
155 String result = broadcast(action, extra); in broadcastForBoolean()
162 private int broadcastForInt(String action, String extra) throws Exception { in broadcastForInt() argument
163 String result = broadcast(action, extra); in broadcastForInt()
216 private static String getBroadcastCommand(String action, String extra) { in getBroadcastCommand() argument
219 if (extra != null) { in getBroadcastCommand()
220 cmd += " -e extra " + extra; in getBroadcastCommand()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DMobileNetworkSwitchControllerTest.java190 Bundle extra = intentCaptor.getValue().getExtras(); in switchChangeListener_fromEnabledToDisabled_setSubscriptionEnabledCalledCorrectly() local
193 assertThat(extra.getInt(ToggleSubscriptionDialogActivity.ARG_SUB_ID)).isEqualTo(mSubId); in switchChangeListener_fromEnabledToDisabled_setSubscriptionEnabledCalledCorrectly()
194 assertThat(extra.getBoolean(ToggleSubscriptionDialogActivity.ARG_enable)) in switchChangeListener_fromEnabledToDisabled_setSubscriptionEnabledCalledCorrectly()
212 Bundle extra = intentCaptor.getValue().getExtras(); in switchChangeListener_fromEnabledToDisabled_setSubscriptionEnabledFailed() local
215 assertThat(extra.getInt(ToggleSubscriptionDialogActivity.ARG_SUB_ID)).isEqualTo(mSubId); in switchChangeListener_fromEnabledToDisabled_setSubscriptionEnabledFailed()
216 assertThat(extra.getBoolean(ToggleSubscriptionDialogActivity.ARG_enable)) in switchChangeListener_fromEnabledToDisabled_setSubscriptionEnabledFailed()
233 Bundle extra = intentCaptor.getValue().getExtras(); in switchChangeListener_fromDisabledToEnabled_setSubscriptionEnabledCalledCorrectly() local
236 assertThat(extra.getInt(ToggleSubscriptionDialogActivity.ARG_SUB_ID)).isEqualTo(mSubId); in switchChangeListener_fromDisabledToEnabled_setSubscriptionEnabledCalledCorrectly()
237 assertThat(extra.getBoolean(ToggleSubscriptionDialogActivity.ARG_enable)).isEqualTo(true); in switchChangeListener_fromDisabledToEnabled_setSubscriptionEnabledCalledCorrectly()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DAbstractSuggestionExtras.java46 String extra = doGetExtra(columnName); in getExtra() local
47 if (extra == null && mMore != null) { in getExtra()
48 extra = mMore.getExtra(columnName); in getExtra()
50 return extra; in getExtra()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DPartnerWallpaperInfo.java92 for (String extra : extras) { in getAll()
93 int wpResId = partnerRes.getIdentifier(extra, "drawable", packageName); in getAll()
95 … final int thumbRes = partnerRes.getIdentifier(extra + "_small", "drawable", packageName); in getAll()
98 final int fullRes = partnerRes.getIdentifier(extra, "drawable", packageName); in getAll()
103 Log.e("PartnerWallpaperInfo", "Couldn't find wallpaper " + extra); in getAll()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DAudioRecordView.java306 public void onInfo(final MediaRecorder mr, final int what, final int extra) { in onInfo() argument
313 onErrorWhileRecording(what, extra); in onInfo()
318 public void onError(final MediaRecorder mr, final int what, final int extra) { in onError() argument
319 onErrorWhileRecording(what, extra); in onError()
322 private void onErrorWhileRecording(final int what, final int extra) { in onErrorWhileRecording() argument
324 ", extra=" + extra); in onErrorWhileRecording()
/packages/providers/MediaProvider/apex/framework/api/
Dcurrent.txt34 …field public static final String EXTRA_ACCEPT_ORIGINAL_MEDIA_FORMAT = "android.provider.extra.ACCE…
35 field public static final String EXTRA_BRIGHTNESS = "android.provider.extra.BRIGHTNESS";
36 field public static final String EXTRA_DURATION_LIMIT = "android.intent.extra.durationLimit";
37 …field public static final String EXTRA_FINISH_ON_COMPLETION = "android.intent.extra.finishOnComple…
38 field public static final String EXTRA_FULL_SCREEN = "android.intent.extra.fullScreen";
39 field public static final String EXTRA_MEDIA_ALBUM = "android.intent.extra.album";
40 field public static final String EXTRA_MEDIA_ARTIST = "android.intent.extra.artist";
41 …field public static final String EXTRA_MEDIA_CAPABILITIES = "android.provider.extra.MEDIA_CAPABILI…
42 …field public static final String EXTRA_MEDIA_CAPABILITIES_UID = "android.provider.extra.MEDIA_CAPA…
43 field public static final String EXTRA_MEDIA_FOCUS = "android.intent.extra.focus";
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DSystemUpdatePreferenceController.java119 String extra = b.getString( in ciActionOnSysUpdate() local
125 if (!TextUtils.isEmpty(extra)) { in ciActionOnSysUpdate()
126 intent.putExtra(extra, extraVal); in ciActionOnSysUpdate()
128 LOG.d("ciActionOnSysUpdate: broadcasting intent " + intentStr + " with extra " + extra in ciActionOnSysUpdate()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DLauncherActivity.java154 for (String extra : PERSISTENT_BOOLEAN_EXTRAS) { in copyExtras()
155 if (src.hasExtra(extra)) { in copyExtras()
156 dest.putExtra(extra, src.getBooleanExtra(extra, false)); in copyExtras()
/packages/modules/StatsD/framework/api/
Dsystem-current.txt22 …field public static final String EXTRA_STATS_ACTIVE_CONFIG_KEYS = "android.app.extra.STATS_ACTIVE_…
23 …field public static final String EXTRA_STATS_BROADCAST_SUBSCRIBER_COOKIES = "android.app.extra.STA…
24 field public static final String EXTRA_STATS_CONFIG_KEY = "android.app.extra.STATS_CONFIG_KEY";
25 field public static final String EXTRA_STATS_CONFIG_UID = "android.app.extra.STATS_CONFIG_UID";
26 …field public static final String EXTRA_STATS_DIMENSIONS_VALUE = "android.app.extra.STATS_DIMENSION…
27 …field public static final String EXTRA_STATS_SUBSCRIPTION_ID = "android.app.extra.STATS_SUBSCRIPTI…
28 …field public static final String EXTRA_STATS_SUBSCRIPTION_RULE_ID = "android.app.extra.STATS_SUBSC…
/packages/apps/Settings/src/com/android/settings/system/
DSystemUpdatePreferenceController.java131 String extra = b.getString(CarrierConfigManager. in ciActionOnSysUpdate() local
137 if (!TextUtils.isEmpty(extra)) { in ciActionOnSysUpdate()
138 intent.putExtra(extra, extraVal); in ciActionOnSysUpdate()
141 " with extra " + extra + ", " + extraVal); in ciActionOnSysUpdate()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattDebugUtils.java126 private static int getHandleExtra(Intent intent, String extra, int defaultValue) { in getHandleExtra() argument
128 Object uuid = extras != null ? extras.get(extra) : null; in getHandleExtra()
131 return Integer.parseInt(extras.getString(extra), 16); in getHandleExtra()
137 return intent.getIntExtra(extra, defaultValue); in getHandleExtra()
/packages/apps/TV/src/com/android/tv/util/
DTvProviderUtils.java194 Bundle extra = new Bundle(); in addColumnToTable() local
195 extra.putCharSequence(TvContract.EXTRA_COLUMN_NAME, columnName); in addColumnToTable()
196 extra.putCharSequence(TvContract.EXTRA_DATA_TYPE, "TEXT"); in addColumnToTable()
206 extra); in addColumnToTable()
/packages/apps/Calendar/
DAndroid.mk46 LOCAL_AAPT_FLAGS += --extra-packages com.android.ex.chips
47 LOCAL_AAPT_FLAGS += --extra-packages com.android.colorpicker
48 LOCAL_AAPT_FLAGS += --extra-packages com.android.timezonepicker
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DPinRequestHelper.java95 Parcelable extra = intent.getParcelableExtra(LauncherApps.EXTRA_PIN_ITEM_REQUEST); in getPinItemRequest() local
96 return extra instanceof PinItemRequest ? (PinItemRequest) extra : null; in getPinItemRequest()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.java207 long extra = allDay ? ALL_DAY_MASK : 0; in buildViewExtraLong() local
211 extra |= ATTENDEE_STATUS_NONE_MASK; in buildViewExtraLong()
214 extra |= ATTENDEE_STATUS_ACCEPTED_MASK; in buildViewExtraLong()
217 extra |= ATTENDEE_STATUS_DECLINED_MASK; in buildViewExtraLong()
220 extra |= ATTENDEE_STATUS_TENTATIVE_MASK; in buildViewExtraLong()
224 extra |= ATTENDEE_STATUS_NONE_MASK; in buildViewExtraLong()
227 return extra; in buildViewExtraLong()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DIntentAsserts.java52 Intent extra = (Intent) intent.getExtra(EXTRA_INTENT); in assertHasExtraIntent() local
53 assertNotNull(extra); in assertHasExtraIntent()
54 return extra; in assertHasExtraIntent()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DShared.java258 final String extra = activity.getIntent().getStringExtra( in getCallingPackageName() local
260 if (extra != null && !TextUtils.isEmpty(extra)) { in getCallingPackageName()
261 callingPackage = extra; in getCallingPackageName()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DNoConfirmationSmsSendService.java139 final CharSequence extra = remoteInput.getCharSequence(textType); in getText() local
140 if (extra != null) { in getText()
141 return extra.toString(); in getText()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAudioAttachmentView.java207 private void onAudioReplayError(final int what, final int extra, final Exception exception) { in onAudioReplayError() argument
210 ", extra=" + extra); in onAudioReplayError()
264 public boolean onError(final MediaPlayer mp, final int what, final int extra) { in setupMediaPlayer()
266 onAudioReplayError(what, extra, null); in setupMediaPlayer()
/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/
DClusterHomeActivity.java54 Bundle extra = intent.getBundleExtra(Car.CAR_EXTRA_CLUSTER_ACTIVITY_STATE); in logIntent() local
55 ClusterActivityState activityState = ClusterActivityState.fromBundle(extra); in logIntent()
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/action/sensoryfeedback/
DEmergencyActionAlarmHelper.java71 (MediaPlayer mp, int what, int extra) -> { in playWarningSound() argument
73 + ", and extra code: " + extra); in playWarningSound()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/ui/
DSortedArrayAdapterTest.java243 TestSortedArrayAdapter(int maxInitialCount, Object extra) { in TestSortedArrayAdapter() argument
245 if (extra != null) { in TestSortedArrayAdapter()
246 addExtraItem((TestData) extra); in TestSortedArrayAdapter()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DAboutFragment.java413 String extra = b.getString(CarrierConfigManager. in ciActionOnSysUpdate() local
419 if (!TextUtils.isEmpty(extra)) { in ciActionOnSysUpdate()
420 intent.putExtra(extra, extraVal); in ciActionOnSysUpdate()
423 " with extra " + extra + ", " + extraVal); in ciActionOnSysUpdate()
/packages/apps/TV/tuner/SampleDvbTuner/
DAndroid.bp59 "--extra-packages",
62 "--extra-packages",

12345