Home
last modified time | relevance | path

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

12

/development/apps/CustomLocale/src/com/android/customlocale2/
DChangeLocale.java48 IActivityManager am = ActivityManager.getService(); in changeSystemLocale() local
49 Configuration config = am.getConfiguration(); in changeSystemLocale()
66 am.updateConfiguration(config); in changeSystemLocale()
DCustomLocaleActivity.java264 IActivityManager am = ActivityManager.getService(); in displayCurrentLocale() local
265 Configuration config = am.getConfiguration(); in displayCurrentLocale()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DAlarmController.java101 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
102 am.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), sender);
132 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
133 am.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP,
155 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
156 am.cancel(sender);
DAlarmService.java67 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
68 am.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP,
80 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
81 am.cancel(mAlarmSender);
DContactsSelectInstrumentation.java60 ActivityMonitor am = addMonitor(IntentFilter.create( in onStart() local
75 if (checkMonitorHit(am, 1)) { in onStart()
/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/
DMainActivity.java47 private static AccountManager am; field in MainActivity
50 Account[] accounts = am.getAccountsByType(getApplicationContext().getPackageName()); in isAccountAdded()
64 am = AccountManager.get(getApplicationContext()); in onCreate()
152 am.setAccountVisibility(currentAccount, packageName, in onCreate()
160 am.setAccountVisibility(currentAccount, packageName, in onCreate()
168 am.setAccountVisibility(currentAccount, packageName, in onCreate()
179 + am.getAccountVisibility(currentAccount, packageName), in onCreate()
185 + am.addAccountExplicitly(currentAccount, null, null), in onCreate()
194 + am.addAccountExplicitly(currentAccount, null, null, in onCreate()
202 + am.removeAccountExplicitly(currentAccount), in onCreate()
[all …]
/development/tools/logblame/
Dapp_switch_test32 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
45 adb shell am start -a android.intent.action.MAIN $intent
66 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
Dconnectivity_log_test15 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
27 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
33 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
Dsample.txt938am.ActivityStackSupervisor$ActivityStackSupervisorHandler.activityIdleInternal(com.android.server.
941am.ActivityStackSupervisor$ActivityStackSupervisorHandler.activityIdleInternal(com.android.server.
2578am.ActivityManagerService.activityIdle(android.os.IBinder, android.content.res.Configuration, bool…
2780am.BatteryStatsService.getStatisticsStream()(BatteryStatsService.java:378) waiters=0 in boolean co…
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyNetworkMonitor.java86 public void register(IActivityManager am) throws RemoteException { in register() argument
88 am.registerReceiver(null, null, this, filter, null, UserHandle.USER_ALL, 0); in register()
91 public void unregister(IActivityManager am) throws RemoteException { in unregister() argument
93 am.unregisterReceiver(this); in unregister()
/development/apps/PushApiTestAppOne/src/com/example/android/pushapithirdpartyone/
DMainActivity.java46 private static AccountManager am; field in MainActivity
53 am = AccountManager.get(getApplicationContext()); in onCreate()
65 am.addOnAccountsUpdatedListener(mListener, null, false, in onCreate()
89 Account[] accountsAccessedByAuthApp = am.getAccounts(); in onCreate()
110 am.removeOnAccountsUpdatedListener(mListener); in onDestroy()
/development/apps/PushApiTestAppTwo/src/com/example/android/pushapithirdpartytwo/
DMainActivity.java46 private static AccountManager am; field in MainActivity
53 am = AccountManager.get(getApplicationContext()); in onCreate()
65 am.addOnAccountsUpdatedListener(mListener, null, false, in onCreate()
89 Account[] accountsAccessedByAuthApp = am.getAccounts(); in onCreate()
110 am.removeOnAccountsUpdatedListener(mListener); in onDestroy()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DGLES20Activity.java49 ActivityManager am = in detectOpenGLES20() local
51 ConfigurationInfo info = am.getDeviceConfigurationInfo(); in detectOpenGLES20()
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/
DAssetProvider.java95 AssetManager am = context.getAssets(); in openAssetFile() local
96 return am.openFd(assetName); in openAssetFile()
/development/tools/templates/
Djava_tests_file.template11 * adb shell am instrument -w \
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticator.java102 final AccountManager am = AccountManager.get(mContext); in getAuthToken() local
103 final String password = am.getPassword(account); in getAuthToken()
/development/apps/Development/src/com/android/development/
DRunningProcesses.java81 ActivityManager am = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE); in AppListAdapter() local
82 List<ActivityManager.RunningAppProcessInfo> appList = am.getRunningAppProcesses(); in AppListAdapter()
DPackageSummary.java152 ActivityManager am = (ActivityManager)getSystemService( in onCreate()
154 am.killBackgroundProcesses(mPackageName); in onCreate()
/development/apps/OBJViewer/com/android/objviewer/
DOBJViewer.java312 final AssetManager am = getAssets(); in onCreate() local
316 return am.open(filename); in onCreate()
/development/ndk/platforms/android-9/include/android/
Dconfiguration.h115 void AConfiguration_fromAssetManager(AConfiguration* out, AAssetManager* am);
/development/ndk/platforms/android-16/include/android/
Dconfiguration.h127 void AConfiguration_fromAssetManager(AConfiguration* out, AAssetManager* am);
/development/ndk/platforms/android-13/include/android/
Dconfiguration.h124 void AConfiguration_fromAssetManager(AConfiguration* out, AAssetManager* am);
/development/ndk/platforms/android-17/include/android/
Dconfiguration.h132 void AConfiguration_fromAssetManager(AConfiguration* out, AAssetManager* am);
/development/ndk/platforms/android-18/include/android/
Dconfiguration.h133 void AConfiguration_fromAssetManager(AConfiguration* out, AAssetManager* am);
/development/ndk/platforms/android-21/include/android/
Dconfiguration.h137 void AConfiguration_fromAssetManager(AConfiguration* out, AAssetManager* am);

12