/frameworks/base/tools/locked_region_code_injection/test/lockedregioncodeinjection/ |
D | TestMain.java | 16 import org.junit.Assert; 62 Assert.assertEquals(TestTarget.boostCount, 0); in testSimpleSynchronizedBlock() 63 Assert.assertEquals(TestTarget.unboostCount, 0); in testSimpleSynchronizedBlock() 64 Assert.assertEquals(TestTarget.invokeCount, 0); in testSimpleSynchronizedBlock() 65 Assert.assertEquals(TestTarget.boostCountLocked, 0); in testSimpleSynchronizedBlock() 66 Assert.assertEquals(TestTarget.unboostCountLocked, 0); in testSimpleSynchronizedBlock() 69 Assert.assertEquals(TestTarget.boostCount, 1); in testSimpleSynchronizedBlock() 70 Assert.assertEquals(TestTarget.unboostCount, 0); in testSimpleSynchronizedBlock() 74 Assert.assertEquals(TestTarget.boostCount, 1); in testSimpleSynchronizedBlock() 75 Assert.assertEquals(TestTarget.unboostCount, 1); in testSimpleSynchronizedBlock() [all …]
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsServTest.java | 25 import junit.framework.Assert; 107 Assert.assertTrue(bsi.getOnBatteryTimeBase().hasObserver(serv)); in testConstructAndDetach() 110 Assert.assertFalse(bsi.getOnBatteryTimeBase().hasObserver(serv)); in testConstructAndDetach() 130 Assert.assertEquals(1010, serv.getStartTime()); in testParceling() 131 Assert.assertEquals(2021, serv.getRunningSince()); in testParceling() 132 Assert.assertTrue(serv.getRunning()); in testParceling() 133 Assert.assertEquals(4042, serv.getStarts()); in testParceling() 134 Assert.assertEquals(5053, serv.getLaunchedTime()); in testParceling() 135 Assert.assertEquals(6064, serv.getLaunchedSince()); in testParceling() 136 Assert.assertTrue(serv.getLaunched()); in testParceling() [all …]
|
D | BatteryStatsTimeBaseTest.java | 25 import junit.framework.Assert; 58 Assert.assertEquals(uptime, mUptimeUs); in verify() 59 Assert.assertEquals(realtime, mRealtimeUs); in verify() 60 Assert.assertEquals(running, mRunning); in verify() 61 Assert.assertEquals(pastUptime, mPastUptimeUs); in verify() 62 Assert.assertEquals(uptimeStart, mUptimeStartUs); in verify() 63 Assert.assertEquals(pastRealtime, mPastRealtimeUs); in verify() 64 Assert.assertEquals(realtimeStart, mRealtimeStartUs); in verify() 65 Assert.assertEquals(unpluggedUptime, mUnpluggedUptimeUs); in verify() 66 Assert.assertEquals(unpluggedRealtime, mUnpluggedRealtimeUs); in verify() [all …]
|
D | BatteryStatsTimerTest.java | 29 import junit.framework.Assert; 104 Assert.assertEquals(170, timer.lastComputeRunTimeRealtime); in testRunning() 105 Assert.assertEquals(17, timer.getTotalTime()); in testRunning() 106 Assert.assertEquals(3000, timer.getCount()); in testRunning() 129 Assert.assertTrue("parcel null object", parcel.readInt() != 0); in testParceling() 132 Assert.assertEquals(2, timer2.getCount()); // from computeTotalCountLocked() in testParceling() 133 Assert.assertEquals(201, timer2.getTotalTime()); // from computeRunTimeLocked() in testParceling() 134 Assert.assertEquals(9223372036854775803L, timer2.getTimeBeforeMark()); in testParceling() 149 Assert.assertEquals(0, parcel.readInt()); in testParcelingNull() 169 Assert.assertEquals(0, timer.getCount()); in testResetNoDetach() [all …]
|
/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
D | PowerProfileTest.java | 31 import org.junit.Assert; 58 Assert.assertEquals(12.0f, audio.onMa, EPSILON); in testReadGood() 63 Assert.assertEquals(0.02f, bluetooth.idleMa, EPSILON); in testReadGood() 64 Assert.assertEquals(3.0f, bluetooth.rxMa, EPSILON); in testReadGood() 65 Assert.assertEquals(5.0f, bluetooth.txMa, EPSILON); in testReadGood() 69 Assert.assertEquals(941.0f, camera.onMa, EPSILON); in testReadGood() 73 Assert.assertEquals(1.3f, cpu.suspendMa, EPSILON); in testReadGood() 74 Assert.assertEquals(3.9f, cpu.idleMa, EPSILON); in testReadGood() 75 Assert.assertEquals(18.33f, cpu.activeMa, EPSILON); in testReadGood() 76 Assert.assertEquals(2, cpu.clusters.length); in testReadGood() [all …]
|
D | RawBatteryStatsTest.java | 24 import org.junit.Assert; 54 Assert.assertEquals(0, bs.getWarnings().size()); in testVersion() 55 Assert.assertEquals(true, line.complete); in testVersion() 57 Assert.assertEquals(9, line.lineVersion); in testVersion() 58 Assert.assertEquals(0, line.uid); in testVersion() 59 Assert.assertEquals(RawBatteryStats.Category.INFO, line.category); in testVersion() 60 Assert.assertEquals("vers", line.lineType); in testVersion() 62 Assert.assertEquals(BS_VERSION, line.dumpsysVersion); in testVersion() 63 Assert.assertEquals(177, line.parcelVersion); in testVersion() 64 Assert.assertEquals("PPR1.180326.002", line.startPlatformVersion); in testVersion() [all …]
|
D | BatteryStatsReaderTest.java | 24 import org.junit.Assert; 42 Assert.assertNotNull(global); in testModemGlobal() 46 Assert.assertNotNull(modem); in testModemGlobal() 47 Assert.assertEquals(97840, modem.rxPacketCount); in testModemGlobal() 48 Assert.assertEquals(72941, modem.txPacketCount); in testModemGlobal() 49 Assert.assertEquals(5113727, modem.totalActiveTimeMs); in testModemGlobal() 56 Assert.assertEquals(1, gmailList.size()); in testModemApp() 61 Assert.assertNotNull(modem); in testModemApp() 62 Assert.assertEquals(9925, modem.rxPacketCount); in testModemApp() 63 Assert.assertEquals(5577, modem.txPacketCount); in testModemApp() [all …]
|
D | PowerReportTest.java | 24 import org.junit.Assert; 72 Assert.assertEquals(1, gmailList.size()); in testModemApp() 76 Assert.assertNotNull(modem); in testModemApp() 77 Assert.assertEquals(GMAIL_MODEM_MAH, modem.powerMah, EPSILON); in testModemApp() 84 Assert.assertNotNull(remainder); in testModemRemainder() 88 Assert.assertNotNull(modem); in testModemRemainder() 90 Assert.assertArrayEquals(new double[] { in testModemRemainder() 97 Assert.assertEquals(2443805 * 12 / MS_PER_HR, modem.scanningMah, EPSILON); in testModemRemainder() 98 Assert.assertEquals(4923676 * AVERAGE_MODEM_POWER / MS_PER_HR, modem.activeMah, EPSILON); in testModemRemainder() 100 Assert.assertEquals(REMAINDER_MODEM_MAH, modem.powerMah, EPSILON); in testModemRemainder() [all …]
|
/frameworks/base/media/tests/MtpTests/src/android/mtp/ |
D | MtpStorageManagerTest.java | 27 import org.junit.Assert; 83 Assert.fail(); in vWriteNewFile() 130 Assert.assertTrue(TEMP_DIR_FILE.mkdir()); in before() 183 Assert.assertEquals(obj.getName(), mainStorageDir.getPath()); in testMtpObjectGetNameRoot() 193 Assert.assertEquals(stream.get(0).getName(), newFile.getName()); in testMtpObjectGetNameNonRoot() 201 Assert.assertEquals(obj.getId(), mainMtpStorage.getStorageId()); in testMtpObjectGetIdRoot() 211 Assert.assertEquals(stream.get(0).getId(), 1); in testMtpObjectGetIdNonRoot() 219 Assert.assertTrue(obj.isDir()); in testMtpObjectIsDirTrue() 229 Assert.assertFalse(stream.get(0).isDir()); in testMtpObjectIsDirFalse() 239 Assert.assertEquals(stream.get(0).getFormat(), MtpConstants.FORMAT_ASSOCIATION); in testMtpObjectGetFormatDir() [all …]
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageManagerServiceTest.java | 23 import static org.junit.Assert.assertThrows; 24 import static org.junit.Assert.fail; 47 import org.junit.Assert; 106 Assert.assertNull(pri.mRemovedUsers); in testPackageRemoval() 107 Assert.assertNull(pri.mBroadcastUsers); in testPackageRemoval() 111 Assert.assertNull(pri.mBroadcastUsers); in testPackageRemoval() 128 Assert.assertNotNull(pri.mBroadcastUsers); in testPackageRemoval() 129 Assert.assertEquals(5, pri.mBroadcastUsers.length); in testPackageRemoval() 130 Assert.assertNotNull(pri.mInstantUserIds); in testPackageRemoval() 131 Assert.assertEquals(0, pri.mInstantUserIds.length); in testPackageRemoval() [all …]
|
/frameworks/multidex/library/test/src/androidx/multidex/ |
D | MultiDexTest.java | 19 import org.junit.Assert; 28 Assert.assertFalse(MultiDex.isVMMultidexCapable(null)); in testVersionCheck() 29 Assert.assertFalse(MultiDex.isVMMultidexCapable("-1.32.54")); in testVersionCheck() 30 Assert.assertFalse(MultiDex.isVMMultidexCapable("1.32.54")); in testVersionCheck() 31 Assert.assertFalse(MultiDex.isVMMultidexCapable("1.32")); in testVersionCheck() 32 Assert.assertFalse(MultiDex.isVMMultidexCapable("2.0")); in testVersionCheck() 33 Assert.assertFalse(MultiDex.isVMMultidexCapable("2.000.1254")); in testVersionCheck() 34 Assert.assertTrue(MultiDex.isVMMultidexCapable("2.1.1254")); in testVersionCheck() 35 Assert.assertTrue(MultiDex.isVMMultidexCapable("2.1")); in testVersionCheck() 36 Assert.assertTrue(MultiDex.isVMMultidexCapable("2.2")); in testVersionCheck() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MenuTest.java | 26 import junit.framework.Assert; 42 Assert.assertEquals(id, item.getItemId()); in testItemId() 43 Assert.assertEquals(item, mMenu.findItem(id)); in testItemId() 44 Assert.assertEquals(0, mMenu.findItemIndex(id)); in testItemId() 58 Assert.assertEquals(groupId, item.getGroupId()); in testGroupId() 59 Assert.assertEquals(groupId, item2.getGroupId()); in testGroupId() 60 Assert.assertEquals(item1Index, mMenu.findGroupIndex(groupId)); in testGroupId() 61 Assert.assertEquals(item2Index, mMenu.findGroupIndex(groupId, item1Index + 1)); in testGroupId() 75 Assert.assertEquals(mMenu.findGroupIndex(GROUP_ONE), 0); in testGroup() 76 Assert.assertEquals(mMenu.findGroupIndex(GROUP_TWO), -1); in testGroup() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | LogTest.java | 27 import org.junit.Assert; 53 Assert.assertTrue(value == null || value.length() == 0); in testIsLoggable() 56 Assert.assertFalse(Log.isLoggable(LOG_TAG, Log.VERBOSE)); in testIsLoggable() 57 Assert.assertFalse(Log.isLoggable(LOG_TAG, Log.DEBUG)); in testIsLoggable() 58 Assert.assertTrue(Log.isLoggable(LOG_TAG, Log.INFO)); in testIsLoggable() 59 Assert.assertTrue(Log.isLoggable(LOG_TAG, Log.WARN)); in testIsLoggable() 60 Assert.assertTrue(Log.isLoggable(LOG_TAG, Log.ERROR)); in testIsLoggable() 61 Assert.assertTrue(Log.isLoggable(LOG_TAG, Log.ASSERT)); in testIsLoggable() 67 Assert.assertTrue(Log.isLoggable(LOG_TAG, Log.VERBOSE)); in testIsLoggable() 68 Assert.assertTrue(Log.isLoggable(LOG_TAG, Log.DEBUG)); in testIsLoggable() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | IccIoResultTest.java | 19 import org.junit.Assert; 29 Assert.assertTrue(resultStr != null && (!resultStr.contains("Error"))); in check0x90_ErrorCodeParsing() 37 Assert.assertTrue(resultStr != null && (!resultStr.contains("Error"))); in check0x91_ErrorCodeParsing() 45 Assert.assertTrue(resultStr != null && (!resultStr.contains("Error"))); in check0x9E_ErrorCodeParsing() 53 Assert.assertTrue(resultStr != null && (!resultStr.contains("Error"))); in check0x9F_ErrorCodeParsing() 61 Assert.assertTrue(resultStr != null && (resultStr.contains("no EF selected"))); in check0x94_ErrorCodeParsing() 66 Assert.assertTrue( in check0x94_ErrorCodeParsing() 72 Assert.assertTrue( in check0x94_ErrorCodeParsing() 78 Assert.assertTrue( in check0x94_ErrorCodeParsing() 86 Assert.assertTrue(resultStr != null && (resultStr.contains("unknown"))); in check0x98_ErrorCodeParsing() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_constant.java | 29 private void Assert(boolean b) { in Assert() method in UT_constant 36 Assert(ScriptC_constant.const_floatTest == 1.99f); in run() 37 Assert(ScriptC_constant.const_doubleTest == 2.05); in run() 38 Assert(ScriptC_constant.const_charTest == -8); in run() 39 Assert(ScriptC_constant.const_shortTest == -16); in run() 40 Assert(ScriptC_constant.const_intTest == -32); in run() 41 Assert(ScriptC_constant.const_longTest == 17179869184l); in run() 42 Assert(ScriptC_constant.const_longlongTest == 68719476736l); in run() 44 Assert(ScriptC_constant.const_ucharTest == 8); in run() 45 Assert(ScriptC_constant.const_ushortTest == 16); in run() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_constant.java | 27 private void Assert(boolean b) { in Assert() method in UT_constant 34 Assert(ScriptC_constant.const_floatTest == 1.99f); in run() 35 Assert(ScriptC_constant.const_doubleTest == 2.05); in run() 36 Assert(ScriptC_constant.const_charTest == -8); in run() 37 Assert(ScriptC_constant.const_shortTest == -16); in run() 38 Assert(ScriptC_constant.const_intTest == -32); in run() 39 Assert(ScriptC_constant.const_longTest == 17179869184l); in run() 40 Assert(ScriptC_constant.const_longlongTest == 68719476736l); in run() 42 Assert(ScriptC_constant.const_ucharTest == 8); in run() 43 Assert(ScriptC_constant.const_ushortTest == 16); in run() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ClientWakelockAccountantTest.java | 21 import junit.framework.Assert; 42 Assert.assertEquals(0, mClient.getPendingRequestCount()); in testStartAttributingWakelock() 44 Assert.assertEquals(1, mClient.getPendingRequestCount()); in testStartAttributingWakelock() 46 Assert.assertEquals(2, mClient.getPendingRequestCount()); in testStartAttributingWakelock() 59 Assert.assertEquals(2, mClient.getPendingRequestCount()); in testStopAttributingWakelock() 60 Assert.assertEquals(0, mClient.mRequestStats.getCompletedRequestsCount()); in testStopAttributingWakelock() 63 Assert.assertEquals(1, mClient.mRequestStats.getRequestHistograms().size()); in testStopAttributingWakelock() 65 Assert.assertEquals(0, mClient.getPendingRequestCount()); in testStopAttributingWakelock() 66 Assert.assertEquals(2, mClient.mRequestStats.getCompletedRequestsCount()); in testStopAttributingWakelock() 67 Assert.assertEquals(600, mClient.mRequestStats.getCompletedRequestsWakelockTime()); in testStopAttributingWakelock() [all …]
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/tests/ |
D | NoActivityJUnit3Test.java | 31 import junit.framework.Assert; 46 Assert.assertEquals(10, TestApplication.get(true)); in testExceptionInMainDex() 51 Assert.assertEquals(11, IntermediateClass.get3(true)); in testExceptionInIntermediate() 52 Assert.assertEquals(11, MiniIntermediateClass.get3(true)); in testExceptionInIntermediate() 53 Assert.assertEquals(11, IntermediateClass.get4(true)); in testExceptionInIntermediate() 54 Assert.assertEquals(1, IntermediateClass.get5(null)); in testExceptionInIntermediate() 55 Assert.assertEquals(10, IntermediateClass.get5(new ExceptionInMainDex())); in testExceptionInIntermediate() 56 Assert.assertEquals(11, IntermediateClass.get5(new ExceptionInSecondaryDex())); in testExceptionInIntermediate() 57 Assert.assertEquals(12, IntermediateClass.get5(new ExceptionInMainDex2())); in testExceptionInIntermediate() 58 Assert.assertEquals(13, IntermediateClass.get5(new ExceptionInSecondaryDex2())); in testExceptionInIntermediate() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationChildrenContainerTest.java | 19 import static org.junit.Assert.assertNull; 40 import org.junit.Assert; 71 Assert.assertEquals(mChildrenContainer.getMaxAllowedVisibleChildren(), in testGetMaxAllowedVisibleChildren_lowPriority() 78 Assert.assertEquals(mChildrenContainer.getMaxAllowedVisibleChildren(), in testGetMaxAllowedVisibleChildren_headsUp() 86 Assert.assertEquals(mChildrenContainer.getMaxAllowedVisibleChildren(), in testGetMaxAllowedVisibleChildren_lowPriority_expandedChildren() 94 Assert.assertEquals(mChildrenContainer.getMaxAllowedVisibleChildren(), in testGetMaxAllowedVisibleChildren_lowPriority_userLocked() 100 Assert.assertEquals(mChildrenContainer.getMaxAllowedVisibleChildren(true), in testGetMaxAllowedVisibleChildren_likeCollapsed() 108 Assert.assertEquals(mChildrenContainer.getMaxAllowedVisibleChildren(), in testGetMaxAllowedVisibleChildren_expandedChildren() 115 Assert.assertEquals(mChildrenContainer.getMaxAllowedVisibleChildren(), in testGetMaxAllowedVisibleChildren_userLocked() 122 Assert.assertTrue(mChildrenContainer.showingAsLowPriority()); in testShowingAsLowPriority_lowPriority() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | SettingsToPropertiesMapperTest.java | 32 import org.junit.Assert; 118 Assert.fail("globalSetting " in validateRegisteredGlobalSettings() 125 Assert.fail("empty globalSetting registered."); in validateRegisteredGlobalSettings() 128 Assert.fail(globalSetting + " contains invalid characters. " in validateRegisteredGlobalSettings() 139 Assert.fail("deviceConfigScope " in validateRegisteredDeviceConfigScopes() 146 Assert.fail("empty deviceConfigScope registered."); in validateRegisteredDeviceConfigScopes() 149 Assert.fail(deviceConfigScope + " contains invalid characters. " in validateRegisteredDeviceConfigScopes() 164 Assert.assertEquals("testValue", propValue); in testUpdatePropertiesFromSettings() 171 Assert.assertEquals("testValue2", propValue); in testUpdatePropertiesFromSettings() 178 Assert.assertEquals("", propValue); in testUpdatePropertiesFromSettings() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/ |
D | OverlayWindowTest.kt | 28 import org.junit.Assert 96 Assert.assertNotNull(view1FoundFromRootView) in testAddProvider() 97 Assert.assertEquals(view1FoundFromRootView, overlay.getView(TEST_DECOR_VIEW_ID_1)) in testAddProvider() 99 Assert.assertNotNull(view2FoundFromRootView) in testAddProvider() 100 Assert.assertEquals(view2FoundFromRootView, overlay.getView(TEST_DECOR_VIEW_ID_2)) in testAddProvider() 110 Assert.assertNull(viewFoundFromRootView) in testRemoveView() 111 Assert.assertNull(overlay.getView(TEST_DECOR_VIEW_ID_1)) in testRemoveView() 160 Assert.assertNull(overlay.getView(TEST_DECOR_VIEW_ID_1)) in testRemoveRedundantViewsWithNullParameter() 161 Assert.assertNull(overlay.rootView.findViewById(TEST_DECOR_VIEW_ID_1)) in testRemoveRedundantViewsWithNullParameter() 162 Assert.assertNull(overlay.getView(TEST_DECOR_VIEW_ID_2)) in testRemoveRedundantViewsWithNullParameter() [all …]
|
D | CutoutDecorProviderFactoryTest.kt | 33 import org.junit.Assert in <lambda>() 110 Assert.assertFalse(factory.hasProviders) in <lambda>() 111 Assert.assertEquals(0, factory.providers.size) in <lambda>() 124 Assert.assertTrue(factory.hasProviders) in <lambda>() 127 Assert.assertEquals(1, providers.size) in <lambda>() 128 Assert.assertEquals(1, providers[0].numOfAlignedBound) in <lambda>() 129 Assert.assertEquals(DisplayCutout.BOUNDS_POSITION_TOP, providers[0].alignedBounds[0]) in <lambda>() 144 Assert.assertTrue(factory.hasProviders) in <lambda>() 147 Assert.assertEquals(1, providers.size) in <lambda>() 148 Assert.assertEquals(1, providers[0].numOfAlignedBound) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | FgsManagerControllerTest.java | 62 import org.junit.Assert; 139 Assert.assertEquals(0, mFmc.getNumRunningPackages()); in testNumPackages() 141 Assert.assertEquals(1, mFmc.getNumRunningPackages()); in testNumPackages() 143 Assert.assertEquals(2, mFmc.getNumRunningPackages()); in testNumPackages() 145 Assert.assertEquals(1, mFmc.getNumRunningPackages()); in testNumPackages() 147 Assert.assertEquals(0, mFmc.getNumRunningPackages()); in testNumPackages() 160 Assert.assertEquals(0, mFmc.getNumRunningPackages()); in testNumPackages_jobs() 162 Assert.assertEquals(1, mFmc.getNumRunningPackages()); in testNumPackages_jobs() 164 Assert.assertEquals(2, mFmc.getNumRunningPackages()); in testNumPackages_jobs() 168 Assert.assertEquals(2, mFmc.getNumRunningPackages()); in testNumPackages_jobs() [all …]
|
/frameworks/base/packages/DynamicSystemInstallationService/tests/src/com/android/dynsystem/ |
D | KeyRevocationListTest.java | 29 import org.junit.Assert; 64 Assert.assertNotNull(blocklist); in testFromJsonString() 65 Assert.assertFalse(blocklist.mEntries.isEmpty()); in testFromJsonString() 67 Assert.assertNotNull(blocklist); in testFromJsonString() 68 Assert.assertTrue(blocklist.mEntries.isEmpty()); in testFromJsonString() 101 Assert.assertNotNull(blocklist); in testFromUrl() 102 Assert.assertFalse(blocklist.mEntries.isEmpty()); in testFromUrl() 108 Assert.fail("Expected IOException not thrown"); in testFromUrl() 112 Assert.assertNull(blocklist); in testFromUrl() 123 Assert.assertNotNull(revocationStatus); in testIsRevoked() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/util/wakelock/ |
D | ClientTrackingWakeLockTest.kt | 25 import org.junit.Assert 56 Assert.assertFalse(mInner.isHeld) in createPartialInner_notHeldYet() 62 Assert.assertTrue(mInner.isHeld) in wakeLock_acquire() 69 Assert.assertFalse(mInner.isHeld) in wakeLock_release() 78 Assert.assertTrue(mInner.isHeld) in wakeLock_acquiredReleasedMultipleSources_stillHeld() 80 Assert.assertFalse(mInner.isHeld) in wakeLock_acquiredReleasedMultipleSources_stillHeld() 91 Assert.assertFalse(mInner.isHeld) in wakeLock_releasedTooManyTimes_stillReleased_noThrow() 98 Assert.assertTrue(mInner.isHeld) in wakeLock_wrap() 99 Assert.assertFalse(ran[0]) in wakeLock_wrap() 101 Assert.assertTrue(ran[0]) in wakeLock_wrap() [all …]
|