Home
last modified time | relevance | path

Searched refs:equals (Results 1 – 25 of 40) sorted by relevance

12

/device/google/atv/TvSampleLeanbackLauncher/src/main/java/com/example/sampleleanbacklauncher/apps/
DLaunchItem.java79 return Objects.equals(another.getBanner(), getBanner()) in areContentsTheSame()
80 && Objects.equals(another.getIcon(), getIcon()) in areContentsTheSame()
81 && Objects.equals(another.getLabel(), getLabel()); in areContentsTheSame()
95 public boolean equals(Object o) { in equals() method in LaunchItem
96 return o instanceof LaunchItem && Objects.equals(mIntent, ((LaunchItem)o).getIntent()); in equals()
DLaunchItemsManager.java257 if (TextUtils.equals(networkInfo.activityInfo.name, in updateSettingsList()
259 && TextUtils.equals(networkInfo.activityInfo.packageName, in updateSettingsList()
354 if (TextUtils.equals(item.getIntent().getComponent().getPackageName(), packageName)) { in invalidateListsForPackage()
362 if (TextUtils.equals(item.getIntent().getComponent().getPackageName(), in invalidateListsForPackage()
370 if (TextUtils.equals(item.getIntent().getPackage(), packageName)) { in invalidateListsForPackage()
/device/generic/goldfish/provision/EmulatorProvisonLib/src/com/android/sdksetup/
DProvisionActivity.java146 if ("freeform".equals(displaySettingsName)) { in provisionDisplay()
155 } else if ("resizable".equals(displaySettingsName)) { in provisionDisplay()
172 if (value.equals("1")) { in provisionMockModem()
174 } else if (value.equals("0")) { in provisionMockModem()
213 && inputDevice.getName().equals(keyboardDeviceName)) { in getKeyboardDevice()
242 return SystemProperties.get("ro.automotive_emulator.provisioning", "").equals("SdkSetup"); in forceProvision()
/device/sample/apps/SampleEmailPolicy/src/com/android/email/policy/
DEmailPolicy.java194 if (USE_ALTERNATE_EXCHANGE_STRINGS.equals(policy)) { in getPolicy()
204 if (FIND_PROVIDER.equals(policy)) { in getPolicy()
210 if (knownDomain.equals(domain)) { in getPolicy()
230 if (GET_IMAP_ID.equals(policy)) { in getPolicy()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/pairing/
DBluetoothPairer.java99 if (BluetoothDevice.ACTION_BOND_STATE_CHANGED.equals(action)) {
101 } else if (getBroadcastListeningState(mBluetoothProfile).equals(action)) {
103 } else if (BluetoothDevice.ACTION_UUID.equals(intent.getAction())) {
210 if (!device.equals(mDevice)) { in onBondStateChanged()
229 if (mDevice == null || !mDevice.equals(device)) { in onConnectionStateChanged()
343 if (TextUtils.equals(device.getAddress(), mDevice.getAddress())) { in isDeviceAdded()
DBluetoothScanner.java200 if (BluetoothDevice.ACTION_FOUND.equals(action)) { in onReceive()
218 address.equals(d.address)).findFirst().orElse(null); in onReceive()
233 if (device.btName == null || !device.btName.equals(name)) { in onReceive()
238 } else if (BluetoothAdapter.ACTION_DISCOVERY_FINISHED.equals(action)) { in onReceive()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/settings/
DSlicesUtil.java68 return GENERAL_PATH.equals(getFirstSegment(uri)); in isGeneralPath()
72 return BLUETOOTH_DEVICE_PATH.equals(getFirstSegment(uri)); in isBluetoothDevicePath()
76 return CEC_PATH.equals(getFirstSegment(uri)); in isCecPath()
80 return FIND_MY_REMOTE_PATH.equals(getFirstSegment(uri)); in isFindMyRemotePath()
DBluetoothDevicePreferenceFragment.java254 if (KEY_DISCONNECT.equals(key)) { in onChoice()
258 } else if (KEY_FORGET.equals(key)) { in onChoice()
262 } else if (KEY_UPDATE.equals(key)) { in onChoice()
281 if (KEY_RENAME.equals(key)) { in onText()
292 if (mDevice == null || !TextUtils.equals(mDevice.getAddress(), device.getAddress())) { in onDeviceUpdated()
301 if (!TextUtils.equals(mDevice.getAddress(), device.getAddress())) { in updatePairingStatus()
DSliceBroadcastReceiver.java77 if (CEC.equals(toggleType)) { in onReceive()
81 } else if (FIND_MY_REMOTE_PHYSICAL_BUTTON_ENABLED_SETTING.equals(toggleType)) { in onReceive()
84 } else if (ACTIVE_AUDIO_OUTPUT.equals(toggleType)) { in onReceive()
DConnectedDevicesPreferenceFragment.java382 shouldPop = device != null && TextUtils.equals(device.getAddress(), address); in popDevicePreferenceImpl()
432 if (KEY_PAIR_REMOTE.equals(key) && preference.getIntent() == null) { in onPreferenceTreeClick()
/device/google/atv/MdnsOffloadManagerService/src/com/android/tv/mdnsoffloadmanager/
DOffloadIntentStore.java85 .filter(intent -> intent.mNetworkInterface.equals(networkInterface) in getOffloadIntentsForInterface()
103 if (!offloadIntent.mClientToken.equals(clientToken)) { in getAndRemoveOffloadIntent()
146 .filter(intent -> intent.mNetworkInterface.equals(networkInterface) in getPassthroughIntentsForInterface()
160 pt -> pt.mCanonicalQName.equals(canonicalQName) in removePassthroughIntent()
161 && pt.mClientToken.equals(clientToken)); in removePassthroughIntent()
DMdnsOffloadManagerService.java412 if (Intent.ACTION_SCREEN_ON.equals(action)) { in onReceive()
415 } else if (Intent.ACTION_SCREEN_OFF.equals(action)) { in onReceive()
430 if (!PowerManager.ACTION_LOW_POWER_STANDBY_POLICY_CHANGED.equals(intent.getAction())) { in onReceive()
448 !previousProperties.getInterfaceName().equals( in onLinkPropertiesChanged()
/device/google/cuttlefish/guest/monitoring/cuttlefish_service/java/com/android/google/gce/gceservice/
DGceService.java158 screenBounds.equals(mPreviousScreenBounds) && in onConfigurationChanged()
198 if (INTENT_ACTION_CONFIGURE.equals(mMostRecentAction)) { in onStartCommand()
200 } else if (INTENT_ACTION_NETWORK_CHANGED.equals(mMostRecentAction)) { in onStartCommand()
202 } else if (INTENT_ACTION_BLUETOOTH_CHANGED.equals(mMostRecentAction)) { in onStartCommand()
DGceBroadcastReceiver.java43 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) { in onReceive()
45 } else if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) { in onReceive()
47 } else if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) { in onReceive()
/device/google/cuttlefish/tests/src/com/android/tests/tombstoneTransmit/
DTombstoneTransmitTest.java62 if(!InstanceType.CUTTLEFISH.equals(type) && !InstanceType.REMOTE_NESTED_AVD.equals(type)) { in testTombstonesOfVaryingLengths()
110 if(!InstanceType.CUTTLEFISH.equals(type) && !InstanceType.REMOTE_NESTED_AVD.equals(type)) { in testTombstoneTransmitIntegrity()
/device/google/zuma/CopyEfsTest/src/com/android/test/
DCopyEfsTest.java51 assumeTrue("0".equals(result)); in copyEfsTest()
54 if (!dataFstype.equals("ext4")) { in copyEfsTest()
77 if (partition.equals(mountPoint)) { in getMountInfo()
/device/sample/apps/tv/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/
DClockWidgetProvider.java24 if (INET_CONDITION_ACTION.equals(intentAction) || in onReceive()
25 ConnectivityManager.CONNECTIVITY_ACTION.equals(intentAction)) { in onReceive()
27 if (INET_CONDITION_ACTION.equals(intentAction)) { in onReceive()
/device/sample/apps/tv/LeanbackCustomizer/src/com/google/android/leanbacklauncher/partnercustomizer/
DPartnerReceiver.java71 if (Intent.ACTION_PACKAGE_ADDED.equals(action)|| in onReceive()
72 Intent.ACTION_PACKAGE_REMOVED.equals(action)) { in onReceive()
74 } else if (ACTION_PARTNER_CUSTOMIZATION.equals(action)) { in onReceive()
/device/google/cuttlefish/tests/graphics/src/com/android/cuttlefish/tests/
DCuttlefishDisplayHotplugTest.java275 if (!CommandStatus.SUCCESS.equals(listDisplaysResult.getStatus())) { in getHostDisplays()
313 if (!CommandStatus.SUCCESS.equals(addDisplayResult.getStatus())) { in addDisplays()
332 if (!CommandStatus.SUCCESS.equals(removeDisplayResult.getStatus())) { in removeDisplays()
508 if (!CommandStatus.SUCCESS.equals(getUsedRamResult.getStatus())) { in getMemoryInfo()
/device/generic/goldfish/radio/RadioConfig/src/com/android/emulator/radio/config/
DMeterService.java55 if ("on".equals(msg)) { in onStartCommand()
57 } else if ("off".equals(msg)) { in onStartCommand()
/device/google/atv/FrameworkPackageStubs/src/com/android/browser/provider/
DBrowserProvider2.java516 return account.length() == 0 || account.equals("null"); in isNullAccount()
553 if ("false".equals(allowEmpty)) { in query()
1214 && TextUtils.equals(accountName, parent[0]) in isValidParent()
1215 && TextUtils.equals(accountType, parent[1])) { in isValidParent()
1437 if (!Arrays.equals(nfavicon, cfavicon)) { in shouldUpdateImages()
1443 if (!Arrays.equals(nthumb, cthumb)) { in shouldUpdateImages()
1449 if (!Arrays.equals(ntouch, ctouch)) { in shouldUpdateImages()
1533 && (!TextUtils.equals(accountName, parentAccountName) in updateBookmarksInTransaction()
1534 || !TextUtils.equals(accountType, parentAccountType))) { in updateBookmarksInTransaction()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/
DBluetoothDeviceService.java106 if (BluetoothDevice.ACTION_BOND_STATE_CHANGED.equals(action)) {
212 if (address.equals(device.getAddress())) { in findDevice()
466 if (version == null || version.equals(Version.BAD_VERSION)) { in hasRemoteUpgrade()
612 if (FASTPAIR_PROCESS.equals(appProcess.processName) && in fastPairInForeground()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/remote/
DTransportManager.java318 if (TextUtils.equals(lockId, mLockId)) { in unlock()
324 return mLockId != null && !TextUtils.equals(lockId, mLockId); in locked()
/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/
DMultiDisplayServiceReceiver.java41 if (MultiDisplayService.class.getName().equals(service.service.getClassName())) { in isMyServiceRunning()
/device/amlogic/yukawa/services/remotesyncreceiver/src/com/google/android/yukawaservice/
DRemoteSyncReceiver.java49 if (Intent.ACTION_GLOBAL_BUTTON.equals(intent.getAction())) { in onReceive()

12