Home
last modified time | relevance | path

Searched refs:probe (Results 1 – 5 of 5) 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/SplitApp/src/com/android/cts/splitapp/
DBaseBootReceiver.java34 final File probe = new File(context.getFilesDir(), in onReceive() local
36 Log.d(TAG, "Touching probe " + probe); in onReceive()
37 probe.createNewFile(); in onReceive()
38 exposeFile(probe); in onReceive()
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DCommonExternalStorageTest.java247 final File probe = buildProbeFile(path); in assertDirReadOnlyAccess() local
248 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() local
267 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 …]
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteExternalStorageTest.java98 final File probe = new File( in testWriteExternalStorageDirs() local
102 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() local
288 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()
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DEncryptionAppTest.java379 final File probe = new File(otherContext.getFilesDir(), in awaitBroadcast() local
382 Log.d(TAG, "Waiting for " + probe + "..."); in awaitBroadcast()
383 if (probe.exists()) { in awaitBroadcast()
388 throw new AssertionError("Failed to find " + probe); in awaitBroadcast()