Home
last modified time | relevance | path

Searched refs:app (Results 1 – 25 of 1049) sorted by relevance

12345678910>>...42

/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java32 import android.app.Activity;
33 import android.app.ActivityManager;
34 import android.app.ActivityManagerNative;
35 import android.app.ActivityThread;
36 import android.app.AlertDialog;
37 import android.app.AppGlobals;
38 import android.app.ApplicationErrorReport;
39 import android.app.Dialog;
40 import android.app.IActivityController;
41 import android.app.IActivityWatcher;
[all …]
DAppNotRespondingDialog.java43 ProcessRecord app, ActivityRecord activity) { in AppNotRespondingDialog() argument
47 mProc = app; in AppNotRespondingDialog()
57 if ((app.pkgList.size() == 1) && in AppNotRespondingDialog()
58 (name2=context.getPackageManager().getApplicationLabel(app.info)) != null) { in AppNotRespondingDialog()
63 name2 = app.processName; in AppNotRespondingDialog()
68 name2 = app.processName; in AppNotRespondingDialog()
71 name1 = app.processName; in AppNotRespondingDialog()
87 if (app.errorReportReceiver != null) { in AppNotRespondingDialog()
95 getWindow().setTitle("Application Not Responding: " + app.info.processName); in AppNotRespondingDialog()
113 ProcessRecord app = mProc;
[all …]
DAppErrorDialog.java42 public AppErrorDialog(Context context, AppErrorResult result, ProcessRecord app) { in AppErrorDialog() argument
47 mProc = app; in AppErrorDialog()
50 if ((app.pkgList.size() == 1) && in AppErrorDialog()
51 (name=context.getPackageManager().getApplicationLabel(app.info)) != null) { in AppErrorDialog()
54 name.toString(), app.info.processName)); in AppErrorDialog()
56 name = app.processName; in AppErrorDialog()
68 if (app.errorReportReceiver != null) { in AppErrorDialog()
76 getWindow().setTitle("Application Error: " + app.info.processName); in AppErrorDialog()
77 if (app.persistent) { in AppErrorDialog()
DAppWaitingForDebuggerDialog.java30 Context context, ProcessRecord app) { in AppWaitingForDebuggerDialog() argument
33 mProc = app; in AppWaitingForDebuggerDialog()
34 mAppName = context.getPackageManager().getApplicationLabel(app.info); in AppWaitingForDebuggerDialog()
43 text.append(app.processName); in AppWaitingForDebuggerDialog()
47 text.append(app.processName); in AppWaitingForDebuggerDialog()
53 setButton(DialogInterface.BUTTON_POSITIVE, "Force Close", mHandler.obtainMessage(1, app)); in AppWaitingForDebuggerDialog()
55 getWindow().setTitle("Waiting For Debugger: " + app.info.processName); in AppWaitingForDebuggerDialog()
DStrictModeViolationDialog.java42 public StrictModeViolationDialog(Context context, AppErrorResult result, ProcessRecord app) { in StrictModeViolationDialog() argument
47 mProc = app; in StrictModeViolationDialog()
50 if ((app.pkgList.size() == 1) && in StrictModeViolationDialog()
51 (name=context.getPackageManager().getApplicationLabel(app.info)) != null) { in StrictModeViolationDialog()
54 name.toString(), app.info.processName)); in StrictModeViolationDialog()
56 name = app.processName; in StrictModeViolationDialog()
68 if (app.errorReportReceiver != null) { in StrictModeViolationDialog()
76 getWindow().setTitle("Strict Mode Violation: " + app.info.processName); in StrictModeViolationDialog()
DActivityStack.java19 import com.android.internal.app.HeavyWeightSwitcherActivity;
23 import android.app.Activity;
24 import android.app.ActivityManager;
25 import android.app.AppGlobals;
26 import android.app.IActivityManager;
27 import android.app.IThumbnailRetriever;
28 import static android.app.IActivityManager.START_CLASS_NOT_FOUND;
29 import static android.app.IActivityManager.START_DELIVERED_TO_TOP;
30 import static android.app.IActivityManager.START_FORWARD_AND_REQUEST_CONFLICT;
31 import static android.app.IActivityManager.START_INTENT_NOT_RESOLVED;
[all …]
DActivityRecord.java22 import android.app.Activity;
92 ProcessRecord app; // if non-null, hosting application field in ActivityRecord
124 pw.print(" app="); pw.println(app); in dump()
255 ApplicationInfo app = aInfo.applicationInfo; in ActivityRecord() local
256 nonLocalizedLabel = app.nonLocalizedLabel; in ActivityRecord()
257 labelRes = app.labelRes; in ActivityRecord()
441 && app != null && app.thread != null) { in deliverNewIntentLocked()
448 app.thread.scheduleNewIntent(ar, this); in deliverNewIntentLocked()
505 public boolean mayFreezeScreenLocked(ProcessRecord app) { in mayFreezeScreenLocked() argument
510 return app != null && !app.crashing && !app.notResponding; in mayFreezeScreenLocked()
[all …]
/frameworks/base/docs/html/guide/market/billing/
Dindex.jd1 page.title=In-app Billing
9 <li><a href="{@docRoot}guide/market/billing/billing_overview.html">Overview of In-app
11 <li><a href="{@docRoot}guide/market/billing/billing_integrate.html">Implementing In-app
15 <li><a href="{@docRoot}guide/market/billing/billing_testing.html">Testing In-app
17 <li><a href="{@docRoot}guide/market/billing/billing_admin.html">Administering In-app
22 <li><a href="{@docRoot}guide/market/billing/billing_reference.html">In-app Billing
33 <p>Android Market In-app Billing is an Android Market service that lets you sell digital content in
37 <p>When you use Android Market's in-app billing service to sell an item, Android Market handles all
41 in-app purchases is the same as the transaction fee for application purchases (30%).</p>
43 <p>Any application that you publish through Android Market can implement in-app billing. No special
[all …]
Dbilling_testing.jd1 page.title=Testing In-app Billing
2 parent.title=In-app Billing
10 <li><a href="#billing-testing-static">Testing in-app purchases with static responses</a></li>
11 <li><a href="#billing-testing-real">Testing in-app purchases using your own product IDs</a></li>
21 <li><a href="{@docRoot}guide/market/billing/billing_overview.html">Overview of In-app
23 <li><a href="{@docRoot}guide/market/billing/billing_integrate.html">Implementing In-app
27 <li><a href="{@docRoot}guide/market/billing/billing_admin.html">Administering In-app
29 <li><a href="{@docRoot}guide/market/billing/billing_reference.html">In-app Billing
35 <p>The Android Market publisher site provides several tools that help you test your in-app billing
39 <p>To test in-app billing in an application you must install the application on an Android-powered
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DIccCardStatus.java161 IccCardApplication app; in toString() local
170 app = getApplication(mGsmUmtsSubscriptionAppIndex); in toString()
171 sb.append(app == null ? "null" : app); in toString()
177 app = getApplication(mCdmaSubscriptionAppIndex); in toString()
178 sb.append(app == null ? "null" : app); in toString()
/frameworks/base/docs/html/guide/topics/fundamentals/
Dfragments.jd44 <li>{@link android.app.Fragment}</li>
45 <li>{@link android.app.FragmentManager}</li>
46 <li>{@link android.app.FragmentTransaction}</li>
54 href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/index.html#Fragment">Ap…
65 <p>A {@link android.app.Fragment} represents a behavior or a portion of user interface in an
66 {@link android.app.Activity}. You can combine multiple fragments in a single activity to build a
152 <p>To create a fragment, you must create a subclass of {@link android.app.Fragment} (or an existing
153 subclass of it). The {@link android.app.Fragment} class has code that looks a lot like
154 an {@link android.app.Activity}. It contains callback methods similar to an activity, such
155 as {@link android.app.Fragment#onCreate onCreate()}, {@link android.app.Fragment#onStart onStart()},
[all …]
Dloaders.jd10 <li><a href="#app">Using Loaders in an Application</a>
27 <li>{@link android.app.LoaderManager}</li>
35 href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/LoaderCursor.html">
38 href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/LoaderThrottle.html">
47 <li>They are available to every {@link android.app.Activity} and {@link
48 android.app.Fragment}.</li>
68 <td>{@link android.app.LoaderManager}</td>
69 <td>An abstract class associated with an {@link android.app.Activity} or
70 {@link android.app.Fragment} for managing one or more {@link
72 longer-running operations in conjunction with the {@link android.app.Activity}
[all …]
Dservices.jd40 <li>{@link android.app.Service}</li>
41 <li>{@link android.app.IntentService}</li>
46 …<li><a href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/ServiceStartArg…
48 …<li><a href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/LocalService.ht…
67 <p>A {@link android.app.Service} is an application component that can perform
97 android.app.Service#onStartCommand onStartCommand()} to allow components to start it and {@link
98 android.app.Service#onBind onBind()} to allow binding.</p>
127 a thread in {@link android.app.Activity#onCreate onCreate()}, start running it in {@link
128 android.app.Activity#onStart onStart()}, then stop it in {@link android.app.Activity#onStop
139 <p>To create a service, you must create a subclass of {@link android.app.Service} (or one
[all …]
Dactivities.jd37 <li>{@link android.app.Activity}</li>
52 <p>An {@link android.app.Activity} is an application component that provides a screen with which
88 <p>To create an activity, you must create a subclass of {@link android.app.Activity} (or
95 <dt>{@link android.app.Activity#onCreate onCreate()}</dt>
99 Most importantly, this is where you must call {@link android.app.Activity#setContentView
101 <dt>{@link android.app.Activity#onPause onPause()}</dt>
133 activity with {@link android.app.Activity#setContentView(int) setContentView()}, passing the
137 {@link android.view.ViewGroup} to {@link android.app.Activity#setContentView(View)
233 <p>You can start another activity by calling {@link android.app.Activity#startActivity
280 start the activity by calling {@link android.app.Activity#startActivityForResult
[all …]
/frameworks/base/docs/html/guide/topics/ui/
Ddialogs.jd28 <li>{@link android.app.Dialog}</li>
29 <li>{@link android.app.AlertDialog}</li>
30 <li>{@link android.app.DialogFragment}</li>
48 <p>The {@link android.app.Dialog} class is the base class for creating dialogs. However, you
49 typically should not instantiate a {@link android.app.Dialog} directly. Instead, you should use one
52 <dt>{@link android.app.AlertDialog}</dt>
57 <dt>{@link android.app.ProgressDialog}</dt>
61 <dt>{@link android.app.DatePickerDialog}</dt>
64 <dt>{@link android.app.TimePickerDialog}</dt>
70 base {@link android.app.Dialog} object or any of the subclasses listed above and define a new layou…
[all …]
/frameworks/base/docs/html/resources/tutorials/views/
Dhello-datepicker.jd9 <p>In this tutorial, you'll create a {@link android.app.DatePickerDialog}, which presents the
34 android.app.DatePickerDialog}.</p>
49 android.app.Dialog} that will display the date picker.</p>
52 <li>Now add the following code for the {@link android.app.Activity#onCreate(Bundle) onCreate()}
83 with {@link android.app.Activity#findViewById(int)}. A
86 will call {@link android.app.Activity#showDialog(int)}, passing the unique integer ID for
87 the date picker dialog. Using {@link android.app.Activity#showDialog(int)} allows the {@link
88 android.app.Activity} to manage the life-cycle of the dialog and will call the {@link
89 android.app.Activity#onCreateDialog(int)} callback method to request the {@link android.app.Dialog}
114 <li>Initialize a new {@link android.app.DatePickerDialog.OnDateSetListener} as a member of the
[all …]
Dhello-timepicker.jd9 <p>In this tutorial, you'll create a {@link android.app.TimePickerDialog}, which presents the
34 android.app.TimePickerDialog}.</p>
50 <li>Now insert the following code for the {@link android.app.Activity#onCreate(Bundle) onCreate()}
81 android.app.Activity#findViewById(int)}.
84 android.app.Activity#showDialog(int)}, passing the unique integer ID for the time picker
85 dialog. Using {@link android.app.Activity#showDialog(int)} allows the {@link
86 android.app.Activity} to manage the life-cycle of the dialog and will call the {@link
87 android.app.Activity#onCreateDialog(int)} callback method to request the {@link android.app.Dialog}
117 <li>Add a class member for a {@link android.app.TimePickerDialog.OnTimeSetListener} that will be
135 <li>Add the {@link android.app.Activity#onCreateDialog(int)} callback method:
[all …]
/frameworks/base/docs/html/guide/topics/admin/
Ddevice-admin.jd26 <li>{@link android.app.admin.DeviceAdminReceiver}</li>
27 <li>{@link android.app.admin.DevicePolicyManager}</li>
28 <li>{@link android.app.admin.DeviceAdminInfo}</li>
66 the app, or the application could dynamically fetch policies from a third-party
86 <p>If users do not enable the device admin app, it remains on the device, but in an inactive state.…
180 {@link android.app.admin.DevicePolicyManager#setPasswordExpirationTimeout(android.content.Component…
219 href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/DeviceAdminSample.html">
225 href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/DeviceAdminSample.html">
255 <img src="{@docRoot}images/admin/device-admin-app.png"/>
273 <li>A subclass of {@link android.app.admin.DeviceAdminReceiver} that includes the following:
[all …]
/frameworks/base/docs/html/intl/ja/guide/topics/
Dfundamentals.jd8 <li>{@link android.app.Activity}</li>
9 <li>{@link android.app.Service}</li>
83 …体としてのユーザー インターフェースを形成しますが、それぞれのアクティビティは相互に独立しています。各アクティビティは、{@link android.app.Activity} 基本クラスのサブク…
98 ビューの階層は、<code>{@link android.app.Activity#setContentView Activity.setContentView()}</code> メソッドを使用し…
102 …データをフェッチするサービス、何かを計算してその結果をアクティビティに提供するサービスなどが考えられます。各サービスは、{@link android.app.Service} 基本クラスの拡張です。
124 ブロードキャスト レシーバがユーザー インターフェースを表示することはありません。ただし、受信した情報への応答としてアクティビティを開始したり、{@link android.app.Notifica…
155 android.app.Activity#startActivityForResult
156 Activity.startActivityForResult()}</code> に渡します。応答アクティビティで <code>{@link android.app.Activity#getInt…
157 android.app.Activity#onNewIntent onNewIntent()}</code> メソッドが呼び出され、アクティビティが後続のインテントに渡されます。
160 …始する場合は、ユーザーによって選択された写真が返されるかもしれません。結果は、呼び出し側のアクティビティの <code>{@link android.app.Activity#onActivity…
[all …]
/frameworks/base/docs/html/resources/articles/
Dqsb.jd43 related to a sample app called <a
45 title="Searchable Dictionary">Searchable Dictionary</a>. The app is
48 <h3>The story before now: searching within your app</h3>
51 that let you expose search and search suggestions in your app, as described in
52 the docs for {@link android.app.SearchManager}. That mechanism has not changed
64 &lt;meta-data android:name="android.app.searchable"
69 <a href="{@docRoot}reference/android/app/SearchManager.html#Suggestions">Search Suggestions</a>
78 you want the search system to present search for your app, including the
80 type. Here's an example of the <code>searchable.xml</code> of an Android app
94 <a href="{@docRoot}reference/android/app/SearchManager.html#SearchabilityMetadata">Searchability Me…
[all …]
/frameworks/base/core/java/com/android/internal/app/
DDisableCarModeActivity.java17 package com.android.internal.app;
19 import android.app.Activity;
20 import android.app.IUiModeManager;
21 import android.app.UiModeManager;
/frameworks/base/core/tests/coretests/src/android/app/
DSearchManagerTest.java17 package android.app;
19 import android.app.activity.LocalActivity;
21 import android.app.Activity;
22 import android.app.ISearchManager;
23 import android.app.SearchManager;
24 import android.app.SearchableInfo;
/frameworks/base/docs/html/guide/topics/ui/notifiers/
Dnotifications.jd33 <li>{@link android.app.Notification}</li>
34 <li>{@link android.app.NotificationManager}</li>
42 {@link android.content.Intent} that is defined by the {@link android.app.Notification} (usually to
43 launch an {@link android.app.Activity}).
66 <p>An {@link android.app.Activity} or {@link android.app.Service} can initiate a status bar
73 classes: {@link android.app.Notification} and {@link android.app.NotificationManager}.</p>
75 <p>Use an instance of the {@link android.app.Notification} class to define the properties of your
77 such as a sound to play. The {@link android.app.NotificationManager} is an Android system service
79 {@link android.app.NotificationManager} directly. In order
80 to give it your {@link android.app.Notification}, you must retrieve a reference to the
[all …]
/frameworks/base/docs/html/guide/topics/data/
Dbackup.jd11 <li>If the user upgrades to a new Android-powered device, your app can restore the user's
43 <li>{@link android.app.backup.BackupManager}</li>
44 <li>{@link android.app.backup.BackupAgent}</li>
45 <li>{@link android.app.backup.BackupAgentHelper}</li>
56 <p>Android's {@link android.app.backup backup} service allows you to copy your persistent
65 android.app.backup.BackupManager}) queries your application for backup data, then hands it to
128 <p>The {@link android.app.backup.BackupAgent} class provides the central interface with
131 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
133 android.app.backup.BackupAgent#onRestore(BackupDataInput,int,ParcelFileDescriptor)
137 <p>The {@link android.app.backup.BackupAgentHelper} class provides a convenient
[all …]
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestAgent.java19 import android.app.backup.BackupAgentHelper;
20 import android.app.backup.FileBackupHelper;
21 import android.app.backup.SharedPreferencesBackupHelper;

12345678910>>...42