/cts/tests/camera/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/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainInteractionSession.java | 271 AsyncTaskArg arg = params[0]; in doInBackground() local 273 arg.testType.toString()); in doInBackground() 274 switch (arg.testType) { in doInBackground() 276 arg.abortReq.cancel(); in doInBackground() 279 arg.abortReq.sendAbortResult(arg.extras); in doInBackground() 282 arg.commandReq.cancel(); in doInBackground() 286 Utils.toBundleString(arg.extras) + ", string_in_bundle: " + in doInBackground() 289 arg.commandReq.sendResult(arg.extras); in doInBackground() 292 arg.compReq.cancel(); in doInBackground() 295 arg.compReq.sendCompleteResult(arg.extras); in doInBackground() [all …]
|
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/ |
D | DalvikTestRunner.java | 64 for (String arg : args) { in main() 65 if (arg.startsWith(ABI)) { in main() 66 abiName = arg.substring(ABI.length()); in main() 67 } else if (arg.startsWith(INCLUDE)) { in main() 68 for (String include : arg.substring(INCLUDE.length()).split(",")) { in main() 71 } else if (arg.startsWith(EXCLUDE)) { in main() 72 for (String exclude : arg.substring(EXCLUDE.length()).split(",")) { in main() 75 } else if (arg.startsWith(INCLUDE_FILE)) { in main() 76 loadFilters(arg.substring(INCLUDE_FILE.length()), includes); in main() 77 } else if (arg.startsWith(EXCLUDE_FILE)) { in main() [all …]
|
/cts/tests/core/runner/src/com/android/cts/core/runner/ |
D | CoreTestRunner.java | 143 String arg; in onCreate() local 144 if ((arg = args.getString(ARGUMENT_TEST_FILE)) != null) { in onCreate() 147 testNameSet.addAll(readTestsFromFile(arg)); in onCreate() 152 } else if ((arg = args.getString(ARGUMENT_TEST_CLASS)) != null) { in onCreate() 154 String[] tests = arg.split(","); in onCreate() 161 if ((arg = args.getString(ARGUMENT_NOT_TEST_FILE)) != null) { in onCreate() 164 notTestNameSet.addAll(readTestsFromFile(arg)); in onCreate() 169 } else if ((arg = args.getString(ARGUMENT_NOT_TEST_CLASS)) != null) { in onCreate() 171 String[] tests = arg.split(","); in onCreate() 176 if ((arg = args.getString(ARGUMENT_TEST_PACKAGE)) != null) { in onCreate() [all …]
|
/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/libs/vogar-expect/src/vogar/commands/ |
D | CommandFailedException.java | 46 for (String arg : args) { in formatMessage() 47 result.append(" ").append(arg); in formatMessage()
|
/cts/tests/tests/alarmclock/service/src/android/alarmclock/service/ |
D | MainInteractionSession.java | 163 AsyncTaskArg arg = params[0]; in doInBackground() local 166 if (arg.isCompleteRequest) { in doInBackground() 167 arg.mCompReq.sendCompleteResult(new Bundle()); in doInBackground() 169 arg.mAbortReq.sendAbortResult(new Bundle()); in doInBackground()
|
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/ |
D | MainInteractionSession.java | 182 AsyncTaskArg arg = params[0]; in doInBackground() local 185 if (arg.isCompleteRequest) { in doInBackground() 186 arg.mCompReq.sendCompleteResult(new Bundle()); in doInBackground() 188 arg.mAbortReq.sendAbortResult(new Bundle()); in doInBackground()
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
D | AuthenticatorContentProvider.java | 62 public Bundle call(String method, String arg, Bundle extras) { in call() argument 63 super.call(method, arg, extras); in call()
|
/cts/apps/cts-usb-accessory/ |
D | cts-usb-accessory.c | 36 static void* message_thread(void* arg) { in message_thread() argument 37 int *endpoints = (int *)arg; in message_thread()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | SplitTests.java | 331 T addArg(String arg) { in addArg() argument 332 mArgs.add(arg); in addArg() 386 for (String arg : mArgs) { in run() 387 cmd.append(' ').append(arg); in run()
|
D | PkgInstallSignatureVerificationTest.java | 367 for (String arg : args) { in assertInstallSucceedsForEach() 369 String.format(Locale.US, apkFilenamePatternInResources, arg); in assertInstallSucceedsForEach()
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | ExecuteFile.java | 160 for (String arg : cmdLine) { in run() 161 cmdLineBuilder.append(arg).append(' '); in run()
|
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/ |
D | DirectoryProvider.java | 196 public Bundle call(String method, String arg, Bundle extras) { in call() argument 200 mSharedPrefs.edit().putString(SET_CUSTOM_PREFIX, arg).apply(); in call()
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | ReadElf.java | 175 for (String arg : args) { in main() 176 ReadElf re = new ReadElf(new File(arg)); in main()
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/command/ |
D | CompatibilityConsole.java | 107 String arg = args.get(2).get(0); in setCustomCommands() 108 int shards = Integer.parseInt(arg); in setCustomCommands()
|
/cts/tests/tests/os/jni/seccomp-tests/ |
D | local-modifications-strict-args-fd88d16.diff | 102 /* TODO(wad) add 64-bit versus 32-bit arg tests. */
|
/cts/tools/utils/ |
D | CollectAllTests.java | 72 for (String arg : args) { in main() 73 System.err.println(" " + arg); in main()
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
D | CompatibilityTest.java | 605 for (String arg : mModuleArgs) { in setupFilters() 606 mIncludeFilters.add(arg.split(":")[0]); in setupFilters()
|
D | ModuleRepo.java | 595 for (String arg : args) { in putArgs() 596 String[] parts = arg.split(":"); in putArgs()
|