Home
last modified time | relevance | path

Searched refs:am (Results 1 – 24 of 24) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
DAlarmController.java105 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
109 am.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), sender);
112 am.setExactAndAllowWhileIdle(
145 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
146 am.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP,
168 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
169 am.cancel(sender);
DAlarmService.java67 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
68 am.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP,
80 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
81 am.cancel(mAlarmSender);
DContactsSelectInstrumentation.java60 ActivityMonitor am = addMonitor(IntentFilter.create( in onStart() local
75 if (checkMonitorHit(am, 1)) { in onStart()
DForegroundService.java236 AlarmManager am = (AlarmManager) ctx.getSystemService(Context.ALARM_SERVICE);
237 am.setExact(AlarmManager.ELAPSED_REALTIME,
/development/apps/CustomLocale/src/com/android/customlocale2/
DChangeLocale.java48 IActivityManager am = ActivityManager.getService(); in changeSystemLocale() local
49 Configuration config = am.getConfiguration(); in changeSystemLocale()
66 am.updateConfiguration(config); in changeSystemLocale()
DCustomLocaleActivity.java264 IActivityManager am = ActivityManager.getService(); in displayCurrentLocale() local
265 Configuration config = am.getConfiguration(); in displayCurrentLocale()
/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/
DMainActivity.java50 private static AccountManager am; field in MainActivity
54 Account[] accounts = am.getAccountsByType(TYPE); in isAccountAdded()
68 am = AccountManager.get(getApplicationContext()); in onCreate()
161 am.setAccountVisibility(currentAccount, packageName, in onCreate()
169 am.setAccountVisibility(currentAccount, packageName, in onCreate()
177 am.setAccountVisibility(currentAccount, packageName, in onCreate()
188 + am.getAccountVisibility(currentAccount, packageName), in onCreate()
194 + am.addAccountExplicitly(currentAccount, null, null), in onCreate()
203 + am.addAccountExplicitly(currentAccount, null, null, in onCreate()
211 + am.removeAccountExplicitly(currentAccount), in onCreate()
[all …]
/development/tools/logblame/
Dapp_switch_test32 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
45 adb shell am start -a android.intent.action.MAIN $intent
66 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
Dconnectivity_log_test15 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
27 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
33 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
Dsample.txt938am.ActivityStackSupervisor$ActivityStackSupervisorHandler.activityIdleInternal(com.android.server.
941am.ActivityStackSupervisor$ActivityStackSupervisorHandler.activityIdleInternal(com.android.server.
2578am.ActivityManagerService.activityIdle(android.os.IBinder, android.content.res.Configuration, bool…
2780am.BatteryStatsService.getStatisticsStream()(BatteryStatsService.java:378) waiters=0 in boolean co…
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyNetworkMonitor.java86 public void register(IActivityManager am) throws RemoteException { in register() argument
88 am.registerReceiverWithFeature(null, null, null, this, filter, null, UserHandle.USER_ALL, in register()
92 public void unregister(IActivityManager am) throws RemoteException { in unregister() argument
94 am.unregisterReceiver(this); in unregister()
/development/apps/PushApiTestAppTwo/src/com/example/android/pushapithirdpartytwo/
DMainActivity.java46 private static AccountManager am; field in MainActivity
53 am = AccountManager.get(getApplicationContext()); in onCreate()
65 am.addOnAccountsUpdatedListener(mListener, null, false, in onCreate()
89 Account[] accountsAccessedByAuthApp = am.getAccounts(); in onCreate()
110 am.removeOnAccountsUpdatedListener(mListener); in onDestroy()
/development/apps/PushApiTestAppOne/src/com/example/android/pushapithirdpartyone/
DMainActivity.java46 private static AccountManager am; field in MainActivity
53 am = AccountManager.get(getApplicationContext()); in onCreate()
65 am.addOnAccountsUpdatedListener(mListener, null, false, in onCreate()
89 Account[] accountsAccessedByAuthApp = am.getAccounts(); in onCreate()
110 am.removeOnAccountsUpdatedListener(mListener); in onDestroy()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DGLES20Activity.java49 ActivityManager am = in detectOpenGLES20() local
51 ConfigurationInfo info = am.getDeviceConfigurationInfo(); in detectOpenGLES20()
/development/samples/DeviceAdminWhitelistedAccount/src/com/example/android/app/admin/whitelistedaccount/
DMyAuthenticator.java50 final AccountManager am = AccountManager.get(context); in setUpAccount() local
51 if (am.getAccountsByType(ACCOUNT_TYPE).length > 0) { in setUpAccount()
58 am.addAccountExplicitly(account, null, null); in setUpAccount()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DIntentDialogFragment.java125 ActivityManager am = getActivity().getSystemService(ActivityManager.class); in removeTask() local
126 List<ActivityManager.AppTask> appTasks = am.getAppTasks(); in removeTask()
143 ActivityManager am = getActivity().getSystemService(ActivityManager.class); in moveTaskToFront() local
144 am.moveTaskToFront(taskId, 0 /* flags */); in moveTaskToFront()
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/
DAssetProvider.java95 AssetManager am = context.getAssets(); in openAssetFile() local
96 return am.openFd(assetName); in openAssetFile()
/development/scripts/
Drunahat38 do_adb shell am dumpheap -g "$pid" "$dev_file"
/development/tools/templates/
Djava_tests_file.template11 * adb shell am instrument -w \
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticator.java102 final AccountManager am = AccountManager.get(mContext); in getAuthToken() local
103 final String password = am.getPassword(account); in getAuthToken()
/development/apps/Development/src/com/android/development/
DRunningProcesses.java81 ActivityManager am = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE); in AppListAdapter() local
82 List<ActivityManager.RunningAppProcessInfo> appList = am.getRunningAppProcesses(); in AppListAdapter()
DPackageSummary.java152 ActivityManager am = (ActivityManager)getSystemService( in onCreate()
154 am.killBackgroundProcesses(mPackageName); in onCreate()
DConnectivity.java615 AlarmManager am = (AlarmManager)getSystemService(Context.ALARM_SERVICE); in scheduleAlarm() local
625 am.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, SystemClock.elapsedRealtime() + delayMs, p); in scheduleAlarm()
/development/apps/OBJViewer/com/android/objviewer/
DOBJViewer.java312 final AssetManager am = getAssets(); in onCreate() local
316 return am.open(filename); in onCreate()