Home
last modified time | relevance | path

Searched refs:values (Results 1 – 10 of 10) 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/libraries/aupt-lib/src/android/support/test/aupt/
DDataCollector.java76 mSleepInterval = gcd(generatorsWithIntervals.values()); in DataCollector()
146 private long gcd(Collection<Long> values) { in gcd() argument
147 if (values.size() < 1) { in gcd()
151 long gcdSoFar = values.iterator().next(); in gcd()
153 for (Long value : values) { in gcd()
/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/device-collectors/src/hostsidetests/src/com/android/collectors/
DDeviceCollectorsTest.java97 for (TestResult res : result.getTestResults().values()) { in testBaseListenerRuns()
127 for (TestResult testCaseResult : result.getTestResults().values()) { in testBaseListenerRuns_withExcludeFilters()
157 for (TestResult testCaseResult : result.getTestResults().values()) { in testBaseListenerRuns_withIncludeAndExcludeFilters()
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/loggers/
DDeviceFileLoggerHostTest.java83 for (TestResult res : result.getTestResults().values()) { in testFileIsLogged()
/platform_testing/libraries/aoa-helper/src/com/android/helper/aoa/
DAoaDevice.java124 for (HID hid : HID.values()) { in registerHIDs()
147 for (HID hid : HID.values()) { in unregisterHIDs()
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DSfStatsCollectionHelper.java231 long count = internalMap.values().stream().mapToLong(v -> v).sum(); in mean()
DJankCollectionHelper.java310 for (GfxInfoMetric metric : GfxInfoMetric.values()) { in parseGfxInfoMetrics()
/platform_testing/libraries/system-helpers/permission-helper/src/android/system/helpers/
DPermissionHelper.java377 for (List<String> prmsList : PermissionHelper.mPermissionGroupInfo.values()) { in getPlatformDangerousPermissionGroupNames()
/platform_testing/libraries/aoa-helper/tests/src/com/android/helper/aoa/
DAoaDeviceTest.java76 private static final int HID_COUNT = AoaDevice.HID.values().length;