Home
last modified time | relevance | path

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

12

/packages/apps/Nfc/src/com/android/nfc/
DNfcApplication.java32 ActivityManager am = (ActivityManager)this.getSystemService(ACTIVITY_SERVICE); in onCreate() local
33 List processes = am.getRunningAppProcesses(); in onCreate()
/packages/apps/Browser/src/com/android/browser/
DGoogleAccountLogin.java174 AccountManager am = AccountManager.get(mActivity); in invalidateTokens() local
175 am.invalidateAuthToken(GOOGLE, mSid); in invalidateTokens()
176 am.invalidateAuthToken(GOOGLE, mLsid); in invalidateTokens()
179 am.getAuthToken(mAccount, "SID", null, mActivity, this, null); in invalidateTokens()
DBookmarkUtils.java62 final ActivityManager am = (ActivityManager) context in createIcon() local
64 final int iconDimension = am.getLauncherLargeIconSize(); in createIcon()
65 final int iconDensity = am.getLauncherLargeIconDensity(); in createIcon()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DSources.java189 final AccountManager am = mAccountManager; in queryAccounts() local
194 final AuthenticatorDescription[] auths = am.getAuthenticatorTypes(); in queryAccounts()
250 final AccountManager am = mAccountManager; in getAccounts() local
251 final Account[] accounts = am.getAccounts(); in getAccounts()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoPriorityResolver.java93 final AccountManager am = AccountManager.get(mContext); in resolvePhotoPriority() local
95 for (AuthenticatorDescription auth : am.getAuthenticatorTypes()) { in resolvePhotoPriority()
/packages/apps/Contacts/src/com/android/contacts/util/
DLocalizedNameResolver.java67 final AccountManager am = AccountManager.get(context); in resolveAllContactsName() local
69 for (AuthenticatorDescription auth : am.getAuthenticatorTypes()) { in resolveAllContactsName()
/packages/providers/ApplicationsProvider/tests/
Druntests5 adb shell am instrument -w -e class com.android.providers.applications.ApplicationsProviderTest com…
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetProvider.java85 AlarmManager am = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in onDisabled() local
87 am.cancel(pendingUpdate); in onDisabled()
/packages/apps/Settings/src/com/android/settings/applications/
DInstalledAppDetails.java710 ActivityManager am = (ActivityManager) in refreshUi() local
712 int compatMode = am.getPackageScreenCompatMode(packageName); in refreshUi()
718 mAskCompatibilityCB.setChecked(am.getPackageAskScreenCompat(packageName)); in refreshUi()
1015 ActivityManager am = (ActivityManager) in initiateClearUserData() local
1017 boolean res = am.clearApplicationUserData(packageName, mClearDataObserver); in initiateClearUserData()
1198 ActivityManager am = (ActivityManager)getActivity().getSystemService(
1200 am.forceStopPackage(pkgName);
1356 ActivityManager am = (ActivityManager)
1359 am.setPackageAskScreenCompat(packageName, isChecked);
1361 am.setPackageScreenCompatMode(packageName, isChecked ?
DRunningState.java843 private boolean update(Context context, ActivityManager am) { in update() argument
853 = am.getRunningServices(MAX_SERVICES); in update()
880 = am.getRunningAppProcesses(); in update()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleWeekView.java528 AccessibilityManager am = (AccessibilityManager) context in onHoverEvent() local
530 if (!am.isEnabled() || !am.isTouchExplorationEnabled()) { in onHoverEvent()
DMonthWeekEventsView.java1059 AccessibilityManager am = (AccessibilityManager) context in onHoverEvent() local
1061 if (!am.isEnabled() || !am.isTouchExplorationEnabled()) { in onHoverEvent()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarms.java426 AlarmManager am = (AlarmManager) in enableAlert() local
452 am.set(AlarmManager.RTC_WAKEUP, atTimeInMillis, sender); in enableAlert()
468 AlarmManager am = (AlarmManager) in disableAlert() local
473 am.cancel(sender); in disableAlert()
/packages/apps/Contacts/src/com/android/contacts/list/
DShortcutIntentBuilder.java115 final ActivityManager am = (ActivityManager) context in ShortcutIntentBuilder() local
119 mIconSize = am.getLauncherLargeIconSize(); in ShortcutIntentBuilder()
121 mIconDensity = am.getLauncherLargeIconDensity(); in ShortcutIntentBuilder()
/packages/apps/Mms/src/com/android/mms/transaction/
DRetryScheduler.java291 AlarmManager am = (AlarmManager) context.getSystemService( in setRetryAlarm() local
293 am.set(AlarmManager.RTC, retryAt, operation); in setRetryAlarm()
/packages/providers/CalendarProvider/tests/
DEMMA_README33 adb shell am instrument -w -e coverage true \
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DFolderSyncParserTests.java225 AssetManager am = mContext.getAssets(); in MockFolderSyncParser() local
226 InputStream is = am.open(fileName); in MockFolderSyncParser()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DFolderSyncParserTests.java225 AssetManager am = mContext.getAssets(); in MockFolderSyncParser() local
226 InputStream is = am.open(fileName); in MockFolderSyncParser()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSettings.java423 final AudioManager am = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in showKeypressSoundVolumeSettingDialog() local
465 am.playSoundEffect(AudioManager.FX_KEYPRESS_STANDARD, tempVolume); in showKeypressSoundVolumeSettingDialog()
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java387 final AccountManager am = mAccountManager; in loadAccountsInBackground() local
392 final AuthenticatorDescription[] auths = am.getAuthenticatorTypes(); in loadAccountsInBackground()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageDetail.java427 ActivityManager am = (ActivityManager)getActivity().getSystemService( in killProcesses()
430 am.forceStopPackage(mPackages[i]); in killProcesses()
/packages/apps/Email/src/com/android/email/service/
DAttachmentDownloadService.java480 AlarmManager am = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); in setWatchdogAlarm() local
481 am.set(AlarmManager.RTC_WAKEUP, System.currentTimeMillis() + WATCHDOG_CHECK_INTERVAL, in setWatchdogAlarm()
/packages/apps/Phone/src/com/android/phone/
DPhoneGlobals.java586 AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in onCreate() local
587 am.registerMediaButtonEventReceiverForCalls(new ComponentName(this.getPackageName(), in onCreate()
/packages/apps/Calendar/src/com/android/calendar/
DEventInfoFragment.java1658 AccessibilityManager am = in sendAccessibilityEvent() local
1660 if (!am.isEnabled()) { in sendAccessibilityEvent()
1683 am.sendAccessibilityEvent(event); in sendAccessibilityEvent()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventView.java1322 AccessibilityManager am = in sendAccessibilityEvent() local
1324 if (!am.isEnabled() || mModel == null) { in sendAccessibilityEvent()
1337 am.sendAccessibilityEvent(event); in sendAccessibilityEvent()

12