Home
last modified time | relevance | path

Searched refs:Utils (Results 1 – 25 of 211) sorted by relevance

123456789

/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DDirectActionsActivity.java28 import android.voiceinteraction.common.Utils;
51 final RemoteCallback callBack = args.getParcelable(Utils.DIRECT_ACTIONS_KEY_CALLBACK); in onResume()
54 final String command = cmdArgs.getString(Utils.DIRECT_ACTIONS_KEY_COMMAND); in onResume()
57 case Utils.DIRECT_ACTIONS_ACTIVITY_CMD_DESTROYED_INTERACTOR: { in onResume()
59 Utils.DIRECT_ACTIONS_KEY_CALLBACK); in onResume()
62 case Utils.DIRECT_ACTIONS_ACTIVITY_CMD_FINISH: { in onResume()
64 Utils.DIRECT_ACTIONS_KEY_CALLBACK); in onResume()
67 case Utils.DIRECT_ACTIONS_ACTIVITY_CMD_INVALIDATE_ACTIONS: { in onResume()
69 Utils.DIRECT_ACTIONS_KEY_CALLBACK); in onResume()
76 result.putParcelable(Utils.DIRECT_ACTIONS_KEY_CONTROL, control); in onResume()
[all …]
DTestApp.java37 import android.voiceinteraction.common.Utils;
45 Utils.TestCaseType mTestInProgress;
62 if (mIndex == Utils.TestCaseType.values().length) { in continueTests()
69 mTestInProgress = (Utils.TestCaseType.values())[mIndex++]; in continueTests()
98 String[] commands = {Utils.TEST_COMMAND}; in continueTests()
102 addTestResult(Utils.SUPPORTS_COMMANDS_SUCCESS); in continueTests()
104 addTestResult(Utils.TEST_ERROR + " supported commands failure!"); in continueTests()
113 mTestinfo.putStringArrayList(Utils.TESTINFO, new ArrayList<String>()); in testSetup()
114 mTestinfo.putString(Utils.TESTCASE_TYPE, mTestInProgress.toString()); in testSetup()
118 ArrayList<String> info = mTestinfo.getStringArrayList(Utils.TESTINFO); in saveTestResults()
[all …]
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainInteractionSession.java27 import android.voiceinteraction.common.Utils;
74 || !Utils.PRIVATE_OPTIONS_VALUE.equals( in onShow()
75 args.getString(Utils.PRIVATE_OPTIONS_KEY))) { in onShow()
83 if (str.equals(Utils.TEST_PROMPT)) { in assertPromptFromTestApp()
86 Utils.addErrorResult(extras, "Invalid prompt received: " + str); in assertPromptFromTestApp()
101 results[idx] = Utils.TEST_COMMAND.equals(commands[idx]); in onGetSupportedCommands()
112 ", extras=" + Utils.toBundleString(extras)); in onRequestConfirmation()
118 asyncTaskArg.setTestType(Utils.TestCaseType.CONFIRMATION_REQUEST_CANCEL_TEST)); in onRequestConfirmation()
121 Utils.toBundleString(extras)); in onRequestConfirmation()
123 asyncTaskArg.setTestType(Utils.TestCaseType.CONFIRMATION_REQUEST_TEST)); in onRequestConfirmation()
[all …]
DDirectActionsSession.java26 import android.voiceinteraction.common.Utils;
59 final RemoteCallback callback = args.getParcelable(Utils.DIRECT_ACTIONS_KEY_CALLBACK); in onShow()
62 final String command = cmdArgs.getString(Utils.DIRECT_ACTIONS_KEY_COMMAND); in onShow()
64 Utils.DIRECT_ACTIONS_KEY_CALLBACK); in onShow()
66 case Utils.DIRECT_ACTIONS_SESSION_CMD_PERFORM_ACTION: { in onShow()
70 case Utils.DIRECT_ACTIONS_SESSION_CMD_PERFORM_ACTION_CANCEL: { in onShow()
74 case Utils.DIRECT_ACTIONS_SESSION_CMD_GET_ACTIONS: { in onShow()
77 case Utils.DIRECT_ACTIONS_SESSION_CMD_FINISH: { in onShow()
80 case Utils.DIRECT_ACTIONS_SESSION_CMD_DETECT_ACTIONS_CHANGED: { in onShow()
87 result.putParcelable(Utils.DIRECT_ACTIONS_KEY_CONTROL, control); in onShow()
[all …]
/cts/hostsidetests/rollback/app/src/com/android/cts/rollback/host/app/
DHostTestHelper.java31 import com.android.cts.rollback.lib.Utils;
75 assertThat(Utils.getInstalledVersion(TestApp.A)).isEqualTo(-1); in testApkOnlyEnableRollback()
91 assertThat(Utils.getInstalledVersion(TestApp.A)).isEqualTo(2); in testApkOnlyCommitRollback()
92 RollbackInfo available = Utils.getAvailableRollback(TestApp.A); in testApkOnlyCommitRollback()
96 assertThat(Utils.getCommittedRollback(TestApp.A)).isNull(); in testApkOnlyCommitRollback()
98 Utils.rollback(available.getRollbackId(), TestApp.A2); in testApkOnlyCommitRollback()
99 RollbackInfo committed = Utils.getCommittedRollback(TestApp.A); in testApkOnlyCommitRollback()
109 Utils.waitForSessionReady(committed.getCommittedSessionId()); in testApkOnlyCommitRollback()
110 assertThat(Utils.getInstalledVersion(TestApp.A)).isEqualTo(2); in testApkOnlyCommitRollback()
122 assertThat(Utils.getInstalledVersion(TestApp.A)).isEqualTo(1); in testApkOnlyConfirmRollback()
[all …]
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DDirectActionsTest.java29 import android.voiceinteraction.common.Utils;
145 mControl = result.getParcelable(Utils.DIRECT_ACTIONS_KEY_CONTROL); in startVoiceInteractionSession()
150 intent.putExtra(Utils.DIRECT_ACTIONS_KEY_CLASS, in startVoiceInteractionSession()
154 intent.putExtra(Utils.DIRECT_ACTIONS_KEY_CALLBACK, callback); in startVoiceInteractionSession()
167 executeCommand(Utils.DIRECT_ACTIONS_SESSION_CMD_FINISH, in stopVoiceInteractionSession()
173 final Bundle result = executeCommand(Utils.DIRECT_ACTIONS_SESSION_CMD_GET_ACTIONS, in getDirectActions()
175 actions.addAll(result.getParcelableArrayList(Utils.DIRECT_ACTIONS_KEY_RESULT)); in getDirectActions()
181 return executeCommand(Utils.DIRECT_ACTIONS_SESSION_CMD_PERFORM_ACTION, in performDirectAction()
187 return executeCommand(Utils.DIRECT_ACTIONS_SESSION_CMD_PERFORM_ACTION_CANCEL, in performDirectActionAndCancel()
195 Utils.DIRECT_ACTIONS_SESSION_CMD_DETECT_ACTIONS_CHANGED, in detectDirectActionsInvalidated()
[all …]
DVoiceInteractionTest.java31 import android.voiceinteraction.common.Utils;
62 mContext.registerReceiver(mReceiver, new IntentFilter(Utils.BROADCAST_INTENT)); in setUp()
101 for (Utils.TestCaseType t : Utils.TestCaseType.values()) { in testAll()
114 private void verifySingleTestcaseResult(Utils.TestCaseType testCaseType, String result) { in verifySingleTestcaseResult()
118 assertThat(result.equals(Utils.ABORT_REQUEST_CANCEL_SUCCESS)).isTrue(); in verifySingleTestcaseResult()
121 assertThat(result.equals(Utils.ABORT_REQUEST_SUCCESS)).isTrue(); in verifySingleTestcaseResult()
124 assertThat(result.equals(Utils.COMMANDREQUEST_SUCCESS)).isTrue(); in verifySingleTestcaseResult()
127 assertThat(result.equals(Utils.COMMANDREQUEST_CANCEL_SUCCESS)).isTrue(); in verifySingleTestcaseResult()
130 assertThat(result.equals(Utils.COMPLETION_REQUEST_CANCEL_SUCCESS)).isTrue(); in verifySingleTestcaseResult()
133 assertThat(result.equals(Utils.COMPLETION_REQUEST_SUCCESS)).isTrue(); in verifySingleTestcaseResult()
[all …]
/cts/tests/tests/assist/src/android/assist/cts/
DLifecycleTest.java20 import android.assist.common.Utils;
29 private static final String ACTION_HAS_FOCUS = Utils.LIFECYCLE_HASFOCUS;
30 private static final String ACTION_LOST_FOCUS = Utils.LIFECYCLE_LOSTFOCUS;
31 private static final String ACTION_ON_PAUSE = Utils.LIFECYCLE_ONPAUSE;
32 private static final String ACTION_ON_STOP = Utils.LIFECYCLE_ONSTOP;
33 private static final String ACTION_ON_DESTROY = Utils.LIFECYCLE_ONDESTROY;
35 private static final String TEST_CASE_TYPE = Utils.LIFECYCLE;
53 if (!mHasFocusLatch.await(Utils.ACTIVITY_ONRESUME_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForHasFocus()
54 fail("Activity failed to get focus in " + Utils.ACTIVITY_ONRESUME_TIMEOUT_MS + "msec"); in waitForHasFocus()
60 if (!mLostFocusLatch.await(Utils.ACTIVITY_ONRESUME_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForLostFocus()
[all …]
DTextViewTest.java20 import android.assist.common.Utils;
29 private static final String TEST_CASE_TYPE = Utils.TEXTVIEW;
53 verifyAssistStructure(Utils.getTestAppComponent(TEST_CASE_TYPE), in testTextView()
60 verifyAssistStructure(Utils.getTestAppComponent(TEST_CASE_TYPE), false); in testTextView()
65 verifyAssistStructure(Utils.getTestAppComponent(TEST_CASE_TYPE), false); in testTextView()
70 verifyAssistStructure(Utils.getTestAppComponent(TEST_CASE_TYPE), false); in testTextView()
75 verifyAssistStructure(Utils.getTestAppComponent(TEST_CASE_TYPE), false); in testTextView()
84 bundle.putString(Utils.EXTRA_REMOTE_CALLBACK_ACTION, Utils.SCROLL_TEXTVIEW_ACTION); in scrollTestApp()
86 bundle.putString(Utils.EXTRA_REMOTE_CALLBACK_ACTION, Utils.SCROLL_SCROLLVIEW_ACTION); in scrollTestApp()
88 bundle.putInt(Utils.SCROLL_X_POSITION, scrollX); in scrollTestApp()
[all …]
DAssistantContentViewTest.java20 import android.assist.common.Utils;
37 startTestActivity(Utils.VERIFY_CONTENT_VIEW); in setUp()
48 if (!mContentViewLatch.await(Utils.TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForContentView()
49 fail("failed to receive content view in " + Utils.TIMEOUT_MS + "msec"); in waitForContentView()
58 startTest(Utils.VERIFY_CONTENT_VIEW); in testAssistantContentViewDimens()
62 int height = mBundle.getInt(Utils.EXTRA_CONTENT_VIEW_HEIGHT, 0); in testAssistantContentViewDimens()
63 int width = mBundle.getInt(Utils.EXTRA_CONTENT_VIEW_WIDTH, 0); in testAssistantContentViewDimens()
64 Point displayPoint = mBundle.getParcelable(Utils.EXTRA_DISPLAY_POINT); in testAssistantContentViewDimens()
72 super(Utils.BROADCAST_CONTENT_VIEW_HEIGHT, mContentViewLatch); in AssistantReceiver()
DWebViewTest.java20 import android.assist.common.Utils;
31 private static final String TEST_CASE_TYPE = Utils.WEBVIEW;
38 …mActionLatchReceiver = new ActionLatchReceiver(Utils.TEST_ACTIVITY_WEBVIEW_LOADED, mTestWebViewLat… in setUp()
44 if (!mTestWebViewLatch.await(Utils.ACTIVITY_ONRESUME_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForTestActivity()
45 fail("failed to receive load web view in " + Utils.TIMEOUT_MS + "msec"); in waitForTestActivity()
65 verifyAssistStructure(Utils.getTestAppComponent(TEST_CASE_TYPE), in testWebView()
67 verifyAssistStructureHasWebDomain(Utils.WEBVIEW_HTML_DOMAIN); in testWebView()
68 verifyAssistStructureHasLocaleList(Utils.WEBVIEW_LOCALE_LIST); in testWebView()
DAssistTestBase.java26 import android.assist.common.Utils;
98 String action = result.getString(Utils.EXTRA_REMOTE_CALLBACK_ACTION);
142 mContext.sendBroadcast(new Intent(Utils.HIDE_SESSION)); in tearDown()
146 m3pActivityCallback.sendResult(Utils.bundleOfRemoteAction(Utils.ACTION_END_OF_TEST)); in tearDown()
169 String action = results.getString(Utils.EXTRA_REMOTE_CALLBACK_ACTION); in registerForAsyncReceivingCallback()
170 if (action.equals(Utils.EXTRA_REMOTE_CALLBACK_RECEIVING_ACTION)) { in registerForAsyncReceivingCallback()
171 m3pActivityCallback = results.getParcelable(Utils.EXTRA_REMOTE_CALLBACK_RECEIVING); in registerForAsyncReceivingCallback()
179 intent.putExtra(Utils.TESTCASE_TYPE, testName); in startTest()
181 intent.putExtra(Utils.EXTRA_REMOTE_CALLBACK, mRemoteCallback); in startTest()
194 intent.putExtra(Utils.TESTCASE_TYPE, testCaseName); in start3pApp()
[all …]
DFocusChangeTest.java20 import android.assist.common.Utils;
29 private static final String TEST_CASE_TYPE = Utils.FOCUS_CHANGE;
38 Pair.create(Utils.GAINED_FOCUS, mHasGainedFocusLatch), in setUp()
39 Pair.create(Utils.LOST_FOCUS, mHasLostFocusLatch) in setUp()
46 if (!mHasGainedFocusLatch.await(Utils.TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitToGainFocus()
47 fail("Activity failed to gain focus in " + Utils.TIMEOUT_MS + "msec."); in waitToGainFocus()
53 if (!mHasLostFocusLatch.await(Utils.TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitToLoseFocus()
55 + Utils.TIMEOUT_MS + "msec."); in waitToLoseFocus()
DAssistStructureTest.java20 import android.assist.common.Utils;
32 private static final String TEST_CASE_TYPE = Utils.ASSIST_STRUCTURE;
40 mActionLatchReceiver = new ActionLatchReceiver(Utils.APP_3P_HASDRAWED, mHasDrawedLatch); in setUp()
45 if (!mHasDrawedLatch.await(Utils.ACTIVITY_ONRESUME_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForOnDraw()
46 fail("Activity failed to draw in " + Utils.ACTIVITY_ONRESUME_TIMEOUT_MS + "msec"); in waitForOnDraw()
64 … verifyAssistStructure(Utils.getTestAppComponent(TEST_CASE_TYPE), false /*FLAG_SECURE set*/); in testAssistStructure()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DEphemeralTest.java123 Utils.prepareSingleUser(getDevice()); in setUp()
144 Utils.runDeviceTestsAsCurrentUser(getDevice(), NORMAL_PKG, TEST_CLASS, "testQuery"); in testNormalQuery()
152 Utils.runDeviceTestsAsCurrentUser(getDevice(), NORMAL_PKG, TEST_CLASS, "testStartNormal"); in testNormalStartNormal()
160 Utils.runDeviceTestsAsCurrentUser(getDevice(), NORMAL_PKG, TEST_CLASS, in testNormalStartEphemeral()
169 Utils.runDeviceTestsAsCurrentUser(getDevice(), EPHEMERAL_1_PKG, TEST_CLASS, "testQuery"); in testEphemeralQuery()
177 Utils.runDeviceTestsAsCurrentUser(getDevice(), EPHEMERAL_1_PKG, TEST_CLASS, in testEphemeralStartNormal()
189 Utils.runDeviceTestsAsCurrentUser(getDevice(), EPHEMERAL_1_PKG, TEST_CLASS, in testEphemeralStartExposed01()
197 Utils.runDeviceTestsAsCurrentUser(getDevice(), EPHEMERAL_1_PKG, TEST_CLASS, in testEphemeralStartExposed02()
205 Utils.runDeviceTestsAsCurrentUser(getDevice(), EPHEMERAL_1_PKG, TEST_CLASS, in testEphemeralStartExposed03()
213 Utils.runDeviceTestsAsCurrentUser(getDevice(), EPHEMERAL_1_PKG, TEST_CLASS, in testEphemeralStartExposed04()
[all …]
DIsolatedSplitsTests.java49 Utils.prepareSingleUser(getDevice()); in setUp()
70 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadDefault"); in testInstallBase()
85 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadPolishLocale"); in testInstallBaseAndConfigSplit()
109 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadDefault"); in testInstallOneFeatureSplit()
110 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadFeatureADefault"); in testInstallOneFeatureSplit()
111 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadFeatureAReceivers"); in testInstallOneFeatureSplit()
127 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadPolishLocale"); in testInstallOneFeatureSplitAndConfigSplits()
128 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadFeatureAPolishLocale"); in testInstallOneFeatureSplitAndConfigSplits()
139 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadDefault"); in testInstallDependentFeatureSplits()
140 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadFeatureADefault"); in testInstallDependentFeatureSplits()
[all …]
DApplicationVisibilityTest.java50 mUsers = Utils.prepareMultipleUsers(getDevice(), 2); in setUpPackage()
77 Utils.runDeviceTests( in testPackageListCrossUserGrant()
83 Utils.runDeviceTests( in testPackageListCrossUserGrant()
104 Utils.runDeviceTests( in testPackageListCrossUserNoGrant()
110 Utils.runDeviceTests( in testPackageListCrossUserNoGrant()
133 Utils.runDeviceTests( in testPackageListOtherUserCrossUserGrant()
157 Utils.runDeviceTests( in testPackageListOtherUserCrossUserNoGrant()
179 Utils.runDeviceTests( in testApplicationListCrossUserGrant()
185 Utils.runDeviceTests( in testApplicationListCrossUserGrant()
206 Utils.runDeviceTests( in testApplicationListCrossUserNoGrant()
[all …]
/cts/tests/tests/assist/service/src/android/assist/service/
DMainInteractionSession.java21 import android.assist.common.Utils;
66 if (action.equals(Utils.HIDE_SESSION)) { in onCreate()
71 bundle.putString(Utils.EXTRA_REMOTE_CALLBACK_ACTION, Utils.HIDE_SESSION_COMPLETE); in onCreate()
76 filter.addAction(Utils.HIDE_SESSION); in onCreate()
91 if (Utils.LIFECYCLE_NOUI.equals(args.getString(Utils.TESTCASE_TYPE, ""))) { in onPrepareShow()
103 mTestName = args.getString(Utils.TESTCASE_TYPE, ""); in onShow()
104 mCurColor = args.getInt(Utils.SCREENSHOT_COLOR_KEY); in onShow()
105 mDisplayHeight = args.getInt(Utils.DISPLAY_HEIGHT_KEY); in onShow()
106 mDisplayWidth = args.getInt(Utils.DISPLAY_WIDTH_KEY); in onShow()
107 mRemoteCallback = args.getParcelable(Utils.EXTRA_REMOTE_CALLBACK); in onShow()
[all …]
DDelayedAssistantActivity.java20 import android.assist.common.Utils;
33 RemoteCallback remoteCallback = getIntent().getParcelableExtra(Utils.EXTRA_REMOTE_CALLBACK); in onCreate()
37 intent.putExtra(Utils.EXTRA_REGISTER_RECEIVER, true); in onCreate()
38 intent.putExtra(Utils.TESTCASE_TYPE, getIntent().getStringExtra(Utils.TESTCASE_TYPE)); in onCreate()
39 intent.putExtra(Utils.DISPLAY_WIDTH_KEY, in onCreate()
40 getIntent().getIntExtra(Utils.DISPLAY_WIDTH_KEY, 0)); in onCreate()
41 intent.putExtra(Utils.DISPLAY_HEIGHT_KEY, in onCreate()
42 getIntent().getIntExtra(Utils.DISPLAY_HEIGHT_KEY, 0)); in onCreate()
43 intent.putExtra(Utils.EXTRA_REMOTE_CALLBACK, remoteCallback); in onCreate()
52 notify(Utils.TEST_ACTIVITY_DESTROY); in onDestroy()
DMainInteractionService.java23 import android.assist.common.Utils;
61 mRemoteCallback = mIntent.getParcelableExtra(Utils.EXTRA_REMOTE_CALLBACK); in onStartCommand()
72 bundle.putString(Utils.EXTRA_REMOTE_CALLBACK_ACTION, action); in notify()
83 if (mIntent.getBooleanExtra(Utils.EXTRA_REGISTER_RECEIVER, false)) { in maybeStart()
87 filter.addAction(Utils.BROADCAST_INTENT_START_ASSIST); in maybeStart()
92 notify(Utils.ASSIST_RECEIVER_REGISTERED); in maybeStart()
96 bundle.putString(Utils.TESTCASE_TYPE, in maybeStart()
97 mIntent.getStringExtra(Utils.TESTCASE_TYPE)); in maybeStart()
98 bundle.putParcelable(Utils.EXTRA_REMOTE_CALLBACK, in maybeStart()
99 mIntent.getParcelableExtra(Utils.EXTRA_REMOTE_CALLBACK)); in maybeStart()
[all …]
/cts/tests/rollback/src/android/server/cts/rollback/
DRollbackManagerTest.java31 import com.android.cts.rollback.lib.Utils;
59 Utils.uninstall(TestApp.A); in setup()
67 Utils.uninstall(TestApp.A); in teardown()
79 assertThat(Utils.getInstalledVersion(TestApp.A)).isEqualTo(1); in testBasic()
80 assertThat(Utils.getAvailableRollback(TestApp.A)).isNull(); in testBasic()
81 assertThat(Utils.getCommittedRollback(TestApp.A)).isNull(); in testBasic()
84 assertThat(Utils.getInstalledVersion(TestApp.A)).isEqualTo(2); in testBasic()
85 RollbackInfo available = Utils.getAvailableRollback(TestApp.A); in testBasic()
90 assertThat(Utils.getCommittedRollback(TestApp.A)).isNull(); in testBasic()
92 Utils.rollback(available.getRollbackId(), TestApp.A2); in testBasic()
[all …]
/cts/tests/tests/assist/common/src/android/assist/common/
DBaseRemoteCallbackActivity.java36 RemoteCallback callback = getIntent().getParcelableExtra(Utils.EXTRA_REMOTE_CALLBACK); in notify()
43 bundle.putString(Utils.EXTRA_REMOTE_CALLBACK_ACTION, action); in notify()
49 …RemoteCallback remoteCallback = getIntent().getParcelableExtra(Utils.EXTRA_REMOTE_CALLBACK_RECEIVI… in registerReceivingCallback()
56 String action = results.getString(Utils.EXTRA_REMOTE_CALLBACK_ACTION); in registerReceivingCallback()
57 if (action.equals(Utils.ACTION_END_OF_TEST)) { in registerReceivingCallback()
67 …bundle.putString(Utils.EXTRA_REMOTE_CALLBACK_ACTION, Utils.EXTRA_REMOTE_CALLBACK_RECEIVING_ACTION); in registerReceivingCallback()
68 bundle.putParcelable(Utils.EXTRA_REMOTE_CALLBACK_RECEIVING, mRemoteCallback); in registerReceivingCallback()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Fragments/
DDataFragment.java20 import com.android.cts.verifier.sensors.sixdof.Utils.Manager;
21 import com.android.cts.verifier.sensors.sixdof.Utils.TestReport;
22 import com.android.cts.verifier.sensors.sixdof.Utils.Exceptions.WaypointAreaCoveredException;
23 import com.android.cts.verifier.sensors.sixdof.Utils.Exceptions.WaypointDistanceException;
24 import com.android.cts.verifier.sensors.sixdof.Utils.Exceptions.WaypointRingNotEnteredException;
25 import com.android.cts.verifier.sensors.sixdof.Utils.Exceptions.WaypointStartPointException;
26 import com.android.cts.verifier.sensors.sixdof.Utils.Path.PathUtilityClasses.Ring;
27 import com.android.cts.verifier.sensors.sixdof.Utils.Path.PathUtilityClasses.Waypoint;
28 import com.android.cts.verifier.sensors.sixdof.Utils.PoseProvider.AndroidPoseProvider;
29 import com.android.cts.verifier.sensors.sixdof.Utils.PoseProvider.PoseData;
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DPath.java16 package com.android.cts.verifier.sensors.sixdof.Utils.Path;
18 import com.android.cts.verifier.sensors.sixdof.Utils.Manager;
19 import com.android.cts.verifier.sensors.sixdof.Utils.MathsUtils;
20 import com.android.cts.verifier.sensors.sixdof.Utils.Exceptions.WaypointAreaCoveredException;
21 import com.android.cts.verifier.sensors.sixdof.Utils.Exceptions.WaypointDistanceException;
22 import com.android.cts.verifier.sensors.sixdof.Utils.Exceptions.WaypointRingNotEnteredException;
23 import com.android.cts.verifier.sensors.sixdof.Utils.Exceptions.WaypointStartPointException;
24 import com.android.cts.verifier.sensors.sixdof.Utils.Path.PathUtilityClasses.Waypoint;
/cts/tests/tests/content/src/android/content/cts/
DDeferSyncTest.java19 import static com.android.cts.content.Utils.ALWAYS_SYNCABLE_AUTHORITY;
20 import static com.android.cts.content.Utils.NOT_ALWAYS_SYNCABLE_AUTHORITY;
21 import static com.android.cts.content.Utils.SYNC_TIMEOUT_MILLIS;
22 import static com.android.cts.content.Utils.allowSyncAdapterRunInBackgroundAndDataInBackground;
23 import static com.android.cts.content.Utils.disallowSyncAdapterRunInBackgroundAndDataInBackground;
24 import static com.android.cts.content.Utils.hasDataConnection;
25 import static com.android.cts.content.Utils.requestSync;
26 import static com.android.cts.content.Utils.withAccount;
51 import com.android.cts.content.Utils;
92 try (Utils.ClosableAccount ignored = withAccount(activity.getActivity())) { in noSyncsWhenDeferred()
[all …]

123456789