/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | ArrayUtilsTest.java | 29 java.util.function.Predicate<Object> isNull = new java.util.function.Predicate<Object>() { in testUnstableRemoveIf() local 41 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf() 44 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf() 47 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf() 52 assertEquals(1, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf() 56 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf() 62 assertEquals(1, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf() 67 assertEquals(1, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf() 72 assertEquals(2, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf() 76 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf() [all …]
|
/frameworks/support/tv-provider/src/android/support/media/tv/ |
D | Channel.java | 401 if ((index = cursor.getColumnIndex(Channels._ID)) >= 0 && !cursor.isNull(index)) { in fromCursor() 405 && !cursor.isNull(index)) { in fromCursor() 409 && !cursor.isNull(index)) { in fromCursor() 413 && !cursor.isNull(index)) { in fromCursor() 417 && !cursor.isNull(index)) { in fromCursor() 421 && !cursor.isNull(index)) { in fromCursor() 425 && !cursor.isNull(index)) { in fromCursor() 429 && !cursor.isNull(index)) { in fromCursor() 433 && !cursor.isNull(index)) { in fromCursor() 437 && !cursor.isNull(index)) { in fromCursor() [all …]
|
D | BaseProgram.java | 317 if ((index = cursor.getColumnIndex(BaseTvColumns._ID)) >= 0 && !cursor.isNull(index)) { in setFieldsFromCursor() 321 && !cursor.isNull(index)) { in setFieldsFromCursor() 325 && !cursor.isNull(index)) { in setFieldsFromCursor() 329 && !cursor.isNull(index)) { in setFieldsFromCursor() 335 && !cursor.isNull(index)) { in setFieldsFromCursor() 340 && !cursor.isNull(index)) { in setFieldsFromCursor() 347 && !cursor.isNull(index)) { in setFieldsFromCursor() 352 && !cursor.isNull(index)) { in setFieldsFromCursor() 357 && !cursor.isNull(index)) { in setFieldsFromCursor() 361 && !cursor.isNull(index)) { in setFieldsFromCursor() [all …]
|
D | BasePreviewProgram.java | 321 && !cursor.isNull(index)) { in setFieldsFromCursor() 326 && !cursor.isNull(index)) { in setFieldsFromCursor() 331 && !cursor.isNull(index)) { in setFieldsFromCursor() 336 && !cursor.isNull(index)) { in setFieldsFromCursor() 340 && !cursor.isNull(index)) { in setFieldsFromCursor() 344 && !cursor.isNull(index)) { in setFieldsFromCursor() 348 && !cursor.isNull(index)) { in setFieldsFromCursor() 353 && !cursor.isNull(index)) { in setFieldsFromCursor() 358 && !cursor.isNull(index)) { in setFieldsFromCursor() 362 && !cursor.isNull(index)) { in setFieldsFromCursor() [all …]
|
D | Program.java | 180 && !cursor.isNull(index)) { in fromCursor() 184 && !cursor.isNull(index)) { in fromCursor() 189 && !cursor.isNull(index)) { in fromCursor() 193 && !cursor.isNull(index)) { in fromCursor() 198 && !cursor.isNull(index)) { in fromCursor()
|
D | PreviewProgram.java | 158 && !cursor.isNull(index)) { in fromCursor() 162 && !cursor.isNull(index)) { in fromCursor()
|
D | WatchNextProgram.java | 160 && !cursor.isNull(index)) { in fromCursor() 165 && !cursor.isNull(index)) { in fromCursor()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserDataPreparerTest.java | 44 import static org.mockito.Matchers.isNull; 102 verify(mStorageManagerMock).prepareUserStorage(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_De() 104 verify(mInstaller).createUserData(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_De() 120 verify(mStorageManagerMock).prepareUserStorage(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_Ce() 122 verify(mInstaller).createUserData(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_Ce() 163 verify(mInstaller).destroyUserData(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_De() 165 verify(mStorageManagerMock).destroyUserStorage(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_De() 186 verify(mInstaller).destroyUserData(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_Ce() 188 verify(mStorageManagerMock).destroyUserStorage(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_Ce() 213 verify(mInstaller).destroyUserData(isNull(String.class), eq(3), in testReconcileUsers()
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | CellBroadcastMessage.java | 147 if (plmnColumn != -1 && !cursor.isNull(plmnColumn)) { in createFromCursor() 155 if (lacColumn != -1 && !cursor.isNull(lacColumn)) { in createFromCursor() 163 if (cidColumn != -1 && !cursor.isNull(cidColumn)) { in createFromCursor() 174 if (etwsWarningTypeColumn != -1 && !cursor.isNull(etwsWarningTypeColumn)) { in createFromCursor() 184 if (cmasMessageClassColumn != -1 && !cursor.isNull(cmasMessageClassColumn)) { in createFromCursor() 190 if (cmasCategoryColumn != -1 && !cursor.isNull(cmasCategoryColumn)) { in createFromCursor() 199 if (cmasResponseTypeColumn != -1 && !cursor.isNull(cmasResponseTypeColumn)) { in createFromCursor() 208 if (cmasSeverityColumn != -1 && !cursor.isNull(cmasSeverityColumn)) { in createFromCursor() 217 if (cmasUrgencyColumn != -1 && !cursor.isNull(cmasUrgencyColumn)) { in createFromCursor() 226 if (cmasCertaintyColumn != -1 && !cursor.isNull(cmasCertaintyColumn)) { in createFromCursor()
|
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
D | KCode.kt | 46 …fun isNull(kcode : KCode?) = kcode == null || (kcode.nodes.isEmpty() && (kcode.s == null || kcode.… in <lambda>() method in android.databinding.tool.writer.KCode 67 if (c == null || isNull(c)) { in <lambda>() 75 if (c == null || isNull(c)) { in <lambda>() 104 if (isNull(c)) { in <lambda>() 141 if (!isNull(it)) { // avoid spaces for empty lines in <lambda>()
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | MtpDatabaseTest.java | 74 private static boolean isNull(Cursor cursor, String columnName) { in isNull() method in MtpDatabaseTest 75 return cursor.isNull(cursor.getColumnIndex(columnName)); in isNull() 99 assertTrue(isNull(cursor, COLUMN_OBJECT_HANDLE)); in testPutSingleStorageDocuments() 103 assertTrue(isNull(cursor, COLUMN_SUMMARY)); in testPutSingleStorageDocuments() 104 assertTrue(isNull(cursor, COLUMN_LAST_MODIFIED)); in testPutSingleStorageDocuments() 135 assertTrue(isNull(cursor, Root.COLUMN_SUMMARY)); in testPutSingleStorageDocuments() 162 assertTrue(isNull(cursor, COLUMN_OBJECT_HANDLE)); in testPutStorageDocuments() 165 assertTrue(isNull(cursor, COLUMN_SUMMARY)); in testPutStorageDocuments() 166 assertTrue(isNull(cursor, COLUMN_LAST_MODIFIED)); in testPutStorageDocuments() 215 assertTrue(isNull(cursor, COLUMN_SUMMARY)); in testPutChildDocuments() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedLockUtilsTest.java | 138 mContext, KEYGUARD_DISABLE_REMOTE_INPUT, mUserId)).isNull(); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile() 140 mContext, KEYGUARD_DISABLE_REMOTE_INPUT, mProfileId)).isNull(); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile() 159 assertThat(primary).isNull(); in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile() 186 assertThat(parent).isNull(); in checkIfKeyguardFeaturesAreDisabled_onlyMatchesProfile_separateManagedProfile() 223 assertThat(profile).isNull(); in checkIfKeyguardFeaturesAreDisabled_onlyMatchesParent_profileParentPolicy()
|
/frameworks/compile/mclinker/lib/LD/ |
D | LDSymbol.cpp | 85 bool LDSymbol::isNull() const { in isNull() function in mcld::LDSymbol 90 return !m_pFragRef->isNull(); in hasFragRef()
|
D | ResolveInfo.cpp | 130 bool ResolveInfo::isNull() const { in isNull() function in mcld::ResolveInfo 251 if (pInfo->isNull()) in Destroy()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ImsSMSDispatcherTest.java | 26 import static org.mockito.Matchers.isNull; 168 verify(mSimulatedCommandsVerifier).sendImsGsmSms((String)isNull(), (String)isNull(), eq(0), in testSendRetrySmsGsmTest()
|
D | WapPushOverSmsTest.java | 26 import static org.mockito.Mockito.isNull; 94 isNull(BroadcastReceiver.class), in testDispatchWapPdu()
|
/frameworks/base/core/java/android/database/ |
D | DatabaseUtils.java | 656 if (!cursor.isNull(colIndex)) { in cursorIntToContentValues() 686 if (!cursor.isNull(colIndex)) { in cursorLongToContentValues() 717 if (!cursor.isNull(colIndex)) { in cursorDoubleToContentValues() 906 if (index != -1 && !cursor.isNull(index)) { in cursorStringToContentValuesIfPresent() 922 if (index != -1 && !cursor.isNull(index)) { in cursorLongToContentValuesIfPresent() 938 if (index != -1 && !cursor.isNull(index)) { in cursorShortToContentValuesIfPresent() 954 if (index != -1 && !cursor.isNull(index)) { in cursorIntToContentValuesIfPresent() 970 if (index != -1 && !cursor.isNull(index)) { in cursorFloatToContentValuesIfPresent() 986 if (index != -1 && !cursor.isNull(index)) { in cursorDoubleToContentValuesIfPresent()
|
D | CursorWrapper.java | 181 public boolean isNull(int columnIndex) { in isNull() method in CursorWrapper 182 return mCursor.isNull(columnIndex); in isNull()
|
D | MergeCursor.java | 137 public boolean isNull(int column) in isNull() method in MergeCursor 139 return mCursor.isNull(column); in isNull()
|
D | Cursor.java | 343 boolean isNull(int columnIndex); in isNull() method
|
/frameworks/opt/net/wifi/service/jni/ |
D | com_android_server_wifi_WifiNative.cpp | 64 if (result.isNull()) { in android_net_wifi_readKernelLog()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 1166 if (ssaid == null || ssaid.isNull() || ssaid.getValue() == null) { in getSsaidSettingLocked() 1815 String oldProviders = !settingValue.isNull() ? settingValue.getValue() : ""; 1900 if (setting == null || setting.isNull()) { 1907 !setting.isNull() ? setting.getValue() : null); 1984 if (setting.isNull()) { 2009 if (setting == null || setting.isNull()) { 2184 if (userKeySetting == null || userKeySetting.isNull() 2189 if (userKeySetting == null || userKeySetting.isNull() 2728 if (!value.isNull()) { 3053 currentSetting.isNull()) { [all …]
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
D | FragmentRef.h | 64 bool isNull() const { return (this == Null()); } in isNull() function
|
/frameworks/support/core-utils/kitkat/android/support/v4/provider/ |
D | DocumentsContractApi19.java | 170 if (c.moveToFirst() && !c.isNull(0)) { in queryForString() 195 if (c.moveToFirst() && !c.isNull(0)) { in queryForLong()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | InboundSmsTracker.java | 177 if (cursor.isNull(InboundSmsHandler.DESTINATION_PORT_COLUMN)) { in InboundSmsTracker() 198 if (cursor.isNull(InboundSmsHandler.COUNT_COLUMN)) { in InboundSmsTracker()
|