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 | 116 final File probe = new File( in testWriteExternalStorageDirs() local 120 assertFalse(probe.exists()); in testWriteExternalStorageDirs() 121 assertTrue(probe.mkdirs()); in testWriteExternalStorageDirs() 124 assertDirReadWriteAccess(probe); in testWriteExternalStorageDirs() 127 probe.delete(); in testWriteExternalStorageDirs() 128 assertFalse(probe.exists()); in testWriteExternalStorageDirs() 327 final File probe = buildProbeFile(Environment.getExternalStorageDirectory()); in testSecondaryMountPoints() local 328 assertTrue(probe.createNewFile()); in testSecondaryMountPoints() 338 final File testProbe = new File(path, probe.getName()); in testSecondaryMountPoints() 339 final File testUserProbe = new File(userPath, probe.getName()); in testSecondaryMountPoints()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ExternalStorageHostTest.java | 519 String probe = "/sdcard/../" + user; in testSecondaryUsersInaccessible() local 524 assertTrue(probe, access(probe)); in testSecondaryUsersInaccessible() 527 assertFalse(probe, access(probe)); in testSecondaryUsersInaccessible() 529 probe = mount + "/" + user; in testSecondaryUsersInaccessible() 530 assertFalse(probe, access(probe)); in testSecondaryUsersInaccessible()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/perfetto/ |
D | PerfettoTests.java | 377 private String probe(String path) throws Exception { in probe() method in PerfettoTests 395 String tracing_on = probe(traceFsPath); in isSystemTracingEnabled() 404 tracing_on = probe(debugFsPath); in isSystemTracingEnabled()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0479/ |
D | poc.cpp | 104 request.probe = false; in main()
|
/cts/tests/mediaprovider/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/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()
|