Home
last modified time | relevance | path

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

/external/angle/src/tests/test_utils/runner/android/java/src/com/android/angle/test/
DAngleNativeTest.java52 mReporter.uncaughtException(Process.myPid(), ex); in uncaughtException()
61 mReporter.testRunStarted(Process.myPid()); in postCreate()
162 mReporter.testRunFinished(Process.myPid()); in runTests()
/external/libchrome/base/android/java/src/org/chromium/base/process_launcher/
DChildProcessService.java126 pidCallback.call(Process.myPid());
133 Process.killProcess(Process.myPid());
170 Log.i(TAG, "Creating new ChildProcessService pid=%d", Process.myPid()); in onCreate()
257 Log.i(TAG, "Destroying ChildProcessService pid=%d", Process.myPid()); in onDestroy()
/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/tensorflow/tensorflow/lite/java/ovic/demo/app/
DOvicBenchmarkerActivity.java212 int myPid = Process.myPid(); in setProcessorAffinity() local
215 String command = String.format("taskset -a -p %x %d", mask, myPid); in setProcessorAffinity()
/external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/
DTraceLoggerTest.java38 when(android.os.Process.myPid()).thenReturn(42); in testLogText()
/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();
DShadowNotificationManager.java89 android.os.Process.myPid() /* initialPid */, in getActiveNotifications()
DShadowInstrumentation.java702 grantPermissions(Process.myPid(), Process.myUid(), permissionNames);
715 denyPermissions(Process.myPid(), Process.myUid(), permissionNames);
DShadowContextImpl.java105 return checkPermission(permission, android.os.Process.myPid(), android.os.Process.myUid()); in checkCallingPermission()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DTraceLogger.java60 int pid = android.os.Process.myPid(); in getLogText()
DMainActivity.java105 android.os.Process.killProcess(android.os.Process.myPid()); in uncaughtException()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DAppRTCBluetoothManager.java238 Log.w(TAG, "Process (pid=" + Process.myPid() + ") lacks BLUETOOTH permission"); in start()
417 return apprtcContext.checkPermission(permission, Process.myPid(), Process.myUid()) in hasPermission()
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DSpeechActivity.java111 android.os.Process.killProcess(android.os.Process.myPid()); in onCreate()
/external/webrtc/sdk/android/api/org/webrtc/
DPeerConnectionFactory.java533 "pid: " + Process.myPid() + ", tid: " + threadInfo.tid + ", name: " + threadName in printStackTrace()
/external/connectedappssdk/tests/shared/src/main/java/com/google/android/enterprise/connectedapps/testapp/types/
DTestCrossProfileType.java553 android.os.Process.killProcess(android.os.Process.myPid()); in killApp()
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DCamera2BasicFragment.java638 if (getActivity().checkPermission(permission, Process.myPid(), Process.myUid()) in allPermissionsGranted()