/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/UsePermissionApp/src/com/android/cts/usepermission/ |
D | MyActivity.java | 30 public final int requestCode; field in MyActivity.Result 34 public Result(int requestCode, String[] permissions, int[] grantResults) { in Result() argument 35 this.requestCode = requestCode; in Result() 51 public void onRequestPermissionsResult(int requestCode, String[] permissions, in onRequestPermissionsResult() argument 54 mResult.offer(new Result(requestCode, permissions, grantResults), 5, TimeUnit.SECONDS); in onRequestPermissionsResult()
|
D | UsePermissionTest.java | 102 assertEquals(42, result.requestCode); in testInteractiveGrant() 146 assertEquals(43, result.requestCode); in testRuntimeGroupGrantSpecificity() 183 assertEquals(44, result.requestCode); in testRuntimeGroupGrantExpansion()
|
/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/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 | 95 int requestCode, String permissions[], int[] grantResults) { in onRequestPermissionsResult() argument 96 if (requestCode == CTS_VERIFIER_PERMISSION_REQUEST) { in onRequestPermissionsResult()
|
/cts/tests/deviceadmin/src/android/deviceadmin/cts/ |
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/src/android/app/cts/ |
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/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/reference/ |
D | GLReferenceActivity.java | 66 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 67 if (requestCode == GAME_ACTIVITY_CODE) { in onActivityResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
D | ScreenLockTestActivity.java | 80 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 81 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 82 switch (requestCode) { 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()
|
D | MessageTestActivity.java | 151 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 152 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 153 switch (requestCode) { 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/sensors/ |
D | RVCVXCheckTestActivity.java | 196 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 198 if (requestCode == REQ_CODE_TXCVRECORD) { in onActivityResult() 208 super.onActivityResult(requestCode, resultCode, data); 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 | 44 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | MyActivity.java | 50 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | ActivityTransitionActivity.java | 165 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 167 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodHelperActivity.java | 250 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 251 switch (requestCode) { in onActivityResult() 293 Log.wtf(TAG, "Unknown requestCode " + requestCode + "; data = " + data); in onActivityResult()
|