Home
last modified time | relevance | path

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

12345678910>>...48

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java155 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class); in forwardToManagedProfile_canForward_sendIntent() local
189 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class); in forwardToManagedProfile_cannotForward_sendIntent() local
210 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class); in forwardToManagedProfile_noManagedProfile_sendIntent() local
228 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class); in launchInSameProfile_chooserIntent() local
266 Intent intent = Intent.makeMainSelectorActivity( in forwardToManagedProfile_canForward_selectorIntent() local
293 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class) in shouldSkipDisclosure_notWhitelisted() local
308 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class) in shouldSkipDisclosure_withResolverActivity() local
321 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class) in shouldSkipDisclosure_callIntent_call() local
333 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class) in shouldSkipDisclosure_callIntent_callPrivileged() local
345 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class) in shouldSkipDisclosure_callIntent_callEmergency() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsManagerServiceTest.java91 final Intent intent = new Intent(Intent.ACTION_VIEW, URI_PHOTO_1).addFlags(FLAG_READ); in testNeeded_normal_sameUser() local
109 final Intent intent = new Intent(Intent.ACTION_VIEW, URI_PHOTO_1).addFlags(FLAG_READ); in testNeeded_normal_differentUser() local
126 final Intent intent = new Intent(Intent.ACTION_VIEW, URI_PUBLIC).addFlags(FLAG_READ); in testNeeded_public() local
140 final Intent intent = new Intent(Intent.ACTION_VIEW, URI_PUBLIC).addFlags(FLAG_READ); in testNeeded_public_differentUser() local
157 final Intent intent = new Intent(Intent.ACTION_VIEW, URI_PRIVATE).addFlags(FLAG_READ); in testNeeded_private() local
172 final Intent intent = new Intent(Intent.ACTION_VIEW, URI_FORCE) in testNeeded_force() local
187 final Intent intent = new Intent(Intent.ACTION_VIEW, uri) in testNeeded_complex_top() local
193 final Intent intent = new Intent(Intent.ACTION_VIEW, uri) in testNeeded_complex_top() local
203 final Intent intent = new Intent(Intent.ACTION_VIEW, uri) in testNeeded_complex_top() local
223 final Intent intent = new Intent(Intent.ACTION_VIEW, uri) in testNeeded_complex_top_differentUser() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DActivityStarterDelegate.java50 public void startPendingIntentDismissingKeyguard(PendingIntent intent) { in startPendingIntentDismissingKeyguard()
56 public void startPendingIntentDismissingKeyguard(PendingIntent intent, in startPendingIntentDismissingKeyguard()
64 public void startPendingIntentDismissingKeyguard(PendingIntent intent, in startPendingIntentDismissingKeyguard()
72 public void startPendingIntentDismissingKeyguard(PendingIntent intent, in startPendingIntentDismissingKeyguard()
81 public void startActivity(Intent intent, boolean onlyProvisioned, boolean dismissShade, in startActivity()
89 public void startActivity(Intent intent, boolean dismissShade) { in startActivity()
94 public void startActivity(Intent intent, boolean dismissShade, in startActivity()
101 public void startActivity(Intent intent, boolean onlyProvisioned, boolean dismissShade) { in startActivity()
107 public void startActivity(Intent intent, boolean dismissShade, Callback callback) { in startActivity()
113 public void postStartActivityDismissingKeyguard(Intent intent, int delay) { in postStartActivityDismissingKeyguard()
[all …]
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DActivityStarter.java34 void startPendingIntentDismissingKeyguard(PendingIntent intent); in startPendingIntentDismissingKeyguard()
40 void startPendingIntentDismissingKeyguard(PendingIntent intent, in startPendingIntentDismissingKeyguard()
47 void startPendingIntentDismissingKeyguard(PendingIntent intent, in startPendingIntentDismissingKeyguard()
54 void startPendingIntentDismissingKeyguard(PendingIntent intent, in startPendingIntentDismissingKeyguard()
61 void startActivity(Intent intent, boolean onlyProvisioned, boolean dismissShade, int flags); in startActivity()
62 void startActivity(Intent intent, boolean dismissShade); in startActivity()
63 void startActivity(Intent intent, boolean dismissShade, in startActivity()
65 void startActivity(Intent intent, boolean onlyProvisioned, boolean dismissShade); in startActivity()
66 void startActivity(Intent intent, boolean dismissShade, Callback callback); in startActivity()
67 void postStartActivityDismissingKeyguard(Intent intent, int delay); in postStartActivityDismissingKeyguard()
[all …]
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DWizardManagerHelperTest.java49 final Intent intent = new Intent("test.intent.ACTION"); in testGetNextIntent() local
84 final Intent intent = new Intent(); in testIsSetupWizardTrue() local
93 final Intent intent = new Intent(); in testIsDeferredSetupTrue() local
102 final Intent intent = new Intent(); in testIsPreDeferredSetupTrue() local
111 final Intent intent = new Intent(); in testIsSetupWizardFalse() local
126 Intent intent = new Intent(); in isLightTheme_shouldReturnTrue_whenThemeIsLight() local
149 Intent intent = new Intent(); in isLightTheme_shouldReturnFalse_whenThemeIsNotLight() local
168 Intent intent = new Intent(); in getThemeRes_whenOldestSupportedThemeTakeEffect_shouldReturnDefault() local
176 Intent intent = new Intent(); in getThemeRes_whenOldestSupportedThemeNotTakeEffect_shouldReturnCurrent() local
184 final Intent intent = new Intent(); in testIsLightThemeDefault() local
[all …]
/frameworks/base/core/java/android/app/admin/
DDeviceAdminReceiver.java596 public void onEnabled(@NonNull Context context, @NonNull Intent intent) { in onEnabled()
614 @NonNull Intent intent) { in onDisableRequested()
630 public void onDisabled(@NonNull Context context, @NonNull Intent intent) { in onDisabled()
648 public void onPasswordChanged(@NonNull Context context, @NonNull Intent intent) { in onPasswordChanged()
662 public void onPasswordChanged(@NonNull Context context, @NonNull Intent intent, in onPasswordChanged()
679 public void onPasswordFailed(@NonNull Context context, @NonNull Intent intent) { in onPasswordFailed()
693 public void onPasswordFailed(@NonNull Context context, @NonNull Intent intent, in onPasswordFailed()
710 public void onPasswordSucceeded(@NonNull Context context, @NonNull Intent intent) { in onPasswordSucceeded()
724 public void onPasswordSucceeded(@NonNull Context context, @NonNull Intent intent, in onPasswordSucceeded()
751 public void onPasswordExpiring(@NonNull Context context, @NonNull Intent intent) { in onPasswordExpiring()
[all …]
DDelegatedAdminReceiver.java87 @NonNull Intent intent, int uid, @Nullable Uri uri, @Nullable String alias) { in onChoosePrivateKeyAlias()
117 public void onNetworkLogsAvailable(@NonNull Context context, @NonNull Intent intent, in onNetworkLogsAvailable()
145 public void onSecurityLogsAvailable(@NonNull Context context, @NonNull Intent intent) { in onSecurityLogsAvailable()
154 public final void onReceive(@NonNull Context context, @NonNull Intent intent) { in onReceive()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/util/
DCarWizardManagerHelperTest.java45 Intent intent = new Intent(); in testGetNextIntentWithNullData() local
58 Intent intent = new Intent(); in testGetNextIntentWithData() local
99 Intent intent = new Intent(); in testIsSetupWizardIntentTrue() local
110 Intent intent = new Intent(); in testIsSetupWizardIntentFalse() local
121 Intent intent = new Intent(); in testIsDeferredIntent_doesNotHaveExtra_shouldBeFalse() local
132 Intent intent = new Intent(); in testIsDeferredIntent_doesHaveExtra_shouldBeTrue() local
143 Intent intent = new Intent(); in testIsDealerIntentTrue() local
154 Intent intent = new Intent(); in testIsDealerIntentFalse() local
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBroadcastInterceptingContext.java75 public boolean dispatchBroadcast(Intent intent) { in dispatchBroadcast()
112 final Intent intent = get(timeout, unit); in assertNotReceived() local
176 public void sendBroadcast(Intent intent) { in sendBroadcast()
189 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast()
194 public void sendBroadcastMultiplePermissions(Intent intent, String[] receiverPermissions) { in sendBroadcastMultiplePermissions()
199 public void sendBroadcastMultiplePermissions(Intent intent, String[] receiverPermissions, in sendBroadcastMultiplePermissions()
205 public void sendBroadcastAsUserMultiplePermissions(Intent intent, UserHandle user, in sendBroadcastAsUserMultiplePermissions()
211 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser()
216 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser()
222 public void sendStickyBroadcast(Intent intent) { in sendStickyBroadcast()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java277 public void sendBroadcast(Intent intent) { in sendBroadcast()
282 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast()
287 public void sendBroadcastMultiplePermissions(Intent intent, String[] receiverPermissions) { in sendBroadcastMultiplePermissions()
292 public void sendBroadcastMultiplePermissions(Intent intent, String[] receiverPermissions, in sendBroadcastMultiplePermissions()
298 public void sendBroadcastAsUserMultiplePermissions(Intent intent, UserHandle user, in sendBroadcastAsUserMultiplePermissions()
304 public void sendBroadcast(Intent intent, String receiverPermission, Bundle options) { in sendBroadcast()
309 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast()
314 public void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast()
319 public void sendOrderedBroadcast(Intent intent, String receiverPermission, in sendOrderedBroadcast()
327 public void sendOrderedBroadcast(Intent intent, String receiverPermission, Bundle options, in sendOrderedBroadcast()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/
DMetricsFeatureProviderTest.java94 final Intent intent = new Intent(Intent.ACTION_ASSIST); in logClickedPreference_preferenceHasIntent_shouldLog() local
138 final Intent intent = new Intent(Intent.ACTION_ASSIST); in logStartedIntent_intentHasNoComponent_shouldLog() local
153 final Intent intent = new Intent().setComponent(new ComponentName("pkg", "cls")); in logStartedIntent_intentIsExternal_shouldLog() local
168 final Intent intent = new Intent().setComponent(new ComponentName("pkg", "cls")); in logStartedIntentWithProfile_isPersonalProfile_shouldTagPersonal() local
184 final Intent intent = new Intent().setComponent(new ComponentName("pkg", "cls")); in logStartedIntentWithProfile_isWorkProfile_shouldTagWork() local
214 final Intent intent = new Intent() in getAttribution_set_shouldReturnAttribution() local
/frameworks/base/location/java/android/location/
DSettingInjectorService.java147 public final IBinder onBind(Intent intent) { in onBind()
152 public final void onStart(Intent intent, int startId) { in onStart()
157 public final int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
163 private void onHandleIntent(Intent intent) { in onHandleIntent()
181 private void sendStatus(Intent intent, String summary, boolean enabled) { in sendStatus()
241 Intent intent = new Intent(ACTION_INJECTED_SETTING_CHANGED); in refreshSettings() local
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
DServiceStartPerfTest.java57 private void startService(Intent intent) { in startService()
69 final Intent intent = createServiceIntent(); in startServiceNotRunning() local
89 final Intent intent = createServiceIntent(); in startServiceProcessRunning() local
110 final Intent intent = createServiceIntent(); in startServiceAlreadyBound() local
134 final Intent intent = createServiceIntent(); in startServiceProcessRunningReadUriPermission() local
DBroadcastPerfTest.java37 final Intent intent = createBroadcastIntent( in manifestBroadcastRunning() local
53 final Intent intent = createBroadcastIntent( in manifestBroadcastNotRunning() local
71 final Intent intent = createBroadcastIntent( in registeredBroadcast() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSliceBroadcastRelayHandlerTest.java73 Intent intent = new Intent(SliceBroadcastRelay.ACTION_REGISTER); in testRegister() local
93 Intent intent = new Intent(SliceBroadcastRelay.ACTION_REGISTER); in testUnregister() local
118 Intent intent = new Intent(SliceBroadcastRelay.ACTION_UNREGISTER); in testUnregisterWithoutRegister() local
132 Intent intent = new Intent(SliceBroadcastRelay.ACTION_REGISTER); in testRelay() local
161 public void onReceive(Context context, Intent intent) { in onReceive()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarWizardManagerHelper.java63 Intent intent = new Intent(ACTION_NEXT); in getNextIntent() local
98 public static boolean isSetupWizardIntent(Intent intent) { in isSetupWizardIntent()
109 public static boolean isDeferredIntent(Intent intent) { in isDeferredIntent()
120 public static boolean isDealerIntent(Intent intent) { in isDealerIntent()
157 public static boolean isInitialSetupWizard(Intent intent) { in isInitialSetupWizard()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java81 Intent intent = new Intent(PowerManager.ACTION_POWER_SAVE_MODE_CHANGED); in testIndependentAODBatterySaver_true() local
85 mBatteryController.onReceive(getContext(), intent); in testIndependentAODBatterySaver_true() local
96 Intent intent = new Intent(PowerManager.ACTION_POWER_SAVE_MODE_CHANGED); in testIndependentAODBatterySaver_false() local
100 mBatteryController.onReceive(getContext(), intent); in testIndependentAODBatterySaver_false() local
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java298 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testIgnoresSimStateCallback_rebroadcast() local
300 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast() local
306 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast() local
319 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testTelephonyCapable_SimState_Absent() local
330 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testTelephonyCapable_SimState_CardIOError() local
342 Intent intent = new Intent(Intent.ACTION_SERVICE_STATE); in testTelephonyCapable_SimInvalid_ServiceState_InService() local
357 Intent intent = new Intent(Intent.ACTION_SERVICE_STATE); in testTelephonyCapable_SimValid_ServiceState_PowerOff() local
379 Intent intent = new Intent(Intent.ACTION_SERVICE_STATE); in testTelephonyCapable_BootInitState_ServiceState_OutOfService() local
397 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testTelephonyCapable_BootInitState_SimState_NotReady() local
412 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testTelephonyCapable_BootInitState_SimState_Ready() local
[all …]
/frameworks/base/errorprone/tests/res/android/content/
DContext.java28 public void sendBroadcast(Intent intent) { in sendBroadcast()
32 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast()
36 public void sendBroadcastWithMultiplePermissions(Intent intent, String[] receiverPermissions) { in sendBroadcastWithMultiplePermissions()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCarrierActionUtils.java60 public static void applyCarrierAction(int actionIdx, Intent intent, Context context) { in applyCarrierAction()
103 private static void onDisableAllMeteredApns(Intent intent, Context context) { in onDisableAllMeteredApns()
111 private static void onEnableAllMeteredApns(Intent intent, Context context) { in onEnableAllMeteredApns()
135 private static void onRegisterDefaultNetworkAvail(Intent intent, Context context) { in onRegisterDefaultNetworkAvail()
143 private static void onDeregisterDefaultNetworkAvail(Intent intent, Context context) { in onDeregisterDefaultNetworkAvail()
151 private static void onDisableRadio(Intent intent, Context context) { in onDisableRadio()
159 private static void onEnableRadio(Intent intent, Context context) { in onEnableRadio()
167 private static void onShowCaptivePortalNotification(Intent intent, Context context) { in onShowCaptivePortalNotification()
202 private static void onResetAllCarrierActions(Intent intent, Context context) { in onResetAllCarrierActions()
/frameworks/base/errorprone/tests/res/android/app/
DPendingIntent.java31 Intent intent, int flags) { in getActivity()
36 Intent intent, int flags, Bundle options, UserHandle user) { in getActivityAsUser()
51 Intent intent, int flags) { in getBroadcast()
56 Intent intent, int flags, UserHandle userHandle) { in getBroadcastAsUser()
61 Intent intent, int flags) { in getService()
66 Intent intent, int flags) { in getForegroundService()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java66 void onReceive(Context context, Intent intent, BluetoothDevice device); in onReceive()
250 public void onReceive(Context context, Intent intent) { in onReceive()
263 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
284 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
293 public void onReceive(Context context, Intent intent, in onReceive()
316 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
325 public void onReceive(Context context, Intent intent, in onReceive()
332 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
401 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
410 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverySnapshotListenersStorage.java50 int recoveryAgentUid, @Nullable PendingIntent intent) { in setSnapshotListener()
75 PendingIntent intent = mAgentIntents.get(recoveryAgentUid); in recoverySnapshotAvailable() local
90 private synchronized void tryToSendIntent(int recoveryAgentUid, PendingIntent intent) { in tryToSendIntent()
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/
DTestService.java38 public IBinder onBind(Intent intent) { in onBind()
46 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
54 public boolean onUnbind(Intent intent) { in onUnbind()
/frameworks/base/core/java/com/android/internal/app/
DUnlaunchableAppActivity.java59 Intent intent = getIntent(); in onCreate() local
110 Intent intent = new Intent(); in createBaseIntent() local
117 Intent intent = createBaseIntent(); in createInQuietModeDialogIntent() local
124 Intent intent = createInQuietModeDialogIntent(userId); in createInQuietModeDialogIntent() local

12345678910>>...48