Home
last modified time | relevance | path

Searched defs:result (Results 1 – 25 of 1195) sorted by relevance

12345678910>>...48

/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/
DDeviceConfigApiTests.java124 String result = DeviceConfig.getProperty(EMPTY_NAMESPACE, KEY1); in testGetProperty_empty() local
135 String result = DeviceConfig.getProperty(NAMESPACE1, KEY1); in testSetAndGetProperty_sameNamespace() local
162 String result = DeviceConfig.getProperty(NAMESPACE2, KEY1); in testSetAndGetProperty_differentNamespace() local
187 String result = DeviceConfig.getProperty(NAMESPACE1, KEY1); in testSetAndGetProperty_multipleNamespaces() local
221 String result = DeviceConfig.getProperty(NAMESPACE1, KEY1); in testSetAndGetProperty_overrideValue() local
248 final String result = DeviceConfig.getString(NAMESPACE1, KEY1, DEFAULT_VALUE); in testGetString_empty() local
258 final String result = DeviceConfig.getString(NAMESPACE1, KEY1, null); in testGetString_nullDefault() local
270 final String result = DeviceConfig.getString(NAMESPACE1, KEY1, DEFAULT_VALUE); in testGetString_nonEmpty() local
370 final int result = DeviceConfig.getInt(NAMESPACE1, KEY1, DEFAULT_INT); in testGetInt_empty() local
383 final int result = DeviceConfig.getInt(NAMESPACE1, KEY1, DEFAULT_INT); in testGetInt_valid() local
[all …]
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DDirectActionsActivity.java75 final Bundle result = new Bundle(); in onResume() local
119 final Bundle result = new Bundle(); in detectDestroyedInteractor() local
137 final Bundle result = new Bundle(); in invalidateDirectActions() local
145 final Bundle result = new Bundle(); in doFinish() local
152 final Bundle result = new Bundle(); in reportActionPerformed() local
160 final Bundle result = new Bundle(); in reportActionCancelled() local
168 final Bundle result = new Bundle(); in reportActionExecuting() local
/cts/hostsidetests/adbmanager/src/android/adbmanager/cts/
DAdbManagerHostDeviceTest.java37 CommandResult result = getDevice().executeShellV2Command("pm has-feature " + feature); in hasFeature() local
46 CommandResult result = getDevice().executeShellV2Command("cmd adb is-wifi-supported"); in test_isadbWifiSupported() local
57 CommandResult result = getDevice().executeShellV2Command("cmd adb is-wifi-qr-supported"); in test_isadbWifiQrSupported() local
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_AImageDecoderTest.cpp48 int result = AImageDecoder_createFromAAsset(asset, outDecoder); in testEmptyCreate() local
56 int result = AImageDecoder_createFromFd(fd, outDecoder); in testEmptyCreate() local
64 int result = AImageDecoder_createFromBuffer(buffer, length, outDecoder); in testEmptyCreate() local
95 int result = AImageDecoder_createFromAAsset(asset, nullptr); in testNullDecoder() local
103 int result = AImageDecoder_createFromBuffer(buffer, AAsset_getLength(asset), nullptr); in testNullDecoder() local
115 int result = AImageDecoder_createFromFd(fd, nullptr); in testNullDecoder() local
127 int result = AImageDecoder_decodeImage(nullptr, buf, 4, 4); in testNullDecoder() local
132 int result = AImageDecoder_setAndroidBitmapFormat(nullptr, ANDROID_BITMAP_FORMAT_RGBA_8888); in testNullDecoder() local
140 int result = AImageDecoder_setUnpremultipliedRequired(nullptr, true); in testNullDecoder() local
153 int result = AImageDecoder_setTargetSize(nullptr, 1, 1); in testNullDecoder() local
[all …]
/cts/tests/tests/media/libndkaudio/
DAudioRecorder.cpp92 SLresult result; in Open() local
162 SLresult result; in RealizeRecorder() local
202 SLresult result; in RealizeRoutingProxy() local
210 SLresult result; in Start() local
229 SLresult result; in Stop() local
234 SLresult result; in enqueBuffer() local
DAudioPlayer.cpp54 SLresult result; in OpenSLEngine() local
133 SLresult result; in Open() local
202 SLresult result; in RealizePlayer() local
237 SLresult result; in RealizeRoutingProxy() local
255 SLresult result = (*bqPlayerPlay_)->SetPlayState(bqPlayerPlay_, in Start() local
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassifierEventTest.java46 TextClassifierEvent.TextSelectionEvent result = in testTextSelectionEvent_minimal() local
57 TextClassifierEvent.TextSelectionEvent result = in testTextSelectionEvent_full() local
68 TextClassifierEvent.TextLinkifyEvent result = in testTextLinkifyEvent_minimal() local
79 TextClassifierEvent.TextLinkifyEvent result = in testTextLinkifyEvent_full() local
91 TextClassifierEvent.ConversationActionsEvent result = in testConversationActionsEvent_minimal() local
103 TextClassifierEvent.ConversationActionsEvent result = in testConversationActionsEvent_full() local
115 TextClassifierEvent.LanguageDetectionEvent result = in testLanguageDetectionEvent_minimal() local
127 TextClassifierEvent.LanguageDetectionEvent result = in testLanguageDetectionEvent_full() local
/cts/tests/tests/widget/src/android/widget/cts/
DSimpleAdapterTest.java173 View result = mSimpleAdapter.getView(0, null, mAdapterHost); in testGetView() local
210 View result = mSimpleAdapter.getView(0, null, mAdapterHost); in testGetViewIndexTooLow() local
217 View result = mSimpleAdapter.getView(0, null, mAdapterHost); in testGetViewIndexTooHigh() local
225 View result = mSimpleAdapter.getDropDownView(0, null, mAdapterHost); in testSetDropDownViewResource() local
248 View result = mSimpleAdapter.getDropDownView(0, null, mAdapterHost); in testGetDropDownView() local
285 View result = mSimpleAdapter.getDropDownView(0, null, mAdapterHost); in testGetDropDownViewIndexTooLow() local
292 View result = mSimpleAdapter.getDropDownView(0, null, mAdapterHost); in testGetDropDownViewIndexTooHigh() local
/cts/tests/tests/provider/src/android/provider/cts/
DFontsContractTest.java186 FontFamilyResult result = FontsContract.fetchFonts( in querySingleFont() local
203 FontFamilyResult result = FontsContract.fetchFonts( in queryMultipleFont() local
221 FontFamilyResult result = FontsContract.fetchFonts( in queryAttributes() local
251 FontFamilyResult result = FontsContract.fetchFonts( in queryNotFound() local
267 FontFamilyResult result = FontsContract.fetchFonts( in queryUnavailable() local
283 FontFamilyResult result = FontsContract.fetchFonts( in queryMalformed() local
299 FontFamilyResult result = FontsContract.fetchFonts( in queryMultipleOneNotFound() local
317 FontFamilyResult result = FontsContract.fetchFonts( in queryMandatoryFieldsOnly() local
342 FontFamilyResult result = FontsContract.fetchFonts( in restrictContextRejection() local
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/
DSingleTestNGTestRunListener.java68 public void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult result) { in onTestFailedButWithinSuccessPercentage()
73 public void onTestFailure(org.testng.ITestResult result) { in onTestFailure()
88 public void onTestSkipped(org.testng.ITestResult result) { in onTestSkipped()
94 public void onTestStart(org.testng.ITestResult result) { in onTestStart()
101 public void onTestSuccess(org.testng.ITestResult result) { in onTestSuccess()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAllowedAccountManagementTest.java92 Bundle result = mAccountManager.addAccount(ACCOUNT_TYPE_1, in testAccountManagementDisabled_profileAndDeviceOwnerCanAddAccount() local
108 Bundle result = mAccountManager.addAccount(ACCOUNT_TYPE_1, in testUserRestriction_profileAndDeviceOwnerCanAddAndRemoveAccount() local
124 Bundle result = mAccountManager.removeAccount(ACCOUNT, null, null, null).getResult(); in testRemoveAccount_noUserRestriction() local
/cts/libs/vogar-expect/src/vogar/expect/util/
DStrings.java44 StringBuilder result = new StringBuilder(); in readStream() local
81 StringBuilder result = new StringBuilder(); in join() local
90 String[] result = new String[objects.length]; in objectsToStrings() local
106 StringBuffer result = new StringBuffer(); in xmlSanitize() local
117 StringBuilder result = new StringBuilder(); in escapeCodePoint() local
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/
DAsn1UTCTime.java117 Asn1IA5String result = new Asn1IA5String(); in encodeToIA5String() local
152 Asn1IA5String result = new Asn1IA5String(); in decodeBerValue() local
160 Asn1IA5String result = encodeToIA5String(); in encodePerAligned() local
166 Asn1IA5String result = encodeToIA5String(); in encodePerUnaligned() local
177 String result = str.getValue(); in retrieveResult() local
219 Asn1IA5String result = new Asn1IA5String(); in decodePerAligned() local
227 Asn1IA5String result = new Asn1IA5String(); in decodePerUnaligned() local
/cts/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechServiceTest.java63 int result = in testSynthesizeToFile() local
80 int result = in testSynthesizeToFileWithFileObject() local
105 int result = in testSynthesizeToFileWithFileDescriptor() local
143 int result = getTts().speak(UTTERANCE, TextToSpeech.QUEUE_FLUSH, createParams("mockspeak")); in testSpeak() local
159 int result = getTts().speak(UTTERANCE, TextToSpeech.QUEUE_ADD, null, in testSpeakStop() local
185 int result = getTts().speak(UTTERANCE, TextToSpeech.QUEUE_ADD, null, "stop"); in testSpeakStopBehindOtherAudioPlayback() local
221 private void verifySynthesisFile(int result, TextToSpeechWrapper mTts, File file) in verifySynthesisFile()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DDirectActionsTest.java67 final Bundle result = mSessionControl.performDirectAction(action, in testPerformDirectAction() local
92 final Bundle result = mSessionControl.performDirectActionAndCancel(action, in testCancelPerformedDirectAction() local
172 final Bundle result = executeCommand(Utils.DIRECT_ACTIONS_SESSION_CMD_GET_ACTIONS, in getDirectActions() local
193 final Bundle result = executeCommand( in detectDirectActionsInvalidated() local
204 final Bundle result = new Bundle(); in executeCommand() local
273 final Bundle result = executeRemoteCommand( in detectInteractorDestroyed() local
293 final Bundle result = new Bundle(); in executeRemoteCommand() local
348 private void assertActionSucceeded(@NonNull Bundle result) { in assertActionSucceeded()
355 private void assertActionCancelled(@NonNull Bundle result) { in assertActionCancelled()
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DTestAccountAuthenticator.java74 Bundle result = new Bundle(); in addAccount() local
114 Bundle result = new Bundle(); in confirmCredentials() local
161 Bundle result = new Bundle(); in getAuthToken() local
210 String result = "Label:" + authTokenType; in getAuthTokenLabel() local
225 Bundle result = new Bundle(); in updateCredentials() local
269 Bundle result = new Bundle(); in hasFeatures() local
330 Bundle result = new Bundle(); in startAddAccountSession() local
379 Bundle result = new Bundle(); in startUpdateCredentialsSession() local
395 private void fillDefaultError(Bundle result, Bundle options) { in fillDefaultError()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsMessageTest.java107 int[] result = SmsMessage.calculateLength(sms.getMessageBody(), true); in testCreateFromPdu() local
110 assertEquals(sms.getMessageBody().length(), result[1]); in testCreateFromPdu() local
111 assertRemaining(sms.getMessageBody().length(), result[2], SmsMessage.MAX_USER_DATA_SEPTETS); in testCreateFromPdu() local
143 assertEquals(sms.getMessageBody().length(), result[1]); in testCreateFromPdu() local
144 assertRemaining(sms.getMessageBody().length(), result[2], SmsMessage.MAX_USER_DATA_SEPTETS); in testCreateFromPdu() local
155 assertEquals(sms.getMessageBody().length(), result[1]); in testCreateFromPdu() local
156 assertRemaining(sms.getMessageBody().length(), result[2], SmsMessage.MAX_USER_DATA_SEPTETS); in testCreateFromPdu() local
320 int[] result = SmsMessage.calculateLength(LONG_TEXT_WITH_32BIT_CHARS, false); in testCalculateLength() local
323 assertEquals(LONG_TEXT_WITH_32BIT_CHARS.length(), result[1]); in testCalculateLength() local
335 assertRemaining(LONG_TEXT_WITH_32BIT_CHARS.length(), result[2], in testCalculateLength() local
[all …]
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DServiceProcessController.java109 String result = SystemUtil.runShellCommand(mInstrumentation, cmd); in denyBackgroundOp() local
118 String result = SystemUtil.runShellCommand(mInstrumentation, cmd); in allowBackgroundOp() local
124 String result = SystemUtil.runShellCommand(mInstrumentation, cmd); in denyAnyInBackgroundOp() local
129 String result = SystemUtil.runShellCommand(mInstrumentation, cmd); in allowAnyInBackgroundOp() local
134 String result = SystemUtil.runShellCommand(mInstrumentation, cmd); in makeUidIdle() local
139 String result = SystemUtil.runShellCommand(mInstrumentation, cmd); in removeFromWhitelist() local
144 String result = SystemUtil.runShellCommand(mInstrumentation, cmd); in addToWhitelist() local
149 String result = SystemUtil.runShellCommand(mInstrumentation, cmd); in tempWhitelist() local
/cts/tests/tests/permission2/src/android/permission2/cts/
DPermissionMaxSdkVersionTest.java39 int result = mContext.checkPermission(UNGRANTABLE_PERMISSION, in testMaxSdkInPast() local
52 int result = mContext.checkPermission(GRANTABLE_PERMISSION, in testMaxSdkInFuture() local
/cts/tests/location/location_gnss/src/android/location/cts/gnss/pseudorange/
DGpsMathOperations.java46 double[] result = new double[firstVector.length]; in subtractTwoVectors() local
65 double result[] = new double[matrix.length]; in matrixByColVectMultiplication() local
90 double result = 0; in dotProduct() local
/cts/tests/tests/appenumeration/app/source/src/android/appenumeration/cts/query/
DTestActivity.java182 Bundle result = new Bundle(); in sendGetInstalledPackages() local
194 Bundle result = new Bundle(); in sendQueryIntentActivities() local
206 Bundle result = new Bundle(); in sendQueryIntentServices() local
218 Bundle result = new Bundle(); in sendQueryIntentProviders() local
242 Bundle result = new Bundle(); in queryResolverForVisiblePackages() local
252 Bundle result = new Bundle(); in sendError() local
266 Bundle result = new Bundle(); in sendPackageInfo() local
281 final Bundle result = new Bundle(); in onActivityResult() local
/cts/tests/tests/accounts/src/android/accounts/cts/
DAbstractAuthenticatorTests.java89 Bundle result = future.getResult(); in testStartAddAccountSessionDefaultImpl() local
124 Bundle result = future.getResult(); in testStartUpdateCredentialsSessionDefaultImpl() local
165 Bundle result = future.getResult(); in testFinishSessionAndStartAddAccountSessionDefaultImpl() local
234 Bundle result = future.getResult(); in testFinishSessionAndStartUpdateCredentialsSessionDefaultImpl() local
285 private void validateNullPasswordAndStatusToken(Bundle result) { in validateNullPasswordAndStatusToken()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAppStandbyUtils.java33 final String result = SystemUtil.runShellCommand( in isAppStandbyEnabled() local
60 final String result = in isAppStandbyEnabledAtRuntime() local
/cts/suite/audio_quality/lib/src/task/
DTaskAsync.cpp44 TaskGeneric::ExecutionResult result = start(); in run() local
60 bool result = true; in parseAttribute() local
DTaskSequential.cpp60 TaskGeneric::ExecutionResult result = child->run(); in run() local
66 TaskGeneric::ExecutionResult result = runAsyncTasksQueued(); in run() local
111 TaskGeneric::ExecutionResult result = child->complete(); in runAsyncTasksQueued() local

12345678910>>...48