Home
last modified time | relevance | path

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

123456

/packages/services/Car/tools/perf/janky-frame-test/
Djanky-frame-test.sh70 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/
DAccountsFragment.java90 final AccountManager am = AccountManager.get(getContext()); in updateAccounts() local
91 final AuthenticatorDescription[] authTypes = am.getAuthenticatorTypes(); in updateAccounts()
104 Account[] accounts = am.getAccountsByType(authDesc.type); in updateAccounts()
167 final AccountManager am = AccountManager.get(context); in setUpAddAccountPrefIntent() local
168 final AuthenticatorDescription[] authTypes = am.getAuthenticatorTypes(); in setUpAddAccountPrefIntent()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DActivityManagers.java28 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/apps/Settings/src/com/android/settings/notification/
DTouchSoundPreferenceController.java44 final AudioManager am = in TouchSoundPreferenceController()
47 am.loadSoundEffects(); in TouchSoundPreferenceController()
49 am.unloadSoundEffects(); in TouchSoundPreferenceController()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DTouchSoundPreferenceController.java44 final AudioManager am = in TouchSoundPreferenceController()
47 am.loadSoundEffects(); in TouchSoundPreferenceController()
49 am.unloadSoundEffects(); in TouchSoundPreferenceController()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/
DSetupGuidedStepFragment.java115 AccessibilityManager am = in onResume() local
117 mAccessibilityMode = am != null && am.isEnabled() && am.isTouchExplorationEnabled(); in onResume()
/packages/apps/Car/CompanionDeviceSupport/tests/unit/
DREADME.md13 `adb shell am instrument -w com.android.car.companiondevicesupport.tests.unit`
17 `adb shell am instrument -w -e class com.android.car.companiondevicesupport.<classPath> com.android…
21 `adb shell am instrument -w -e class com.android.car.companiondevicesupport.<classPath>#<testMethod…
/packages/apps/Car/libs/connected-device-lib/tests/unit/
DREADME.md13 `adb shell am instrument -w com.android.car.connecteddevice.tests.unit`
17 `adb shell am instrument -w -e class com.android.car.connecteddevice.<classPath> com.android.car.co…
21 `adb shell am instrument -w -e class com.android.car.connecteddevice.<classPath>#<testMethod> com.a…
/packages/apps/StorageManager/tests/unit/
DREADME8 $ 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/src/com/android/settings/password/
DPasswordUtils.java83 IActivityManager am = ActivityManager.getService(); in crashCallingApplication() local
85 int uid = am.getLaunchedFromUid(activityToken); in crashCallingApplication()
87 am.crashApplication( in crashCallingApplication()
/packages/apps/Settings/tests/unit/
DREADME8 $ 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/apps/Traceur/uitests/
DREADME8 $ 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DPasswordUtils.java83 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/
Dusbtuner-test.sh40 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/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DAccessibilityContextMenuMaker.java113 AccessibilityManager am = mActivity.getSystemService(AccessibilityManager.class); in isScreenReaderEnabled() local
114 return am.isEnabled() && am.isTouchExplorationEnabled(); in isScreenReaderEnabled()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSettings.java368 ActivityManager am = (ActivityManager) in initiateClearUserData() local
370 boolean res = am.clearApplicationUserData(packageName, mClearDataObserver); in initiateClearUserData()
403 ActivityManager am = (ActivityManager) getActivity().getSystemService( in refreshGrantedUriPermissions() local
406 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/DeskClock/src/com/android/deskclock/
DUtils.java306 final AlarmManager am = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in getNextAlarmLOrLater() local
307 final AlarmClockInfo info = getNextAlarmClock(am); in getNextAlarmLOrLater()
319 private static AlarmClockInfo getNextAlarmClock(AlarmManager am) { in getNextAlarmClock() argument
320 return am.getNextAlarmClock(); in getNextAlarmClock()
324 public static void updateNextAlarm(AlarmManager am, AlarmClockInfo info, PendingIntent op) { in updateNextAlarm() argument
325 am.setAlarmClock(info, op); in updateNextAlarm()
/packages/apps/Stk/src/com/android/stk/
DStkDialogActivity.java338 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/
DMainFragmentTest.java241 ShadowAccountManager am = extract(AccountManager.get(RuntimeEnvironment.application)); in testUpdateAccountPref_hasOneAccount() local
242 am.addAccount(new Account("test", "test")); in testUpdateAccountPref_hasOneAccount()
273 ShadowAccountManager am = extract(AccountManager.get(RuntimeEnvironment.application)); in testUpdateAccountPref_hasMoreThanOneAccount() local
274 am.addAccount(new Account("test", "test")); in testUpdateAccountPref_hasMoreThanOneAccount()
275 am.addAccount(new Account("test2", "test2")); in testUpdateAccountPref_hasMoreThanOneAccount()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStorageSettings.java372 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/
DLicenseUtils.java28 public static boolean hasRatingAttribution(AssetManager am) { in hasRatingAttribution() argument
29 try (InputStream is = am.open("rating_sources.html")) { in hasRatingAttribution()
/packages/apps/DocumentsUI/
Dwrap_alpha.py37 am = src.endswith("_am") variable
38 if am:
/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/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 \

123456