Searched refs:JOB_FILE_SPLIT_PREFIX (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobStoreTest.java | 8 import static com.android.server.job.JobStore.JOB_FILE_SPLIT_PREFIX; 239 final File file1 = new File(rootDir, JOB_FILE_SPLIT_PREFIX + uid1 + ".xml"); in testSkipExtraFiles() 240 final File file2 = new File(rootDir, JOB_FILE_SPLIT_PREFIX + uid2 + ".xml"); in testSkipExtraFiles() 243 new File(rootDir, JOB_FILE_SPLIT_PREFIX + uid1 + ".xml.bak").toPath()); in testSkipExtraFiles() 246 new File(rootDir, "blah" + JOB_FILE_SPLIT_PREFIX + uid1 + ".xml").toPath()); in testSkipExtraFiles() 298 file = new File(mTestContext.getFilesDir(), JOB_FILE_SPLIT_PREFIX); in testExtractUidFromJobFileName() 301 file = new File(mTestContext.getFilesDir(), JOB_FILE_SPLIT_PREFIX + "text.xml"); in testExtractUidFromJobFileName() 304 file = new File(mTestContext.getFilesDir(), JOB_FILE_SPLIT_PREFIX + ".xml"); in testExtractUidFromJobFileName() 307 file = new File(mTestContext.getFilesDir(), JOB_FILE_SPLIT_PREFIX + "-10123.xml"); in testExtractUidFromJobFileName() 310 file = new File(mTestContext.getFilesDir(), JOB_FILE_SPLIT_PREFIX + "1.xml"); in testExtractUidFromJobFileName() [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobStore.java | 102 static final String JOB_FILE_SPLIT_PREFIX = "jobs_"; field in JobStore 104 Pattern.compile("^" + JOB_FILE_SPLIT_PREFIX + "\\d+.xml$"); 621 if (fileName.startsWith(JOB_FILE_SPLIT_PREFIX)) { in extractUidFromJobFileName() 625 fileName.substring(JOB_FILE_SPLIT_PREFIX.length(), subEnd)); in extractUidFromJobFileName() 743 file = createJobFile(JOB_FILE_SPLIT_PREFIX + uid); 772 if (!file.getName().startsWith(JOB_FILE_SPLIT_PREFIX)) { 776 } else if (file.getName().startsWith(JOB_FILE_SPLIT_PREFIX)) { 1186 if (!file.getName().startsWith(JOB_FILE_SPLIT_PREFIX)) { in run() 1192 } else if (file.getName().startsWith(JOB_FILE_SPLIT_PREFIX)) { in run()
|