Home
last modified time | relevance | path

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

12345678910>>...43

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java141 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class); in forwardToManagedProfile_canForward_sendIntent() local
175 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class); in forwardToManagedProfile_cannotForward_sendIntent() local
196 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class); in forwardToManagedProfile_noManagedProfile_sendIntent() local
218 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class); in forwardToManagedProfile_canForward_chooserIntent() local
260 Intent intent = Intent.makeMainSelectorActivity( in forwardToManagedProfile_canForward_selectorIntent() local
287 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class) in shouldSkipDisclosure_notWhitelisted() local
302 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class) in shouldSkipDisclosure_withResolverActivity() local
315 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class) in shouldSkipDisclosure_callIntent_call() local
327 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class) in shouldSkipDisclosure_callIntent_callPrivileged() local
339 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.java40 public void startPendingIntentDismissingKeyguard(PendingIntent intent) { in startPendingIntentDismissingKeyguard()
48 public void startPendingIntentDismissingKeyguard(PendingIntent intent, in startPendingIntentDismissingKeyguard()
57 public void startPendingIntentDismissingKeyguard(PendingIntent intent, in startPendingIntentDismissingKeyguard()
67 public void startActivity(Intent intent, boolean onlyProvisioned, boolean dismissShade, in startActivity()
76 public void startActivity(Intent intent, boolean dismissShade) { in startActivity()
84 public void startActivity(Intent intent, boolean onlyProvisioned, boolean dismissShade) { in startActivity()
92 public void startActivity(Intent intent, boolean dismissShade, Callback callback) { in startActivity()
100 public void postStartActivityDismissingKeyguard(Intent intent, int delay) { in postStartActivityDismissingKeyguard()
108 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/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_SCAN_AVAILABLE); in sendWifiScanAvailable() local
81 Intent intent = new Intent(WifiManager.WIFI_STATE_CHANGED_ACTION); in sendWifiStateChanged() local
92 Intent intent = new Intent(WifiManager.WIFI_AP_STATE_CHANGED_ACTION); in sendWifiApStateChanged() local
109 Intent intent = new Intent(ConnectivityManager.ACTION_TETHER_STATE_CHANGED); in sendTetherStateChanged() local
116 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.java61 Intent intent = new Intent(PowerManager.ACTION_POWER_SAVE_MODE_CHANGED); in testIndependentAODBatterySaver_true() local
65 mBatteryController.onReceive(getContext(), intent); in testIndependentAODBatterySaver_true() local
76 Intent intent = new Intent(PowerManager.ACTION_POWER_SAVE_MODE_CHANGED); in testIndependentAODBatterySaver_false() local
80 mBatteryController.onReceive(getContext(), intent); in testIndependentAODBatterySaver_false() local
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java148 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testIgnoresSimStateCallback_rebroadcast() local
150 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast() local
156 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast() local
169 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testTelephonyCapable_SimState_Absent() local
180 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testTelephonyCapable_SimState_CardIOError() local
192 Intent intent = new Intent(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in testTelephonyCapable_SimInvalid_ServiceState_InService() local
207 Intent intent = new Intent(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in testTelephonyCapable_SimValid_ServiceState_PowerOff() local
229 Intent intent = new Intent(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in testTelephonyCapable_BootInitState_ServiceState_OutOfService() local
247 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testTelephonyCapable_BootInitState_SimState_NotReady() local
262 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testTelephonyCapable_BootInitState_SimState_Ready() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java257 public void sendBroadcast(Intent intent) { in sendBroadcast()
262 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast()
267 public void sendBroadcastMultiplePermissions(Intent intent, String[] receiverPermissions) { in sendBroadcastMultiplePermissions()
272 public void sendBroadcastAsUserMultiplePermissions(Intent intent, UserHandle user, in sendBroadcastAsUserMultiplePermissions()
278 public void sendBroadcast(Intent intent, String receiverPermission, Bundle options) { in sendBroadcast()
283 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast()
288 public void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast()
293 public void sendOrderedBroadcast(Intent intent, String receiverPermission, in sendOrderedBroadcast()
301 public void sendOrderedBroadcast(Intent intent, String receiverPermission, Bundle options, in sendOrderedBroadcast()
310 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast()
[all …]
/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
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/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/packages/SystemUI/tests/src/com/android/systemui/
DSliceBroadcastRelayHandlerTest.java58 Intent intent = new Intent(SliceBroadcastRelay.ACTION_REGISTER); in testRegister() local
80 Intent intent = new Intent(SliceBroadcastRelay.ACTION_REGISTER); in testUnregister() local
107 Intent intent = new Intent(SliceBroadcastRelay.ACTION_UNREGISTER); in testUnregisterWithoutRegister() local
124 Intent intent = new Intent(SliceBroadcastRelay.ACTION_REGISTER); in testRelay() local
143 public void onReceive(Context context, Intent intent) { in onReceive()
/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/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DHelpUtilsTest.java91 Intent intent = new Intent(); in addIntentParameters_configTrue_argumentTrue() local
109 Intent intent = new Intent(); in addIntentParameters_configTrue_argumentFalse() local
123 Intent intent = new Intent(); in addIntentParameters_configFalse_argumentTrue() local
137 Intent intent = new Intent(); in addIntentParameters_configFalse_argumentFalse() local
/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/core/java/com/android/internal/app/
DIntentForwarderActivity.java153 private boolean shouldShowDisclosure(@Nullable ResolveInfo ri, Intent intent) { in shouldShowDisclosure()
164 private boolean isTextMessageIntent(Intent intent) { in isTextMessageIntent()
169 private boolean isDialerIntent(Intent intent) { in isDialerIntent()
177 private boolean isViewActionIntent(Intent intent) { in isViewActionIntent()
270 private void sanitizeIntent(Intent intent) { in sanitizeIntent()
306 public ResolveInfo resolveActivityAsUser(Intent intent, int flags, int userId) { in resolveActivityAsUser()
323 ResolveInfo resolveActivityAsUser(Intent intent, int flags, int userId); in resolveActivityAsUser()
DUnlaunchableAppActivity.java57 Intent intent = getIntent(); in onCreate() local
105 Intent intent = new Intent(); in createBaseIntent() local
112 Intent intent = createBaseIntent(); in createInQuietModeDialogIntent() local
119 Intent intent = createInQuietModeDialogIntent(userId); in createInQuietModeDialogIntent() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java65 void onReceive(Context context, Intent intent, BluetoothDevice device); in onReceive()
243 public void onReceive(Context context, Intent intent) { in onReceive()
256 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
277 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
286 public void onReceive(Context context, Intent intent, in onReceive()
315 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
324 public void onReceive(Context context, Intent intent, in onReceive()
331 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
397 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive()
406 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/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/core/instrumentation/
DMetricsFeatureProviderTest.java72 final Intent intent = new Intent(Intent.ACTION_ASSIST); in logDashboardStartIntent_intentHasNoComponent_shouldLog() local
86 final Intent intent = new Intent().setComponent(new ComponentName("pkg", "cls")); in logDashboardStartIntent_intentIsExternal_shouldLog() local
114 final Intent intent = new Intent() in getAttribution_set_shouldReturnAttribution() local

12345678910>>...43