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.java254 final File probe = buildProbeFile(path); in assertDirReadOnlyAccess() local
255 assertFalse(probe.createNewFile()); in assertDirReadOnlyAccess()
256 assertFalse(probe.exists()); in assertDirReadOnlyAccess()
257 assertFalse(probe.delete()); in assertDirReadOnlyAccess()
273 final File probe = buildProbeFile(path); in assertDirReadWriteAccess() local
274 assertTrue(probe.createNewFile()); in assertDirReadWriteAccess()
275 assertTrue(probe.exists()); in assertDirReadWriteAccess()
276 assertTrue(probe.delete()); in assertDirReadWriteAccess()
277 assertFalse(probe.exists()); in assertDirReadWriteAccess()
290 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.java318 final File probe = new File(otherContext.getFilesDir(), in awaitBroadcast() local
321 Log.d(TAG, "Waiting for " + probe + "..."); in awaitBroadcast()
322 if (probe.exists()) { in awaitBroadcast()
327 throw new AssertionError("Failed to find " + probe); in awaitBroadcast()