Home
last modified time | relevance | path

Searched refs:probe (Results 1 – 8 of 8) 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.java266 final File probe = buildProbeFile(path); in assertDirReadOnlyAccess() local
267 assertFalse(probe.createNewFile()); in assertDirReadOnlyAccess()
268 assertFalse(probe.exists()); in assertDirReadOnlyAccess()
269 assertFalse(probe.delete()); in assertDirReadOnlyAccess()
285 final File probe = buildProbeFile(path); in assertDirReadWriteAccess() local
286 assertTrue(probe.createNewFile()); in assertDirReadWriteAccess()
287 assertTrue(probe.exists()); in assertDirReadWriteAccess()
288 assertTrue(probe.delete()); in assertDirReadWriteAccess()
289 assertFalse(probe.exists()); in assertDirReadWriteAccess()
302 final File probe = buildProbeFile(path); in assertDirNoAccess() local
[all …]
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteExternalStorageTest.java105 final File probe = new File( in testWriteExternalStorageDirs() local
109 assertFalse(probe.exists()); in testWriteExternalStorageDirs()
110 assertTrue(probe.mkdirs()); in testWriteExternalStorageDirs()
112 assertDirReadWriteAccess(probe); in testWriteExternalStorageDirs()
299 final File probe = buildProbeFile(Environment.getExternalStorageDirectory()); in testSecondaryMountPointsNotWritable() local
300 assertTrue(probe.createNewFile()); in testSecondaryMountPointsNotWritable()
309 final File testProbe = new File(path, probe.getName()); in testSecondaryMountPointsNotWritable()
310 final File testUserProbe = new File(userPath, probe.getName()); in testSecondaryMountPointsNotWritable()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DExternalStorageHostTest.java455 String probe = "/sdcard/../" + user; in testSecondaryUsersInaccessible() local
460 assertTrue(probe, access(probe)); in testSecondaryUsersInaccessible()
463 assertFalse(probe, access(probe)); in testSecondaryUsersInaccessible()
465 probe = mount + "/" + user; in testSecondaryUsersInaccessible()
466 assertFalse(probe, access(probe)); in testSecondaryUsersInaccessible()
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DEncryptionAppTest.java383 final File probe = new File(otherContext.getFilesDir(), in awaitBroadcast() local
386 Log.d(TAG, "Waiting for " + probe + "..."); in awaitBroadcast()
387 if (probe.exists()) { in awaitBroadcast()
392 throw new AssertionError("Failed to find " + probe); in awaitBroadcast()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStorePlacementTest.java98 for (String probe : new String[] { in testIgnored()
104 values.put(MediaColumns.RELATIVE_PATH, probe); in testIgnored()
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DMediaStorageTest.java118 final File probe = new File(Environment.getExternalStorageDirectory(), in doSandboxed() local
122 probe.createNewFile(); in doSandboxed()
128 assertTrue(probe.createNewFile()); in doSandboxed()