/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
D | ActivityResultMultiplexedLatch.java | 62 return mEntry.requestCode; in getRequestCode() 71 public final int requestCode; field in ActivityResultMultiplexedLatch.Entry 75 public Entry(int requestCode) { in Entry() argument 76 this.requestCode = requestCode; in Entry() 87 int requestCode = getRequestCode(); in bindThread() local 90 if (mActivityEntries.containsKey(requestCode)) { in bindThread() 93 entry = new Entry(requestCode); in bindThread() 94 mActivityEntries.put(requestCode, entry); in bindThread() 103 public void onActivityResult(int requestCode, int resultCode) { in onActivityResult() argument 106 entry = mActivityEntries.remove(requestCode); in onActivityResult()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | MyActivity.java | 31 public final int requestCode; field in MyActivity.Result 35 public Result(int requestCode, int resultCode, Intent data) { in Result() argument 36 this.requestCode = requestCode; in Result() 52 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 54 mResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
|
D | DocumentsClientTestCase.java | 134 assertEquals(REQUEST_CODE, result.requestCode); in assertActivityFailed() 141 assertEquals(prefix + ": invalid request code", REQUEST_CODE, result.requestCode); in assertActivitySucceeded()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
D | BasePermissionActivity.java | 34 public final int requestCode; field in BasePermissionActivity.Result 38 public Result(int requestCode, String[] permissions, int[] grantResults) { in Result() argument 39 this.requestCode = requestCode; in Result() 57 public void onRequestPermissionsResult(int requestCode, String[] permissions, in onRequestPermissionsResult() argument 60 mResult.offer(new Result(requestCode, permissions, grantResults), 5, TimeUnit.SECONDS); in onRequestPermissionsResult()
|
D | BasePermissionsTest.java | 137 int requestCode, String[] permissions, boolean[] granted) { in assertPermissionRequestResult() argument 138 assertEquals(requestCode, result.requestCode); in assertPermissionRequestResult() 182 String[] permissions, int requestCode, Class<?> clazz, Runnable postRequestAction) in requestPermissions() argument 191 activity.requestPermissions(permissions, requestCode); in requestPermissions()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | AbstractTestListActivity.java | 47 protected final void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 48 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 49 handleActivityResult(requestCode, resultCode, data); in onActivityResult() 53 protected void handleActivityResult(int requestCode, int resultCode, Intent data) { in handleActivityResult() argument 54 switch (requestCode) { in handleActivityResult() 60 throw new IllegalArgumentException("Unknown request code: " + requestCode); in handleActivityResult()
|
D | TestListActivity.java | 105 int requestCode, String permissions[], int[] grantResults) { in onRequestPermissionsResult() argument 106 if (requestCode == CTS_VERIFIER_PERMISSION_REQUEST) { in onRequestPermissionsResult()
|
/cts/tools/cts-holo-generation/src/com/android/cts/holo_capture/ |
D | CaptureActivity.java | 42 int requestCode = 0; in onCreate() local 43 startActivityForResult(intent, requestCode); in onCreate() 47 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 48 Log.i(TAG, "onActivityResult req:" + requestCode + " res:" + resultCode); in onActivityResult()
|
/cts/tests/admin/app/src/android/admin/app/ |
D | CtsDeviceAdminActivationTestActivity.java | 33 void onActivityResult(int requestCode, int resultCode, Intent data); in onActivityResult() argument 56 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 58 mOnActivityResultListener.onActivityResult(requestCode, resultCode, data); in onActivityResult() 62 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | ActivityManagerMemoryClassLaunchActivity.java | 56 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 57 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 58 if (requestCode == 1337) { in onActivityResult() 63 throw new IllegalStateException("Request code: " + requestCode); in onActivityResult()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ResourceManagerStubActivity.java | 59 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 60 Log.d(TAG, "Activity " + requestCode + " finished with resultCode " + resultCode); in onActivityResult() 61 mResults[requestCode] = (resultCode == RESULT_OK); in onActivityResult()
|
D | AudioManagerStub.java | 85 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 86 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
D | LocationListenerActivity.java | 50 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 51 switch (requestCode) { in onActivityResult() 60 Log.wtf(getLogTag(), "Unknown requestCode " + requestCode + "; data = " + data); in onActivityResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
D | ScreenLockTestActivity.java | 81 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 82 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 83 switch (requestCode) { in onActivityResult()
|
/cts/tests/openglperf2/src/android/opengl2/cts/reference/ |
D | GLReferenceActivity.java | 65 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 66 if (requestCode == GAME_ACTIVITY_CODE) { in onActivityResult()
|
/cts/apps/PermissionApp/src/com/android/cts/permission/permissionapp/ |
D | PermissionActivity.java | 69 public void onRequestPermissionsResult(int requestCode, String[] permissions, in onRequestPermissionsResult() argument 71 if (requestCode != PERMISSIONS_REQUEST_CODE || in onRequestPermissionsResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BluetoothToggleActivity.java | 97 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 98 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 99 switch (requestCode) { in onActivityResult()
|
D | ConnectionAccessClientActivity.java | 90 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 91 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 92 switch (requestCode) { in onActivityResult()
|
D | ConnectionAccessServerActivity.java | 92 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 93 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 94 switch (requestCode) { in onActivityResult()
|
D | DevicePickerActivity.java | 113 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 114 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 115 if (requestCode == ENABLE_BLUETOOTH_REQUEST) { in onActivityResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | ScreenLockBoundKeysTest.java | 189 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 190 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 191 switch (requestCode) { in onActivityResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | DeviceOwnerNegativeTestActivity.java | 100 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 101 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
D | VpnTestActivity.java | 83 protected void onActivityResult(int requestCode, int result, Intent data) { in onActivityResult() argument 84 if (requestCode == REQUEST_VPN_CODE && result == RESULT_OK) { in onActivityResult()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | TestActivity.java | 47 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | MyActivity.java | 40 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
|