/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminReceiver.java | 554 public void onEnabled(@NonNull Context context, @NonNull Intent intent) { in onEnabled() argument 569 @NonNull Intent intent) { in onDisableRequested() argument 581 public void onDisabled(@NonNull Context context, @NonNull Intent intent) { in onDisabled() argument 596 public void onPasswordChanged(@NonNull Context context, @NonNull Intent intent) { in onPasswordChanged() argument 610 public void onPasswordChanged(@NonNull Context context, @NonNull Intent intent, in onPasswordChanged() argument 612 onPasswordChanged(context, intent); in onPasswordChanged() 627 public void onPasswordFailed(@NonNull Context context, @NonNull Intent intent) { in onPasswordFailed() argument 641 public void onPasswordFailed(@NonNull Context context, @NonNull Intent intent, in onPasswordFailed() argument 643 onPasswordFailed(context, intent); in onPasswordFailed() 658 public void onPasswordSucceeded(@NonNull Context context, @NonNull Intent intent) { in onPasswordSucceeded() argument [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | TestUtil.java | 39 Intent intent = new Intent(WifiManager.NETWORK_STATE_CHANGED_ACTION); in sendNetworkStateChanged() local 42 intent.putExtra(WifiManager.EXTRA_NETWORK_INFO, networkInfo); in sendNetworkStateChanged() 43 broadcastReceiver.onReceive(context, intent); in sendNetworkStateChanged() 51 Intent intent = new Intent(WifiManager.NETWORK_STATE_CHANGED_ACTION); in sendNetworkStateChanged() local 52 intent.putExtra(WifiManager.EXTRA_NETWORK_INFO, nwInfo); in sendNetworkStateChanged() 53 intent.putExtra(WifiManager.EXTRA_WIFI_INFO, wifiInfo); in sendNetworkStateChanged() 54 broadcastReceiver.onReceive(context, intent); in sendNetworkStateChanged() 62 Intent intent = new Intent(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in sendScanResultsAvailable() local 63 broadcastReceiver.onReceive(context, intent); in sendScanResultsAvailable() 71 Intent intent = new Intent(WifiManager.WIFI_SCAN_AVAILABLE); in sendWifiScanAvailable() local [all …]
|
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/ |
D | DemoModeController.java | 225 final Intent intent = new Intent("com.android.systemui.demo"); in exitDemoMode() local 226 intent.putExtra("command", "exit"); in exitDemoMode() 227 mContext.sendBroadcast(intent); in exitDemoMode() 234 final Intent intent = new Intent("com.android.systemui.demo"); 235 intent.putExtra("command", "status"); 236 intent.putExtra("volume", mStatusSlots < 1 ? "hide" 238 intent.putExtra("bluetooth", mStatusSlots < 3 ? "hide" 240 intent.putExtra("location", mStatusSlots < 5 ? "hide" : "show"); 241 intent.putExtra("alarm", mStatusSlots < 6 ? "hide" : "show"); 242 intent.putExtra("sync", mStatusSlots < 7 ? "hide" : "show"); [all …]
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | WizardManagerHelperTest.java | 49 final Intent intent = new Intent("test.intent.ACTION"); in testGetNextIntent() local 50 intent.putExtra("scriptUri", "android-resource://test-script"); in testGetNextIntent() 51 intent.putExtra("actionId", "test_action_id"); in testGetNextIntent() 52 intent.putExtra("theme", "test_theme"); in testGetNextIntent() 53 intent.putExtra("ignoreExtra", "poof"); // extra is ignored because it's not known in testGetNextIntent() 58 final Intent nextIntent = WizardManagerHelper.getNextIntent(intent, Activity.RESULT_OK, data); in testGetNextIntent() 84 final Intent intent = new Intent(); in testIsSetupWizardTrue() local 85 intent.putExtra("firstRun", true); in testIsSetupWizardTrue() 87 .that(WizardManagerHelper.isSetupWizardIntent(intent)) in testIsSetupWizardTrue() 93 final Intent intent = new Intent(); in testIsDeferredSetupTrue() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ActivityStarterDelegate.java | 40 public void startPendingIntentDismissingKeyguard(PendingIntent intent) { in startPendingIntentDismissingKeyguard() argument 44 mActualStarter.startPendingIntentDismissingKeyguard(intent); in startPendingIntentDismissingKeyguard() 48 public void startPendingIntentDismissingKeyguard(PendingIntent intent, in startPendingIntentDismissingKeyguard() argument 53 mActualStarter.startPendingIntentDismissingKeyguard(intent, intentSentCallback); in startPendingIntentDismissingKeyguard() 57 public void startPendingIntentDismissingKeyguard(PendingIntent intent, in startPendingIntentDismissingKeyguard() argument 62 mActualStarter.startPendingIntentDismissingKeyguard(intent, intentSentCallback, in startPendingIntentDismissingKeyguard() 67 public void startActivity(Intent intent, boolean onlyProvisioned, boolean dismissShade, in startActivity() argument 72 mActualStarter.startActivity(intent, onlyProvisioned, dismissShade, flags); in startActivity() 76 public void startActivity(Intent intent, boolean dismissShade) { in startActivity() argument 80 mActualStarter.startActivity(intent, dismissShade); in startActivity() [all …]
|
D | SliceBroadcastRelayHandler.java | 51 void handleIntent(Intent intent) { in handleIntent() argument 52 if (SliceBroadcastRelay.ACTION_REGISTER.equals(intent.getAction())) { in handleIntent() 53 Uri uri = intent.getParcelableExtra(SliceBroadcastRelay.EXTRA_URI); in handleIntent() 55 intent.getParcelableExtra(SliceBroadcastRelay.EXTRA_RECEIVER); in handleIntent() 56 IntentFilter filter = intent.getParcelableExtra(SliceBroadcastRelay.EXTRA_FILTER); in handleIntent() 59 } else if (SliceBroadcastRelay.ACTION_UNREGISTER.equals(intent.getAction())) { in handleIntent() 60 Uri uri = intent.getParcelableExtra(SliceBroadcastRelay.EXTRA_URI); in handleIntent() 84 public void onReceive(Context context, Intent intent) { 85 handleIntent(intent); 110 public void onReceive(Context context, Intent intent) { in onReceive() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | DemoModeFragment.java | 152 Intent intent = new Intent(DemoMode.ACTION_DEMO); in startDemoMode() local 154 intent.putExtra(DemoMode.EXTRA_COMMAND, DemoMode.COMMAND_ENTER); in startDemoMode() 155 getContext().sendBroadcast(intent); in startDemoMode() 157 intent.putExtra(DemoMode.EXTRA_COMMAND, DemoMode.COMMAND_CLOCK); in startDemoMode() 166 intent.putExtra("hhmm", demoTime); in startDemoMode() 167 getContext().sendBroadcast(intent); in startDemoMode() 169 intent.putExtra(DemoMode.EXTRA_COMMAND, DemoMode.COMMAND_NETWORK); in startDemoMode() 170 intent.putExtra("wifi", "show"); in startDemoMode() 171 intent.putExtra("mobile", "show"); in startDemoMode() 172 intent.putExtra("sims", "1"); in startDemoMode() [all …]
|
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
D | BroadcastInterceptingContext.java | 71 public boolean dispatchBroadcast(Intent intent) { in dispatchBroadcast() argument 72 if (mFilter.match(getContentResolver(), intent, false, TAG) > 0) { in dispatchBroadcast() 75 mReceiver.onReceive(context, intent); in dispatchBroadcast() 78 set(intent); in dispatchBroadcast() 104 final Intent intent = get(timeout, unit); in assertNotReceived() local 105 throw new AssertionError("Received intent: " + intent); in assertNotReceived() 155 public void sendBroadcast(Intent intent) { in sendBroadcast() argument 160 if (interceptor.dispatchBroadcast(intent)) { in sendBroadcast() 168 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() argument 169 sendBroadcast(intent); in sendBroadcast() [all …]
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ActivityTestMain.java | 88 Intent intent = new Intent(ActivityTestMain.this, SpamActivity.class); 94 startActivity(intent, options); 99 Intent intent = new Intent(ActivityTestMain.this, AlarmSpamReceiver.class); 100 intent.setAction("com.example.SPAM_ALARM=" + when); 102 0, intent, 0); 108 Intent intent = new Intent(ActivityTestMain.this, SlowReceiver.class); 109 intent.setAction(SLOW_RECEIVER_ACTION); 110 intent.putExtra(SLOW_RECEIVER_EXTRA, 1); 111 sendOrderedBroadcast(intent, null, mSlowReceiverCompletion, mHandler, 113 intent.putExtra(SLOW_RECEIVER_EXTRA, 2); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmMockContext.java | 257 public void sendBroadcast(Intent intent) { in sendBroadcast() argument 258 spiedContext.sendBroadcast(intent); in sendBroadcast() 262 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() argument 263 spiedContext.sendBroadcast(intent, receiverPermission); in sendBroadcast() 267 public void sendBroadcastMultiplePermissions(Intent intent, String[] receiverPermissions) { in sendBroadcastMultiplePermissions() argument 268 spiedContext.sendBroadcastMultiplePermissions(intent, receiverPermissions); in sendBroadcastMultiplePermissions() 272 public void sendBroadcastAsUserMultiplePermissions(Intent intent, UserHandle user, in sendBroadcastAsUserMultiplePermissions() argument 274 spiedContext.sendBroadcastAsUserMultiplePermissions(intent, user, receiverPermissions); in sendBroadcastAsUserMultiplePermissions() 278 public void sendBroadcast(Intent intent, String receiverPermission, Bundle options) { in sendBroadcast() argument 279 spiedContext.sendBroadcast(intent, receiverPermission, options); in sendBroadcast() [all …]
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/util/ |
D | CarWizardManagerHelperTest.java | 45 Intent intent = new Intent(); in testGetNextIntentWithNullData() local 47 Intent nextIntent = CarWizardManagerHelper.getNextIntent(intent, 1); in testGetNextIntentWithNullData() 58 Intent intent = new Intent(); in testGetNextIntentWithData() local 62 Intent nextIntent = CarWizardManagerHelper.getNextIntent(intent, 1, data); in testGetNextIntentWithData() 99 Intent intent = new Intent(); in testIsSetupWizardIntentTrue() local 100 intent.putExtra(CarWizardManagerHelper.EXTRA_IS_FIRST_RUN, true); in testIsSetupWizardIntentTrue() 102 assertThat(CarWizardManagerHelper.isSetupWizardIntent(intent)).isTrue(); in testIsSetupWizardIntentTrue() 110 Intent intent = new Intent(); in testIsSetupWizardIntentFalse() local 111 intent.putExtra(CarWizardManagerHelper.EXTRA_IS_FIRST_RUN, false); in testIsSetupWizardIntentFalse() 113 assertThat(CarWizardManagerHelper.isSetupWizardIntent(intent)).isFalse(); in testIsSetupWizardIntentFalse() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | SliceBroadcastRelayHandlerTest.java | 58 Intent intent = new Intent(SliceBroadcastRelay.ACTION_REGISTER); in testRegister() local 59 intent.putExtra(SliceBroadcastRelay.EXTRA_URI, ContentProvider.maybeAddUserId(testUri, 0)); in testRegister() 60 intent.putExtra(SliceBroadcastRelay.EXTRA_RECEIVER, in testRegister() 63 intent.putExtra(SliceBroadcastRelay.EXTRA_FILTER, value); in testRegister() 64 intent.putExtra(SliceBroadcastRelay.EXTRA_URI, testUri); in testRegister() 66 relayHandler.handleIntent(intent); in testRegister() 80 Intent intent = new Intent(SliceBroadcastRelay.ACTION_REGISTER); in testUnregister() local 81 intent.putExtra(SliceBroadcastRelay.EXTRA_URI, ContentProvider.maybeAddUserId(testUri, 0)); in testUnregister() 82 intent.putExtra(SliceBroadcastRelay.EXTRA_RECEIVER, in testUnregister() 85 intent.putExtra(SliceBroadcastRelay.EXTRA_FILTER, value); in testUnregister() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | BroadcastTest.java | 109 Intent intent = new Intent(action, null); in makeBroadcastIntent() local 110 intent.putExtra("caller", mCallTarget); in makeBroadcastIntent() 111 return intent; in makeBroadcastIntent() 119 public final void gotReceive(String name, Intent intent) { in gotReceive() argument 133 if (mExpectedData[i].equals(intent.getStringExtra("test"))) { in gotReceive() 145 + intent.getStringExtra("test")); in gotReceive() 148 + intent.getStringExtra("test")); in gotReceive() 195 public void onRegisteredReceiver(Intent intent) { in onRegisteredReceiver() argument 196 gotReceive(RECEIVER_REG, intent); in onRegisteredReceiver() 226 public void onReceive(Context context, Intent intent) { [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | IntentForwarderActivityTest.java | 141 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class); in forwardToManagedProfile_canForward_sendIntent() local 142 intent.setAction(Intent.ACTION_SEND); in forwardToManagedProfile_canForward_sendIntent() 143 intent.setType(TYPE_PLAIN_TEXT); in forwardToManagedProfile_canForward_sendIntent() 144 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_canForward_sendIntent() 175 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class); in forwardToManagedProfile_cannotForward_sendIntent() local 176 intent.setAction(Intent.ACTION_SEND); in forwardToManagedProfile_cannotForward_sendIntent() 177 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_cannotForward_sendIntent() 196 Intent intent = new Intent(mContext, IntentForwarderWrapperActivity.class); in forwardToManagedProfile_noManagedProfile_sendIntent() local 197 intent.setAction(Intent.ACTION_SEND); in forwardToManagedProfile_noManagedProfile_sendIntent() 198 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_noManagedProfile_sendIntent() [all …]
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 192 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) { in onHandleForceStop() argument 196 public void onHandleUserStop(Intent intent, int userHandle) { in onHandleUserStop() argument 317 String getPackageName(Intent intent) { in getPackageName() argument 318 Uri uri = intent.getData(); in getPackageName() 324 public void onReceive(Context context, Intent intent) { in onReceive() argument 325 mChangeUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, in onReceive() 328 Slog.w("PackageMonitor", "Intent broadcast does not contain user handle: " + intent); in onReceive() 337 String action = intent.getAction(); in onReceive() 339 String pkg = getPackageName(intent); in onReceive() 340 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | HelpUtilsTest.java | 91 Intent intent = new Intent(); in addIntentParameters_configTrue_argumentTrue() local 94 mContext, intent, null /* backupContext */, true /* sendPackageName */); in addIntentParameters_configTrue_argumentTrue() 96 assertThat(intent.getStringArrayExtra(HELP_INTENT_EXTRA_KEY)).asList() in addIntentParameters_configTrue_argumentTrue() 98 assertThat(intent.getStringArrayExtra(HELP_INTENT_NAME_KEY)).asList() in addIntentParameters_configTrue_argumentTrue() 100 assertThat(intent.getStringArrayExtra(FEEDBACK_INTENT_EXTRA_KEY)).asList() in addIntentParameters_configTrue_argumentTrue() 102 assertThat(intent.getStringArrayExtra(FEEDBACK_INTENT_NAME_KEY)).asList() in addIntentParameters_configTrue_argumentTrue() 109 Intent intent = new Intent(); in addIntentParameters_configTrue_argumentFalse() local 112 mContext, intent, null /* backupContext */, false /* sendPackageName */); in addIntentParameters_configTrue_argumentFalse() 114 assertThat(intent.hasExtra(HELP_INTENT_EXTRA_KEY)).isFalse(); in addIntentParameters_configTrue_argumentFalse() 115 assertThat(intent.hasExtra(HELP_INTENT_NAME_KEY)).isFalse(); in addIntentParameters_configTrue_argumentFalse() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 110 public void onReceive(Context context, Intent intent) { 112 final String fsUuid = intent.getStringExtra(VolumeRecord.EXTRA_FS_UUID); 119 public void onReceive(Context context, Intent intent) { 481 final PendingIntent intent; in onMoveProgress() local 483 intent = buildWizardMovePendingIntent(move); in onMoveProgress() 485 intent = buildWizardMigratePendingIntent(move); in onMoveProgress() 494 .setContentIntent(intent) in onMoveProgress() 530 final PendingIntent intent; in onMoveFinished() local 532 intent = buildWizardReadyPendingIntent(privateVol.getDisk()); in onMoveFinished() 534 intent = buildVolumeSettingsPendingIntent(privateVol); in onMoveFinished() [all …]
|
/frameworks/base/packages/SettingsLib/HelpUtils/src/com/android/settingslib/ |
D | HelpUtils.java | 109 final Intent intent = getHelpIntent(activity, helpUriString, backupContext); in prepareHelpMenuItem() local 113 if (intent != null) { in prepareHelpMenuItem() 125 activity.startActivityForResult(intent, 0); in prepareHelpMenuItem() 127 Log.e(TAG, "No activity found for intent: " + intent); in prepareHelpMenuItem() 151 Intent intent = Intent.parseUri(helpUriString, in getHelpIntent() local 153 addIntentParameters(context, intent, backupContext, true /* sendPackageName */); in getHelpIntent() 154 ComponentName component = intent.resolveActivity(context.getPackageManager()); in getHelpIntent() 156 return intent; in getHelpIntent() 157 } else if (intent.hasExtra(EXTRA_BACKUP_URI)) { in getHelpIntent() 159 return getHelpIntent(context, intent.getStringExtra(EXTRA_BACKUP_URI), in getHelpIntent() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | UnlaunchableAppActivity.java | 57 Intent intent = getIntent(); in onCreate() local 58 mReason = intent.getIntExtra(EXTRA_UNLAUNCHABLE_REASON, -1); in onCreate() 59 mUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); in onCreate() 60 mTarget = intent.getParcelableExtra(Intent.EXTRA_INTENT); in onCreate() 105 Intent intent = new Intent(); in createBaseIntent() local 106 intent.setComponent(new ComponentName("android", UnlaunchableAppActivity.class.getName())); in createBaseIntent() 107 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS); in createBaseIntent() 108 return intent; in createBaseIntent() 112 Intent intent = createBaseIntent(); in createInQuietModeDialogIntent() local 113 intent.putExtra(EXTRA_UNLAUNCHABLE_REASON, UNLAUNCHABLE_REASON_QUIET_MODE); in createInQuietModeDialogIntent() [all …]
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | MbmsDownloadReceiver.java | 142 public void onReceive(Context context, Intent intent) { in onReceive() argument 145 if (!verifyIntentContents(context, intent)) { in onReceive() 149 if (!Objects.equals(intent.getStringExtra(VendorUtils.EXTRA_TEMP_FILE_ROOT), in onReceive() 155 if (VendorUtils.ACTION_DOWNLOAD_RESULT_INTERNAL.equals(intent.getAction())) { in onReceive() 156 moveDownloadedFile(context, intent); in onReceive() 157 cleanupPostMove(context, intent); in onReceive() 158 } else if (VendorUtils.ACTION_FILE_DESCRIPTOR_REQUEST.equals(intent.getAction())) { in onReceive() 159 generateTempFiles(context, intent); in onReceive() 160 } else if (VendorUtils.ACTION_CLEANUP.equals(intent.getAction())) { in onReceive() 161 cleanupTempFiles(context, intent); in onReceive() [all …]
|
/frameworks/base/core/java/android/app/ |
D | PendingIntent.java | 206 void onSendFinished(PendingIntent pendingIntent, Intent intent, in onSendFinished() argument 234 public void performReceive(Intent intent, int resultCode, String data, in performReceive() argument 236 mIntent = intent; in performReceive() 265 void onMarshaled(PendingIntent intent, Parcel parcel, int flags); in onMarshaled() argument 310 Intent intent, @Flags int flags) { in getActivity() argument 311 return getActivity(context, requestCode, intent, flags, null); in getActivity() 343 @NonNull Intent intent, @Flags int flags, @Nullable Bundle options) { in getActivity() argument 345 String resolvedType = intent != null ? intent.resolveTypeIfNeeded( in getActivity() 348 intent.migrateExtraStreamToClipData(); in getActivity() 349 intent.prepareToLeaveProcess(context); in getActivity() [all …]
|
D | Instrumentation.java | 464 public Activity startActivitySync(Intent intent) { in startActivitySync() argument 465 return startActivitySync(intent, null /* options */); in startActivitySync() 493 public Activity startActivitySync(@NonNull Intent intent, @Nullable Bundle options) { in startActivitySync() argument 497 intent = new Intent(intent); in startActivitySync() 499 ActivityInfo ai = intent.resolveActivityInfo( in startActivitySync() 502 throw new RuntimeException("Unable to resolve activity for: " + intent); in startActivitySync() 510 + ai.processName + ": " + intent); in startActivitySync() 513 intent.setComponent(new ComponentName( in startActivitySync() 515 final ActivityWaiter aw = new ActivityWaiter(intent); in startActivitySync() 522 getTargetContext().startActivity(intent, options); in startActivitySync() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | DisplayColorProfile.cpp | 121 std::vector<RenderIntent> getRenderIntentCandidates(RenderIntent intent) { in getRenderIntentCandidates() argument 125 candidates.push_back(intent); in getRenderIntentCandidates() 130 if (hdrIntent == intent) { in getRenderIntentCandidates() 139 if (hdrIntent != intent) { in getRenderIntentCandidates() 146 if (sdrIntent != intent) { in getRenderIntentCandidates() 171 RenderIntent getHwcRenderIntent(const std::vector<RenderIntent>& hwcIntents, RenderIntent intent) { in getHwcRenderIntent() argument 172 std::vector<RenderIntent> candidates = getRenderIntentCandidates(intent); in getHwcRenderIntent() 283 for (auto intent : iter->second) { in populateColorModes() local 284 sdrRenderIntents.insert(intent); in populateColorModes() 289 for (auto intent : sdrRenderIntents) { in populateColorModes() local [all …]
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CarrierActionUtils.java | 60 public static void applyCarrierAction(int actionIdx, Intent intent, Context context) { in applyCarrierAction() argument 63 onEnableAllMeteredApns(intent, context); in applyCarrierAction() 66 onDisableAllMeteredApns(intent, context); in applyCarrierAction() 69 onDisableRadio(intent, context); in applyCarrierAction() 72 onEnableRadio(intent, context); in applyCarrierAction() 75 onShowCaptivePortalNotification(intent, context); in applyCarrierAction() 90 onRegisterDefaultNetworkAvail(intent, context); in applyCarrierAction() 93 onDeregisterDefaultNetworkAvail(intent, context); in applyCarrierAction() 96 onResetAllCarrierActions(intent, context); in applyCarrierAction() 103 private static void onDisableAllMeteredApns(Intent intent, Context context) { in onDisableAllMeteredApns() argument [all …]
|
/frameworks/base/location/java/android/location/ |
D | SettingInjectorService.java | 147 public final IBinder onBind(Intent intent) { in onBind() argument 152 public final void onStart(Intent intent, int startId) { in onStart() argument 153 super.onStart(intent, startId); in onStart() 157 public final int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 158 onHandleIntent(intent); in onStartCommand() 163 private void onHandleIntent(Intent intent) { in onHandleIntent() argument 173 sendStatus(intent, summary, enabled); in onHandleIntent() 181 private void sendStatus(Intent intent, String summary, boolean enabled) { in sendStatus() argument 182 Messenger messenger = intent.getParcelableExtra(MESSENGER_KEY); in sendStatus() 195 Log.d(TAG, mName + ": received " + intent + ", summary=" + summary in sendStatus() [all …]
|