/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminReceiver.java | 484 public void onEnabled(Context context, Intent intent) { in onEnabled() argument 498 public CharSequence onDisableRequested(Context context, Intent intent) { in onDisableRequested() argument 510 public void onDisabled(Context context, Intent intent) { in onDisabled() argument 525 public void onPasswordChanged(Context context, Intent intent) { in onPasswordChanged() argument 539 public void onPasswordChanged(Context context, Intent intent, UserHandle user) { in onPasswordChanged() argument 540 onPasswordChanged(context, intent); in onPasswordChanged() 555 public void onPasswordFailed(Context context, Intent intent) { in onPasswordFailed() argument 569 public void onPasswordFailed(Context context, Intent intent, UserHandle user) { in onPasswordFailed() argument 570 onPasswordFailed(context, intent); in onPasswordFailed() 585 public void onPasswordSucceeded(Context context, Intent intent) { in onPasswordSucceeded() argument [all …]
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | WizardManagerHelperTest.java | 48 final Intent intent = new Intent("test.intent.ACTION"); in testGetNextIntent() local 49 intent.putExtra("scriptUri", "android-resource://test-script"); in testGetNextIntent() 50 intent.putExtra("actionId", "test_action_id"); in testGetNextIntent() 51 intent.putExtra("theme", "test_theme"); in testGetNextIntent() 52 intent.putExtra("ignoreExtra", "poof"); // extra is ignored because it's not known in testGetNextIntent() 58 WizardManagerHelper.getNextIntent(intent, Activity.RESULT_OK, data); in testGetNextIntent() 76 final Intent intent = new Intent(); in testIsSetupWizardTrue() local 77 intent.putExtra("firstRun", true); in testIsSetupWizardTrue() 79 WizardManagerHelper.isSetupWizardIntent(intent)); in testIsSetupWizardTrue() 84 final Intent intent = new Intent(); in testIsSetupWizardFalse() 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/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | TestUtil.java | 37 Intent intent = new Intent(WifiManager.NETWORK_STATE_CHANGED_ACTION); in sendNetworkStateChanged() local 40 intent.putExtra(WifiManager.EXTRA_NETWORK_INFO, networkInfo); in sendNetworkStateChanged() 41 broadcastReceiver.onReceive(context, intent); in sendNetworkStateChanged() 49 Intent intent = new Intent(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in sendScanResultsAvailable() local 50 broadcastReceiver.onReceive(context, intent); in sendScanResultsAvailable() 58 Intent intent = new Intent(WifiManager.WIFI_SCAN_AVAILABLE); in sendWifiScanAvailable() local 59 intent.putExtra(WifiManager.EXTRA_SCAN_AVAILABLE, scanAvailable); in sendWifiScanAvailable() 60 broadcastReceiver.onReceive(context, intent); in sendWifiScanAvailable() 68 Intent intent = new Intent(WifiManager.WIFI_STATE_CHANGED_ACTION); in sendWifiStateChanged() local 69 intent.putExtra(WifiManager.EXTRA_WIFI_STATE, wifiState); in sendWifiStateChanged() [all …]
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
D | AppBridge.java | 28 Intent intent = new Intent(ACTION_OSU_NOTIFICATION); in showOsuCount() local 29 intent.putExtra(OSU_COUNT, osuCount); in showOsuCount() 30 intent.setFlags( in showOsuCount() 33 mContext.startActivity(intent); in showOsuCount() 38 Intent intent = new Intent(ACTION_OSU_NOTIFICATION); in showStatus() local 39 intent.putExtra(SP_NAME, spName); in showStatus() 40 intent.putExtra(PROV_SUCCESS, status == OSUOperationStatus.ProvisioningSuccess); in showStatus() 42 intent.putExtra(PROV_MESSAGE, message); in showStatus() 44 intent.setFlags( in showStatus() 46 mContext.startActivity(intent); in showStatus() [all …]
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
D | GridWidgetTest.java | 375 private void initActivity(Intent intent) throws Throwable { in initActivity() argument 377 mActivity = mActivityTestRule.launchActivity(intent); in initActivity() 513 Intent intent = new Intent(); in testThreeRowHorizontalBasic() local 514 intent.putExtra(GridActivity.EXTRA_LAYOUT_RESOURCE_ID, R.layout.horizontal_grid); in testThreeRowHorizontalBasic() 515 intent.putExtra(GridActivity.EXTRA_NUM_ITEMS, 100); in testThreeRowHorizontalBasic() 516 initActivity(intent); in testThreeRowHorizontalBasic() 582 Intent intent = new Intent(); in testItemDecorationAndMargins() local 583 intent.putExtra(GridActivity.EXTRA_LAYOUT_RESOURCE_ID, R.layout.vertical_linear); in testItemDecorationAndMargins() 584 intent.putExtra(GridActivity.EXTRA_ITEMS, new int[]{itemHeight, itemHeight, itemHeight}); in testItemDecorationAndMargins() 585 intent.putExtra(GridActivity.EXTRA_LAYOUT_MARGINS, in testItemDecorationAndMargins() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | DemoModeFragment.java | 151 Intent intent = new Intent(DemoMode.ACTION_DEMO); in startDemoMode() local 153 intent.putExtra(DemoMode.EXTRA_COMMAND, DemoMode.COMMAND_ENTER); in startDemoMode() 154 getContext().sendBroadcast(intent); in startDemoMode() 156 intent.putExtra(DemoMode.EXTRA_COMMAND, DemoMode.COMMAND_CLOCK); in startDemoMode() 157 intent.putExtra("hhmm", "0700"); in startDemoMode() 158 getContext().sendBroadcast(intent); in startDemoMode() 160 intent.putExtra(DemoMode.EXTRA_COMMAND, DemoMode.COMMAND_NETWORK); in startDemoMode() 161 intent.putExtra("wifi", "show"); in startDemoMode() 162 intent.putExtra("mobile", "show"); in startDemoMode() 163 intent.putExtra("sims", "1"); in startDemoMode() [all …]
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | RemotePlaybackClient.java | 338 Intent intent = new Intent(action); in playOrEnqueue() local 339 intent.setDataAndType(contentUri, mimeType); in playOrEnqueue() 340 intent.putExtra(MediaControlIntent.EXTRA_ITEM_STATUS_UPDATE_RECEIVER, in playOrEnqueue() 343 intent.putExtra(MediaControlIntent.EXTRA_ITEM_METADATA, metadata); in playOrEnqueue() 346 intent.putExtra(MediaControlIntent.EXTRA_ITEM_CONTENT_POSITION, positionMillis); in playOrEnqueue() 348 performItemAction(intent, mSessionId, null, extras, callback); in playOrEnqueue() 383 Intent intent = new Intent(MediaControlIntent.ACTION_SEEK); in seek() local 384 intent.putExtra(MediaControlIntent.EXTRA_ITEM_CONTENT_POSITION, positionMillis); in seek() 385 performItemAction(intent, mSessionId, itemId, extras, callback); in seek() 414 Intent intent = new Intent(MediaControlIntent.ACTION_GET_STATUS); in getStatus() local [all …]
|
/frameworks/support/customtabs/tests/src/android/support/customtabs/ |
D | CustomTabsIntentTest.java | 46 Intent intent = customTabsIntent.intent; in testBareboneCustomTabIntent() local 47 assertNotNull(intent); in testBareboneCustomTabIntent() 50 assertEquals(Intent.ACTION_VIEW, intent.getAction()); in testBareboneCustomTabIntent() 51 assertTrue(intent.hasExtra(CustomTabsIntent.EXTRA_SESSION)); in testBareboneCustomTabIntent() 53 assertNull(intent.getExtras().getBinder(CustomTabsIntent.EXTRA_SESSION)); in testBareboneCustomTabIntent() 55 assertNull(intent.getComponent()); in testBareboneCustomTabIntent() 61 Intent intent = new CustomTabsIntent.Builder().setToolbarColor(color).build().intent; in testToolbarColor() local 62 assertTrue(intent.hasExtra(CustomTabsIntent.EXTRA_TOOLBAR_COLOR)); in testToolbarColor() 63 assertEquals(color, intent.getIntExtra(CustomTabsIntent.EXTRA_TOOLBAR_COLOR, 0)); in testToolbarColor() 70 Intent intent = new CustomTabsIntent.Builder().setToolbarColor(colorId).build().intent; in testToolbarColorIsNotAResource() local [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/support/compat/java/android/support/v4/app/ |
D | RemoteInput.java | 260 Intent intent, String remoteInputResultKey) { in getDataResultsFromIntent() argument 261 return IMPL.getDataResultsFromIntent(intent, remoteInputResultKey); in getDataResultsFromIntent() 272 public static Bundle getResultsFromIntent(Intent intent) { in getResultsFromIntent() argument 273 return IMPL.getResultsFromIntent(intent); in getResultsFromIntent() 287 public static void addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, in addResultsToIntent() argument 289 IMPL.addResultsToIntent(remoteInputs, intent, results); in addResultsToIntent() 300 public static void addDataResultToIntent(RemoteInput remoteInput, Intent intent, in addDataResultToIntent() argument 302 IMPL.addDataResultToIntent(remoteInput, intent, results); in addDataResultToIntent() 308 Bundle getResultsFromIntent(Intent intent); in getResultsFromIntent() argument 309 Map<String, Uri> getDataResultsFromIntent(Intent intent, String remoteInputResultKey); in getDataResultsFromIntent() argument [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/packages/SystemUI/src/com/android/systemui/ |
D | ActivityStarterDelegate.java | 31 public void startPendingIntentDismissingKeyguard(PendingIntent intent) { in startPendingIntentDismissingKeyguard() argument 33 mActualStarter.startPendingIntentDismissingKeyguard(intent); in startPendingIntentDismissingKeyguard() 37 public void startActivity(Intent intent, boolean dismissShade) { in startActivity() argument 39 mActualStarter.startActivity(intent, dismissShade); in startActivity() 43 public void startActivity(Intent intent, boolean onlyProvisioned, boolean dismissShade) { in startActivity() argument 45 mActualStarter.startActivity(intent, onlyProvisioned, dismissShade); in startActivity() 49 public void startActivity(Intent intent, boolean dismissShade, Callback callback) { in startActivity() argument 51 mActualStarter.startActivity(intent, dismissShade, callback); in startActivity() 55 public void postStartActivityDismissingKeyguard(Intent intent, int delay) { in postStartActivityDismissingKeyguard() argument 57 mActualStarter.postStartActivityDismissingKeyguard(intent, delay); in postStartActivityDismissingKeyguard() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | HelpUtilsTest.java | 94 Intent intent = new Intent(); in addIntentParameters_configTrue_argumentTrue() local 97 mContext, intent, null /* backupContext */, true /* sendPackageName */); in addIntentParameters_configTrue_argumentTrue() 99 assertThat(intent.getStringArrayExtra(HELP_INTENT_EXTRA_KEY)).asList() in addIntentParameters_configTrue_argumentTrue() 101 assertThat(intent.getStringArrayExtra(HELP_INTENT_NAME_KEY)).asList() in addIntentParameters_configTrue_argumentTrue() 103 assertThat(intent.getStringArrayExtra(FEEDBACK_INTENT_EXTRA_KEY)).asList() in addIntentParameters_configTrue_argumentTrue() 105 assertThat(intent.getStringArrayExtra(FEEDBACK_INTENT_NAME_KEY)).asList() in addIntentParameters_configTrue_argumentTrue() 112 Intent intent = new Intent(); in addIntentParameters_configTrue_argumentFalse() local 115 mContext, intent, null /* backupContext */, false /* sendPackageName */); in addIntentParameters_configTrue_argumentFalse() 117 assertThat(intent.hasExtra(HELP_INTENT_EXTRA_KEY)).isFalse(); in addIntentParameters_configTrue_argumentFalse() 118 assertThat(intent.hasExtra(HELP_INTENT_NAME_KEY)).isFalse(); in addIntentParameters_configTrue_argumentFalse() [all …]
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | SampleMediaRouteProvider.java | 288 public boolean onControlRequest(Intent intent, ControlRequestCallback callback) { in onControlRequest() argument 289 Log.d(TAG, mRouteId + ": Received control request " + intent); in onControlRequest() 290 String action = intent.getAction(); in onControlRequest() 291 if (intent.hasCategory(MediaControlIntent.CATEGORY_REMOTE_PLAYBACK)) { in onControlRequest() 294 success = handlePlay(intent, callback); in onControlRequest() 296 success = handleEnqueue(intent, callback); in onControlRequest() 298 success = handleRemove(intent, callback); in onControlRequest() 300 success = handleSeek(intent, callback); in onControlRequest() 302 success = handleGetStatus(intent, callback); in onControlRequest() 304 success = handlePause(intent, callback); in onControlRequest() [all …]
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 180 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) { in onHandleForceStop() argument 184 public void onHandleUserStop(Intent intent, int userHandle) { in onHandleUserStop() argument 299 String getPackageName(Intent intent) { in getPackageName() argument 300 Uri uri = intent.getData(); in getPackageName() 306 public void onReceive(Context context, Intent intent) { in onReceive() argument 307 mChangeUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, in onReceive() 310 Slog.w("PackageMonitor", "Intent broadcast does not contain user handle: " + intent); in onReceive() 319 String action = intent.getAction(); in onReceive() 321 String pkg = getPackageName(intent); in onReceive() 322 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() [all …]
|
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
D | MediaButtonReceiver.java | 97 public void onReceive(Context context, Intent intent) { in onReceive() argument 98 if (intent == null in onReceive() 99 || !Intent.ACTION_MEDIA_BUTTON.equals(intent.getAction()) in onReceive() 100 || !intent.hasExtra(Intent.EXTRA_KEY_EVENT)) { in onReceive() 101 Log.d(TAG, "Ignore unsupported intent: " + intent); in onReceive() 107 intent.setComponent(mediaButtonServiceComponentName); in onReceive() 108 startForegroundService(context, intent); in onReceive() 117 new MediaButtonConnectionCallback(applicationContext, intent, pendingResult); in onReceive() 136 MediaButtonConnectionCallback(Context context, Intent intent, PendingResult pendingResult) { in MediaButtonConnectionCallback() argument 138 mIntent = intent; in MediaButtonConnectionCallback() [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/src/com/android/settingslib/ |
D | HelpUtils.java | 111 final Intent intent = getHelpIntent(activity, helpUriString, backupContext); in prepareHelpMenuItem() local 115 if (intent != null) { in prepareHelpMenuItem() 121 intent.getStringExtra(EXTRA_CONTEXT)); in prepareHelpMenuItem() 123 activity.startActivityForResult(intent, 0); in prepareHelpMenuItem() 125 Log.e(TAG, "No activity found for intent: " + intent); in prepareHelpMenuItem() 149 Intent intent = Intent.parseUri(helpUriString, in getHelpIntent() local 151 addIntentParameters(context, intent, backupContext, true /* sendPackageName */); in getHelpIntent() 152 ComponentName component = intent.resolveActivity(context.getPackageManager()); in getHelpIntent() 154 return intent; in getHelpIntent() 155 } else if (intent.hasExtra(EXTRA_BACKUP_URI)) { in getHelpIntent() [all …]
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
D | BrowseSupportFragmentTest.java | 98 Intent intent = new Intent(); in testTwoBackKeysWithBackStack() local 99 intent.putExtra(BrowseSupportFragmentTestActivity.EXTRA_LOAD_DATA_DELAY, dataLoadingDelay); in testTwoBackKeysWithBackStack() 100 intent.putExtra(BrowseSupportFragmentTestActivity.EXTRA_ADD_TO_BACKSTACK , true); in testTwoBackKeysWithBackStack() 101 mActivity = activityTestRule.launchActivity(intent); in testTwoBackKeysWithBackStack() 114 Intent intent = new Intent(); in testTwoBackKeysWithoutBackStack() local 115 intent.putExtra(BrowseSupportFragmentTestActivity.EXTRA_LOAD_DATA_DELAY, dataLoadingDelay); in testTwoBackKeysWithoutBackStack() 116 intent.putExtra(BrowseSupportFragmentTestActivity.EXTRA_ADD_TO_BACKSTACK , false); in testTwoBackKeysWithoutBackStack() 117 mActivity = activityTestRule.launchActivity(intent); in testTwoBackKeysWithoutBackStack() 130 Intent intent = new Intent(); in testPressRightBeforeMainFragmentCreated() local 131 intent.putExtra(BrowseSupportFragmentTestActivity.EXTRA_LOAD_DATA_DELAY, dataLoadingDelay); in testPressRightBeforeMainFragmentCreated() [all …]
|
D | BrowseFragmentTest.java | 95 Intent intent = new Intent(); in testTwoBackKeysWithBackStack() local 96 intent.putExtra(BrowseFragmentTestActivity.EXTRA_LOAD_DATA_DELAY, dataLoadingDelay); in testTwoBackKeysWithBackStack() 97 intent.putExtra(BrowseFragmentTestActivity.EXTRA_ADD_TO_BACKSTACK , true); in testTwoBackKeysWithBackStack() 98 mActivity = activityTestRule.launchActivity(intent); in testTwoBackKeysWithBackStack() 111 Intent intent = new Intent(); in testTwoBackKeysWithoutBackStack() local 112 intent.putExtra(BrowseFragmentTestActivity.EXTRA_LOAD_DATA_DELAY, dataLoadingDelay); in testTwoBackKeysWithoutBackStack() 113 intent.putExtra(BrowseFragmentTestActivity.EXTRA_ADD_TO_BACKSTACK , false); in testTwoBackKeysWithoutBackStack() 114 mActivity = activityTestRule.launchActivity(intent); in testTwoBackKeysWithoutBackStack() 127 Intent intent = new Intent(); in testPressRightBeforeMainFragmentCreated() local 128 intent.putExtra(BrowseFragmentTestActivity.EXTRA_LOAD_DATA_DELAY, dataLoadingDelay); in testPressRightBeforeMainFragmentCreated() [all …]
|
/frameworks/base/core/java/android/app/ |
D | PendingIntent.java | 199 void onSendFinished(PendingIntent pendingIntent, Intent intent, in onSendFinished() argument 227 public void performReceive(Intent intent, int resultCode, String data, in performReceive() argument 229 mIntent = intent; in performReceive() 258 void onMarshaled(PendingIntent intent, Parcel parcel, int flags); in onMarshaled() argument 302 Intent intent, @Flags int flags) { in getActivity() argument 303 return getActivity(context, requestCode, intent, flags, null); in getActivity() 335 @NonNull Intent intent, @Flags int flags, @Nullable Bundle options) { in getActivity() argument 337 String resolvedType = intent != null ? intent.resolveTypeIfNeeded( in getActivity() 340 intent.migrateExtraStreamToClipData(); in getActivity() 341 intent.prepareToLeaveProcess(context); in getActivity() [all …]
|
D | Instrumentation.java | 430 public Activity startActivitySync(Intent intent) { in startActivitySync() argument 434 intent = new Intent(intent); in startActivitySync() 436 ActivityInfo ai = intent.resolveActivityInfo( in startActivitySync() 439 throw new RuntimeException("Unable to resolve activity for: " + intent); in startActivitySync() 447 + ai.processName + ": " + intent); in startActivitySync() 450 intent.setComponent(new ComponentName( in startActivitySync() 452 final ActivityWaiter aw = new ActivityWaiter(intent); in startActivitySync() 459 getTargetContext().startActivity(intent); in startActivitySync() 668 public ActivityResult onStartActivity(Intent intent) { in onStartActivity() argument 674 Intent intent) { in match() argument [all …]
|
/frameworks/support/compat/tests/java/android/support/v4/app/ |
D | JobIntentServiceTest.java | 65 public final Intent intent; field in JobIntentServiceTest.TestIntentItem 70 public TestIntentItem(Intent intent) { in TestIntentItem() argument 71 this.intent = intent; in TestIntentItem() 77 public TestIntentItem(Intent intent, TestIntentItem[] subitems) { in TestIntentItem() argument 78 this.intent = intent; in TestIntentItem() 80 intent.putExtra("subitems", subitems); in TestIntentItem() 85 public TestIntentItem(Intent intent, Uri[] requireUrisGranted, in TestIntentItem() argument 87 this.intent = intent; in TestIntentItem() 97 sb.append(intent); in toString() 109 intent.writeToParcel(parcel, flags); in writeToParcel() [all …]
|
/frameworks/base/location/java/android/location/ |
D | SettingInjectorService.java | 136 public final IBinder onBind(Intent intent) { in onBind() argument 141 public final void onStart(Intent intent, int startId) { in onStart() argument 142 super.onStart(intent, startId); in onStart() 146 public final int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 147 onHandleIntent(intent); in onStartCommand() 152 private void onHandleIntent(Intent intent) { in onHandleIntent() argument 160 sendStatus(intent, true); in onHandleIntent() 164 sendStatus(intent, enabled); in onHandleIntent() 171 private void sendStatus(Intent intent, boolean enabled) { in sendStatus() argument 178 Log.d(TAG, mName + ": received " + intent in sendStatus() [all …]
|