Home
last modified time | relevance | path

Searched refs:values (Results 1 – 6 of 6) sorted by relevance

/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DDownloadAppTestHelper.java215 ContentValues values = new ContentValues(); in addToDownloadContentDB() local
221 values.put("title", title); in addToDownloadContentDB()
222 values.put("description", description); in addToDownloadContentDB()
223 values.put("mimetype", mimeType); in addToDownloadContentDB()
224 values.put("is_public_api", true); in addToDownloadContentDB()
225 values.put("scanned", isMediaScannerScannable); in addToDownloadContentDB()
226 values.put("is_visible_in_downloads_ui", Boolean.TRUE); in addToDownloadContentDB()
227 values.put("destination", 6); // 6: show the download item in app in addToDownloadContentDB()
228 values.put("_data", path); // location to save the downloaded file in addToDownloadContentDB()
229 values.put("status", 200); // 200 : STATUS_SUCCESS in addToDownloadContentDB()
[all …]
/platform_testing/tests/jank/dialer/src/com/android/dialer/janktests/
DDialerJankTests.java222 ContentValues values = new ContentValues(); in addNumToCalLog() local
223 values.put(CallLog.Calls.NUMBER, number); in addNumToCalLog()
224 values.put(CallLog.Calls.DATE, System.currentTimeMillis()); in addNumToCalLog()
225 values.put(CallLog.Calls.DURATION, 0); in addNumToCalLog()
226 values.put(CallLog.Calls.TYPE, CallLog.Calls.OUTGOING_TYPE); in addNumToCalLog()
227 values.put(CallLog.Calls.NEW, 1); in addNumToCalLog()
228 values.put(CallLog.Calls.CACHED_NAME, ""); in addNumToCalLog()
229 values.put(CallLog.Calls.CACHED_NUMBER_TYPE, 0); in addNumToCalLog()
230 values.put(CallLog.Calls.CACHED_NUMBER_LABEL, ""); in addNumToCalLog()
232 .insert(CallLog.Calls.CONTENT_URI, values); in addNumToCalLog()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DDataCollector.java113 private long gcd(long values[]) { in gcd() argument
114 if (values.length < 2) in gcd()
117 long gcdSoFar = values[0]; in gcd()
118 for (int i = 1; i < values.length; i++) { in gcd()
119 gcdSoFar = gcd(gcdSoFar, values[i]); in gcd()
/platform_testing/tests/functional/settingstests/src/com/android/settings/functional/
DQuickSettingsTest.java131 for (QuickSettingTiles tile : QuickSettingTiles.values()) { in testQuickSettingTilesVisible()
/platform_testing/tests/androidbvt/src/com/android/androidbvt/
DSysUINotificationShadeTests.java129 for (QuickSettingTiles tile : QuickSettingTiles.values()) { in testQuickSettings()
/platform_testing/tests/functional/permission/src/com/android/functional/permissiontests/
DPermissionHelper.java353 for (List<String> prmsList : PermissionHelper.mPermissionGroupInfo.values()) { in getPlatformDangerousPermissionGroupNames()