/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | Preconditions.java | 40 public static int checkBitFlags(String argName, int arg, String flagsName, int flags) { in checkBitFlags() argument 41 if ((arg & flags) == 0) { in checkBitFlags() 46 return arg; in checkBitFlags() 60 public static <T> T checkEquals(String argName, T arg, in checkEquals() argument 62 if (!Objects.equals(arg, expectedValue)) { in checkEquals() 66 argName, expectedName, arg, expectedValue)); in checkEquals() 69 return arg; in checkEquals() 85 public static <T> T checkNotNull(String argName, T arg) { in checkNotNull() argument 86 if (arg == null) { in checkNotNull() 90 return arg; in checkNotNull() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | ListenerTest.java | 65 public boolean check(ListenerArgument arg, long msec) throws InterruptedException { in check() argument 67 argList.add(arg); in check() 90 for (ListenerArgument arg: mReceivedArgList) { in check() 91 if (!mExArgList.remove(arg)) { in check() 93 Log.d(TAG, " received an invalid response. " + arg); in check() 133 protected synchronized void receiveCallback(ListenerArgument arg) { in receiveCallback() argument 134 mReceivedArgList.add(arg); in receiveCallback() 139 if (!mExArgList.remove(arg)) { in receiveCallback() 140 Log.d(TAG, "received invalid response. " + arg); in receiveCallback() 180 for (ListenerArgument arg: args) { in createResultString() [all …]
|
D | ActionListenerTest.java | 39 Argument arg = new Argument(reason); in onFailure() local 40 receiveCallback(arg); in onFailure() 46 Argument arg = new Argument(); in onSuccess() local 47 receiveCallback(arg); in onSuccess() 82 Argument arg = (Argument)obj; in equals() local 83 return (mIsSuccess == arg.mIsSuccess) && (mResult == arg.mResult); in equals()
|
D | DnsSdResponseListenerTest.java | 111 Argument arg = (Argument)obj; in equals() local 112 return equals(mInstanceName, arg.mInstanceName) && in equals() 113 equals(mRegistrationType, arg.mRegistrationType); in equals()
|
D | DnsSdTxtRecordListenerTest.java | 115 Argument arg = (Argument)obj; in equals() local 116 return equals(mFullDomainName, arg.mFullDomainName) && in equals() 117 equals(mTxtRecordMap, arg.mTxtRecordMap); in equals()
|
D | UPnPServiceResponseListenerTest.java | 104 Argument arg = (Argument)obj; in equals() local 105 return equals(mUniqueServiceName, arg.mUniqueServiceName); in equals()
|
/cts/tests/tests/security/native/encryption/ |
D | FileBasedEncryptionPolicyTest.cpp | 183 struct fscrypt_get_policy_ex_arg arg; in TEST() local 199 arg.policy_size = sizeof(arg.policy); in TEST() 200 res = ioctl(fd, FS_IOC_GET_ENCRYPTION_POLICY_EX, &arg); in TEST() 204 res = ioctl(fd, FS_IOC_GET_ENCRYPTION_POLICY, &arg.policy.v1); in TEST() 225 switch (arg.policy.version) { in TEST() 228 contents_mode = arg.policy.v1.contents_encryption_mode; in TEST() 229 filenames_mode = arg.policy.v1.filenames_encryption_mode; in TEST() 251 contents_mode = arg.policy.v2.contents_encryption_mode; in TEST() 252 filenames_mode = arg.policy.v2.filenames_encryption_mode; in TEST() 255 FAIL() << "Unknown encryption policy version: " << arg.policy.version; in TEST()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainInteractionSession.java | 273 AsyncTaskArg arg = params[0]; in doInBackground() local 275 arg.testType.toString()); in doInBackground() 276 switch (arg.testType) { in doInBackground() 278 arg.abortReq.cancel(); in doInBackground() 281 arg.abortReq.sendAbortResult(arg.extras); in doInBackground() 284 arg.commandReq.cancel(); in doInBackground() 288 Utils.toBundleString(arg.extras) + ", string_in_bundle: " + in doInBackground() 291 arg.commandReq.sendResult(arg.extras); in doInBackground() 294 arg.compReq.cancel(); in doInBackground() 297 arg.compReq.sendCompleteResult(arg.extras); in doInBackground() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCasTest.java | 204 public void onEvent(MediaCas MediaCas, int event, int arg, byte[] data) { in testEnumeratePlugins() 206 + "event=" + event + ", arg=" + arg in testEnumeratePlugins() 211 int event, int arg, byte[] data) { in testEnumeratePlugins() 213 + "event=" + event + ", arg=" + arg in testEnumeratePlugins() 580 TestEventListener(MediaCas mediaCas, int event, int arg, byte[] data) { in TestEventListener() argument 583 mArg = arg; in TestEventListener() 589 int arg, byte[] data) { in TestEventListener() argument 593 mArg = arg; in TestEventListener() 624 public void onEvent(MediaCas mediaCas, int event, int arg, byte[] data) { in onEvent() argument 626 + ", arg=" + arg + ", data=" + Arrays.toString(data)); in onEvent() [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9428/ |
D | poc.cpp | 30 static void *closeStreamThread(void *arg) { in closeStreamThread() argument 31 thread_args *threadArgs = (thread_args *)arg; in closeStreamThread() 40 static void *startStreamThread(void *arg) { in startStreamThread() argument 41 thread_args *threadArgs = (thread_args *)arg; in startStreamThread()
|
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/ |
D | DalvikTestRunner.java | 80 for (String arg : args) { in createConfig() 81 if (arg.startsWith(ABI)) { in createConfig() 82 abiName = arg.substring(ABI.length()); in createConfig() 83 } else if (arg.startsWith(INCLUDE)) { in createConfig() 84 for (String include : arg.substring(INCLUDE.length()).split(",")) { in createConfig() 87 } else if (arg.startsWith(EXCLUDE)) { in createConfig() 88 for (String exclude : arg.substring(EXCLUDE.length()).split(",")) { in createConfig() 91 } else if (arg.startsWith(INCLUDE_FILE)) { in createConfig() 92 loadFilters(arg.substring(INCLUDE_FILE.length()), config.includes); in createConfig() 93 } else if (arg.startsWith(EXCLUDE_FILE)) { in createConfig() [all …]
|
/cts/tests/JobSchedulerSharedUid/jobperm/src/android/jobscheduler/cts/shareduid/jobperm/ |
D | JobPermProvider.java | 38 public Bundle call(@NonNull String method, @Nullable String arg, @Nullable Bundle extras) { in call() argument 45 getContext().grantUriPermission(arg, uri, in call() 52 getContext().revokeUriPermission(arg, uri, in call() 59 return super.call(method, arg, extras); in call()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | NetworkCallbackTest.java | 64 public final Object arg; field in NetworkCallbackTest.CallbackInfo 67 state = s; network = n; arg = o; in CallbackInfo() 71 return String.format("%s (%s) (%s)", state, network, arg); in toString() 80 && Objects.equals(arg, other.arg); in equals() 85 return Objects.hash(state, network, arg); in hashCode() 158 assertEquals(expectBlocked, cb.arg); in expectBlockedStatusCallbackEventually() 172 || (hasCap != ((NetworkCapabilities) cb.arg).hasCapability(cap))) { in expectCapabilitiesCallbackEventually()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | FieldPackerTest.java | 141 for (int arg: badAlignArgs) { in testAlignResetSkip() 143 fp.align(arg); in testAlignResetSkip() 150 for (int arg: badResetArgs) { in testAlignResetSkip() 152 fp.reset(arg); in testAlignResetSkip() 160 for (int arg: badSkipArgs) { in testAlignResetSkip() 163 fp.skip(arg); in testAlignResetSkip()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0837/ |
D | poc.cpp | 35 static void *acquireSoundTriggerSessionThread(void *arg) { in acquireSoundTriggerSessionThread() argument 37 pocAudioSessionCtxt *ctxt = (pocAudioSessionCtxt *)arg; in acquireSoundTriggerSessionThread() 56 static void *releaseSoundTriggerSessionThread(void *arg) { in releaseSoundTriggerSessionThread() argument 58 pocAudioSessionCtxt *ctxt = (pocAudioSessionCtxt *)arg; in releaseSoundTriggerSessionThread()
|
/cts/tests/tests/widget/ |
D | TEST_MAPPING | 7 "instrumentation-arg": "size:=small" 10 "instrumentation-arg": "notAnnotation:=androidx.test.filters.FlakyTest"
|
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/ |
D | BaseInstallMultiple.java | 50 T addArg(String arg) { in addArg() argument 51 mArgs.add(arg); in addArg() 79 for (String arg : mArgs) { in run() 80 cmd.append(' ').append(arg); in run()
|
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/ |
D | BaseInstallMultiple.java | 59 T addArg(String arg) { in addArg() argument 60 mArgs.add(arg); in addArg() 129 for (String arg : mArgs) { in run() 130 cmd.append(' ').append(arg); in run()
|
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/ |
D | BaseInstallMultiple.java | 59 T addArg(String arg) { in addArg() argument 60 mArgs.add(arg); in addArg() 129 for (String arg : mArgs) { in run() 130 cmd.append(' ').append(arg); in run()
|
/cts/tests/tests/database/apps/src/com/android/cts/providerapp/ |
D | DummyProvider.java | 66 public Bundle call(String method, String arg, Bundle extras) { in call() argument 67 Log.d(TAG, "call method: " + method + ", arg: " + arg); in call() 72 switch (arg) { in call()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8427/ |
D | poc.c | 34 void *thr(void *arg) in thr() argument 37 switch ((long)arg) { in thr()
|
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/ |
D | MainInteractionSession.java | 183 AsyncTaskArg arg = params[0]; in doInBackground() local 186 if (arg.isCompleteRequest) { in doInBackground() 187 arg.mCompReq.sendCompleteResult(new Bundle()); in doInBackground() 189 arg.mAbortReq.sendAbortResult(new Bundle()); in doInBackground()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | BaseInstallMultiple.java | 67 T addArg(String arg) { in addArg() argument 68 mArgs.add(arg); in addArg() 151 for (String arg : mArgs) { in run() 152 cmd.append(' ').append(arg); in run()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13273/ |
D | poc.c | 37 void *thread_entry(void *arg) { in thread_entry() argument 40 index = (int)(unsigned long)arg; in thread_entry()
|
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0327/ |
D | BadProvider.java | 23 public Bundle call(String method, String arg, Bundle extras) { in call() argument 49 return super.call(method, arg, extras); in call()
|