Home
last modified time | relevance | path

Searched refs:myPid (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/lite/java/ovic/demo/app/
DOvicBenchmarkerActivity.java208 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/
DShadowProcessTest.java16 assertThat(android.os.Process.myPid()).isEqualTo(0); in shouldBeZeroWhenNotSet()
22 assertThat(android.os.Process.myPid()).isEqualTo(3); in shouldGetMyPidAsSet()
DShadowBinderTest.java91 assertThat(Binder.getCallingPid()).isEqualTo(android.os.Process.myPid()); in testGetCallingPidShouldUseProcessPidByDefault()
99 assertThat(Binder.getCallingPid()).isEqualTo(android.os.Process.myPid()); in testResetUpdatesCallingUidAndPid()
DShadowActivityManagerTest.java85 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/
DShadowActivityManager.java94 if (info.pid == Process.myPid()) { in getMyMemoryState()
107 processInfo.pid = Process.myPid(); in fillInProcessInfo()
DShadowBinder.java47 return android.os.Process.myPid(); in getCallingPid()
DShadowProcess.java24 protected static final int myPid() { in myPid() method in ShadowProcess
DShadowEventLog.java59 private int processId = ShadowProcess.myPid();
DShadowContextImpl.java104 return checkPermission(permission, android.os.Process.myPid(), android.os.Process.myUid()); in checkCallingPermission()
DShadowInstrumentation.java697 grantPermissions(Process.myPid(), Process.myUid(), permissionNames);
710 denyPermissions(Process.myPid(), Process.myUid(), permissionNames);
DShadowNotificationManager.java89 android.os.Process.myPid() /* initialPid */, in getActiveNotifications()
/external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/
DTraceLoggerTest.java38 when(android.os.Process.myPid()).thenReturn(42); in testLogText()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DTraceLogger.java59 int pid = android.os.Process.myPid(); in getLogText()
DMainActivity.java104 android.os.Process.killProcess(android.os.Process.myPid()); in uncaughtException()
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioUtils.java199 Process.myPid(), in hasPermission()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DSpeechActivity.java111 android.os.Process.killProcess(android.os.Process.myPid()); in onCreate()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DSpeechActivity.java127 android.os.Process.killProcess(android.os.Process.myPid()); in onCreate()