/cts/tests/tests/content/src/android/content/cts/ |
D | ContextTest.java | 122 protected Context mContext; field in ContextTest 134 mContext = getContextUnderTest(); in setUp() 135 mContext.setTheme(R.style.Test_Theme); in setUp() 141 mOriginalWallpaper = (BitmapDrawable) mContext.getWallpaper(); in setUp() 147 mContext.setWallpaper(mOriginalWallpaper.getBitmap()); in tearDown() 151 mContext.unregisterReceiver(receiver); in tearDown() 158 String testString = mContext.getString(R.string.context_test_string1); in testGetString() 161 testString = mContext.getString(R.string.context_test_string1, "expected"); in testGetString() 164 testString = mContext.getString(R.string.context_test_string2); in testGetString() 169 testString = mContext.getString(0, "expected"); in testGetString() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | BlockedNumberContractTest.java | 48 private Context mContext; field in BlockedNumberContractTest 59 mContext = getInstrumentation().getContext(); in setUp() 60 mContentResolver = mContext.getContentResolver(); in setUp() 62 mIsSystemUser = isSystemUser(mContext); in setUp() 81 TelephonyManager telephonyManager = mContext.getSystemService(TelephonyManager.class); in testProviderInteractionsAsRegularApp_fails() 83 if (telephonyManager.checkCarrierPrivilegesForPackage(mContext.getPackageName()) in testProviderInteractionsAsRegularApp_fails() 109 BlockedNumberContract.isBlocked(mContext, "123"); in testProviderInteractionsAsRegularApp_fails() 115 BlockedNumberContract.unblock(mContext, "1234567890"); in testProviderInteractionsAsRegularApp_fails() 120 assertTrue(BlockedNumberContract.canCurrentUserBlockNumbers(mContext)); in testProviderInteractionsAsRegularApp_fails() 140 assertTrue(BlockedNumberContract.canCurrentUserBlockNumbers(mContext)); in testInsertAndBlockCheck_succeeds() [all …]
|
/cts/hostsidetests/incident/apps/errorsapp/src/com/android/server/cts/errors/ |
D | ErrorsTests.java | 54 private Context mContext; field in ErrorsTests 58 mContext = InstrumentationRegistry.getTargetContext(); in setUp() 59 mDropbox = (DropBoxManager) mContext.getSystemService(Context.DROPBOX_SERVICE); in setUp() 64 "appops set " + mContext.getPackageName() + " android:get_usage_stats allow"); in setUp() 71 registerReceiver(mContext, mResultsReceivedSignal, CRASH_TAG, in testException() 72 mContext.getPackageName() + ":TestProcess", in testException() 75 intent.setClass(mContext, ExceptionActivity.class); in testException() 77 mContext.startActivity(intent); in testException() 87 registerReceiver(mContext, mResultsReceivedSignal, ANR_TAG, in testANR() 88 mContext.getPackageName() + ":TestProcess", in testANR() [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerFgsBgStartTest.java | 48 private Context mContext; field in ActivityManagerFgsBgStartTest 55 mContext = mInstrumentation.getContext(); in setUp() 58 CtsAppTestUtils.turnScreenOn(mInstrumentation, mContext); in setUp() 74 ApplicationInfo app1Info = mContext.getPackageManager().getApplicationInfo( in testFgsLocationStartFromBG() 85 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG() 93 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG() 101 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG() 105 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG() 113 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG() 119 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG() [all …]
|
D | PendingIntentTest.java | 45 private Context mContext; field in PendingIntentTest 57 mContext = getContext(); in setUp() 143 mIntent.setClass(mContext, PendingIntentStubActivity.class); in testGetActivity() 145 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, in testGetActivity() 147 assertEquals(mContext.getPackageName(), mPendingIntent.getTargetPackage()); in testGetActivity() 157 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, in testGetActivity() 161 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, in testGetActivity() 183 mIntent.setClass(mContext, MockReceiver.class); in testGetBroadcast() 184 mPendingIntent = PendingIntent.getBroadcast(mContext, 1, mIntent, in testGetBroadcast() 194 mPendingIntent = PendingIntent.getBroadcast(mContext, 1, mIntent, in testGetBroadcast() [all …]
|
D | ActivityManagerProcessStateTest.java | 110 private Context mContext; field in ActivityManagerProcessStateTest 131 mContext = mInstrumentation.getContext(); in setUp() 148 mContext.stopService(mServiceIntent); in setUp() 149 mContext.stopService(mService2Intent); in setUp() 150 mContext.stopService(mService3Intent); in setUp() 151 CtsAppTestUtils.turnScreenOn(mInstrumentation, mContext); in setUp() 158 final ActivityManager am = mContext.getSystemService(ActivityManager.class); in setUp() 175 mAppInfo[i] = mContext.getPackageManager().getApplicationInfo( in setupWatchers() 254 ServiceConnectionHandler conn = new ServiceConnectionHandler(mContext, mServiceIntent, in testUidImportanceListener() 256 ServiceConnectionHandler conn2 = new ServiceConnectionHandler(mContext, mService2Intent, in testUidImportanceListener() [all …]
|
D | ServiceTest.java | 92 private Context mContext; field in ServiceTest 463 mContext.startService(new Intent(service).putExtras(bundle)); in startExpectResult() 466 mContext.startService(new Intent(service).putExtras(bundle)); in startExpectResult() 471 mContext.stopService(service); in startExpectResult() 475 mContext.stopService(service); in startExpectResult() 578 mContext.bindService(service, conn, 0); in bindExpectResult() 579 mContext.startService(service); in bindExpectResult() 583 mContext.bindService(service, conn2, 0); in bindExpectResult() 586 mContext.unbindService(conn2); in bindExpectResult() 590 mContext.unbindService(conn); in bindExpectResult() [all …]
|
D | ProgressDialogTest.java | 49 private Context mContext; field in ProgressDialogTest 64 mContext = mActivity; in setUp() 71 new ProgressDialog(mContext); in testProgressDialog1() 76 new ProgressDialog(mContext, R.style.Theme_AlertDialog); in testProgressDialog2() 81 MockProgressDialog pd = new MockProgressDialog(mContext); in testOnStartCreateStop() 96 ProgressDialog.show(mContext, TITLE, MESSAGE); in testShow1() 101 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, false); in testShow2() 109 dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true); in testShow2() 123 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true, false); in testShow3() 137 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true, true); in testShow3() [all …]
|
/cts/tests/tests/appcomponentfactory/src/android/app/componentfactory/cts/ |
D | AppComponentFactoryTest.java | 32 private final Context mContext = InstrumentationRegistry.getContext(); field in AppComponentFactoryTest 36 assertTrue(mContext.getApplicationContext() instanceof MyApplication); in testApplication() 41 mContext.startActivity(new Intent() in testActivity() 42 .setComponent(new ComponentName(mContext.getPackageName(), in testActivity() 43 mContext.getPackageName() + ".inject.MyActivity")) in testActivity() 49 mContext.sendBroadcast(new Intent() in testReceiver() 50 .setComponent(new ComponentName(mContext.getPackageName(), in testReceiver() 51 mContext.getPackageName() + ".inject.MyReceiver"))); in testReceiver() 56 mContext.startService(new Intent() in testService() 57 .setComponent(new ComponentName(mContext.getPackageName(), in testService() [all …]
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | TextAppearanceSpanTest.java | 50 private Context mContext; field in TextAppearanceSpanTest 55 mContext = InstrumentationRegistry.getTargetContext(); in setup() 64 new TextAppearanceSpan(mContext, 1); in testConstructor() 65 new TextAppearanceSpan(mContext, 1, 1); in testConstructor() 94 TextAppearanceSpan textAppearanceSpan = new TextAppearanceSpan(mContext, 1); in testGetFamily() 97 textAppearanceSpan = new TextAppearanceSpan(mContext, 1, 1); in testGetFamily() 136 TextAppearanceSpan textAppearanceSpan = new TextAppearanceSpan(mContext, 1); in testGetTextSize() 139 textAppearanceSpan = new TextAppearanceSpan(mContext, 1, 1); in testGetTextSize() 148 TextAppearanceSpan textAppearanceSpan = new TextAppearanceSpan(mContext, 1); in testGetTextStyle() 151 textAppearanceSpan = new TextAppearanceSpan(mContext, 1, 1); in testGetTextStyle() [all …]
|
D | ImageSpanTest.java | 45 private Context mContext; field in ImageSpanTest 49 mContext = InstrumentationRegistry.getTargetContext(); in setup() 63 new ImageSpan(mContext, b); in testConstructor() 64 new ImageSpan(mContext, b, DynamicDrawableSpan.ALIGN_BOTTOM); in testConstructor() 65 new ImageSpan(mContext, b, DynamicDrawableSpan.ALIGN_BASELINE); in testConstructor() 67 Drawable d = mContext.getResources().getDrawable(R.drawable.pass); in testConstructor() 76 new ImageSpan(mContext, Uri.parse("content://user/a/b")); in testConstructor() 77 new ImageSpan(mContext, Uri.parse("content://user/a/b"), in testConstructor() 79 new ImageSpan(mContext, Uri.parse("content://user/a/b"), in testConstructor() 82 new ImageSpan(mContext, R.drawable.pass); in testConstructor() [all …]
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageCrateTest.java | 46 private Context mContext; field in StorageCrateTest 84 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in setUp() 85 mCratesRoot = mContext.getDataDir().toPath().resolve(CRATES_ROOT); in setUp() 103 mContext.getCrateDir(mCrateId); in getCrateDir_withCrateId_cratesRootExist() 110 final File crateDir = mContext.getCrateDir(mCrateId); in getCrateDir_withCrateId_shouldReturnNonNullDir() 117 final File crateDir = mContext.getCrateDir(mCrateId); in getCrateDir_withCrateId_cratePathBeDirectory() 124 final File crateDir = mContext.getCrateDir(mCrateId); in getCrateDir_withCrateId_cratePathShouldExist() 133 mContext.getCrateDir(mCrateId); in getCrateDir_withCrateId_cratesRootShouldUnderDataDir() 136 .isEqualTo(mContext.getDataDir().getName()); in getCrateDir_withCrateId_cratesRootShouldUnderDataDir() 144 mContext.getCrateDir(mCrateId); in getCrateDir_withCrateId_crateDirShouldUnderCratesRootDir() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/ApplicationVisibilityCrossUserApp/src/com/android/cts/applicationvisibility/ |
D | ApplicationVisibilityCrossUserTest.java | 44 private Context mContext; field in ApplicationVisibilityCrossUserTest 48 mContext = InstrumentationRegistry.getContext(); in setUp() 54 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_currentUser() 56 pm.getInstalledPackagesAsUser(0, mContext.getUserId()); in testPackageVisibility_currentUser() 63 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_anyUserCrossUserGrant() 65 pm.getInstalledPackagesAsUser(MATCH_KNOWN_PACKAGES, mContext.getUserId()); in testPackageVisibility_anyUserCrossUserGrant() 72 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_anyUserCrossUserNoGrant() 76 pm.getInstalledPackagesAsUser(MATCH_KNOWN_PACKAGES, mContext.getUserId()); in testPackageVisibility_anyUserCrossUserNoGrant() 84 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_otherUserGrant() 93 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_otherUserNoGrant() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | CursorAdapterTest.java | 78 private Context mContext; field in CursorAdapterTest 82 mContext = InstrumentationRegistry.getTargetContext(); in setup() 83 File dbDir = mContext.getDir("tests", Context.MODE_PRIVATE); in setup() 96 final LayoutInflater inflater = LayoutInflater.from(mContext); in setup() 114 new MockCursorAdapter(mContext, mCursor); in testConstructor() 118 new MockCursorAdapter(mContext, mCursor, true); in testConstructor() 135 cursorAdapter.init(mContext, null, false); in testInit() 136 assertSame(mContext, cursorAdapter.getContext()); in testInit() 143 cursorAdapter.init(mContext, null, true); in testInit() 144 assertSame(mContext, cursorAdapter.getContext()); in testInit() [all …]
|
D | ViewSwitcherTest.java | 49 private Context mContext; field in ViewSwitcherTest 53 mContext = InstrumentationRegistry.getTargetContext(); in setup() 58 new ViewSwitcher(mContext); in testConstructor() 60 new ViewSwitcher(mContext, null); in testConstructor() 62 XmlPullParser parser = mContext.getResources().getXml(R.layout.viewswitcher_layout); in testConstructor() 64 new ViewSwitcher(mContext, attrs); in testConstructor() 69 final ViewSwitcher viewSwitcher = new ViewSwitcher(mContext); in testSetFactory() 78 final ViewSwitcher viewSwitcher = new ViewSwitcher(mContext); in testReset() 80 ListView lv1 = new ListView(mContext); in testReset() 81 ListView lv2 = new ListView(mContext); in testReset() [all …]
|
D | RemoteViewsTest.java | 112 private Context mContext; field in RemoteViewsTest 122 mContext = mInstrumentation.getTargetContext(); in setup() 124 mResult = mRemoteViews.apply(mContext, null); in setup() 173 CharSequence contentDescription = mContext.getString(R.string.remote_content_description); in testSetContentDescription() 175 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in testSetContentDescription() 185 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in testSetViewVisibility() 189 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in testSetViewVisibility() 193 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in testSetViewVisibility() 204 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in testSetTextViewText() 208 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in testSetTextViewText() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/ |
D | DataPathOutOfBandTestCase.java | 124 setFailureReason(mContext.getString(R.string.aware_status_attach_timeout)); in executeTest() 128 setFailureReason(mContext.getString(R.string.aware_status_attach_fail)); in executeTest() 134 setFailureReason(mContext.getString(R.string.aware_status_attach_fail)); in executeTest() 138 mListener.onTestMsgReceived(mContext.getString(R.string.aware_status_attached)); in executeTest() 144 setFailureReason(mContext.getString(R.string.aware_status_identity_fail)); in executeTest() 203 setFailureReason(mContext.getString(R.string.aware_status_publish_timeout)); in executeTestResponder() 207 setFailureReason(mContext.getString(R.string.aware_status_publish_failed)); in executeTestResponder() 214 setFailureReason(mContext.getString(R.string.aware_status_publish_null_session)); in executeTestResponder() 218 mListener.onTestMsgReceived(mContext.getString(R.string.aware_status_publish_started)); in executeTestResponder() 225 setFailureReason(mContext.getString(R.string.aware_status_receive_timeout)); in executeTestResponder() [all …]
|
D | DataPathInBandTestCase.java | 112 mCm = (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in executeTest() 130 mListener.onTestMsgReceived(mContext.getString(R.string.aware_status_lifecycle_ok)); in executeTest() 157 setFailureReason(mContext.getString(R.string.aware_status_receive_timeout)); in executeTestSubscriber() 161 mListener.onTestMsgReceived(mContext.getString(R.string.aware_status_received)); in executeTestSubscriber() 166 setFailureReason(mContext.getString(R.string.aware_status_receive_failure)); in executeTestSubscriber() 188 mContext.getString(R.string.aware_status_network_requested)); in executeTestSubscriber() 194 setFailureReason(mContext.getString(R.string.aware_status_network_failed)); in executeTestSubscriber() 199 setFailureReason(mContext.getString(R.string.aware_status_network_failed)); in executeTestSubscriber() 205 setFailureReason(mContext.getString(R.string.aware_status_network_failed_leak)); in executeTestSubscriber() 211 mListener.onTestMsgReceived(mContext.getString(R.string.aware_status_network_success)); in executeTestSubscriber() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | OrientationListenerTest.java | 37 private Context mContext; field in OrientationListenerTest 41 mContext = InstrumentationRegistry.getTargetContext(); in setup() 46 new MockOrientationListener(mContext); in testConstructor() 48 new MockOrientationListener(mContext, SensorManager.SENSOR_DELAY_UI); in testConstructor() 54 MockOrientationListener listener = new MockOrientationListener(mContext); in testRegisterationOfOrientationListener() 62 new MockOrientationListener(mContext).onAccuracyChanged(SensorManager.SENSOR_ACCELEROMETER, in testOnAccuracyChanged() 65 new MockOrientationListener(mContext).onAccuracyChanged(SensorManager.SENSOR_ORIENTATION, in testOnAccuracyChanged() 72 MockOrientationListener listener = new MockOrientationListener(mContext); in testOnSensorChanged() 77 new MockOrientationListener(mContext).onSensorChanged(SensorManager.SENSOR_ACCELEROMETER, in testOnSensorChanged() 83 new MockOrientationListener(mContext).onSensorChanged(SensorManager.SENSOR_MAGNETIC_FIELD, in testOnSensorChanged() [all …]
|
D | ViewGroupChildDrawingOrderTest.java | 37 private Context mContext; field in ViewGroupChildDrawingOrderTest 41 mContext = InstrumentationRegistry.getTargetContext(); in setup() 46 LinearLayout layout = new LinearLayout(mContext); in testPublicGetChildDrawingOrderWithDefaultOrder() 47 layout.addView(new View(mContext)); in testPublicGetChildDrawingOrderWithDefaultOrder() 48 layout.addView(new View(mContext)); in testPublicGetChildDrawingOrderWithDefaultOrder() 49 layout.addView(new View(mContext)); in testPublicGetChildDrawingOrderWithDefaultOrder() 58 LinearLayoutWithDrawingOrder layout = new LinearLayoutWithDrawingOrder(mContext); in testPublicGetChildDrawingOrderWithCustomOrder() 59 layout.addView(new View(mContext)); in testPublicGetChildDrawingOrderWithCustomOrder() 60 layout.addView(new View(mContext)); in testPublicGetChildDrawingOrderWithCustomOrder() 61 layout.addView(new View(mContext)); in testPublicGetChildDrawingOrderWithCustomOrder()
|
/cts/tests/pdf/src/android/graphics/pdf/cts/ |
D | PdfRendererTest.java | 66 private Context mContext; field in PdfRendererTest 70 mContext = InstrumentationRegistry.getTargetContext(); in setup() 81 verifyException(() -> createRenderer(R.raw.testimage, mContext), IOException.class); in constructRendererFromNonPDF() 86 verifyException(() -> createRenderer(PROTECTED_PDF, mContext), SecurityException.class); in constructRendererFromProtectedPDF() 92 PdfRenderer firstRenderer = createRenderer(A4_PORTRAIT, mContext); in rendererRecoversAfterFailure() 94 verifyException(() -> createRenderer(PROTECTED_PDF, mContext), SecurityException.class); in rendererRecoversAfterFailure() 97 PdfRenderer renderer = createRenderer(TWO_PAGES, mContext); in rendererRecoversAfterFailure() 105 PdfRenderer renderer = createRenderer(A4_PORTRAIT, mContext); in useRendererAfterClose() 116 PdfRenderer renderer = createRenderer(A4_PORTRAIT, mContext); in usePageAfterClose() 137 PdfRenderer renderer = createRenderer(A4_PORTRAIT, mContext); in closeWithOpenPage() [all …]
|
/cts/tests/tests/telecom2/src/android/telecom/cts/ |
D | DefaultDialerOperationsNoPermissionsTest.java | 28 private Context mContext; field in DefaultDialerOperationsNoPermissionsTest 36 mContext = getInstrumentation().getContext(); in setUp() 37 if (!TestUtils.shouldTestTelecom(mContext)) { in setUp() 40 TestUtils.PACKAGE = mContext.getPackageName(); in setUp() 48 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in setUp() 62 if (!TestUtils.shouldTestTelecom(mContext)) { in testShowInCallScreenPermissions() 74 if (!TestUtils.shouldTestTelecom(mContext)) { in testGetCallCapableAccountsPermissions() 86 if (!TestUtils.shouldTestTelecom(mContext)) { in testGetDefaultOutgoingPhoneAccount() 98 if (!TestUtils.shouldTestTelecom(mContext)) { in testGetLine1Number() 110 if (!TestUtils.shouldTestTelecom(mContext)) { in testGetVoicemailNumber() [all …]
|
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/ |
D | NumberBlockingAppTest.java | 27 assertTrue(BlockedNumberContract.canCurrentUserBlockNumbers(mContext)); in testCleanupBlockedNumberAsPrimaryUserSucceeds() 29 assertTrue(mContext.getContentResolver().delete( in testCleanupBlockedNumberAsPrimaryUserSucceeds() 36 assertTrue(BlockedNumberContract.canCurrentUserBlockNumbers(mContext)); in testBlockNumberAsPrimaryUserSucceeds() 42 assertFalse(BlockedNumberContract.canCurrentUserBlockNumbers(mContext)); in testSecondaryUserCannotBlockNumbers() 45 BlockedNumberContract.isBlocked(mContext, mBlockedPhoneNumber); in testSecondaryUserCannotBlockNumbers() 52 assertTrue(BlockedNumberContract.canCurrentUserBlockNumbers(mContext)); in testUnblockNumberAsPrimaryUserSucceeds() 54 assertEquals(1, mContext.getContentResolver().delete( in testUnblockNumberAsPrimaryUserSucceeds() 63 mContext.getContentResolver().insert( in verifyInsertBlockedNumberSucceeds() 65 assertTrue(BlockedNumberContract.isBlocked(mContext, mBlockedPhoneNumber)); in verifyInsertBlockedNumberSucceeds()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | RingtoneTest.java | 35 private Context mContext; field in RingtoneTest 47 mContext = getInstrumentation().getContext(); in setUp() 48 mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in setUp() 49 mRingtone = RingtoneManager.getRingtone(mContext, Settings.System.DEFAULT_RINGTONE_URI); in setUp() 67 mContext.getPackageName(), getInstrumentation(), true); in setUp() 75 mContext.getPackageName(), getInstrumentation(), false); in setUp() 79 mDefaultRingUri = RingtoneManager.getActualDefaultRingtoneUri(mContext, in setUp() 105 mContext.getPackageName(), getInstrumentation(), true); in tearDown() 111 mContext.getPackageName(), getInstrumentation(), false); in tearDown() 114 RingtoneManager.setActualDefaultRingtoneUri(mContext, RingtoneManager.TYPE_RINGTONE, in tearDown() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | ConnectReqTestCase.java | 47 mReceiverTest = new P2pBroadcastReceiverTest(mContext); in setUp() 97 mReason = mContext.getString(R.string.p2p_discover_peers_error); in connectTest() 103 mReason = mContext.getString(R.string.p2p_target_not_found_error); in connectTest() 109 mReason = mContext.getString(R.string.p2p_target_invalid_role_error); in connectTest() 113 mReason = mContext.getString(R.string.p2p_target_invalid_role_error2); in connectTest() 131 mReason = mContext.getString(R.string.p2p_connect_error); in connectTest() 140 mReason = mContext.getString(R.string.p2p_connection_error); in connectTest() 149 mReason = mContext.getString(R.string.p2p_connection_error); in connectTest() 158 mReason = mContext.getString(R.string.p2p_remove_group_error); in connectTest() 169 mReason = mContext.getString(R.string.p2p_connection_error); in connectTest() [all …]
|