Searched refs:TEST_ACTION (Results 1 – 3 of 3) sorted by relevance
32 private static final String TEST_ACTION = "com.testapp.settings.ACTION_START"; field in BluetoothDashboardFragmentTest44 assertThat(mFragment.isAlwaysDiscoverable(TEST_APP_NAME, TEST_ACTION)).isFalse(); in isAlwaysDiscoverable_callingAppIsNotFromSystemApp_returnsFalse()49 assertThat(mFragment.isAlwaysDiscoverable(SETTINGS_PACKAGE_NAME, TEST_ACTION)).isTrue(); in isAlwaysDiscoverable_callingAppIsFromSettings_returnsTrue()54 assertThat(mFragment.isAlwaysDiscoverable(SYSTEMUI_PACKAGE_NAME, TEST_ACTION)).isTrue(); in isAlwaysDiscoverable_callingAppIsFromSystemUI_returnsTrue()
83 private static final String TEST_ACTION = "com.testapp.settings.ACTION_START"; field in ConnectedDeviceDashboardFragmentTest139 assertThat(mFragment.isAlwaysDiscoverable(TEST_APP_NAME, TEST_ACTION)).isFalse(); in isAlwaysDiscoverable_callingAppIsNotFromSystemApp_returnsFalse()144 assertThat(mFragment.isAlwaysDiscoverable(SETTINGS_PACKAGE_NAME, TEST_ACTION)).isTrue(); in isAlwaysDiscoverable_callingAppIsFromSettings_returnsTrue()149 assertThat(mFragment.isAlwaysDiscoverable(SYSTEMUI_PACKAGE_NAME, TEST_ACTION)).isTrue(); in isAlwaysDiscoverable_callingAppIsFromSystemUI_returnsTrue()
129 val testFilter = IntentFilter(TEST_ACTION).apply { addDataType(TEST_TYPE) } in <lambda>()137 IntentFilter(TEST_ACTION).apply { priority = IntentFilter.SYSTEM_HIGH_PRIORITY } in <lambda>()167 const val TEST_ACTION = "TEST_ACTION" in <lambda>() constant