/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactBrowseListFragment.java | 90 private ContactListFilter mFilter; field in ContactBrowseListFragment 193 if (mFilter == null && filter == null) { in updateListFilter() 197 if (mFilter != null && mFilter.equals(filter)) { in updateListFilter() 206 mFilter = filter; in updateListFilter() 217 return mFilter; in getFilter() 228 mFilter = savedState.getParcelable(KEY_FILTER); in restoreSavedState() 238 outState.putParcelable(KEY_FILTER, mFilter); in onSaveInstanceState() 394 if (!searchMode && mFilter != null) { in configureAdapter() 395 adapter.setFilter(mFilter); in configureAdapter() 397 || mFilter.filterType == ContactListFilter.FILTER_TYPE_SINGLE_CONTACT) { in configureAdapter() [all …]
|
D | ContactListFilterController.java | 94 private ContactListFilter mFilter; field in ContactListFilterControllerImpl 98 mFilter = ContactListFilter.restoreDefaultPreferences(getSharedPreferences()); in ContactListFilterControllerImpl() 114 return mFilter; in getFilter() 119 return mFilter == null ? ListEvent.ListType.UNKNOWN_LIST : mFilter.toListType(); in getFilterListType() 144 if (!filter.equals(mFilter)) { in setContactListFilter() 145 mFilter = filter; in setContactListFilter() 147 ContactListFilter.storeToPreferences(getSharedPreferences(), mFilter); in setContactListFilter() local 169 if (mFilter == null) { in checkFilterValidity() 173 switch (mFilter.filterType) { in checkFilterValidity() 196 mFilter.accountName, mFilter.accountType, mFilter.dataSet); in filterAccountExists()
|
D | ContactListFilterView.java | 44 private ContactListFilter mFilter; field in ContactListFilterView 56 mFilter = filter; in setContactListFilter() 60 return mFilter; in getContactListFilter() 94 if (mFilter == null) { in bindView() 100 switch (mFilter.filterType) { in bindView() 124 if (mFilter.icon != null) { in bindView() 125 mIcon.setImageDrawable(mFilter.icon); in bindView() 130 accountTypes.getAccountType(mFilter.accountType, mFilter.dataSet); in bindView() 131 mAccountUserName.setText(mFilter.accountName); in bindView()
|
D | PhoneNumberPickerFragment.java | 46 private ContactListFilter mFilter; field in PhoneNumberPickerFragment 110 mFilter = savedState.getParcelable(KEY_FILTER); in restoreSavedState() 117 outState.putParcelable(KEY_FILTER, mFilter); in onSaveInstanceState() 229 if (!isSearchMode() && mFilter != null) { in configureAdapter() 230 adapter.setFilter(mFilter); in configureAdapter() 271 if ((mFilter == null && filter == null) || in setFilter() 272 (mFilter != null && mFilter.equals(filter))) { in setFilter() 276 mFilter = filter; in setFilter()
|
D | EnableGlobalSyncDialogFragment.java | 33 private ContactListFilter mFilter; field in EnableGlobalSyncDialogFragment 62 mFilter = getArguments().getParcelable(ARG_FILTER); in onCreate() 76 targetListener.onEnableAutoSync(mFilter); in onCreateDialog()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothDevicesGroupPreferenceControllerTest.java | 66 private BluetoothDeviceFilter.Filter mFilter; field in BluetoothDevicesGroupPreferenceControllerTest 107 mController.setDeviceFilter(mFilter); in setUp() 123 when(mFilter.matches(mDevice1)).thenReturn(true); in refreshUi_filterMatch_addsToGroup() 137 when(mFilter.matches(mDevice1)).thenReturn(true); in refreshUi_filterMatch_addsToPreferenceMap() 151 when(mFilter.matches(mDevice1)).thenReturn(true); in refreshUi_filterMismatch_removesFromGroup() 158 when(mFilter.matches(mDevice1)).thenReturn(false); in refreshUi_filterMismatch_removesFromGroup() 168 when(mFilter.matches(mDevice1)).thenReturn(true); in refreshUi_filterMismatch_removesFromPreferenceMap() 175 when(mFilter.matches(mDevice1)).thenReturn(false); in refreshUi_filterMismatch_removesFromPreferenceMap() 192 when(mFilter.matches(mDevice1)).thenReturn(true); in refreshUi_devices_showsGroup() 203 when(mFilter.matches(mDevice1)).thenReturn(true); in onBluetoothStateChanged_turningOff_clearsPreferences() [all …]
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ContactListFilterController.java | 81 private ContactListFilter mFilter; field in ContactListFilterControllerImpl 85 mFilter = ContactListFilter.restoreDefaultPreferences(getSharedPreferences()); in ContactListFilterControllerImpl() 101 return mFilter; in getFilter() 115 if (!filter.equals(mFilter)) { in setContactListFilter() 116 mFilter = filter; in setContactListFilter() 118 ContactListFilter.storeToPreferences(getSharedPreferences(), mFilter); in setContactListFilter() local 140 if (mFilter == null) { in checkFilterValidity() 144 switch (mFilter.filterType) { in checkFilterValidity() 167 new AccountWithDataSet(mFilter.accountName, mFilter.accountType, mFilter.dataSet); in filterAccountExists()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | AppStateChangeWifiStateBridgeTest.java | 42 private AppFilter mFilter; field in AppStateChangeWifiStateBridgeTest 47 mFilter = AppStateChangeWifiStateBridge.FILTER_CHANGE_WIFI_STATE; in setUp() 52 assertThat(mFilter.filterApp(null)).isFalse(); in testFilterApp_inputNull_returnFalse() 58 assertThat(mFilter.filterApp(mEntry)).isFalse(); in testFilterApp_extraInfoNull_returnFalse() 65 assertThat(mFilter.filterApp(mEntry)).isTrue(); in testFilterApp_permissionedDeclaredTrue_returnTrue() 72 assertThat(mFilter.filterApp(mEntry)).isFalse(); in testFilterApp_permissionedDeclaredFalse_returnFalse() 82 assertThat(mFilter.filterApp(mEntry)).isFalse(); in testFilterApp_networkSettingsGranted_returnFalse()
|
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ |
D | AppFilterItem.java | 34 private final ApplicationsState.AppFilter mFilter; field in AppFilterItem 41 mFilter = filter; in AppFilterItem() 49 return mFilter; in getFilter() 78 && mFilter == other.mFilter; in equals() 83 return Objects.hash(mFilter, mTitle, mFilterType); in hashCode()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/ |
D | AppFilterItem.java | 34 private final ApplicationsState.AppFilter mFilter; field in AppFilterItem 41 mFilter = filter; in AppFilterItem() 49 return mFilter; in getFilter() 78 && mFilter == other.mFilter; in equals() 83 return Objects.hash(mFilter, mTitle, mFilterType); in hashCode()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | CrossProfileIntentFilter.java | 78 private IntentFilter mFilter = new IntentFilter(); field in CrossProfileIntentFilter.Builder 90 mFilter.addAction(action); in addAction() 95 mFilter.addCategory(category); in addCategory() 101 mFilter.addDataType(type); in addDataType() 109 mFilter.addDataScheme(scheme); in addDataScheme() 114 return new CrossProfileIntentFilter(mFilter, mFlags, mDirection, in build()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | DirectToVoicemailFilterTest.java | 71 private DirectToVoicemailFilter mFilter; field in DirectToVoicemailFilterTest 79 mFilter = new DirectToVoicemailFilter(mCall, mCallerInfoLookupHelper); in setUp() 89 CompletionStage<CallFilteringResult> resultFuture = mFilter.startFilterLookup(PASS_RESULT); in testSendToVoicemail() 101 CompletionStage<CallFilteringResult> resultFuture = mFilter.startFilterLookup(PASS_RESULT); in testDontSendToVoicemail() 113 CompletionStage<CallFilteringResult> resultFuture = mFilter.startFilterLookup(PASS_RESULT); in testNullResponseAndDifferentHandleFromLookupHelper() 123 CompletionStage<CallFilteringResult> resultFuture = mFilter.startFilterLookup(PASS_RESULT); in testNullResponseAndSameHandleFromLookupHelper()
|
D | BlockCheckerFilterTest.java | 65 private BlockCheckerFilter mFilter; field in BlockCheckerFilterTest 89 mFilter = new BlockCheckerFilter(mContext, mCall, mCallerInfoLookupHelper, in setUp() 101 assertEquals(BLOCK_RESULT, mFilter.startFilterLookup(PASS_RESULT).toCompletableFuture() in testBlockNumber() 113 CompletionStage<CallFilteringResult> resultFuture = mFilter.startFilterLookup(PASS_RESULT); in testBlockNumberWhenEnhancedBlockingEnabled() 127 assertEquals(PASS_RESULT, mFilter.startFilterLookup(PASS_RESULT).toCompletableFuture() in testDontBlockNumber() 139 CompletionStage<CallFilteringResult> resultFuture = mFilter.startFilterLookup(PASS_RESULT); in testDontBlockNumberWhenEnhancedBlockingEnabled()
|
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
D | IncomingCallFilterGraph.java | 59 private final CallFilter mFilter; field in IncomingCallFilterGraph.PostFilterTask 62 mFilter = filter; in PostFilterTask() 66 Log.i(TAG, "Filter %s done, result: %s.", mFilter, result); in whenDone() 67 mFilter.result = result; in whenDone() 68 for (CallFilter filter : mFilter.getFollowings()) { in whenDone() 73 if (mFilter.equals(mDummyComplete)) { in whenDone()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | bloom_filter.h | 36 BloomFilter() : mFilter() {} in BloomFilter() 39 mFilter.set(getIndex(position)); in setInFilter() 43 return mFilter.test(getIndex(position)); in isInFilter() 66 std::bitset<BIGRAM_FILTER_MODULO> mFilter; variable
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiInfoProviderImpl.java | 61 private final IntentFilter mFilter; field in WifiInfoProviderImpl 164 mFilter = new IntentFilter(); in WifiInfoProviderImpl() 165 mFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in WifiInfoProviderImpl() 166 mFilter.addAction(WifiManager.RSSI_CHANGED_ACTION); in WifiInfoProviderImpl() 167 mFilter.addAction(WifiManager.CONFIGURED_NETWORKS_CHANGED_ACTION); in WifiInfoProviderImpl() 191 mContext.registerReceiver(mReceiver, mFilter); in onStart()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | UnrestrictedDataAccess.java | 46 private AppFilter mFilter; field in UnrestrictedDataAccess 69 mFilter = mShowSystem ? ApplicationsState.FILTER_ALL_ENABLED in onOptionsItemSelected() 72 use(UnrestrictedDataAccessPreferenceController.class).setFilter(mFilter); in onOptionsItemSelected() 94 mFilter = mShowSystem ? ApplicationsState.FILTER_ALL_ENABLED in onAttach() 97 use(UnrestrictedDataAccessPreferenceController.class).setFilter(mFilter); in onAttach()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | UnrestrictedDataAccess.java | 46 private AppFilter mFilter; field in UnrestrictedDataAccess 69 mFilter = mShowSystem ? ApplicationsState.FILTER_ALL_ENABLED in onOptionsItemSelected() 72 use(UnrestrictedDataAccessPreferenceController.class).setFilter(mFilter); in onOptionsItemSelected() 94 mFilter = mShowSystem ? ApplicationsState.FILTER_ALL_ENABLED in onAttach() 97 use(UnrestrictedDataAccessPreferenceController.class).setFilter(mFilter); in onAttach()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | WifiInfoPreferenceController.java | 50 private final IntentFilter mFilter; field in WifiInfoPreferenceController 60 mFilter = new IntentFilter(); in WifiInfoPreferenceController() 61 mFilter.addAction(WifiManager.LINK_CONFIGURATION_CHANGED_ACTION); in WifiInfoPreferenceController() 62 mFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in WifiInfoPreferenceController() 89 mContext.registerReceiver(mReceiver, mFilter); in onResume()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiInfoPreferenceController.java | 50 private final IntentFilter mFilter; field in WifiInfoPreferenceController 60 mFilter = new IntentFilter(); in WifiInfoPreferenceController() 61 mFilter.addAction(WifiManager.LINK_CONFIGURATION_CHANGED_ACTION); in WifiInfoPreferenceController() 62 mFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in WifiInfoPreferenceController() 89 mContext.registerReceiver(mReceiver, mFilter); in onResume()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | SelectAccountDialogFragment.java | 53 private AccountTypeManager.AccountFilter mFilter; field in SelectAccountDialogFragment 85 mFilter = (AccountTypeManager.AccountFilter) args.getSerializable(KEY_LIST_FILTER); in onCreate() 86 if (mFilter == null) { in onCreate() 87 mFilter = AccountTypeManager.AccountFilter.ALL; in onCreate() 120 AccountsLoader.loadAccounts(this, 0, mFilter); in onActivityCreated()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | DeviceListPreferenceFragment.java | 60 private BluetoothDeviceFilter.Filter mFilter; field in DeviceListPreferenceFragment 80 mFilter = BluetoothDeviceFilter.ALL_FILTER; in DeviceListPreferenceFragment() 84 mFilter = filter; in setFilter() 88 mFilter = BluetoothDeviceFilter.getFilter(filterType); in setFilter() 177 if (mFilter.matches(cachedDevice.getDevice())) { in onDeviceAdded()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | DeviceListPreferenceFragment.java | 60 private BluetoothDeviceFilter.Filter mFilter; field in DeviceListPreferenceFragment 80 mFilter = BluetoothDeviceFilter.ALL_FILTER; in DeviceListPreferenceFragment() 84 mFilter = filter; in setFilter() 88 mFilter = BluetoothDeviceFilter.getFilter(filterType); in setFilter() 177 if (mFilter.matches(cachedDevice.getDevice())) { in onDeviceAdded()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | AppsAsyncLoader.java | 68 protected AppsAsyncLoader.AppFilter mFilter; field in AppsAsyncLoader 91 mFilter = filter; in AppsAsyncLoader() 113 mFilter.init(); in loadApps() 151 if (mFilter.filterApp(extraInfo) && !isDefaultLauncher(mPackageManager, extraInfo)) { in loadApps() 234 private AppsAsyncLoader.AppFilter mFilter; field in AppsAsyncLoader.Builder 266 this.mFilter = filter; in setFilter() 278 mFilter); in build()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothDevicePickerPreferenceController.java | 51 private BluetoothDeviceFilter.Filter mFilter; field in BluetoothDevicePickerPreferenceController 71 mFilter = BluetoothDeviceFilter.getFilter( in setLaunchIntent() 80 if (mFilter == null) { in checkInitialized() 87 return mFilter; in getDeviceFilter()
|