Home
last modified time | relevance | path

Searched defs:intent (Results 1 – 25 of 784) sorted by relevance

12345678910>>...32

/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DWizardManagerHelperTest.java30 final Intent intent = new Intent("test.intent.ACTION"); in testGetNextIntent() local
58 final Intent intent = new Intent(); in testIsSetupWizardTrue() local
66 final Intent intent = new Intent(); in testIsSetupWizardFalse() local
74 final Intent intent = new Intent(); in testHoloIsNotLightTheme() local
82 final Intent intent = new Intent(); in testHoloLightIsLightTheme() local
90 final Intent intent = new Intent(); in testMaterialIsNotLightTheme() local
98 final Intent intent = new Intent(); in testMaterialLightIsLightTheme() local
106 final Intent intent = new Intent(); in testMaterialBlueIsNotLightTheme() local
114 final Intent intent = new Intent(); in testMaterialBlueLightIsLightTheme() local
122 final Intent intent = new Intent(); in testGlifIsDarkTheme() local
[all …]
/frameworks/base/core/java/android/app/admin/
DDeviceAdminReceiver.java408 public void onEnabled(Context context, Intent intent) { in onEnabled()
422 public CharSequence onDisableRequested(Context context, Intent intent) { in onDisableRequested()
434 public void onDisabled(Context context, Intent intent) { in onDisabled()
445 public void onPasswordChanged(Context context, Intent intent) { in onPasswordChanged()
456 public void onPasswordFailed(Context context, Intent intent) { in onPasswordFailed()
467 public void onPasswordSucceeded(Context context, Intent intent) { in onPasswordSucceeded()
488 public void onPasswordExpiring(Context context, Intent intent) { in onPasswordExpiring()
513 public void onProfileProvisioningComplete(Context context, Intent intent) { in onProfileProvisioningComplete()
526 public void onReadyForUserInitialization(Context context, Intent intent) { in onReadyForUserInitialization()
536 public void onLockTaskModeEntering(Context context, Intent intent, String pkg) { in onLockTaskModeEntering()
[all …]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java356 private void initActivity(Intent intent) { in initActivity()
375 Intent intent = new Intent(mInstrumentation.getContext(), GridActivity.class); in testThreeRowHorizontalBasic() local
445 Intent intent = new Intent(mInstrumentation.getContext(), GridActivity.class); in testItemDecorationAndMargins() local
498 Intent intent = new Intent(mInstrumentation.getContext(), GridActivity.class); in testItemDecorationAndMarginsAndOpticalBounds() local
562 Intent intent = new Intent(mInstrumentation.getContext(), GridActivity.class); in testThreeColumnVerticalBasic() local
579 Intent intent = new Intent(mInstrumentation.getContext(), GridActivity.class); in testRedundantAppendRemove() local
608 Intent intent = new Intent(mInstrumentation.getContext(), GridActivity.class); in testRedundantAppendRemove2() local
651 Intent intent = new Intent(mInstrumentation.getContext(), GridActivity.class); in testItemMovedHorizontal() local
674 Intent intent = new Intent(mInstrumentation.getContext(), GridActivity.class); in testItemMovedVertical() local
698 Intent intent = new Intent(mInstrumentation.getContext(), GridActivity.class); in testItemAddRemoveHorizontal() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DBroadcastInterceptingContext.java56 public boolean dispatchBroadcast(Intent intent) { in dispatchBroadcast()
125 public void sendBroadcast(Intent intent) { in sendBroadcast()
138 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast()
143 public void sendBroadcastMultiplePermissions(Intent intent, String[] receiverPermissions) { in sendBroadcastMultiplePermissions()
148 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser()
153 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser()
159 public void sendStickyBroadcast(Intent intent) { in sendStickyBroadcast()
164 public void sendStickyBroadcastAsUser(Intent intent, UserHandle user) { in sendStickyBroadcastAsUser()
169 public void sendStickyBroadcastAsUser(Intent intent, UserHandle user, Bundle options) { in sendStickyBroadcastAsUser()
174 public void removeStickyBroadcast(Intent intent) { in removeStickyBroadcast()
/frameworks/support/compat/java/android/support/v4/app/
DRemoteInput.java192 public static Bundle getResultsFromIntent(Intent intent) { in getResultsFromIntent()
207 public static void addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, in addResultsToIntent()
215 Bundle getResultsFromIntent(Intent intent); in getResultsFromIntent()
216 void addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, in addResultsToIntent()
222 public Bundle getResultsFromIntent(Intent intent) { in getResultsFromIntent()
228 public void addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) { in addResultsToIntent()
235 public Bundle getResultsFromIntent(Intent intent) { in getResultsFromIntent()
240 public void addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) { in addResultsToIntent()
247 public Bundle getResultsFromIntent(Intent intent) { in getResultsFromIntent()
252 public void addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) { in addResultsToIntent()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DSampleMediaRouteProvider.java288 public boolean onControlRequest(Intent intent, ControlRequestCallback callback) { in onControlRequest()
345 private boolean handlePlay(Intent intent, ControlRequestCallback callback) { in handlePlay()
357 private boolean handleEnqueue(Intent intent, ControlRequestCallback callback) { in handleEnqueue()
402 private boolean handleRemove(Intent intent, ControlRequestCallback callback) { in handleRemove()
424 private boolean handleSeek(Intent intent, ControlRequestCallback callback) { in handleSeek()
448 private boolean handleGetStatus(Intent intent, ControlRequestCallback callback) { in handleGetStatus()
467 private boolean handlePause(Intent intent, ControlRequestCallback callback) { in handlePause()
482 private boolean handleResume(Intent intent, ControlRequestCallback callback) { in handleResume()
497 private boolean handleStop(Intent intent, ControlRequestCallback callback) { in handleStop()
512 private boolean handleStartSession(Intent intent, ControlRequestCallback callback) { in handleStartSession()
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DLauncherActivity.java63 Intent intent = findTask(activities); in onCreate() local
76 Intent intent = task.getTaskInfo().baseIntent; in findTask() local
86 Intent intent = createLaunchIntent(this); in startTask() local
94 private void restoreTask(Intent intent) { in restoreTask()
101 Intent intent = new Intent(activity, FilesActivity.class); in createLaunchIntent() local
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalService.java52 public void onStart(Intent intent, int startId) { in onStart()
87 public IBinder onBind(Intent intent) { in onBind()
93 public boolean onUnbind(Intent intent) { in onUnbind()
109 public void onRebind(Intent intent) { in onRebind()
/frameworks/base/location/java/android/location/
DSettingInjectorService.java136 public final IBinder onBind(Intent intent) { in onBind()
141 public final void onStart(Intent intent, int startId) { in onStart()
146 public final int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
152 private void onHandleIntent(Intent intent) { in onHandleIntent()
171 private void sendStatus(Intent intent, boolean enabled) { in sendStatus()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DTestUtil.java52 Intent intent = new Intent(WifiManager.NETWORK_STATE_CHANGED_ACTION); in sendNetworkStateChanged() local
64 Intent intent = new Intent(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in sendScanResultsAvailable() local
73 Intent intent = new Intent(WifiManager.WIFI_SCAN_AVAILABLE); in sendWifiScanAvailable() local
83 Intent intent = new Intent(WifiManager.WIFI_STATE_CHANGED_ACTION); in sendWifiStateChanged() local
93 Intent intent = new Intent(ConnectivityManager.ACTION_TETHER_STATE_CHANGED); in sendTetherStateChanged() local
/frameworks/support/customtabs/tests/src/android/support/customtabs/
DCustomTabsIntentTest.java40 Intent intent = customTabsIntent.intent; in testBareboneCustomTabIntent() local
55 Intent intent = new CustomTabsIntent.Builder().setToolbarColor(color).build().intent; in testToolbarColor() local
64 Intent intent = new CustomTabsIntent.Builder().setToolbarColor(colorId).build().intent; in testToolbarColorIsNotAResource() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java57 void onReceive(Context context, Intent intent, BluetoothDevice device); in onReceive()
152 public void onReceive(Context context, Intent intent, in onReceive()
175 public void onReceive(Context context, Intent intent, in onReceive()
187 public void onReceive(Context context, Intent intent, in onReceive()
209 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
234 public void onReceive(Context context, Intent intent, in onReceive()
252 public void onReceive(Context context, Intent intent, in onReceive()
259 public void onReceive(Context context, Intent intent, in onReceive()
333 public void onReceive(Context context, Intent intent, in onReceive()
340 public void onReceive(Context context, Intent intent, in onReceive()
[all …]
DBluetoothDiscoverableTimeoutReceiver.java38 Intent intent = new Intent(INTENT_DISCOVERABLE_TIMEOUT); in setDiscoverableAlarm() local
59 Intent intent = new Intent(INTENT_DISCOVERABLE_TIMEOUT); in cancelDiscoverableAlarm() local
73 public void onReceive(Context context, Intent intent) { in onReceive()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DRemotePlaybackClient.java339 Intent intent = new Intent(action); in playOrEnqueue() local
384 Intent intent = new Intent(MediaControlIntent.ACTION_SEEK); in seek() local
415 Intent intent = new Intent(MediaControlIntent.ACTION_GET_STATUS); in getStatus() local
448 Intent intent = new Intent(MediaControlIntent.ACTION_REMOVE); in remove() local
475 Intent intent = new Intent(MediaControlIntent.ACTION_PAUSE); in pause() local
502 Intent intent = new Intent(MediaControlIntent.ACTION_RESUME); in resume() local
529 Intent intent = new Intent(MediaControlIntent.ACTION_STOP); in stop() local
558 Intent intent = new Intent(MediaControlIntent.ACTION_START_SESSION); in startSession() local
589 Intent intent = new Intent(MediaControlIntent.ACTION_SEND_MESSAGE); in sendMessage() local
618 Intent intent = new Intent(MediaControlIntent.ACTION_GET_SESSION_STATUS); in getSessionStatus() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DActivityStarter.java28 void startPendingIntentDismissingKeyguard(PendingIntent intent); in startPendingIntentDismissingKeyguard()
29 void startActivity(Intent intent, boolean dismissShade); in startActivity()
30 void startActivity(Intent intent, boolean dismissShade, Callback callback); in startActivity()
/frameworks/base/core/java/android/app/
DIntentService.java117 public void onStart(@Nullable Intent intent, int startId) { in onStart()
131 public int onStartCommand(@Nullable Intent intent, int flags, int startId) { in onStartCommand()
148 public IBinder onBind(Intent intent) { in onBind()
169 protected abstract void onHandleIntent(@Nullable Intent intent); in onHandleIntent()
/frameworks/base/core/java/com/android/internal/app/
DUnlaunchableAppActivity.java66 Intent intent = getIntent(); in onCreate() local
126 Intent intent = new Intent(); in createBaseIntent() local
133 Intent intent = createBaseIntent(); in createInQuietModeDialogIntent() local
140 Intent intent = createInQuietModeDialogIntent(userId); in createInQuietModeDialogIntent() local
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java446 public void sendBroadcast(Intent intent) { in sendBroadcast()
451 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast()
456 public void sendBroadcastMultiplePermissions(Intent intent, String[] receiverPermissions) { in sendBroadcastMultiplePermissions()
461 public void sendBroadcast(Intent intent, String receiverPermission, Bundle options) { in sendBroadcast()
466 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast()
471 public void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast()
476 public void sendOrderedBroadcast(Intent intent, String receiverPermission, in sendOrderedBroadcast()
484 public void sendOrderedBroadcast(Intent intent, String receiverPermission, Bundle options, in sendOrderedBroadcast()
493 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast()
502 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser()
[all …]
/frameworks/base/core/java/android/content/
DContextWrapper.java355 public void startActivity(Intent intent) { in startActivity()
361 public void startActivityAsUser(Intent intent, UserHandle user) { in startActivityAsUser()
367 String who, Intent intent, int requestCode, Bundle options) { in startActivityForResult()
377 public void startActivity(Intent intent, Bundle options) { in startActivity()
383 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) { in startActivityAsUser()
404 public void startIntentSender(IntentSender intent, in startIntentSender()
412 public void startIntentSender(IntentSender intent, in startIntentSender()
420 public void sendBroadcast(Intent intent) { in sendBroadcast()
425 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast()
431 public void sendBroadcastMultiplePermissions(Intent intent, String[] receiverPermissions) { in sendBroadcastMultiplePermissions()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java294 Intent intent = createStringsUpdatedIntent(true /* showSpn */, in testOnReceive_stringsUpdatedAction_spn() local
307 Intent intent = createStringsUpdatedIntent(false /* showSpn */, in testOnReceive_stringsUpdatedAction_plmn() local
318 Intent intent = createStringsUpdatedIntent(false /* showSpn */, in testOnReceive_stringsUpdatedAction_bothFalse() local
332 Intent intent = createStringsUpdatedIntent(true /* showSpn */, in testOnReceive_stringsUpdatedAction_bothTrueAndNull() local
348 Intent intent = createStringsUpdatedIntent(true /* showSpn */, in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull() local
364 Intent intent = new Intent(); in createStringsUpdatedIntent() local
/frameworks/support/compat/api20/android/support/v4/app/
DRemoteInputCompatApi20.java55 static Bundle getResultsFromIntent(Intent intent) { in getResultsFromIntent()
60 Intent intent, Bundle results) { in addResultsToIntent()
61 RemoteInput.addResultsToIntent(fromCompat(remoteInputs), intent, results); in addResultsToIntent() local
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java303 public void startActivity(Intent intent) { in startActivity()
308 public void startActivity(Intent intent, Bundle options) { in startActivity()
323 public void startIntentSender(IntentSender intent, in startIntentSender()
330 public void startIntentSender(IntentSender intent, in startIntentSender()
337 public void sendBroadcast(Intent intent) { in sendBroadcast()
342 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast()
348 public void sendBroadcastMultiplePermissions(Intent intent, String[] receiverPermissions) { in sendBroadcastMultiplePermissions()
355 public void sendBroadcast(Intent intent, String receiverPermission, Bundle options) { in sendBroadcast()
361 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast()
366 public void sendOrderedBroadcast(Intent intent, in sendOrderedBroadcast()
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/
DFileOperations.java111 Intent intent = new Intent(activity, FileOperationService.class); in cancel() local
124 Intent intent = createBaseIntent(OPERATION_COPY, activity, jobId, srcDocs, destination); in copy() local
149 Intent intent = createBaseIntent(OPERATION_MOVE, activity, jobId, srcDocs, srcParent, in move() local
175 Intent intent = createBaseIntent(OPERATION_DELETE, activity, jobId, srcDocs, srcParent, in delete() local
194 Intent intent = new Intent(context, FileOperationService.class); in createBaseIntent() local
216 Intent intent = new Intent(context, FileOperationService.class); in createBaseIntent() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java469 final PendingIntent intent; in onMoveProgress() local
517 final PendingIntent intent; in onMoveFinished() local
575 final Intent intent = new Intent(); in buildInitPendingIntent() local
586 final Intent intent = new Intent(); in buildInitPendingIntent() local
597 final Intent intent = new Intent(); in buildUnmountPendingIntent() local
608 final Intent intent = vol.buildBrowseIntent(); in buildBrowsePendingIntent() local
616 final Intent intent = new Intent(); in buildVolumeSettingsPendingIntent() local
637 final Intent intent = new Intent(ACTION_SNOOZE_VOLUME); in buildSnoozeIntent() local
646 final Intent intent = new Intent(); in buildForgetPendingIntent() local
657 final Intent intent = new Intent(); in buildWizardMigratePendingIntent() local
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java289 public void sendBroadcast(Intent intent) { in sendBroadcast()
300 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast()
306 public void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast()
312 public void sendOrderedBroadcast(Intent intent, String receiverPermission, in sendOrderedBroadcast()
324 public void sendOrderedBroadcast(Intent intent, String receiverPermission, Bundle options, in sendOrderedBroadcast()
332 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast()
340 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser()
345 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser()
351 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser()
357 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, in sendOrderedBroadcastAsUser()
[all …]

12345678910>>...32