/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
SyncService.java | 20 import android.content.Intent; 69 * @param intent Calling intent 73 public IBinder onBind(Intent intent) {
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
BluetoothLeService.java | 30 import android.content.Intent; 118 final Intent intent = new Intent(action); local 119 sendBroadcast(intent); 124 final Intent intent = new Intent(action); local 141 intent.putExtra(EXTRA_DATA, String.valueOf(heartRate)); 149 intent.putExtra(EXTRA_DATA, new String(data) + "\n" + stringBuilder.toString()) [all...] |
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/ |
UpdateQuestionService.java | 25 import android.content.Intent; 70 protected void onHandleIntent(Intent intent) { 72 Uri dataItemUri = intent.getData(); 85 int questionIndex = intent.getIntExtra(EXTRA_QUESTION_INDEX, -1); 86 boolean chosenAnswerCorrect = intent.getBooleanExtra(EXTRA_QUESTION_CORRECT, false);
|
/device/sample/apps/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/ |
ClockWidgetProvider.java | 7 import android.content.Intent; 21 public void onReceive(Context context, Intent intent) { 22 String intentAction = intent.getAction(); 28 // a broadcast with this intent action is only fired when we are actually connected 31 int connectionStatus = intent.getIntExtra(EXTRA_INET_CONDITION, -551); 38 super.onReceive(context, intent);
|
/device/sample/apps/upgrade/src/com/example/android/platform/upgrade/ |
Upgrade.java | 22 import android.content.Intent; 34 public void onReceive(Context context, Intent intent) {
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowFragment.java | 3 import android.content.Intent; 49 public void startActivity(Intent intent) { 50 new FragmentActivity().startActivity(intent); 54 public void startActivityForResult(Intent intent, int requestCode) { 55 activity.startActivityForResult(intent, requestCode);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
TestService.java | 5 import android.content.Intent; 15 public IBinder onBind(Intent intent) {
|
/frameworks/base/core/java/android/content/ |
IntentSender.java | 31 * A description of an Intent and target action to perform with it. 40 * often, for example, the base Intent you supply will have the component 49 * same kind of IntentSender (same operation, same Intent action, data, 82 * calling {@link Context#sendOrderedBroadcast(Intent, String, 91 * @param intent The original Intent that was sent. 96 void onSendFinished(IntentSender IntentSender, Intent intent, 105 private Intent mIntent; 114 public void performReceive(Intent intent, int resultCode, String data [all...] |
/frameworks/base/core/java/android/service/quicksettings/ |
TileService.java | 27 import android.content.Intent; 72 * <intent-filter> 74 * </intent-filter> 87 * This intent may also define a {@link Intent#EXTRA_COMPONENT_NAME} value 307 public final void startActivityAndCollapse(Intent intent) { 308 startActivity(intent); 327 public IBinder onBind(Intent intent) { [all...] |
/frameworks/base/core/java/android/service/resolver/ |
ResolverRankerService.java | 23 import android.content.Intent; 36 * an Intent. 40 * intent filter with the {@link #SERVICE_INTERFACE} action. For example:</p> 46 * <intent-filter> 48 * </intent-filter> 61 * The Intent action that a service must respond to. Add it to the intent filter of the service 111 public IBinder onBind(Intent intent) { 112 if (DEBUG) Log.d(TAG, "onBind " + intent); [all...] |
/frameworks/base/core/java/android/view/autofill/ |
IAutoFillManagerClient.aidl | 21 import android.content.Intent; 48 void authenticate(int sessionId, int authenticationId, in IntentSender intent, 49 in Intent fillInIntent); 75 * Starts the provided intent sender. 77 void startIntentSender(in IntentSender intentSender, in Intent intent);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
SubActivityScreen.java | 21 import android.content.Intent; 49 Intent.FILL_IN_ACTION); 50 Intent res = new Intent(); 58 Intent intent = new Intent(); local 59 intent.setClass(this, SubActivityScreen.class); 60 intent.putExtra("mode", CHILD_OFFSET+mMode); 61 //System.out.println("*** Starting from onStart: " + intent); [all...] |
/frameworks/base/legacy-test/src/android/test/ |
AndroidTestCase.java | 21 import android.content.Intent; 101 final Intent intent = new Intent(); local 102 intent.setClassName(packageName, className); 103 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 106 getContext().startActivity(intent);
|
/frameworks/base/location/java/com/android/internal/location/ |
GpsNetInitiatedHandler.java | 26 import android.content.Intent; 57 public static final String ACTION_NI_VERIFY = "android.intent.action.NETWORK_INITIATED_VERIFY"; 59 // string constants for defining data fields in NI Intent 144 @Override public void onReceive(Context context, Intent intent) { 145 String action = intent.getAction(); 146 if (action.equals(Intent.ACTION_NEW_OUTGOING_CALL)) { 147 String phoneNumber = intent.getStringExtra(Intent.EXTRA_PHONE_NUMBER); 205 intentFilter.addAction(Intent.ACTION_NEW_OUTGOING_CALL) 385 Intent intent = !mPopupImmediately ? getDlgIntent(notif) : new Intent(); local 399 Intent intent = getDlgIntent(notif); local 412 Intent intent = new Intent(); local [all...] |
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
StorageBrowser.java | 21 import android.content.Intent; 115 Intent intent = new Intent(this, ObjectBrowser.class); local 116 intent.putExtra("device", mDeviceName); 117 intent.putExtra("storage", mStorageList.get(position).getStorageId()); 118 startActivity(intent);
|
/frameworks/base/packages/Osu2/src/com/android/osu/ |
NetworkConnection.java | 21 import android.content.Intent; 95 public void onReceive(Context context, Intent intent) { 96 String action = intent.getAction(); 99 intent.getParcelableExtra(WifiManager.EXTRA_NETWORK_INFO), 100 intent.getParcelableExtra(WifiManager.EXTRA_WIFI_INFO));
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
NotificationController.java | 28 import android.content.Intent; 274 Intent intent = new Intent(Settings.ACTION_PRINT_SETTINGS); local 276 intent.putExtra(EXTRA_PRINT_JOB_ID, printJobId.flattenToString()); 277 intent.setData(Uri.fromParts("printjob", printJobId.flattenToString(), null)); 279 return PendingIntent.getActivity(mContext, 0, intent, 0); 283 Intent intent = new Intent(mContext, NotificationBroadcastReceiver.class) local 290 Intent intent = new Intent(mContext, NotificationBroadcastReceiver.class); local [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
Tile.java | 19 import android.content.Intent; 60 * Intent to launch when the preference is selected. 62 public Intent intent; field in class:Tile 65 * Optional list of user handles which the intent should be launched on. 80 * Priority of the intent filter that created this tile, used for display ordering. 118 if (intent != null) { 120 intent.writeToParcel(dest, flags); 145 intent = Intent.CREATOR.createFromParcel(in) [all...] |
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawer/ |
SettingsDrawerActivityTest.java | 26 import android.content.Intent; 54 instrumentation.startActivitySync(new Intent(instrumentation.getTargetContext(), 64 Intent intent = new Intent(instrumentation.getTargetContext(), TestActivity.class) local 66 instrumentation.startActivitySync(intent); 75 Intent intent = new Intent(instrumentation.getTargetContext(), TestActivity.class) local 77 instrumentation.startActivitySync(intent); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
DozeHost.java | 37 void startPendingIntentDismissingKeyguard(PendingIntent intent);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
RecentsSystemUserService.java | 20 import android.content.Intent; 42 public IBinder onBind(Intent intent) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
ScreenshotServiceErrorReceiver.java | 22 import android.content.Intent; 33 public void onReceive(final Context context, Intent intent) {
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
SenderFilter.java | 21 import android.content.Intent; 82 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, 90 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, 98 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, 107 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent,
|
/frameworks/base/services/core/java/com/android/server/updates/ |
ApnDbInstallReceiver.java | 22 import android.content.Intent; 36 protected void postInstall(Context context, Intent intent) {
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
IsolatedService.java | 20 import android.content.Intent; 35 public IBinder onBind(Intent intent) {
|