Home
last modified time | relevance | path

Searched refs:mAssistant (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/settings/src/android/settings/cts/
DWifiSliceTest.java73 private String mAssistant; field in WifiSliceTest
82 mAssistant = Secure.getString(mContext.getContentResolver(), ASSISTANT); in setUp()
88 if (!TextUtils.equals(mAssistant, assistant)) { in tearDown()
89 Secure.putString(mContext.getContentResolver(), ASSISTANT, mAssistant); in tearDown() local
128 if (!TextUtils.isEmpty(mAssistant)) { in wifiSlice_grantedPermissionToDefaultAssistant()
129 packageName = ComponentName.unflattenFromString(mAssistant).getPackageName(); in wifiSlice_grantedPermissionToDefaultAssistant()
159 if (!TextUtils.isEmpty(mAssistant)) { in wifiSlice_grantedPermissionToDefaultVoiceAssistant()
160 packageName = ComponentName.unflattenFromString(mAssistant).getPackageName(); in wifiSlice_grantedPermissionToDefaultVoiceAssistant()
/cts/tests/app/shared/src/android/app/stubs/shared/
DNotificationHelper.java84 private TestNotificationAssistant mAssistant; field in NotificationHelper
226 mAssistant = TestNotificationAssistant.getInstance(); in enableAssistant()
230 return mAssistant; in enableAssistant()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DSensitiveNotificationRedactionTest.kt89 mAssistant = mNotificationHelper.enableAssistant(mContext.packageName) in setUp()
90 mAssistant.mMarkSensitiveContent = true in setUp()
91 mAssistant.mSmartReplies = in setUp()
93 mAssistant.mSmartActions = ArrayList<Notification.Action>(listOf(createAction())) in setUp()
309 mAssistant.adjustNotification(Adjustment(sbn.packageName, sbn.key, b, "", sbn.user)) in testRankingRedactedInUpdate()
DBaseNotificationManagerTest.java107 protected TestNotificationAssistant mAssistant; field in BaseNotificationManagerTest
DNotificationManagerTest.java376 if (mAssistant.mRemoved.containsKey(key)) { in getAssistantCancellationReason()
377 return mAssistant.mRemoved.get(key); in getAssistantCancellationReason()
2530 mAssistant = mNotificationHelper.enableAssistant(STUB_PACKAGE_NAME); in testNotificationAssistant_cancelNotifications()
2531 assertNotNull(mAssistant); in testNotificationAssistant_cancelNotifications()
2540 mAssistant.cancelNotifications(new String[]{sbn.getKey()}); in testNotificationAssistant_cancelNotifications()