Home
last modified time | relevance | path

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

12345678910>>...46

/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/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/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.java554 public void onEnabled(@NonNull Context context, @NonNull Intent intent) { in onEnabled()
569 @NonNull Intent intent) { in onDisableRequested()
581 public void onDisabled(@NonNull Context context, @NonNull Intent intent) { in onDisabled()
596 public void onPasswordChanged(@NonNull Context context, @NonNull Intent intent) { in onPasswordChanged()
610 public void onPasswordChanged(@NonNull Context context, @NonNull Intent intent, in onPasswordChanged()
627 public void onPasswordFailed(@NonNull Context context, @NonNull Intent intent) { in onPasswordFailed()
641 public void onPasswordFailed(@NonNull Context context, @NonNull Intent intent, in onPasswordFailed()
658 public void onPasswordSucceeded(@NonNull Context context, @NonNull Intent intent) { in onPasswordSucceeded()
672 public void onPasswordSucceeded(@NonNull Context context, @NonNull Intent intent, in onPasswordSucceeded()
699 public void onPasswordExpiring(@NonNull Context context, @NonNull Intent intent) { in onPasswordExpiring()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DActivityStarterDelegate.java47 public void startPendingIntentDismissingKeyguard(PendingIntent intent) { in startPendingIntentDismissingKeyguard()
53 public void startPendingIntentDismissingKeyguard(PendingIntent intent, in startPendingIntentDismissingKeyguard()
61 public void startPendingIntentDismissingKeyguard(PendingIntent intent, in startPendingIntentDismissingKeyguard()
69 public void startActivity(Intent intent, boolean onlyProvisioned, boolean dismissShade, in startActivity()
77 public void startActivity(Intent intent, boolean dismissShade) { in startActivity()
82 public void startActivity(Intent intent, boolean onlyProvisioned, boolean dismissShade) { in startActivity()
88 public void startActivity(Intent intent, boolean dismissShade, Callback callback) { in startActivity()
94 public void postStartActivityDismissingKeyguard(Intent intent, int delay) { in postStartActivityDismissingKeyguard()
100 public void postStartActivityDismissingKeyguard(PendingIntent intent) { in postStartActivityDismissingKeyguard()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DActivityStarter.java33 void startPendingIntentDismissingKeyguard(PendingIntent intent); in startPendingIntentDismissingKeyguard()
39 void startPendingIntentDismissingKeyguard(PendingIntent intent, in startPendingIntentDismissingKeyguard()
46 void startPendingIntentDismissingKeyguard(PendingIntent intent, in startPendingIntentDismissingKeyguard()
52 void startActivity(Intent intent, boolean onlyProvisioned, boolean dismissShade, int flags); in startActivity()
53 void startActivity(Intent intent, boolean dismissShade); in startActivity()
54 void startActivity(Intent intent, boolean onlyProvisioned, boolean dismissShade); in startActivity()
55 void startActivity(Intent intent, boolean dismissShade, Callback callback); in startActivity()
56 void postStartActivityDismissingKeyguard(Intent intent, int delay); in postStartActivityDismissingKeyguard()
57 void postStartActivityDismissingKeyguard(PendingIntent intent); in postStartActivityDismissingKeyguard()
/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.java71 public boolean dispatchBroadcast(Intent intent) { in dispatchBroadcast()
104 final Intent intent = get(timeout, unit); in assertNotReceived() local
155 public void sendBroadcast(Intent intent) { in sendBroadcast()
168 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast()
173 public void sendBroadcastMultiplePermissions(Intent intent, String[] receiverPermissions) { in sendBroadcastMultiplePermissions()
178 public void sendBroadcastAsUserMultiplePermissions(Intent intent, UserHandle user, in sendBroadcastAsUserMultiplePermissions()
184 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser()
189 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser()
195 public void sendStickyBroadcast(Intent intent) { in sendStickyBroadcast()
200 public void sendStickyBroadcastAsUser(Intent intent, UserHandle user) { in sendStickyBroadcastAsUser()
[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 sendBroadcastAsUserMultiplePermissions(Intent intent, UserHandle user, in sendBroadcastAsUserMultiplePermissions()
298 public void sendBroadcast(Intent intent, String receiverPermission, Bundle options) { in sendBroadcast()
303 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast()
308 public void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast()
313 public void sendOrderedBroadcast(Intent intent, String receiverPermission, in sendOrderedBroadcast()
321 public void sendOrderedBroadcast(Intent intent, String receiverPermission, Bundle options, in sendOrderedBroadcast()
330 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DTestUtil.java39 Intent intent = new Intent(WifiManager.NETWORK_STATE_CHANGED_ACTION); in sendNetworkStateChanged() local
51 Intent intent = new Intent(WifiManager.NETWORK_STATE_CHANGED_ACTION); in sendNetworkStateChanged() local
62 Intent intent = new Intent(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in sendScanResultsAvailable() local
71 Intent intent = new Intent(WifiManager.WIFI_STATE_CHANGED_ACTION); in sendWifiStateChanged() local
82 Intent intent = new Intent(WifiManager.WIFI_AP_STATE_CHANGED_ACTION); in sendWifiApStateChanged() local
99 Intent intent = new Intent(ConnectivityManager.ACTION_TETHER_STATE_CHANGED); in sendTetherStateChanged() local
106 Intent intent = new Intent(PowerManager.ACTION_DEVICE_IDLE_MODE_CHANGED); in sendIdleModeChanged() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java71 Intent intent = new Intent(PowerManager.ACTION_POWER_SAVE_MODE_CHANGED); in testIndependentAODBatterySaver_true() local
75 mBatteryController.onReceive(getContext(), intent); in testIndependentAODBatterySaver_true() local
86 Intent intent = new Intent(PowerManager.ACTION_POWER_SAVE_MODE_CHANGED); in testIndependentAODBatterySaver_false() local
90 mBatteryController.onReceive(getContext(), intent); in testIndependentAODBatterySaver_false() local
/frameworks/base/packages/CarSystemUI/tests/src/com/android/systemui/car/voicerecognition/
DConnectedDeviceVoiceRecognitionNotifierTest.java62 Intent intent = new Intent(BluetoothHeadsetClient.ACTION_AG_EVENT); in testReceiveIntent_started_showToast() local
72 Intent intent = new Intent(BluetoothHeadsetClient.ACTION_AG_EVENT); in testReceiveIntent_invalidExtra_noToast() local
82 Intent intent = new Intent(BluetoothHeadsetClient.ACTION_AG_EVENT); in testReceiveIntent_noExtra_noToast() local
91 Intent intent = new Intent(BluetoothHeadsetClient.ACTION_AUDIO_STATE_CHANGED); in testReceiveIntent_invalidIntent_noToast() local
/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.java41 private void startService(Intent intent) { in startService()
53 final Intent intent = createServiceIntent(); in startServiceNotRunning() local
73 final Intent intent = createServiceIntent(); in startServiceProcessRunning() local
94 final Intent intent = createServiceIntent(); in startServiceAlreadyBound() local
118 final Intent intent = createServiceIntent(); in startServiceProcessRunningReadUriPermission() local
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java248 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testIgnoresSimStateCallback_rebroadcast() local
250 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast() local
256 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast() local
269 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testTelephonyCapable_SimState_Absent() local
280 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testTelephonyCapable_SimState_CardIOError() local
292 Intent intent = new Intent(Intent.ACTION_SERVICE_STATE); in testTelephonyCapable_SimInvalid_ServiceState_InService() local
307 Intent intent = new Intent(Intent.ACTION_SERVICE_STATE); in testTelephonyCapable_SimValid_ServiceState_PowerOff() local
329 Intent intent = new Intent(Intent.ACTION_SERVICE_STATE); in testTelephonyCapable_BootInitState_ServiceState_OutOfService() local
347 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testTelephonyCapable_BootInitState_SimState_NotReady() local
362 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testTelephonyCapable_BootInitState_SimState_Ready() local
[all …]
/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/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/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java65 void onReceive(Context context, Intent intent, BluetoothDevice device); in onReceive()
249 public void onReceive(Context context, Intent intent) { in onReceive()
262 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
283 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
292 public void onReceive(Context context, Intent intent, in onReceive()
321 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
330 public void onReceive(Context context, Intent intent, in onReceive()
337 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
403 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
412 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
[all …]
/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
/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/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/core/java/android/app/
DIntentService.java127 public void onStart(@Nullable Intent intent, int startId) { in onStart()
141 public int onStartCommand(@Nullable Intent intent, int flags, int startId) { in onStartCommand()
158 public IBinder onBind(Intent intent) { in onBind()
179 protected abstract void onHandleIntent(@Nullable Intent intent); in onHandleIntent()
/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()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DHelpUtilsTest.java96 Intent intent = new Intent(); in addIntentParameters_configTrue_argumentTrue() local
114 Intent intent = new Intent(); in addIntentParameters_configTrue_argumentFalse() local
128 Intent intent = new Intent(); in addIntentParameters_configFalse_argumentTrue() local
142 Intent intent = new Intent(); in addIntentParameters_configFalse_argumentFalse() local

12345678910>>...46