/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | VelocityBasedConnectedScore.java | 37 private final KalmanFilter mFilter; field in VelocityBasedConnectedScore 43 mFilter = new KalmanFilter(); in VelocityBasedConnectedScore() 44 mFilter.mH = new Matrix(2, new double[]{1.0, 0.0}); in VelocityBasedConnectedScore() 45 mFilter.mR = new Matrix(1, new double[]{1.0}); in VelocityBasedConnectedScore() 55 mFilter.mF = new Matrix(2, new double[]{1.0, dt, 0.0, 1.0}); in setDeltaTimeSeconds() 58 mFilter.mQ = tG.dotTranspose(tG).dot(new Matrix(2, new double[]{ in setDeltaTimeSeconds() 69 mFilter.mx = null; in reset() 86 if (mLastMillis <= 0 || millis < mLastMillis || mFilter.mx == null) { in updateUsingRssi() 88 mFilter.mx = new Matrix(1, new double[]{rssi, 0.0}); in updateUsingRssi() 89 mFilter.mP = new Matrix(2, new double[]{initialVariance, 0.0, 0.0, 0.0}); in updateUsingRssi() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
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 | 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 | 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/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/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/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | AppStateChangeWifiStateBridgeTest.java | 43 private AppFilter mFilter; field in AppStateChangeWifiStateBridgeTest 48 mFilter = AppStateChangeWifiStateBridge.FILTER_CHANGE_WIFI_STATE; in setUp() 53 assertThat(mFilter.filterApp(null)).isFalse(); in testFilterApp_inputNull_returnFalse() 59 assertThat(mFilter.filterApp(mEntry)).isFalse(); in testFilterApp_extraInfoNull_returnFalse() 66 assertThat(mFilter.filterApp(mEntry)).isTrue(); in testFilterApp_permissionedDeclaredTrue_returnTrue() 73 assertThat(mFilter.filterApp(mEntry)).isFalse(); in testFilterApp_permissionedDeclaredFalse_returnFalse() 83 assertThat(mFilter.filterApp(mEntry)).isFalse(); in testFilterApp_networkSettingsGranted_returnFalse() 90 assertThat(mFilter.filterApp(mEntry)).isFalse(); in testFilterApp_filterWrongTypeExtraInfo_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/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/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/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(mCompletionSentinel)) { in whenDone()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | UnrestrictedDataAccess.java | 42 private AppFilter mFilter; field in UnrestrictedDataAccess 65 mFilter = mShowSystem ? ApplicationsState.FILTER_ALL_ENABLED in onOptionsItemSelected() 68 use(UnrestrictedDataAccessPreferenceController.class).setFilter(mFilter); in onOptionsItemSelected() 90 mFilter = mShowSystem ? ApplicationsState.FILTER_ALL_ENABLED in onAttach() 93 use(UnrestrictedDataAccessPreferenceController.class).setFilter(mFilter); in onAttach()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/ |
D | BridgedAppsSettings.java | 46 private AppFilter mFilter; field in BridgedAppsSettings 72 mFilter = mShowSystem ? ApplicationsState.FILTER_NOT_HIDE in onOptionsItemSelected() 75 use(BridgedAppsPreferenceController.class).setFilter(mFilter).rebuild(); in onOptionsItemSelected() 96 mFilter = mShowSystem ? ApplicationsState.FILTER_ALL_ENABLED in onAttach() 119 .setFilter(mFilter) in onAttach()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | QosCallbackAgentConnection.java | 51 @NonNull private final QosFilter mFilter; field in QosCallbackAgentConnection 89 return mFilter.getNetwork(); in getNetwork() 106 mFilter = filter; in QosCallbackAgentConnection() 124 final int exceptionType = mFilter.validate(); in sendCmdRegisterCallback() 141 mNetworkAgentInfo.onQosFilterCallbackRegistered(mAgentCallbackId, mFilter); in sendCmdRegisterCallback()
|
/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/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiInfoProvider.java | 84 private final IntentFilter mFilter; field in WifiInfoProvider 148 mFilter = new IntentFilter(); in WifiInfoProvider() 149 mFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in WifiInfoProvider() 150 mFilter.addAction(WifiManager.RSSI_CHANGED_ACTION); in WifiInfoProvider() 151 mFilter.addAction(WifiManager.CONFIGURED_NETWORKS_CHANGED_ACTION); in WifiInfoProvider()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/ |
D | TruncatedFilter.java | 35 private final ScanFilter mFilter; field in TruncatedFilter 45 mFilter = filter; in TruncatedFilter() 53 return mFilter; in getFilter()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | DeviceListPreferenceFragment.java | 61 private BluetoothDeviceFilter.Filter mFilter; field in DeviceListPreferenceFragment 82 mFilter = BluetoothDeviceFilter.ALL_FILTER; in DeviceListPreferenceFragment() 86 mFilter = filter; in setFilter() 90 mFilter = BluetoothDeviceFilter.getFilter(filterType); in setFilter() 180 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 | 58 private BluetoothDeviceFilter.Filter mFilter; field in BluetoothDevicePickerPreferenceController 79 mFilter = BluetoothDeviceFilter.getFilter( in setLaunchIntent() 93 if (mFilter == null) { in checkInitialized() 100 return mFilter; in getDeviceFilter()
|
/packages/apps/Settings/src/com/android/settings/network/helper/ |
D | SelectableSubscriptions.java | 61 private Predicate<SubscriptionAnnotation> mFilter; field in SelectableSubscriptions 75 mFilter = subAnno -> { in SelectableSubscriptions() 83 mFilter = subAnno -> subAnno.isActive(); in SelectableSubscriptions() 133 .filter(mFilter) in call()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/rotary/ |
D | RotaryFragment.java | 61 private final IntentFilter mFilter = new IntentFilter(); field in RotaryFragment 88 mFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in onCreate() 89 mFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in onCreate() 90 mFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onCreate() 151 getContext().registerReceiver(mPackagesUpdatedReceiver, mFilter, in onStart()
|