HomeSort by relevance Sort by last modified time
    Searched refs:intent (Results 1851 - 1875 of 4230) sorted by null

<<71727374757677787980>>

  /developers/build/prebuilts/gradle/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/
BigTextIntentService.java 21 import android.content.Intent;
55 protected void onHandleIntent(Intent intent) {
56 Log.d(TAG, "onHandleIntent(): " + intent);
58 if (intent != null) {
59 final String action = intent.getAction();
128 // 2. Set up main Intent for notification
142 // 2. Set up main Intent for notification
143 Intent notifyIntent = new Intent(this, BigTextMainActivity.class)
    [all...]
  /developers/samples/android/admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/
DeviceOwnerReceiver.java 23 import android.content.Intent;
36 public void onProfileProvisioningComplete(Context context, Intent intent) {
43 Intent launch = new Intent(context, MainActivity.class);
44 launch.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  /developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofillframework/app/
MainActivity.java 18 import android.content.Intent;
123 Intent intent = getIntent(); local
124 if (intent != null) {
125 String target = intent.getStringExtra("target");
129 Intent newIntent = new Intent(this,
131 newIntent.putExtras(intent);
StandardAutoCompleteSignInActivity.java 19 import android.content.Intent;
43 public static Intent getStartActivityIntent(Context context) {
44 Intent intent = new Intent(context, StandardAutoCompleteSignInActivity.class); local
45 return intent;
103 Intent intent = WelcomeActivity.getStartActivityIntent(StandardAutoCompleteSignInActivity.this); local
104 startActivity(intent);
  /developers/samples/android/notification/ActiveNotifications/Application/src/main/java/com/example/android/activenotifications/
ActiveNotificationsActivity.java 21 import android.content.Intent;
35 public void onReceive(Context context, Intent intent) {
  /developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/
MainActivity.java 19 import android.content.Intent;
113 Intent intent = new Intent(TvContractCompat.ACTION_REQUEST_CHANNEL_BROWSABLE); local
114 intent.putExtra(TvContractCompat.EXTRA_CHANNEL_ID, channelId);
116 this.startActivityForResult(intent, MAKE_BROWSABLE_REQUEST_CODE);
118 Log.e(TAG, "Could not start activity: " + intent.getAction(), e);
123 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
  /developers/samples/android/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/
BigTextIntentService.java 21 import android.content.Intent;
55 protected void onHandleIntent(Intent intent) {
56 Log.d(TAG, "onHandleIntent(): " + intent);
58 if (intent != null) {
59 final String action = intent.getAction();
128 // 2. Set up main Intent for notification
142 // 2. Set up main Intent for notification
143 Intent notifyIntent = new Intent(this, BigTextMainActivity.class)
    [all...]
  /development/apps/Development/src/com/android/development/
AppHwConfigList.java 22 import android.content.Intent;
71 Intent intent = new Intent(Intent.ACTION_VIEW); local
72 intent.setClass(this, AppHwPref.class);
73 intent.putExtra("packageName", app.packageName);
74 startActivity(intent);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentLayout.java 26 import android.content.Intent;
165 Intent intent = new Intent(); local
166 intent.setClass(getActivity(), DetailsActivity.class);
167 intent.putExtra("index", index);
168 startActivity(intent);
  /development/samples/browseable/ActiveNotifications/src/com.example.android.activenotifications/
ActiveNotificationsActivity.java 21 import android.content.Intent;
35 public void onReceive(Context context, Intent intent) {
  /development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/
DeviceOwnerReceiver.java 23 import android.content.Intent;
36 public void onProfileProvisioningComplete(Context context, Intent intent) {
43 Intent launch = new Intent(context, MainActivity.class);
44 launch.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  /development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/handlers/
BigTextIntentService.java 21 import android.content.Intent;
55 protected void onHandleIntent(Intent intent) {
56 Log.d(TAG, "onHandleIntent(): " + intent);
58 if (intent != null) {
59 final String action = intent.getAction();
128 // 2. Set up main Intent for notification
142 // 2. Set up main Intent for notification
143 Intent notifyIntent = new Intent(this, BigTextMainActivity.class)
    [all...]
  /development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/handlers/
BigTextIntentService.java 21 import android.content.Intent;
56 protected void onHandleIntent(Intent intent) {
57 Log.d(TAG, "onHandleIntent(): " + intent);
59 if (intent != null) {
60 final String action = intent.getAction();
129 // 2. Set up main Intent for notification
144 // 2. Set up main Intent for notification
145 Intent mainIntent = new Intent(this, BigTextMainActivity.class)
    [all...]
  /external/devlib/src/netstats/src/com/arm/devlib/trafficcatcher/
TrafficMetricsService.java 14 import android.content.Intent;
105 public void onHandleIntent(Intent intent) {
107 String runTag = intent.getStringExtra("tag");
111 String packagesString = intent.getStringExtra("packages");
112 int pollingPeriod = intent.getIntExtra("period", this.defaultPollingPeriod);
  /external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
PresenceCapabilityTask.java 36 import android.content.Intent;
117 Intent intent = new Intent(ACTION_TASK_TIMEOUT_ALARM); local
118 intent.setClass(mContext, AlarmBroadcastReceiver.class);
119 intent.putExtra("taskId", mTaskId);
120 PendingIntent mAlarmIntent = PendingIntent.getBroadcast(mContext, 0, intent,
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowMapActivity.java 5 import android.content.Intent;
37 @Override public void onReceive(Context context, Intent intent) {
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
ApiPrompt.java 21 import android.content.Intent;
68 Intent intent = new Intent();
69 intent.putExtra(Constants.EXTRA_API_PROMPT_RPC_NAME, mRpc.getName());
70 intent.putExtra(Constants.EXTRA_API_PROMPT_VALUES, mValues);
71 setResult(RESULT_OK, intent);
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/
FacadeService.java 20 import android.content.Intent;
35 * Intent intent = new Intent();
36 * intent.setPackage("com.googlecode.android_scripting");
37 * intent.setAction("com.googlecode.android_scripting.service.FacadeService.ACTION_BIND");
38 * sl4aService = bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
59 public IBinder onBind(Intent intent) {
  /frameworks/base/core/java/android/content/pm/
PackageManagerInternal.java 20 import android.content.Intent;
166 * Retrieve all activities that can be performed for the given intent.
169 * @see PackageManager#queryIntentActivities(Intent, int)
171 public abstract List<ResolveInfo> queryIntentActivities(Intent intent,
243 * @param origIntent The original intent that triggered ephemeral resolution
244 * @param resolvedType The resolved type of the intent
251 Intent origIntent, String resolvedType, String callingPackage,
261 * app. If the ephemeral application uses an implicit intent [ie action VIEW,
268 * @param intent the intent that triggered the gran
    [all...]
  /frameworks/base/core/java/android/preference/
RingtonePreference.java 20 import android.content.Intent;
142 Intent intent = new Intent(RingtoneManager.ACTION_RINGTONE_PICKER); local
143 onPrepareRingtonePickerIntent(intent);
146 owningFragment.startActivityForResult(intent, mRequestCode);
148 getPreferenceManager().getActivity().startActivityForResult(intent, mRequestCode);
153 * Prepares the intent to launch the ringtone picker. This can be modified
156 * @param ringtonePickerIntent The ringtone picker intent that can be
159 protected void onPrepareRingtonePickerIntent(Intent ringtonePickerIntent)
    [all...]
  /frameworks/base/core/java/android/service/carrier/
CarrierService.java 19 import android.content.Intent;
31 * {@link android.Manifest.permission#BIND_CARRIER_SERVICES} permission and include an intent
41 * <intent-filter>
43 * </intent-filter>
129 public IBinder onBind(Intent intent) {
  /frameworks/base/core/tests/coretests/src/android/content/
CrossUserContentService.java 27 public IBinder onBind(Intent intent) {
  /frameworks/base/core/tests/coretests/src/android/os/
BinderThreadPriorityService.java 20 import android.content.Intent;
59 public IBinder onBind(Intent intent) {
MessengerService.java 20 import android.content.Intent;
46 public IBinder onBind(Intent intent) {
  /frameworks/base/packages/Osu2/tests/src/com/android/osu/
NetworkConnectionTest.java 28 import android.content.Intent;
93 * WifiManager.NETWORK_STATE_CHANGED_ACTION intent indicating that we are connected.
115 // Setup intent.
116 Intent intent = new Intent(WifiManager.NETWORK_STATE_CHANGED_ACTION); local
119 intent.putExtra(WifiManager.EXTRA_NETWORK_INFO, networkInfo);
122 intent.putExtra(WifiManager.EXTRA_WIFI_INFO, wifiInfo);
124 // Send intent to the receiver.
127 receiver.getValue().onReceive(mContext, intent);
    [all...]

Completed in 764 milliseconds

<<71727374757677787980>>