OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:procFile
(Results
1 - 2
of
2
) sorted by null
/cts/tests/tests/security/src/android/security/cts/
ListeningPortsTest.java
324
File
procFile
= new File(procFilePath);
327
scanner = new Scanner(
procFile
);
/frameworks/base/core/java/com/android/internal/os/
KernelSingleUidTimeReader.java
89
final String
procFile
= new StringBuilder(PROC_FILE_DIR)
94
final byte[] data = mInjector.readData(
procFile
);
96
verifyCpuFreqsCount(data.length,
procFile
);
105
if (DBG) Slog.e(TAG, "Some error occured while reading " +
procFile
, e);
113
private void verifyCpuFreqsCount(int numBytes, String
procFile
) {
119
+ "count from " +
procFile
+ "=" + actualCount);
244
public byte[] readData(String
procFile
) throws IOException {
245
return Files.readAllBytes(Paths.get(
procFile
));
Completed in 210 milliseconds