Home
last modified time | relevance | path

Searched refs:probe (Results 1 – 3 of 3) sorted by relevance

/cts/tools/dasm/src/java_cup/runtime/
Dlr_parser.java390 int first, last, probe; in get_action() local
395 for (probe = 0; probe < row.length; probe++) in get_action()
398 tag = row[probe++]; in get_action()
402 return row[probe]; in get_action()
412 probe = (first+last)/2; in get_action()
413 if (sym == row[probe*2]) in get_action()
414 return row[probe*2+1]; in get_action()
415 else if (sym > row[probe*2]) in get_action()
416 first = probe+1; in get_action()
418 last = probe-1; in get_action()
[all …]
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteExternalStorageTest.java92 final File probe = new File( in testWriteExternalStorageDirs() local
96 assertFalse(probe.exists()); in testWriteExternalStorageDirs()
97 assertTrue(probe.mkdirs()); in testWriteExternalStorageDirs()
99 assertDirReadWriteAccess(probe); in testWriteExternalStorageDirs()
276 final File probe = buildProbeFile(Environment.getExternalStorageDirectory()); in testSecondaryMountPointsNotWritable() local
277 assertTrue(probe.createNewFile()); in testSecondaryMountPointsNotWritable()
286 final File testProbe = new File(path, probe.getName()); in testSecondaryMountPointsNotWritable()
287 final File testUserProbe = new File(userPath, probe.getName()); in testSecondaryMountPointsNotWritable()
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DCommonExternalStorageTest.java211 final File probe = buildProbeFile(path); in assertDirReadOnlyAccess() local
212 probe.createNewFile(); in assertDirReadOnlyAccess()
213 probe.delete(); in assertDirReadOnlyAccess()
229 final File probe = buildProbeFile(path); in assertDirReadWriteAccess() local
230 probe.createNewFile(); in assertDirReadWriteAccess()
231 probe.delete(); in assertDirReadWriteAccess()
244 final File probe = buildProbeFile(path); in assertDirNoAccess() local
245 probe.createNewFile(); in assertDirNoAccess()
246 probe.delete(); in assertDirNoAccess()
257 final File probe = buildProbeFile(path); in assertDirNoWriteAccess() local
[all …]