Searched refs:mAssistant (Results 1 – 5 of 5) sorted by relevance
73 private String mAssistant; field in WifiSliceTest82 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() local128 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()
84 private TestNotificationAssistant mAssistant; field in NotificationHelper226 mAssistant = TestNotificationAssistant.getInstance(); in enableAssistant()230 return mAssistant; in enableAssistant()
89 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()
107 protected TestNotificationAssistant mAssistant; field in BaseNotificationManagerTest
376 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()