Searched refs:probe (Results 1 – 9 of 9) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | BaseBootReceiver.java | 34 final File probe = new File(context.getFilesDir(), in onReceive() local 36 Log.d(TAG, "Touching probe " + probe); in onReceive() 37 probe.createNewFile(); in onReceive()
|
D | RemoteQueryProvider.java | 62 File probe = new File(deCtx.getFilesDir(), fileName); in fileQuery() local 65 cursor.addRow(new Object[] {0, fileName, probe.exists() ? 1 : 0}); in fileQuery()
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | CommonExternalStorageTest.java | 271 final File probe = buildProbeFile(path); in assertDirReadOnlyAccess() local 272 assertFalse(probe.createNewFile()); in assertDirReadOnlyAccess() 273 assertFalse(probe.exists()); in assertDirReadOnlyAccess() 274 assertFalse(probe.delete()); in assertDirReadOnlyAccess() 296 final File probe = buildProbeFile(path); in assertDirReadWriteAccess() local 297 assertTrue(probe.createNewFile()); in assertDirReadWriteAccess() 298 assertTrue(probe.exists()); in assertDirReadWriteAccess() 299 assertTrue(probe.delete()); in assertDirReadWriteAccess() 300 assertFalse(probe.exists()); in assertDirReadWriteAccess() 310 final File probe = buildProbeFile(path); in assertDirNoAccess() local [all …]
|
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/ |
D | WriteExternalStorageTest.java | 115 final File probe = new File( in testWriteExternalStorageDirs() local 119 assertFalse(probe.exists()); in testWriteExternalStorageDirs() 120 assertTrue(probe.mkdirs()); in testWriteExternalStorageDirs() 123 assertDirReadWriteAccess(probe); in testWriteExternalStorageDirs() 126 probe.delete(); in testWriteExternalStorageDirs() 127 assertFalse(probe.exists()); in testWriteExternalStorageDirs() 326 final File probe = buildProbeFile(Environment.getExternalStorageDirectory()); in testSecondaryMountPoints() local 327 assertTrue(probe.createNewFile()); in testSecondaryMountPoints() 337 final File testProbe = new File(path, probe.getName()); in testSecondaryMountPoints() 338 final File testUserProbe = new File(userPath, probe.getName()); in testSecondaryMountPoints()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ExternalStorageHostTest.java | 469 String probe = "/sdcard/../" + user; in testSecondaryUsersInaccessible() local 474 assertTrue(probe, access(probe)); in testSecondaryUsersInaccessible() 477 assertFalse(probe, access(probe)); in testSecondaryUsersInaccessible() 479 probe = mount + "/" + user; in testSecondaryUsersInaccessible() 480 assertFalse(probe, access(probe)); in testSecondaryUsersInaccessible()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0479/ |
D | poc.cpp | 101 request.probe = false; in main()
|
/cts/tests/tests/provider/src/android/provider/cts/media/ |
D | MediaStorePlacementTest.java | 112 for (String probe : new String[] { in testIgnored() 118 values.put(MediaColumns.RELATIVE_PATH, probe); in testIgnored()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/ |
D | AtomTestCase.java | 231 private String probe(String path) throws Exception { in probe() method in AtomTestCase 241 String tracing_on = probe(traceFsPath); in isSystemTracingEnabled() 250 tracing_on = probe(debugFsPath); in isSystemTracingEnabled()
|
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/ |
D | MediaStorageTest.java | 109 final File probe = new File(Environment.getExternalStorageDirectory(), in testLegacy() local 111 assertTrue(probe.createNewFile()); in testLegacy()
|