/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
BatteryStatsSyncAdapter.java | 54 public void onPerformSync(Account account, Bundle extras, String authority, 104 final Bundle extras = new Bundle(); local 105 extras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); 106 extras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, true); 107 extras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); 109 ContentResolver.requestSync(account, BatteryStatsProvider.AUTHORITY, extras);
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
LocationProviderBase.java | 96 public int getStatus(Bundle extras) { 97 return onGetStatus(extras); 104 public boolean sendExtraCommand(String command, Bundle extras) { 105 return onSendExtraCommand(command, extras); 183 * <p>If extras is non-null, additional status information may be 186 public abstract int onGetStatus(Bundle extras); 204 * @param extras optional arguments for the command (or null). 205 * The provider may optionally fill the extras Bundle with results from the command. 209 public boolean onSendExtraCommand(String command, Bundle extras) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
SyncOperationTest.java | 119 assertTrue("Account fields in extras not persisted.", 120 account1.equals(op2.extras.get("acc"))); 121 assertTrue("Fields in extras not persisted", "String".equals(op2.extras.getString("str"))); 126 PersistableBundle extras = new PersistableBundle(); local 127 SyncOperation op = SyncOperation.maybeCreateFromJobExtras(extras); 139 Bundle extras = new Bundle(); local 140 SyncOperation periodic = new SyncOperation(ep, 0, "package", 0, 0, extras, false, true,
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
A2dpReceiver.java | 214 Bundle extras = intent.getExtras(); local 216 if (extras == null) { 221 if (extras.containsKey("BT_OFF_Mute")) { 235 if (extras.containsKey("BT_ON_NotPlay")) { 243 if (!extras.containsKey("PlayTime")) { 247 tmpStr = extras.getString("PlayTime"); 251 if (!extras.containsKey("MusicURL")) { 255 musicUrl = extras.getString("MusicURL"); 265 if (!extras.containsKey("CodecType")) { 269 tmpStr = extras.getString("CodecType") [all...] |
/frameworks/support/compat/java/android/support/v4/app/ |
NotificationCompatJellybean.java | 38 // Extras keys used for Jellybean SDK and above. 46 private static final String KEY_EXTRAS = "extras"; 67 /** Return an SparseArray for action extras or null if none was needed. */ 83 * Get the extras Bundle from a notification using reflection. Extras were present in 93 Field extrasField = Notification.class.getDeclaredField("extras"); 95 Log.e(TAG, "Notification.extras field is not of type Bundle"); 102 Bundle extras = (Bundle) sExtrasField.get(notif); local 103 if (extras == null) { 104 extras = new Bundle() 166 Bundle extras = getExtras(notif); local 227 Bundle extras = bundle.getBundle(KEY_EXTRAS); local [all...] |
/packages/apps/Email/provider_src/com/android/email/service/ |
PopImapSyncAdapterService.java | 63 public void onPerformSync(android.accounts.Account account, Bundle extras, 65 PopImapSyncAdapterService.performSync(getContext(), account, extras, provider, local 103 final Bundle extras, final SyncResult syncResult, final boolean uiRefresh, 138 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, 148 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, status, 0, 158 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, 165 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, 172 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, 179 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, 195 Bundle extras, ContentProviderClient provider, SyncResult syncResult) [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPeriodicSync.java | 17 public void __constructor__(Account account, String authority, Bundle extras, long period) throws Exception { 21 setField("extras", extras);
|
/frameworks/base/core/java/android/hardware/camera2/ |
TotalCaptureResult.java | 63 CaptureResultExtras extras, List<CaptureResult> partials, int sessionId) { 64 super(results, parent, extras);
|
/frameworks/base/core/java/android/service/wallpaper/ |
IWallpaperEngine.aidl | 32 int z, in Bundle extras);
|
/frameworks/support/customtabs/tests/src/android/support/customtabs/ |
TestCustomTabsService.java | 46 Uri url, Bundle extras, List<Bundle> otherLikelyBundles) { 70 protected int postMessage(CustomTabsSessionToken sessionToken, String message, Bundle extras) {
|
/frameworks/support/media-compat/api22/android/support/v4/media/session/ |
PlaybackStateCompatApi22.java | 34 long activeItemId, Bundle extras) { 44 stateObj.setExtras(extras);
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
BrokenSettingsEnabledProvider.java | 45 Bundle extras = c.getExtras(); local 46 extras.putString(
|
/frameworks/support/content/src/android/support/content/ |
ContentPager.java | 127 * in cursor extras. When EXTRA_SUGGESTED_LIMIT is present in extras, the client should 172 * Cursor wrapped to supply data in extras only. 423 Bundle extras = result.getExtras(); local 427 extras.putInt(EXTRA_REQUESTED_LIMIT, query.getLimit()); 428 extras.putInt(EXTRA_SUGGESTED_LIMIT, (int) (windowSize * .85)); 432 mStats.includeStats(extras); 458 * @return true if the cursor extras contains all of the signs of being paged. 465 Bundle extras = cursor.getExtras(); local 466 extras = extras != null ? extras : Bundle.EMPTY [all...] |
/cts/tests/JobScheduler/jobperm/src/android/jobscheduler/cts/jobperm/ |
JobPermProvider.java | 37 public Bundle call(@NonNull String method, @Nullable String arg, @Nullable Bundle extras) { 43 Uri uri = extras.getParcelable("uri"); 50 Uri uri = extras.getParcelable("uri"); 58 return super.call(method, arg, extras);
|
/cts/tests/tests/content/src/android/content/cts/ |
ContentResolverSyncTestCase.java | 129 Bundle extras = new Bundle(); local 130 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); 159 Bundle extras = new Bundle(); local 160 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); 162 ContentResolver.requestSync(account, authority, extras); 322 fail("did not throw IllegalArgumentException when extras is null."); 332 Bundle extras = new Bundle(); 333 extras.putInt("Integer", 20); 334 extras.putLong("Long", 10l); 335 extras.putBoolean("Boolean", true) [all...] |
MockSyncAdapter.java | 80 Bundle extras) throws RemoteException { 84 mExtras = extras; 86 if (null != extras && extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE)) {
|
/frameworks/support/customtabs/src/android/support/customtabs/ |
ICustomTabsService.aidl | 34 in Bundle extras, in List<Bundle> otherLikelyBundles) = 3; 38 int postMessage(in ICustomTabsCallback callback, String message, in Bundle extras) = 7;
|
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
IMediaControllerCallback.aidl | 30 void onEvent(String event, in Bundle extras); 38 void onExtrasChanged(in Bundle extras);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
SyncTask.java | 62 public void onCreate(Context context, Bundle extras) { 63 super.onCreate(context, extras); 64 mPhone = extras.getParcelable(EXTRA_PHONE_ACCOUNT_HANDLE); 65 mSyncType = extras.getString(EXTRA_SYNC_TYPE);
|
/system/extras/tests/binder/benchmarks/ |
Android.mk | 33 system/extras/tests/include \
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/ |
AssistantActivity.java | 72 static void launchActivityIntoAssistantStack(Activity caller, Bundle extras) { 75 if (extras != null) { 76 intent.putExtras(extras);
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
IncomingCallTest.java | 67 Bundle extras = new Bundle(); local 68 extras.putParcelable(TelecomManager.EXTRA_INCOMING_CALL_ADDRESS, createTestNumber()); 70 mTelecomManager.addNewIncomingCall(TEST_INVALID_HANDLE, extras);
|
/developers/build/prebuilts/gradle/DirectShare/Application/src/main/java/com/example/android/directshare/ |
SampleChooserTargetService.java | 44 Bundle extras = new Bundle(); local 45 extras.putInt(Contact.ID, i); 58 extras));
|
/developers/build/prebuilts/gradle/WearComplicationProvidersTestSuite/Wearable/src/main/java/com/example/android/wearable/wear/wearcomplicationproviderstestsuite/ |
ComplicationToggleReceiver.java | 36 Bundle extras = intent.getExtras(); local 37 ComponentName provider = extras.getParcelable(EXTRA_PROVIDER_COMPONENT); 38 int complicationId = extras.getInt(EXTRA_COMPLICATION_ID);
|
/developers/samples/android/content/DirectShare/Application/src/main/java/com/example/android/directshare/ |
SampleChooserTargetService.java | 44 Bundle extras = new Bundle(); local 45 extras.putInt(Contact.ID, i); 58 extras));
|