Home
last modified time | relevance | path

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

123

/packages/apps/TV/src/com/android/tv/license/
DLicenseUtils.java37 public static boolean hasLicenses(AssetManager am) { in hasLicenses() argument
38 try (InputStream is = am.open("licenses.html")) { in hasLicenses()
48 public static boolean hasRatingAttribution(AssetManager am) { in hasRatingAttribution() argument
49 try (InputStream is = am.open("rating_sources.html")) { in hasRatingAttribution()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DAccessibilityUtils.java40 AccessibilityManager am = (AccessibilityManager) ctx.getSystemService( in makeAnnouncement() local
42 if (!am.isEnabled()) return; in makeAnnouncement()
51 am.sendAccessibilityEvent(event); in makeAnnouncement()
/packages/apps/ManagedProvisioning/tests/
DREADME8 $ adb shell am instrument -w com.android.managedprovisioning.tests/android.test.InstrumentationTest…
11 $ adb shell am instrument -w -e class com.android.managedprovisioning.<class> com.android.managedpr…
14 $ adb shell am instrument -w -e class com.android.managedprovisioning.<class>#<test> com.android.ma…
/packages/apps/Settings/tests/unit/
DREADME8 $ adb shell am instrument -w com.android.settings.tests.unit/android.support.test.runner.AndroidJUn…
11 $ adb shell am instrument -w -e class com.android.settings.<class> com.android.settings.tests.unit/…
14 $ adb shell am instrument -w -e class com.android.settings.<class>#<test> com.android.settings.test…
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DActivityManagerCompatUtils.java38 final ActivityManager am = in isLowRamDevice() local
40 sBoolean = (Boolean)CompatUtils.invoke(am, false, METHOD_isLowRamDevice); in isLowRamDevice()
/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/apps/Browser2/
Drun_startup_time_test.sh16 adb shell am start -n com.android.htmlviewer/.HTMLViewerActivity -d \
31 adb shell am start -n org.chromium.webview_shell/.StartupTimeActivity \
/packages/apps/Settings/
Dwrap_alpha.py33 am = src.endswith("_am") variable
34 if am:
/packages/apps/Nfc/src/com/android/nfc/
DNfcApplication.java50 ActivityManager am = (ActivityManager)this.getSystemService(ACTIVITY_SERVICE); in onCreate() local
51 List processes = am.getRunningAppProcesses(); in onCreate()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSettings.java424 ActivityManager am = (ActivityManager) in initiateClearUserData() local
426 boolean res = am.clearApplicationUserData(packageName, mClearDataObserver); in initiateClearUserData()
457 ActivityManager am = (ActivityManager) getActivity().getSystemService( in refreshGrantedUriPermissions() local
460 am.getGrantedUriPermissions(mAppEntry.info.packageName).getList(); in refreshGrantedUriPermissions()
510 final ActivityManager am = (ActivityManager) getActivity().getSystemService( in clearUriPermissions() local
512 am.clearGrantedUriPermissions(mAppEntry.info.packageName); in clearUriPermissions()
/packages/apps/Settings/src/com/android/settings/notification/
DOtherSoundSettings.java100 final AudioManager am =
103 am.loadSoundEffects();
105 am.unloadSoundEffects();
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DForceStopPreference.java95 ActivityManager am = (ActivityManager) in onOk() local
97 am.forceStopPackage(getArguments().getString(ARG_PACKAGE_NAME)); in onOk()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DDeviceOwnerProvisioningService.java373 final AlarmManager am = (AlarmManager) getSystemService(Context.ALARM_SERVICE); in setTimeAndTimezone() local
376 am.setTimeZone(timeZone); in setTimeAndTimezone()
380 am.setTime(localTime); in setTimeAndTimezone()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DLocalizedNameResolver.java63 final AccountManager am = AccountManager.get(context); in resolveAllContactsName() local
65 for (AuthenticatorDescription auth : am.getAuthenticatorTypes()) { in resolveAllContactsName()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoPriorityResolver.java106 final AccountManager am = AccountManager.get(mContext); in resolvePhotoPriority() local
108 for (AuthenticatorDescription auth : am.getAuthenticatorTypes()) { in resolvePhotoPriority()
/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()
/packages/apps/Settings/src/com/android/settings/
DShowAdminSupportDetailsDialog.java96 IActivityManager am = ActivityManagerNative.getDefault(); in checkIfCallerHasPermission() local
98 final int uid = am.getLaunchedFromUid(getActivityToken()); in checkIfCallerHasPermission()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DMainFragment.java206 final AccountManager am = AccountManager.get(getContext()); in updateAccounts() local
207 final AuthenticatorDescription[] authTypes = am.getAuthenticatorTypes(); in updateAccounts()
241 Account[] accounts = am.getAccountsByType(authDesc.type); in updateAccounts()
/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/Contacts/script/
Dtest.sh18 adb shell am instrument ${@} -w com.android.contacts.tests/android.test.InstrumentationTestRunner
/packages/apps/ContactsCommon/tests/bin/
Dtest.sh3 adb shell am instrument -w com.android.contacts.common.unittest/android.test.InstrumentationTestRun…
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DShortcutIntentBuilder.java126 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/latin/settings/
DAdvancedSettingsFragment.java178 final AudioManager am = (AudioManager)getActivity().getSystemService(Context.AUDIO_SERVICE); in setupKeypressSoundVolumeSettings() local
220 am.playSoundEffect( in setupKeypressSoundVolumeSettings()
/packages/apps/Launcher3/src/com/android/launcher3/
DSearchDropTargetBar.java142 AccessibilityManager am = (AccessibilityManager) in animateToState() local
144 mAccessibilityEnabled = am.isEnabled(); in animateToState()
/packages/apps/Browser2/test/
Drun_tests.sh17 adb shell am instrument -w -e mode rebaseline -e class \

123