/packages/apps/Settings/src/com/android/settings/applications/ |
D | InstalledAppDetails.java | 781 ActivityManager am = (ActivityManager) in refreshUi() local 783 int compatMode = am.getPackageScreenCompatMode(packageName); in refreshUi() 789 mAskCompatibilityCB.setChecked(am.getPackageAskScreenCompat(packageName)); in refreshUi() 1090 ActivityManager am = (ActivityManager) in initiateClearUserData() local 1092 boolean res = am.clearApplicationUserData(packageName, mClearDataObserver); in initiateClearUserData() 1264 ActivityManager am = (ActivityManager)getActivity().getSystemService( 1266 am.forceStopPackage(pkgName); 1426 ActivityManager am = (ActivityManager) 1429 am.setPackageAskScreenCompat(packageName, isChecked); 1431 am.setPackageScreenCompatMode(packageName, isChecked ?
|
/packages/apps/Browser/src/com/android/browser/ |
D | GoogleAccountLogin.java | 174 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()
|
D | BookmarkUtils.java | 62 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/ |
D | Sources.java | 189 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/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmStateManager.java | 228 AlarmManager am = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in scheduleInstanceStateChange() local 230 am.setExact(AlarmManager.RTC_WAKEUP, timeInMillis, pendingIntent); in scheduleInstanceStateChange() 232 am.set(AlarmManager.RTC_WAKEUP, timeInMillis, pendingIntent); in scheduleInstanceStateChange() 250 AlarmManager am = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in cancelScheduledInstance() local 251 am.cancel(pendingIntent); in cancelScheduledInstance()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | AccessibilityUtils.java | 22 AccessibilityManager am = (AccessibilityManager) ctx.getSystemService( in makeAnnouncement() local 24 if (!am.isEnabled()) return; in makeAnnouncement() 33 am.sendAccessibilityEvent(event); in makeAnnouncement()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | AccessibilityUtils.java | 40 AccessibilityManager am = (AccessibilityManager) ctx.getSystemService( in makeAnnouncement() local 42 if (!am.isEnabled()) return; in makeAnnouncement() 51 am.sendAccessibilityEvent(event); in makeAnnouncement()
|
/packages/experimental/TestBack/src/foo/bar/testback/ |
D | TestBackService.java | 20 AccessibilityManager am = (AccessibilityManager) 22 Log.i(LOG_TAG, "accessibilityEnabled: " + am.isEnabled() 23 + " touchExplorationEnabled: " + am.isTouchExplorationEnabled());
|
/packages/apps/Settings/src/com/android/settings/ |
D | Utils.java | 716 IActivityManager am = ActivityManagerNative.getDefault(); in getSecureTargetUser() local 718 String launchedFromPackage = am.getLaunchedFromPackage(activityToken); in getSecureTargetUser() 722 am.getLaunchedFromUid(activityToken))); in getSecureTargetUser() 766 IActivityManager am = ActivityManagerNative.getDefault(); in getInsecureTargetUser() local 769 am.getLaunchedFromUid(activityToken))); in getInsecureTargetUser()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | OtherSoundSettings.java | 91 final AudioManager am = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); 93 am.loadSoundEffects(); 95 am.unloadSoundEffects();
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
D | DeviceOwnerProvisioningService.java | 399 final AlarmManager am = (AlarmManager) getSystemService(Context.ALARM_SERVICE); in setTimeAndTimezone() local 402 am.setTimeZone(timeZone); in setTimeAndTimezone() 406 am.setTime(localTime); in setTimeAndTimezone()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | SimpleWeekView.java | 528 AccessibilityManager am = (AccessibilityManager) context in onHoverEvent() local 530 if (!am.isEnabled() || !am.isTouchExplorationEnabled()) { in onHoverEvent()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ShortcutIntentBuilder.java | 126 final ActivityManager am = (ActivityManager) context in ShortcutIntentBuilder() local 130 mIconSize = am.getLauncherLargeIconSize(); in ShortcutIntentBuilder() 132 mIconDensity = am.getLauncherLargeIconDensity(); in ShortcutIntentBuilder()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | ActivityManagerCompatUtils.java | 38 final ActivityManager am = in isLowRamDevice() local 40 sBoolean = (Boolean)CompatUtils.invoke(am, false, METHOD_isLowRamDevice); in isLowRamDevice()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictedProfileActivity.java | 217 AccountManager am = AccountManager.get(RestrictedProfileActivity.this); 218 Account[] accounts = am.getAccounts(); 221 am.addSharedAccount(account, user);
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcApplication.java | 50 ActivityManager am = (ActivityManager)this.getSystemService(ACTIVITY_SERVICE); in onCreate() local 51 List processes = am.getRunningAppProcesses(); in onCreate()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | DataClearer.java | 65 ActivityManager am = (ActivityManager) activity.getSystemService( in clearData() local 67 boolean res = am.clearApplicationUserData( in clearData()
|
D | ForceStopManager.java | 50 ActivityManager am = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in forceStop() local 51 am.forceStopPackage(mAppInfo.getPackageName()); in forceStop()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhotoPriorityResolver.java | 93 final AccountManager am = AccountManager.get(mContext); in resolvePhotoPriority() local 95 for (AuthenticatorDescription auth : am.getAuthenticatorTypes()) { in resolvePhotoPriority()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | LocalizedNameResolver.java | 69 final AccountManager am = AccountManager.get(context); in resolveAllContactsName() local 71 for (AuthenticatorDescription auth : am.getAuthenticatorTypes()) { in resolveAllContactsName()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AppsCustomizeTabHost.java | 202 AccessibilityManager am = (AccessibilityManager) in onLauncherTransitionEnd() local 204 if (am.isEnabled()) { in onLauncherTransitionEnd()
|
/packages/apps/Mms/src/com/android/mms/model/ |
D | MediaModel.java | 300 AudioManager am = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in pauseMusicPlayer() local 301 am.requestAudioFocus(null, AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN); in pauseMusicPlayer()
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetProvider.java | 85 AlarmManager am = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in onDisabled() local 87 am.cancel(pendingUpdate); in onDisabled()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | AdvancedSettingsFragment.java | 201 final AudioManager am = (AudioManager)getActivity().getSystemService(Context.AUDIO_SERVICE); in setupKeypressSoundVolumeSettings() local 243 am.playSoundEffect( in setupKeypressSoundVolumeSettings()
|
/packages/apps/Email/src/com/android/email/provider/ |
D | AccountReconciler.java | 55 final AccountManager am = AccountManager.get(context); in getAllAmAccounts() local 66 final android.accounts.Account[] accounts = am.getAccountsByType(type); in getAllAmAccounts()
|