Searched refs:cursor (Results 201 - 207 of 207) sorted by relevance

123456789

/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java2412 Cursor cursor = accounts.accountsDb.findAuthtokenForAllAccounts(accountType, authToken);
2415 while (cursor.moveToNext()) {
2416 String authTokenId = cursor.getString(0);
2417 String accountName = cursor.getString(1);
2418 String authTokenType = cursor.getString(2);
2423 cursor.close();
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java3164 try (Cursor cursor = ceDb.rawQuery("SELECT count(*) FROM accounts", null)) {
3165 assertTrue(cursor.moveToNext());
3166 return cursor.getInt(0);
/frameworks/native/cmds/installd/
H A DInstalldNativeService.cpp2494 char* cursor = reinterpret_cast<char*>(data.get()); local
2497 int ret = TEMP_FAILURE_RETRY(write(wfd.get(), cursor, remaining));
2502 cursor += ret;
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2Test.cpp391 "failed to set cursor position";
1645 const hwc_rect_t cursor = testLayers->getCursorPosition(layer); local
1655 cursor.left, cursor.top));
3024 /* TESTCASE: Tests that the HWC2 can set the cursor position of a layer. */
3031 /* TESTCASE: Tests that the HWC2 can update the cursor position of a layer. */
3038 /* TESTCASE: Tests that the HWC2 can set the cursor position of a layer when the
3053 /* TESTCASE: Tests that the HWC2 cannot set the cursor position of a bad
3068 /* TESTCASE: Tests that the HWC2 cannot set the cursor position of a bad layer. */
3986 * cursor
[all...]
/frameworks/base/core/java/android/app/
H A DActivity.java835 ManagedCursor(Cursor cursor) { argument
836 mCursor = cursor;
1294 * where the cursor should be requeried (because you had deactivated it in
2497 * <p><strong>Warning:</strong> Do not call {@link Cursor#close()} on a cursor obtained using
2499 * you call {@link #stopManagingCursor} on a cursor from a managed query, the system <em>will
2500 * not</em> automatically close the cursor and, in that case, you must call
2537 * <p><strong>Warning:</strong> Do not call {@link Cursor#close()} on a cursor obtained using
2539 * you call {@link #stopManagingCursor} on a cursor from a managed query, the system <em>will
2540 * not</em> automatically close the cursor and, in that case, you must call
2578 * <p><strong>Warning:</strong> Do not call {@link Cursor#close()} on cursor obtaine
[all...]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java13003 final Cursor cursor;
13006 cursor = mContext.getContentResolver().query(DPC_URI, null, null, null, null);
13011 if (cursor == null) {
13016 cursor.moveToPosition(-1);
13017 while (cursor.moveToNext()) {
13018 ApnSetting apn = ApnSetting.makeApnSetting(cursor);
13023 cursor.close();
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 840 milliseconds

123456789