Searched refs:myPid (Results 1 – 17 of 17) sorted by relevance
/external/tensorflow/tensorflow/lite/java/ovic/demo/app/ |
D | OvicBenchmarkerActivity.java | 208 int myPid = Process.myPid(); in setProcessorAffinity() local 211 String command = String.format("taskset -a -p %x %d", mask, myPid); in setProcessorAffinity()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowProcessTest.java | 16 assertThat(android.os.Process.myPid()).isEqualTo(0); in shouldBeZeroWhenNotSet() 22 assertThat(android.os.Process.myPid()).isEqualTo(3); in shouldGetMyPidAsSet()
|
D | ShadowBinderTest.java | 91 assertThat(Binder.getCallingPid()).isEqualTo(android.os.Process.myPid()); in testGetCallingPidShouldUseProcessPidByDefault() 99 assertThat(Binder.getCallingPid()).isEqualTo(android.os.Process.myPid()); in testResetUpdatesCallingUidAndPid()
|
D | ShadowActivityManagerTest.java | 85 assertThat(myInfo.pid).isEqualTo(android.os.Process.myPid()); in getRunningAppProcesses_shouldReturnProcessList() 159 assertThat(inState.pid).isEqualTo(Process.myPid()); in getMyMemoryState() 163 setState.pid = Process.myPid(); in getMyMemoryState()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowActivityManager.java | 94 if (info.pid == Process.myPid()) { in getMyMemoryState() 107 processInfo.pid = Process.myPid(); in fillInProcessInfo()
|
D | ShadowBinder.java | 47 return android.os.Process.myPid(); in getCallingPid()
|
D | ShadowProcess.java | 24 protected static final int myPid() { in myPid() method in ShadowProcess
|
D | ShadowEventLog.java | 59 private int processId = ShadowProcess.myPid();
|
D | ShadowContextImpl.java | 104 return checkPermission(permission, android.os.Process.myPid(), android.os.Process.myUid()); in checkCallingPermission()
|
D | ShadowInstrumentation.java | 697 grantPermissions(Process.myPid(), Process.myUid(), permissionNames); 710 denyPermissions(Process.myPid(), Process.myUid(), permissionNames);
|
D | ShadowNotificationManager.java | 89 android.os.Process.myPid() /* initialPid */, in getActiveNotifications()
|
/external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/ |
D | TraceLoggerTest.java | 38 when(android.os.Process.myPid()).thenReturn(42); in testLogText()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | TraceLogger.java | 59 int pid = android.os.Process.myPid(); in getLogText()
|
D | MainActivity.java | 104 android.os.Process.killProcess(android.os.Process.myPid()); in uncaughtException()
|
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
D | WebRtcAudioUtils.java | 199 Process.myPid(), in hasPermission()
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/ |
D | SpeechActivity.java | 111 android.os.Process.killProcess(android.os.Process.myPid()); in onCreate()
|
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/ |
D | SpeechActivity.java | 127 android.os.Process.killProcess(android.os.Process.myPid()); in onCreate()
|