Searched refs:probe (Results 1 – 5 of 5) sorted by relevance
390 int first, last, probe; in get_action() local395 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 …]
34 final File probe = new File(context.getFilesDir(), in onReceive() local36 Log.d(TAG, "Touching probe " + probe); in onReceive()37 probe.createNewFile(); in onReceive()38 exposeFile(probe); in onReceive()
247 final File probe = buildProbeFile(path); in assertDirReadOnlyAccess() local248 assertFalse(probe.createNewFile()); in assertDirReadOnlyAccess()249 assertFalse(probe.exists()); in assertDirReadOnlyAccess()250 assertFalse(probe.delete()); in assertDirReadOnlyAccess()266 final File probe = buildProbeFile(path); in assertDirReadWriteAccess() local267 assertTrue(probe.createNewFile()); in assertDirReadWriteAccess()268 assertTrue(probe.exists()); in assertDirReadWriteAccess()269 assertTrue(probe.delete()); in assertDirReadWriteAccess()270 assertFalse(probe.exists()); in assertDirReadWriteAccess()283 final File probe = buildProbeFile(path); in assertDirNoAccess() local[all …]
98 final File probe = new File( in testWriteExternalStorageDirs() local102 assertFalse(probe.exists()); in testWriteExternalStorageDirs()103 assertTrue(probe.mkdirs()); in testWriteExternalStorageDirs()105 assertDirReadWriteAccess(probe); in testWriteExternalStorageDirs()287 final File probe = buildProbeFile(Environment.getExternalStorageDirectory()); in testSecondaryMountPointsNotWritable() local288 assertTrue(probe.createNewFile()); in testSecondaryMountPointsNotWritable()297 final File testProbe = new File(path, probe.getName()); in testSecondaryMountPointsNotWritable()298 final File testUserProbe = new File(userPath, probe.getName()); in testSecondaryMountPointsNotWritable()
379 final File probe = new File(otherContext.getFilesDir(), in awaitBroadcast() local382 Log.d(TAG, "Waiting for " + probe + "..."); in awaitBroadcast()383 if (probe.exists()) { in awaitBroadcast()388 throw new AssertionError("Failed to find " + probe); in awaitBroadcast()