Home
last modified time | relevance | path

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

12345678910>>...52

/cts/hostsidetests/packagemanager/parsing/host/src/android/content/pm/parsing/cts/host/
DUsesSdkTest.kt64 val result = ApkGenerator.install(device, xml, tempFolder) in defaultsNoTag() constant
79 val result = ApkGenerator.install(device, xml, tempFolder) in defaultsWithTag() constant
94 val result = ApkGenerator.install(device, xml, tempFolder) in missingMinDefaults() constant
109 val result = ApkGenerator.install(device, xml, tempFolder) in missingTargetCoercedToMin() constant
129 val result = ApkGenerator.install(device, xml, tempFolder) in takeAndroidTargetSdk() constant
147 val result = ApkGenerator.install(device, xml, tempFolder) in emptyUsesSdk() constant
163 val result = ApkGenerator.install(device, xml, tempFolder) in takeLastTargetSdk() constant
179 val result = ApkGenerator.install(device, xml, tempFolder) in takeLastMinSdk() constant
200 val result = ApkGenerator.install(device, xml, tempFolder) in takeLastExtensionSdk() constant
218 val result = ApkGenerator.install(device, xml, tempFolder) in lastDeclarationOverridesAllPrevious() constant
[all …]
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/
DDeviceConfigApiTests.java157 String result = DeviceConfig.getProperty(EMPTY_NAMESPACE, KEY1); in testGetProperty_empty() local
168 String result = DeviceConfig.getProperty(NAMESPACE1, KEY1); in testSetAndGetProperty_sameNamespace() local
195 String result = DeviceConfig.getProperty(NAMESPACE2, KEY1); in testSetAndGetProperty_differentNamespace() local
220 String result = DeviceConfig.getProperty(NAMESPACE1, KEY1); in testSetAndGetProperty_multipleNamespaces() local
254 String result = DeviceConfig.getProperty(NAMESPACE1, KEY1); in testSetAndGetProperty_overrideValue() local
281 final String result = DeviceConfig.getString(NAMESPACE1, KEY1, DEFAULT_VALUE); in testGetString_empty() local
291 final String result = DeviceConfig.getString(NAMESPACE1, KEY1, null); in testGetString_nullDefault() local
303 final String result = DeviceConfig.getString(NAMESPACE1, KEY1, DEFAULT_VALUE); in testGetString_nonEmpty() local
403 final int result = DeviceConfig.getInt(NAMESPACE1, KEY1, DEFAULT_INT); in testGetInt_empty() local
416 final int result = DeviceConfig.getInt(NAMESPACE1, KEY1, DEFAULT_INT); in testGetInt_valid() local
[all …]
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DDirectActionsActivity.java79 final Bundle result = new Bundle(); in onResume() local
146 final Bundle result = new Bundle(); in detectDestroyedInteractor() local
154 final Bundle result = new Bundle(); in invalidateDirectActions() local
162 final Bundle result = new Bundle(); in doFinish() local
169 final Bundle result = new Bundle(); in reportActionPerformed() local
177 final Bundle result = new Bundle(); in reportActionCancelled() local
185 final Bundle result = new Bundle(); in reportActionExecuting() local
/cts/apps/CtsVerifier/jni/megaaudio/common/
DOboeStream.cpp60 oboe::Result result = oboe::Result::OK; in teardownStream_l() local
78 oboe::Result result = oboe::Result::ErrorInternal; in startStream() local
103 oboe::Result result = mAudioStream->stop(); in stopStream() local
120 ResultWithValue<oboe::FrameTimestamp> result = mAudioStream->getTimestamp(CLOCK_MONOTONIC); in getTimeStamp() 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/appsearch/src/com/android/cts/appsearch/external/exceptions/
DAppSearchExceptionCtsTest.java32 AppSearchResult<?> result = e.toAppSearchResult(); in testNoMessageException() local
43 AppSearchResult<?> result = e.toAppSearchResult(); in testExceptionWithMessage() local
58 AppSearchResult<?> result = e.toAppSearchResult(); in testExceptionWithThrowable() local
/cts/tests/tests/time/shell_utils/common/android/app/time/cts/shell/
DDeviceShellCommandExecutor.java30 String result = parseBytesAsString(bytes); in executeToString() local
39 String result = parseBytesAsString(bytes).trim(); in executeToTrimmedString() local
74 public static boolean parseBytesAsBoolean(@NonNull byte[] result) { in parseBytesAsBoolean()
88 protected static String parseBytesAsString(byte[] result) { in parseBytesAsString()
/cts/tests/tests/appenumeration/app/source/src/android/appenumeration/cts/query/
DTestActivity.java265 final Bundle result = new Bundle(); in sendGetInstalledAccessibilityServicePackages() local
331 final Bundle result = new Bundle(); in awaitLauncherAppsCallback() local
405 Bundle result = new Bundle(); in sendGetInstalledPackages() local
417 Bundle result = new Bundle(); in sendQueryIntentActivities() local
429 Bundle result = new Bundle(); in sendQueryIntentServices() local
441 Bundle result = new Bundle(); in sendQueryIntentProviders() local
465 Bundle result = new Bundle(); in queryResolverForVisiblePackages() local
475 Bundle result = new Bundle(); in sendError() local
489 Bundle result = new Bundle(); in sendPackageInfo() local
497 final Bundle result = new Bundle(); in sendPackagesForUid() 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/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
99 int result = AImageDecoder_createFromAAsset(asset, nullptr); in testNullDecoder() local
107 int result = AImageDecoder_createFromBuffer(buffer, AAsset_getLength(asset), nullptr); in testNullDecoder() local
119 int result = AImageDecoder_createFromFd(fd, nullptr); in testNullDecoder() local
131 int result = AImageDecoder_decodeImage(nullptr, buf, 4, 4); in testNullDecoder() local
136 int result = AImageDecoder_setAndroidBitmapFormat(nullptr, ANDROID_BITMAP_FORMAT_RGBA_8888); in testNullDecoder() local
144 int result = AImageDecoder_setUnpremultipliedRequired(nullptr, true); in testNullDecoder() local
157 int result = AImageDecoder_setTargetSize(nullptr, 1, 1); in testNullDecoder() local
[all …]
/cts/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechServiceTest.java68 int result = in testSynthesizeToFile() local
85 int result = in testSynthesizeToFileWithFileObject() local
110 int result = in testSynthesizeToFileWithFileDescriptor() local
148 int result = getTts().speak(UTTERANCE, TextToSpeech.QUEUE_FLUSH, createParams("mockspeak")); in testSpeak() local
164 int result = getTts().speak(UTTERANCE, TextToSpeech.QUEUE_ADD, null, in testSpeakStop() local
190 int result = getTts().speak(UTTERANCE, TextToSpeech.QUEUE_ADD, null, "stop"); in testSpeakStopBehindOtherAudioPlayback() local
222 int result = getTts().playEarcon(EARCON_UTTERANCE, in testAddPlayEarcon() local
239 int result = getTts().speak(SPEECH_UTTERANCE, in testAddPlaySpeech() local
276 int result = in generateSampleAudio() local
284 private void verifyAddPlay(int result, TextToSpeechWrapper mTts, String utterance) in verifyAddPlay()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsMessageTest.java111 int[] result = SmsMessage.calculateLength(sms.getMessageBody(), true); in testCreateFromPdu() local
114 assertEquals(sms.getMessageBody().length(), result[1]); in testCreateFromPdu() local
115 assertRemaining(sms.getMessageBody().length(), result[2], SmsMessage.MAX_USER_DATA_SEPTETS); in testCreateFromPdu() local
147 assertEquals(sms.getMessageBody().length(), result[1]); in testCreateFromPdu() local
148 assertRemaining(sms.getMessageBody().length(), result[2], SmsMessage.MAX_USER_DATA_SEPTETS); in testCreateFromPdu() local
159 assertEquals(sms.getMessageBody().length(), result[1]); in testCreateFromPdu() local
160 assertRemaining(sms.getMessageBody().length(), result[2], SmsMessage.MAX_USER_DATA_SEPTETS); in testCreateFromPdu() local
324 int[] result = SmsMessage.calculateLength(LONG_TEXT_WITH_32BIT_CHARS, false); in testCalculateLength() local
327 assertEquals(LONG_TEXT_WITH_32BIT_CHARS.length(), result[1]); in testCalculateLength() local
339 assertRemaining(LONG_TEXT_WITH_32BIT_CHARS.length(), result[2], in testCalculateLength() local
[all …]
/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
DRemoteViewsThemeColorsTest.java74 View result = setUpView(new SparseIntArray()); in apply_setNoThemeColors_shouldNotChangeColors() local
89 View result = setUpView(theme); in apply_setAllColorsInTheme_shouldAllChange() local
106 View result = setUpView(theme); in apply_setSomeColorsInTheme_shouldChangeThoseColorsOnly() local
125 View result = setUpView(theme); in apply_setNonThemeColors_shouldNotChangeContext() local
144 View result = mRemoteViews.apply(mContext, null /* parent */, null /* handler */, in setUpViewInternal() 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/media/src/android/media/metrics/cts/
DMediaMetricsAtomTests.java84 AtomsProto.MediaPlaybackStateChanged result = in testPlaybackStateEvent_default() local
104 AtomsProto.MediaPlaybackStateChanged result = in testPlaybackStateEvent() local
124 AtomsProto.MediaPlaybackErrorReported result = in testPlaybackErrorEvent_default() local
149 AtomsProto.MediaPlaybackErrorReported result = in testPlaybackErrorEvent() local
174 AtomsProto.MediaPlaybackTrackChanged result = in testTrackChangeEvent_default() local
205 AtomsProto.MediaPlaybackTrackChanged result = in testTrackChangeEvent_text() local
234 AtomsProto.MediaPlaybackTrackChanged result = in testTrackChangeEvent_audio() local
265 AtomsProto.MediaPlaybackTrackChanged result = in testTrackChangeEvent_video() local
297 AtomsProto.MediaNetworkInfoChanged result = in testNetworkEvent_default() local
318 AtomsProto.MediaNetworkInfoChanged result = in testNetworkEvent() local
[all …]
/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/voiceinteraction/src/android/voiceinteraction/cts/
DDirectActionsTest.java70 final Bundle result = mSessionControl.performDirectAction(action, in testPerformDirectAction() local
95 final Bundle result = mSessionControl.performDirectActionAndCancel(action, in testCancelPerformedDirectAction() local
175 final Bundle result = executeCommand(Utils.DIRECT_ACTIONS_SESSION_CMD_GET_ACTIONS, in getDirectActions() local
196 final Bundle result = executeCommand( in detectDirectActionsInvalidated() local
207 final Bundle result = new Bundle(); in executeCommand() local
281 final Bundle result = executeRemoteCommand( in detectInteractorDestroyed() local
301 final Bundle result = new Bundle(); in executeRemoteCommand() local
355 private void assertActionSucceeded(@NonNull Bundle result) { in assertActionSucceeded()
362 private void assertActionCancelled(@NonNull Bundle result) { in assertActionCancelled()
/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/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/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/tests/app/src/android/app/cts/android/app/cts/tools/
DServiceProcessController.java113 String result = SystemUtil.runShellCommand(mInstrumentation, cmd); in denyBackgroundOp() local
123 String result = SystemUtil.runShellCommand(mInstrumentation, cmd); in allowBackgroundOp() local
130 String result = SystemUtil.runShellCommand(mInstrumentation, cmd); in denyAnyInBackgroundOp() local
136 String result = SystemUtil.runShellCommand(mInstrumentation, cmd); in allowAnyInBackgroundOp() local
141 String result = SystemUtil.runShellCommand(mInstrumentation, cmd); in makeUidIdle() local
146 String result = SystemUtil.runShellCommand(mInstrumentation, cmd); in removeFromWhitelist() local
151 String result = SystemUtil.runShellCommand(mInstrumentation, cmd); in addToWhitelist() local
157 String result = SystemUtil.runShellCommand(mInstrumentation, cmd); in tempWhitelist() local

12345678910>>...52