/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/ |
D | AccessibilityFragment.java | 77 AccessibilityManager am = (AccessibilityManager) in onStop() local 79 if (am != null && mServicesPref != null) { in onStop() 80 am.removeAccessibilityStateChangeListener(mAccessibilityStateChangeListener); in onStop() 96 AccessibilityManager am = (AccessibilityManager) in onCreatePreferences() local 98 if (am != null) { in onCreatePreferences() 99 am.addAccessibilityStateChangeListener(mAccessibilityStateChangeListener); in onCreatePreferences()
|
/packages/services/Car/tools/perf/janky-frame-test/ |
D | janky-frame-test.sh | 70 adb shell am start -n ${NON_MAP_ACTIVITY} &> /dev/null 73 adb shell am force-stop ${MAP_PACKAGE} &> /dev/null 74 adb shell am start -n ${MAP_ACTIVITY} &> /dev/null 140 adb shell am start -n ${CAR_ACTIVITY} &> /dev/null
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountsFragment.java | 93 final AccountManager am = AccountManager.get(getContext()); in updateAccounts() local 94 final AuthenticatorDescription[] authTypes = am.getAuthenticatorTypes(); in updateAccounts() 107 Account[] accounts = am.getAccountsByType(authDesc.type); in updateAccounts() 170 final AccountManager am = AccountManager.get(context); in setUpAddAccountPrefIntent() local 171 final AuthenticatorDescription[] authTypes = am.getAuthenticatorTypes(); in setUpAddAccountPrefIntent()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | ActivityManagers.java | 28 final ActivityManager am = Mockito.mock(ActivityManager.class); in create() local 29 Mockito.when(am.isLowRamDevice()).thenReturn(lowRamDevice); in create() 30 return am; in create()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | TouchSoundPreferenceController.java | 44 final AudioManager am = in TouchSoundPreferenceController() 47 am.loadSoundEffects(); in TouchSoundPreferenceController() 49 am.unloadSoundEffects(); in TouchSoundPreferenceController()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | TouchSoundPreferenceController.java | 44 final AudioManager am = in TouchSoundPreferenceController() 47 am.loadSoundEffects(); in TouchSoundPreferenceController() 49 am.unloadSoundEffects(); in TouchSoundPreferenceController()
|
/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/TV/common/src/com/android/tv/common/ui/setup/ |
D | SetupGuidedStepFragment.java | 115 AccessibilityManager am = in onResume() local 117 mAccessibilityMode = am != null && am.isEnabled() && am.isTouchExplorationEnabled(); in onResume()
|
/packages/apps/Car/libs/car-messenger-common/tests/unit/ |
D | README.md | 13 `adb shell am instrument -w com.android.car.messenger.common.tests.unit` 17 `adb shell am instrument -w -e class com.android.car.messenger.common.<classPath> com.android.car.m… 21 `adb shell am instrument -w -e class com.android.car.messenger.common.<classPath>#<testMethod> com.…
|
/packages/apps/Traceur/uitests/ |
D | README | 8 $ adb shell am instrument -w com.android.traceur.uitest/android.support.test.runner.AndroidJUnitRun… 11 $ adb shell am instrument -w -e class com.android.traceur.uitest.<class> 15 $ adb shell am instrument -w -e class com.android.traceur.uitest.<class>#<test>
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | PasswordUtils.java | 83 IActivityManager am = ActivityManager.getService(); in crashCallingApplication() local 85 int uid = am.getLaunchedFromUid(activityToken); in crashCallingApplication() 87 am.crashApplication( in crashCallingApplication()
|
/packages/providers/MediaProvider/ |
D | logging.sh | 32 adb shell am force-stop com.android.providers.media 33 adb shell am force-stop com.android.providers.media.module 34 adb shell am force-stop com.google.android.providers.media.module
|
/packages/apps/StorageManager/tests/unit/ |
D | README | 8 $ adb shell am instrument -w com.android.storagemanager.tests.unit/androidx.test.runner.AndroidJUni… 11 $ adb shell am instrument -w -e class com.android.storagemanager.<class> com.android.storagemanager… 14 $ adb shell am instrument -w -e class com.android.storagemanager.<class>#<test> com.android.storage…
|
/packages/apps/Settings/tests/unit/ |
D | README | 8 $ adb shell am instrument -w com.android.settings.tests.unit/androidx.test.runner.AndroidJUnitRunner 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | PasswordUtils.java | 83 IActivityManager am = ActivityManager.getService(); in crashCallingApplication() local 85 int uid = am.getLaunchedFromUid(activityToken); in crashCallingApplication() 87 am.crashApplication( in crashCallingApplication()
|
/packages/apps/TV/tests/tunerscripts/ |
D | usbtuner-test.sh | 40 adb shell am force-stop com.android.tv 41 adb shell am start -n com.android.tv/.MainActivity > /dev/null 88 adb shell am start com.android.tv.settings/com.android.tv.settings.MainSettings
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarUserManagerTest.java | 350 ActivityManager am = sContext.getSystemService(ActivityManager.class); in switchUserDirectly() local 351 int currentUserId = am.getCurrentUser(); in switchUserDirectly() 358 if (!am.switchUser(userId)) { in switchUserDirectly() 366 IActivityManager am = ActivityManager.getService(); in forceStopUser() local 367 am.stopUser(userId, /* force=*/ true, /* listener= */ null); in forceStopUser()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | AccessibilityContextMenuMaker.java | 113 AccessibilityManager am = mActivity.getSystemService(AccessibilityManager.class); in isScreenReaderEnabled() local 114 return am.isEnabled() && am.isTouchExplorationEnabled(); in isScreenReaderEnabled()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | Utils.java | 299 final AlarmManager am = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in getNextAlarmLOrLater() local 300 final AlarmClockInfo info = getNextAlarmClock(am); in getNextAlarmLOrLater() 312 private static AlarmClockInfo getNextAlarmClock(AlarmManager am) { in getNextAlarmClock() argument 313 return am.getNextAlarmClock(); in getNextAlarmClock() 317 public static void updateNextAlarm(AlarmManager am, AlarmClockInfo info, PendingIntent op) { in updateNextAlarm() argument 318 am.setAlarmClock(info, op); in updateNextAlarm()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkDialogActivity.java | 338 AlarmManager am = (AlarmManager) getSystemService(Context.ALARM_SERVICE); in cancelTimeOut() local 339 am.cancel(mAlarmListener); in cancelTimeOut() 365 AlarmManager am = (AlarmManager) getSystemService(Context.ALARM_SERVICE); in startTimeOut() local 366 am.setExact(AlarmManager.ELAPSED_REALTIME_WAKEUP, mAlarmTime, DIALOG_ALARM_TAG, in startTimeOut()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/ |
D | MainFragmentTest.java | 241 ShadowAccountManager am = extract(AccountManager.get(RuntimeEnvironment.application)); in testUpdateAccountPrefInfo_hasOneAccount() local 242 am.addAccount(new Account("test", "test")); in testUpdateAccountPrefInfo_hasOneAccount() 273 ShadowAccountManager am = extract(AccountManager.get(RuntimeEnvironment.application)); in testUpdateAccountPrefInfo_hasMoreThanOneAccount() local 274 am.addAccount(new Account("test", "test")); in testUpdateAccountPrefInfo_hasMoreThanOneAccount() 275 am.addAccount(new Account("test2", "test2")); in testUpdateAccountPrefInfo_hasMoreThanOneAccount()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStorageSettings.java | 373 ActivityManager am = (ActivityManager) in initiateClearUserData() local 375 boolean res = am.clearApplicationUserData(packageName, mClearDataObserver); in initiateClearUserData() 408 ActivityManager am = (ActivityManager) getActivity().getSystemService( in refreshGrantedUriPermissions() local 411 am.getGrantedUriPermissions(mAppEntry.info.packageName).getList(); in refreshGrantedUriPermissions() 467 final ActivityManager am = (ActivityManager) context.getSystemService( in clearUriPermissions() local 469 am.clearGrantedUriPermissions(packageName); in clearUriPermissions()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStorageSettings.java | 372 ActivityManager am = (ActivityManager) in initiateClearUserData() local 374 boolean res = am.clearApplicationUserData(packageName, mClearDataObserver); in initiateClearUserData() 407 ActivityManager am = (ActivityManager) getActivity().getSystemService( in refreshGrantedUriPermissions() local 410 am.getGrantedUriPermissions(mAppEntry.info.packageName).getList(); in refreshGrantedUriPermissions() 462 final ActivityManager am = (ActivityManager) context.getSystemService( in clearUriPermissions() local 464 am.clearGrantedUriPermissions(packageName); in clearUriPermissions()
|
/packages/apps/TV/src/com/android/tv/license/ |
D | LicenseUtils.java | 28 public static boolean hasRatingAttribution(AssetManager am) { in hasRatingAttribution() argument 29 try (InputStream is = am.open("rating_sources.html")) { in hasRatingAttribution()
|
/packages/apps/DocumentsUI/ |
D | wrap_alpha.py | 37 am = src.endswith("_am") variable 38 if am:
|