/packages/apps/TV/src/com/android/tv/license/ |
D | LicenseUtils.java | 37 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/ |
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/apps/ManagedProvisioning/tests/ |
D | README | 8 $ 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/ |
D | README | 8 $ 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/ |
D | ActivityManagerCompatUtils.java | 38 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/ |
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/Browser2/ |
D | run_startup_time_test.sh | 16 adb shell am start -n com.android.htmlviewer/.HTMLViewerActivity -d \ 31 adb shell am start -n org.chromium.webview_shell/.StartupTimeActivity \
|
/packages/apps/Settings/ |
D | wrap_alpha.py | 33 am = src.endswith("_am") variable 34 if am:
|
/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/Settings/src/com/android/settings/applications/ |
D | AppStorageSettings.java | 424 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/ |
D | OtherSoundSettings.java | 100 final AudioManager am = 103 am.loadSoundEffects(); 105 am.unloadSoundEffects();
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | ForceStopPreference.java | 95 ActivityManager am = (ActivityManager) in onOk() local 97 am.forceStopPackage(getArguments().getString(ARG_PACKAGE_NAME)); in onOk()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
D | DeviceOwnerProvisioningService.java | 373 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/ |
D | LocalizedNameResolver.java | 63 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/ |
D | PhotoPriorityResolver.java | 106 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/ |
D | SimpleWeekView.java | 528 AccessibilityManager am = (AccessibilityManager) context in onHoverEvent() local 530 if (!am.isEnabled() || !am.isTouchExplorationEnabled()) { in onHoverEvent()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ShowAdminSupportDetailsDialog.java | 96 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/ |
D | MainFragment.java | 206 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/ |
D | CalendarAppWidgetProvider.java | 85 AlarmManager am = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in onDisabled() local 87 am.cancel(pendingUpdate); in onDisabled()
|
/packages/apps/Contacts/script/ |
D | test.sh | 18 adb shell am instrument ${@} -w com.android.contacts.tests/android.test.InstrumentationTestRunner
|
/packages/apps/ContactsCommon/tests/bin/ |
D | test.sh | 3 adb shell am instrument -w com.android.contacts.common.unittest/android.test.InstrumentationTestRun…
|
/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/latin/settings/ |
D | AdvancedSettingsFragment.java | 178 final AudioManager am = (AudioManager)getActivity().getSystemService(Context.AUDIO_SERVICE); in setupKeypressSoundVolumeSettings() local 220 am.playSoundEffect( in setupKeypressSoundVolumeSettings()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | SearchDropTargetBar.java | 142 AccessibilityManager am = (AccessibilityManager) in animateToState() local 144 mAccessibilityEnabled = am.isEnabled(); in animateToState()
|
/packages/apps/Browser2/test/ |
D | run_tests.sh | 17 adb shell am instrument -w -e mode rebaseline -e class \
|