/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | LingerMonitorTest.java | 118 NetworkAgentInfo from = wifiNai(100); in testNotificationOnLinger() local 121 mMonitor.noteLingerDefaultNetwork(from, to); in testNotificationOnLinger() 122 verifyNotification(from, to); in testNotificationOnLinger() 129 NetworkAgentInfo from = wifiNai(100); in testToastOnLinger() local 132 mMonitor.noteLingerDefaultNetwork(from, to); in testToastOnLinger() 133 verifyToast(from, to); in testToastOnLinger() 140 NetworkAgentInfo from = wifiNai(100); in testNotificationClearedAfterDisconnect() local 143 mMonitor.noteLingerDefaultNetwork(from, to); in testNotificationClearedAfterDisconnect() 144 verifyNotification(from, to); in testNotificationClearedAfterDisconnect() 154 NetworkAgentInfo from = wifiNai(100); in testNotificationClearedAfterSwitchingBack() local [all …]
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | Contact.java | 153 public Contact(Uri requestedUri, Contact from) { in Contact() argument 156 mStatus = from.mStatus; in Contact() 157 mException = from.mException; in Contact() 158 mLookupUri = from.mLookupUri; in Contact() 159 mUri = from.mUri; in Contact() 160 mDirectoryId = from.mDirectoryId; in Contact() 161 mLookupKey = from.mLookupKey; in Contact() 162 mId = from.mId; in Contact() 163 mNameRawContactId = from.mNameRawContactId; in Contact() 164 mDisplayNameSource = from.mDisplayNameSource; in Contact() [all …]
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/preference/ |
D | PreferenceFragment.java | 333 private static Preference copyPreference(Preference from, Preference to) { in copyPreference() argument 336 to.setTitle(from.getTitle()); in copyPreference() 337 to.setOnPreferenceClickListener(from.getOnPreferenceClickListener()); in copyPreference() 338 to.setOnPreferenceChangeListener(from.getOnPreferenceChangeListener()); in copyPreference() 339 to.setIcon(from.getIcon()); in copyPreference() 340 to.setFragment(from.getFragment()); in copyPreference() 341 to.setIntent(from.getIntent()); in copyPreference() 342 to.setKey(from.getKey()); in copyPreference() 343 to.setOrder(from.getOrder()); in copyPreference() 344 to.setSelectable(from.isSelectable()); in copyPreference() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | Contact.java | 170 public Contact(Uri requestedUri, Contact from) { in Contact() argument 173 mStatus = from.mStatus; in Contact() 174 mException = from.mException; in Contact() 175 mLookupUri = from.mLookupUri; in Contact() 176 mUri = from.mUri; in Contact() 177 mDirectoryId = from.mDirectoryId; in Contact() 178 mLookupKey = from.mLookupKey; in Contact() 179 mId = from.mId; in Contact() 180 mNameRawContactId = from.mNameRawContactId; in Contact() 181 mDisplayNameSource = from.mDisplayNameSource; in Contact() [all …]
|
/packages/apps/Car/libs/car-ui-lib/car-ui-androidx/ |
D | car-ui-jetifier-reverse.cfg | 32 "from": "(.*)BuildConfig", 36 "from": "(.*)/package-info", 40 "from": "android/support/exifinterface/test/R(.*)", 44 "from": "android/support/test/((.*)/)?internal/(.*)", 48 "from": "android/support/v4/os/ResultReceiver(.*)", 52 "from": "(.*)Parcelizer", 56 "from": "androidx/car/ui/core/R(.*)", 60 "from": "androidx/car/ui/recyclerview/R(.*)", 64 "from": "androidx/car/ui/appcompat/R(.*)", 68 "from": "androidx/car/ui/savedstate/R(.*)", [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowSecureSettings.java | 36 ReflectionHelpers.ClassParameter.from(ContentResolver.class, resolver), in getInt() 37 ReflectionHelpers.ClassParameter.from(String.class, name)); in getInt() 45 ReflectionHelpers.ClassParameter.from(ContentResolver.class, resolver), in getInt() 46 ReflectionHelpers.ClassParameter.from(String.class, name), in getInt() 47 ReflectionHelpers.ClassParameter.from(int.class, def)); in getInt() 56 ReflectionHelpers.ClassParameter.from(ContentResolver.class, resolver), in getIntForUser() 57 ReflectionHelpers.ClassParameter.from(String.class, name), in getIntForUser() 58 ReflectionHelpers.ClassParameter.from(int.class, def), in getIntForUser() 59 ReflectionHelpers.ClassParameter.from(int.class, userHandle)); in getIntForUser() 67 ReflectionHelpers.ClassParameter.from(ContentResolver.class, resolver), in putInt() [all …]
|
/packages/modules/NeuralNetworks/common/ |
D | CpuExecutor.cpp | 407 inline bool convertToNhwcImpl(T* to, const T* from, const std::vector<uint32_t>& fromDim) { in convertToNhwcImpl() argument 413 *to++ = from[fromIndex]; in convertToNhwcImpl() 421 inline bool convertFromNhwcImpl(T* to, const T* from, const std::vector<uint32_t>& fromDim) { in convertFromNhwcImpl() argument 427 *to++ = from[fromIndex]; in convertFromNhwcImpl() 434 static bool convertToNhwc(RunTimeOperandInfo& to, const RunTimeOperandInfo& from, in convertToNhwc() argument 437 if (from.dimensions.size() != 4) { in convertToNhwc() 444 Shape inShape = from.shape(); in convertToNhwc() 445 auto& fromDim = from.dimensions; in convertToNhwc() 454 if (from.type == OperandType::TENSOR_FLOAT32) { in convertToNhwc() 456 reinterpret_cast<const float*>(from.buffer), fromDim); in convertToNhwc() [all …]
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageWizardBase.java | 169 aux.addView(LayoutInflater.from(aux.getContext()) in setAuxChecklist() 217 private void copyStringExtra(Intent from, Intent to, String key) { in copyStringExtra() argument 218 if (from.hasExtra(key) && !to.hasExtra(key)) { in copyStringExtra() 219 to.putExtra(key, from.getStringExtra(key)); in copyStringExtra() 223 private void copyBooleanExtra(Intent from, Intent to, String key) { in copyBooleanExtra() argument 224 if (from.hasExtra(key) && !to.hasExtra(key)) { in copyBooleanExtra() 225 to.putExtra(key, from.getBooleanExtra(key, false)); in copyBooleanExtra() 231 final Intent from = getIntent(); in startActivity() local 234 copyStringExtra(from, to, EXTRA_DISK_ID); in startActivity() 235 copyStringExtra(from, to, EXTRA_VOLUME_ID); in startActivity() [all …]
|
/packages/services/Car/car-lib/src/android/car/navigation/ |
D | navigation_state.proto | 47 // A URI defining the location that the image can be retrieved from. 49 // When requesting the image from this URI, a desired image size must be 122 // No turn, from 0 (included) to 10 (excluded) degrees. Used when we just 127 // No turn, from 0 (included) to 10 (excluded) degrees. Used when we just 133 // Slight left turn at an intersection, from 10 (included) to 45 (excluded) 136 // Slight right turn at an intersection, from 10 (included) to 45 (excluded) 140 // Regular left turn at an intersection, from 45 (included) to 135 143 // Regular right turn at an intersection, from 45 (included) to 135 147 // Sharp left turn at an intersection, from 135 (included) to 175 (excluded) 150 // Sharp right turn at an intersection, from 135 (included) to 175 [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | InformationElementUtilTest.java | 302 capabilities.from(ies, beaconCap, isOweSupported, 2400); in verifyCapabilityStringFromIes() 952 capabilities.from(new InformationElement[0], beaconCap, false, 2400); in buildCapabilities_IbssCapabilitySet() 969 capabilities.from(new InformationElement[0], beaconCap, false, 58320); in buildCapabilities_DmgIbssCapabilitySet() 986 capabilities.from(new InformationElement[0], beaconCap, false, 58320); in buildCapabilities_DmgEssCapabilitySet() 1005 extendedCap.from(ie); in buildExtendedCapabilities_emptyBitSet() 1023 extendedCap.from(ie); in buildExtendedCapabilites_strictUtf8() 1042 extendedCap.from(ie); in buildExtendedCapabilites_80211McRTTResponder() 1058 trafficIndicationMap.from(ie); in parseTrafficIndicationMapInformationElementValid() 1077 trafficIndicationMap.from(ie); in parseTrafficIndicationMapInformationElementInvalidTooShort() 1093 trafficIndicationMap.from(ie); in parseTrafficIndicationMapInformationElementInvalidTooLong() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/logging/ |
D | interaction_event.proto | 21 // The user blocked a number from the Call Log screen 24 // The user blocked a number from the Call details screen 27 // The user blocked a number from the Management screen 30 // The user unblocked a number from the Call Log screen 33 // The user unblocked a number from the Call details screen 36 // The user unblocked a number from the Management screen 39 // The user blocked numbers from contacts marked as send to voicemail 56 // Open quick contact from where
|
D | ui_action.proto | 14 // General action starting from 1 23 // In call log, starting from 100 30 // In dialpad, starting from 200 35 // In search, starting from 300 40 // In call history, starting from 400
|
D | dialer_impression.proto | 13 // Values should be from 1000 to 100000. 93 // as not spam and yet blocked Subtract this value from 107 // User added the number to contacts from the after call notification 131 // number was marked as Spam by the user (e.g from the feedback prompt) 137 // number was marked as Not Spam by the user (e.g from the feedback prompt) 204 // User deleted an entry from the voicemail tab 228 // Incoming call was rejected from the notifications 233 // Incoming call was rejected from the answer screen including rejecting via 444 // User muted the call from the return-to-call bubble 446 // User unmuted the call from the return-to-call bubble [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | MatrixFit.java | 31 public MatrixFit(double[][] from, double[][] to) { in MatrixFit() argument 32 mValid = fit(from, to); in MatrixFit() 47 public boolean fit(double[][] from, double[][] to) { in fit() argument 48 if ((from.length != to.length) || (from.length < 1)) { in fit() 53 mDimension = from[0].length; in fit() 56 if (from.length < mDimension) { in fit() 61 double[][] q = new double[from.length][mDimension]; in fit() 62 for (int i = 0; i < from.length; i++) { in fit() 64 q[i][j] = from[i][j]; in fit()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | NetworkDetail.java | 189 bssLoad.from(ie); in NetworkDetail() 192 htOperation.from(ie); in NetworkDetail() 195 vhtOperation.from(ie); in NetworkDetail() 198 htCapabilities.from(ie); in NetworkDetail() 201 vhtCapabilities.from(ie); in NetworkDetail() 204 interworking.from(ie); in NetworkDetail() 207 roamingConsortium.from(ie); in NetworkDetail() 210 vsa.from(ie); in NetworkDetail() 213 extendedCapabilities.from(ie); in NetworkDetail() 216 trafficIndicationMap.from(ie); in NetworkDetail() [all …]
|
/packages/modules/NetworkStack/tests/integration/src/android/net/netlink/ |
D | InetDiagSocketIntegrationTest.java | 81 Connection(String to, String from) throws Exception { in Connection() argument 83 if (from != null) { in Connection() 84 localAddress = InetAddress.getByName(from); in Connection() 104 TcpConnection(String to, String from) throws Exception { in TcpConnection() argument 105 super(to, from); in TcpConnection() 128 UdpConnection(String to, String from) throws Exception { in UdpConnection() argument 129 super(to, from); in UdpConnection() 166 public void checkGetConnectionOwnerUid(String to, String from) throws Exception { in checkGetConnectionOwnerUid() argument 167 TcpConnection tcp = new TcpConnection(to, from); in checkGetConnectionOwnerUid() 174 UdpConnection udp = new UdpConnection(to, from); in checkGetConnectionOwnerUid()
|
/packages/apps/Car/DebuggingRestrictionController/server/functions/ |
D | .eslintrc.json | 11 // Removed rule "disallow the use of console" from recommended eslint rules 14 // Removed rule "disallow multiple spaces in regular expressions" from recommended eslint rules 17 // Removed rule "disallow the use of debugger" from recommended eslint rules 20 // Removed rule "disallow unused variables" from recommended eslint rules 23 // Removed rule "disallow mixed spaces and tabs for indentation" from recommended eslint rules 26 …the use of undeclared variables unless mentioned in /*global */ comments" from recommended eslint … 95 // Warn against catch clause parameters from shadowing variables in the outer scope 98 // Disallow identifiers from shadowing restricted names
|
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | AwareResources.java | 52 public AwareResources(@IntRange(from = 0) int availableDataPathsCount, in AwareResources() argument 53 @IntRange(from = 0) int availablePublishSessionsCount, in AwareResources() 54 @IntRange(from = 0) int availableSubscribeSessionsCount) { in AwareResources() 70 @IntRange(from = 0) 85 @IntRange(from = 0) 100 @IntRange(from = 0)
|
/packages/modules/DnsResolver/tests/ |
D | tun_forwarder.cpp | 127 bool TunForwarder::addForwardingRule(const std::array<std::string, 2>& from, in addForwardingRule() argument 129 const bool isV4 = (from[0].find(':') == from[0].npos); in addForwardingRule() 131 auto k = v4pair::makePair(from); in addForwardingRule() 136 auto k = v6pair::makePair(from); in addForwardingRule() 332 for (const auto& [from, to] : mRulesIpv4) { in translateIpv4Packet() 333 if (ipHeader->saddr == static_cast<int>(from.src.s_addr) && in translateIpv4Packet() 334 ipHeader->daddr == static_cast<int>(from.dst.s_addr)) { in translateIpv4Packet() 367 for (const auto& [from, to] : mRulesIpv6) { in translateIpv6Packet() 368 if (ipv6Header->ip6_src == from.src && ipv6Header->ip6_dst == from.dst) { in translateIpv6Packet()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | PrimaryCheckBoxPreferenceTest.java | 62 LayoutInflater.from(mContext).inflate( in setChecked_shouldUpdateCheckBoxCheckedState() 77 LayoutInflater.from(mContext).inflate( in setEnabled_shouldUpdateCheckBoxEnabledState() 92 LayoutInflater.from(mContext).inflate( in setCheckboxEnabled_shouldOnlyUpdateCheckBoxEnabledState() 109 LayoutInflater.from(mContext).inflate( in onBindViewHolder_shouldSetCheckboxEnabledState() 126 final LayoutInflater inflater = LayoutInflater.from(mContext); in clickWidgetView_shouldToggleCheckBox() 145 final LayoutInflater inflater = LayoutInflater.from(mContext); in clickWidgetView_shouldNotToggleCheckBoxIfDisabled() 163 LayoutInflater.from(mContext).inflate(R.layout.preference_two_target, null)); in clickWidgetView_shouldNotifyPreferenceChanged() 181 LayoutInflater.from(mContext).inflate(R.layout.preference_widget_primary_checkbox, in onBindViewHolder_checkBoxShouldHaveContentDescription()
|
/packages/services/BuiltInPrintService/src/com/android/bips/render/ |
D | PdfRenderService.java | 250 int from, to; in writeRgb() local 251 for (from = 0, to = 0; from < alphaPixelSize; from += 4, to += 3) { in writeRgb() 252 array[to] = array[from]; in writeRgb() 253 array[to + 1] = array[from + 1]; in writeRgb() 254 array[to + 2] = array[from + 2]; in writeRgb()
|
/packages/modules/Gki/ |
D | Android.bp | 111 // Build GKI APEX 5.4-android12-0 from $(PRODUCT_OUT)/boot.img. 121 // Build GKI APEX 5.10-android12-0 from $(PRODUCT_OUT)/boot.img. 132 // Build GKI APEX 5.10-android12-1 from $(PRODUCT_OUT)/boot.img. 143 // Build GKI APEX 5.10-android12-unstable from $(PRODUCT_OUT)/boot.img. 153 // Build GKI APEX 5.4-android12-0 from $(PRODUCT_OUT)/boot-5.4.img 161 // Build GKI APEX 5.10-android12-0 from $(PRODUCT_OUT)/boot-5.10.img 170 // Build GKI APEX 5.10-android12-1 from $(PRODUCT_OUT)/boot-5.10.img 179 // Build GKI APEX 5.10-android12-unstable from $(PRODUCT_OUT)/boot-5.10.img
|
/packages/apps/Messaging/build/ |
D | README | 3 gcheckstyle is a tool from google3 to validate java from google3. The config file is baked into th… 6 gcheckstyle/tools/java/checkstyle/googlestyle-5.0.xml is the config file which came from /home/buil… 8 …r is pulled from the build share at /google/data/ro/teams/devtools/glint/linters/live/google-style…
|
/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
D | StateStartingPreview.java | 55 public static StateStartingPreview from( in from() method in StateStartingPreview 102 return Optional.of((State) StateBackgroundWithSurfaceTexture.from( in registerEventHandlers() 132 return Optional.of((State) StateReadyForCapture.from( in registerEventHandlers() 147 return Optional.of((State) StateFatal.from( in registerEventHandlers() 162 return Optional.of((State) StateFatal.from(this, mResourceConstructed)); in onEnter() 176 return Optional.of((State) StateFatal.from(this, mResourceConstructed)); in onEnter() 179 return Optional.of((State) StateFatal.from(this, mResourceConstructed)); in onEnter()
|
/packages/apps/Launcher3/protos/ |
D | launcher_atom.proto | 83 // Container from where search was invoked. 106 BACKUP_RESTORE = 2; // icon layout restored from backup 107 PINITEM = 3; // from another app (e.g., Chrome's "Add to Home screen") 111 ALLAPPS_PREDICTION = 7; // from prediction bar in all apps container 112 HOTSEAT_PREDICTION = 8; // from prediction bar in hotseat container 118 // and different from any of suggested values. 166 optional string package_name = 4; // only populated during snapshot if from workspace 167 optional string component_name = 5; // only populated during snapshot if from workspace 243 // Eg: When a folder label is updated from empty string. 247 // Eg: When a folder label is updated from a user-entered value. [all …]
|