HomeSort by relevance Sort by last modified time
    Searched refs:when (Results 1 - 25 of 3740) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/strace/tests/
qual_fault-syntax.test 45 invalid_syscall_name:when=3 \
47 -1:when=4 \
49 -2:when=5 \
51 32767:when=6 \
53 chdir:42:when=7 \
55 chdir:invalid:when=8 \
57 chdir:error=:when=10 \
59 chdir:error=invalid_error_name:when=11 \
61 chdir:error=-1:when=12 \
63 chdir:error=-2:when=13
    [all...]
qual_inject-syntax.test 45 invalid_syscall_name:when=3 \
47 -1:when=4 \
49 -2:when=5 \
51 32767:when=6 \
55 chdir:42:when=7 \
57 chdir:invalid:when=8 \
59 chdir:error=:when=10 \
61 chdir:error=invalid_error_name:when=11 \
63 chdir:error=-1:when=12 \
65 chdir:error=-2:when=13
    [all...]
  /external/strace/tests-m32/
qual_fault-syntax.test 45 invalid_syscall_name:when=3 \
47 -1:when=4 \
49 -2:when=5 \
51 32767:when=6 \
53 chdir:42:when=7 \
55 chdir:invalid:when=8 \
57 chdir:error=:when=10 \
59 chdir:error=invalid_error_name:when=11 \
61 chdir:error=-1:when=12 \
63 chdir:error=-2:when=13
    [all...]
qual_inject-syntax.test 45 invalid_syscall_name:when=3 \
47 -1:when=4 \
49 -2:when=5 \
51 32767:when=6 \
55 chdir:42:when=7 \
57 chdir:invalid:when=8 \
59 chdir:error=:when=10 \
61 chdir:error=invalid_error_name:when=11 \
63 chdir:error=-1:when=12 \
65 chdir:error=-2:when=13
    [all...]
  /external/strace/tests-mx32/
qual_fault-syntax.test 45 invalid_syscall_name:when=3 \
47 -1:when=4 \
49 -2:when=5 \
51 32767:when=6 \
53 chdir:42:when=7 \
55 chdir:invalid:when=8 \
57 chdir:error=:when=10 \
59 chdir:error=invalid_error_name:when=11 \
61 chdir:error=-1:when=12 \
63 chdir:error=-2:when=13
    [all...]
qual_inject-syntax.test 45 invalid_syscall_name:when=3 \
47 -1:when=4 \
49 -2:when=5 \
51 32767:when=6 \
55 chdir:42:when=7 \
57 chdir:invalid:when=8 \
59 chdir:error=:when=10 \
61 chdir:error=invalid_error_name:when=11 \
63 chdir:error=-1:when=12 \
65 chdir:error=-2:when=13
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/
FormattedDateBuilder.java 49 * @param when The time to generate a formatted date for
52 public CharSequence formatShortDateTime(long when) {
53 if (DateUtils.isToday(when)) {
54 return formatDateTime(when, DateUtils.FORMAT_SHOW_TIME);
55 } else if (isCurrentYear(when)) {
56 return formatDateTime(when, DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_ABBREV_MONTH);
58 return formatDateTime(when, DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_NUMERIC_DATE);
71 * @param when The time to generate a formatted date for
74 public CharSequence formatLongDateTime(long when) {
75 if (DateUtils.isToday(when)) {
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
WorkSoundPreferenceControllerTest.java 49 import static org.mockito.Mockito.when;
79 when(mContext.getSystemService(Context.TELEPHONY_SERVICE)).thenReturn(mTelephonyManager);
80 when(mTelephonyManager.isVoiceCapable()).thenReturn(true);
81 when(mScreen.findPreference(KEY_WORK_CATEGORY))
83 when(mWorkCategory.findPreference(KEY_WORK_USE_PERSONAL_SOUNDS))
85 when(mWorkCategory.findPreference(KEY_WORK_PHONE_RINGTONE))
87 when(mWorkCategory.findPreference(KEY_WORK_NOTIFICATION_RINGTONE))
89 when(mWorkCategory.findPreference(KEY_WORK_ALARM_RINGTONE))
97 when(mAudioHelper.getManagedProfileId(any(UserManager.class)))
99 when(mAudioHelper.isUserUnlocked(any(UserManager.class), anyInt())).thenReturn(true)
    [all...]
NotificationVolumePreferenceControllerTest.java 35 import static org.mockito.Mockito.when;
57 when(mContext.getSystemService(Context.TELEPHONY_SERVICE)).thenReturn(mTelephonyManager);
58 when(mContext.getSystemService(Context.AUDIO_SERVICE)).thenReturn(mAudioManager);
59 when(mContext.getSystemService(Context.VIBRATOR_SERVICE)).thenReturn(mVibrator);
65 when(mHelper.isSingleVolume()).thenReturn(true);
66 when(mTelephonyManager.isVoiceCapable()).thenReturn(false);
73 when(mHelper.isSingleVolume()).thenReturn(false);
74 when(mTelephonyManager.isVoiceCapable()).thenReturn(true);
81 when(mHelper.isSingleVolume()).thenReturn(false);
82 when(mTelephonyManager.isVoiceCapable()).thenReturn(false)
    [all...]
EmergencyBroadcastPreferenceControllerTest.java 41 import static org.mockito.Mockito.when;
65 when(mContext.getSystemService(Context.USER_SERVICE)).thenReturn(mUserManager);
66 when(mContext.getPackageManager()).thenReturn(mPackageManager);
85 when(mUserManager.isAdminUser()).thenReturn(false);
86 when(mContext.getResources().getBoolean(
88 when(mPackageManager.getApplicationEnabledSetting(anyString()))
90 when(mAccountHelper.hasBaseUserRestriction(anyString(), anyInt())).thenReturn(false);
97 when(mUserManager.isAdminUser()).thenReturn(true);
98 when(mContext.getResources().getBoolean(
100 when(mPackageManager.getApplicationEnabledSetting(anyString())
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DozeConfigurationUtil.java 21 import static org.mockito.Mockito.when;
35 when(params.getPulseOnSigMotion()).thenReturn(false);
36 when(params.getPickupVibrationThreshold()).thenReturn(0);
37 when(params.getProxCheckBeforePulse()).thenReturn(true);
38 when(params.getPickupSubtypePerformsProxCheck(anyInt())).thenReturn(true);
48 when(config.pulseOnDoubleTapEnabled(anyInt())).thenReturn(false);
49 when(config.pulseOnPickupEnabled(anyInt())).thenReturn(false);
50 when(config.pulseOnNotificationEnabled(anyInt())).thenReturn(true);
52 when(config.doubleTapSensorType()).thenReturn(null);
53 when(config.pulseOnPickupAvailable()).thenReturn(false)
    [all...]
  /external/mockito/src/test/java/org/mockitousage/matchers/
AnyXMatchersAcceptNullsTest.java 15 import static org.mockito.Mockito.when;
29 when(mock.oneArg((Object) any())).thenReturn("matched");
36 when(mock.oneArg((Object) anyObject())).thenReturn("matched");
43 when(mock.oneArg(anyString())).thenReturn("0");
44 when(mock.forList(anyListOf(String.class))).thenReturn("1");
45 when(mock.forMap(anyMapOf(String.class, String.class))).thenReturn("2");
46 when(mock.forCollection(anyCollectionOf(String.class))).thenReturn("3");
47 when(mock.forSet(anySetOf(String.class))).thenReturn("4");
59 when(mock.forInteger(anyInt())).thenReturn("0");
60 when(mock.forCharacter(anyChar())).thenReturn("1")
    [all...]
MatchersTest.java 61 import static org.mockito.Mockito.when;
70 when(mock.oneArg(and(eq(false), eq(false)))).thenReturn("0");
71 when(mock.oneArg(and(eq((byte) 1), eq((byte) 1)))).thenReturn("1");
72 when(mock.oneArg(and(eq('a'), eq('a')))).thenReturn("2");
73 when(mock.oneArg(and(eq((double) 1), eq((double) 1)))).thenReturn("3");
74 when(mock.oneArg(and(eq((float) 1), eq((float) 1)))).thenReturn("4");
75 when(mock.oneArg(and(eq((int) 1), eq((int) 1)))).thenReturn("5");
76 when(mock.oneArg(and(eq((long) 1), eq((long) 1)))).thenReturn("6");
77 when(mock.oneArg(and(eq((short) 1), eq((short) 1)))).thenReturn("7");
78 when(mock.oneArg(and(contains("a"), contains("d")))).thenReturn("8")
    [all...]
  /frameworks/av/media/libaaudio/examples/input_monitor/jni/
Application.mk 1 # TODO remove then when we support other architectures
  /libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DdmVmInternal.java 41 * @param when when to send the next HPIF chunk
42 * @return true on success. false if 'when' is bad or if there was
46 native public static boolean heapInfoNotify(int when);
54 native public static boolean heapSegmentNotify(int when, int what,
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/mach-o/
symbols-6-64.s 1 # now look at what happens when we append some indirects to the normal
symbols-6.s 1 # now look at what happens when we append some indirects to the normal
  /packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
GameControllerPreferenceControllerTest.java 37 import static org.mockito.Mockito.when;
55 when(mContext.getSystemService(Context.INPUT_SERVICE)).thenReturn(mInputManager);
75 when(mInputManager.getInputDeviceIds()).thenReturn(new int[]{1});
76 when(mInputManager.getInputDevice(1)).thenReturn(mInputDevice);
77 when(mInputDevice.isVirtual()).thenReturn(false);
78 when(mInputDevice.getVibrator().hasVibrator()).thenReturn(true);
85 when(mInputManager.getInputDeviceIds()).thenReturn(new int[]{1});
86 when(mInputManager.getInputDevice(1)).thenReturn(mInputDevice);
87 when(mInputDevice.isVirtual()).thenReturn(false);
88 when(mInputDevice.getVibrator().hasVibrator()).thenReturn(false)
    [all...]
  /frameworks/base/libs/androidfw/include/androidfw/
ZipUtils.h 70 static inline void zipTimeToTimespec(uint32_t when, struct tm* timespec) {
71 const uint32_t date = when >> 16;
78 timespec->tm_hour = (when >> 11) & 0x1F;
79 timespec->tm_min = (when >> 5) & 0x3F;
80 timespec->tm_sec = (when & 0x1F) << 1;
  /tools/tradefederation/core/tests/src/com/android/tradefed/util/
BluetoothUtilsTest.java 19 import static org.mockito.Mockito.when;
55 Mockito.doNothing().when(mMockRunUtil).sleep(Mockito.anyLong());
84 when(mMockDevice.executeShellCommand(Mockito.anyString())).thenReturn("");
85 Mockito.doReturn(true).when(mSpyClient).isSl4ARunning();
86 Mockito.doNothing().when(mSpyClient).open();
87 Mockito.doReturn(null).when(mSpyClient).rpcCall(BluetoothUtils.BTSNOOP_API, true);
93 when(mMockDevice.executeShellCommand(Mockito.anyString())).thenReturn("");
94 Mockito.doReturn(true).when(mSpyClient).isSl4ARunning();
95 Mockito.doNothing().when(mSpyClient).open();
97 .when(mSpyClient
    [all...]
  /external/mockito/src/test/java/org/mockitousage/
CompilationWarningsTest.java 19 doReturn(null).when(mock(IMethods.class)).objectReturningMethodNoArgs();
20 doReturn("a", 12).when(mock(IMethods.class)).objectReturningMethodNoArgs();
21 doReturn(1000).when(mock(IMethods.class)).objectReturningMethodNoArgs();
22 doThrow(new NullPointerException()).when(mock(IMethods.class)).objectReturningMethodNoArgs();
23 doThrow(new NullPointerException(), new IllegalArgumentException()).when(mock(IMethods.class)).objectReturningMethodNoArgs();
24 doThrow(NullPointerException.class).when(mock(IMethods.class)).objectReturningMethodNoArgs();
26 doAnswer(ignore()).doReturn(null).when(mock(IMethods.class)).objectReturningMethodNoArgs();
27 doAnswer(ignore()).doReturn("a", 12).when(mock(IMethods.class)).objectReturningMethodNoArgs();
28 doAnswer(ignore()).doReturn(1000).when(mock(IMethods.class)).objectReturningMethodNoArgs();
29 doAnswer(ignore()).doThrow(new NullPointerException()).when(mock(IMethods.class)).objectReturningMethodNoArgs()
    [all...]
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
A2dpProfileTest.java 45 import static org.mockito.Mockito.when;
72 }).when(mAdapter).getProfileProxy(any(Context.class), any(), eq(BluetoothProfile.A2DP));
81 when(mBluetoothA2dpWrapper.supportsOptionalCodecs(any())).thenReturn(
85 when(mBluetoothA2dpWrapper.supportsOptionalCodecs(any())).thenReturn(
89 when(mBluetoothA2dpWrapper.supportsOptionalCodecs(any())).thenReturn(
96 when(mBluetoothA2dpWrapper.getOptionalCodecsEnabled(any())).thenReturn(
100 when(mBluetoothA2dpWrapper.getOptionalCodecsEnabled(any())).thenReturn(
108 when(mBluetoothA2dpWrapper.getOptionalCodecsEnabled(any())).thenReturn(
110 when(mBluetoothA2dp.getConnectionState(any())).thenReturn(
113 when(mBluetoothA2dpWrapper.supportsOptionalCodecs(any())).thenReturn
    [all...]
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
IncomingCallNotifierTest.java 41 import static org.mockito.Mockito.when;
60 doReturn(info).when(mContext).getApplicationInfo();
61 doReturn(null).when(mContext).getTheme();
67 when(mAudioCall.getVideoState()).thenReturn(VideoProfile.STATE_AUDIO_ONLY);
68 when(mAudioCall.getTargetPhoneAccountLabel()).thenReturn("Bar");
69 when(mVideoCall.getVideoState()).thenReturn(VideoProfile.STATE_BIDIRECTIONAL);
70 when(mVideoCall.getTargetPhoneAccountLabel()).thenReturn("Bar");
71 when(mRingingCall.isSelfManaged()).thenReturn(true);
72 when(mRingingCall.isIncoming()).thenReturn(true);
73 when(mRingingCall.getState()).thenReturn(CallState.RINGING)
    [all...]
  /external/libunwind/include/
libunwind-dynamic.h 35 when a program registers a dynamically generated procedure, it uses
88 int32_t when; /* when does it take effect? */ member in struct:unw_dyn_op
179 #define _U_dyn_op_save_reg(op, qp, when, reg, dst) \
180 (*(op) = _U_dyn_op (UNW_DYN_SAVE_REG, (qp), (when), (reg), (dst)))
182 #define _U_dyn_op_spill_fp_rel(op, qp, when, reg, offset) \
183 (*(op) = _U_dyn_op (UNW_DYN_SPILL_FP_REL, (qp), (when), (reg), \
186 #define _U_dyn_op_spill_sp_rel(op, qp, when, reg, offset) \
187 (*(op) = _U_dyn_op (UNW_DYN_SPILL_SP_REL, (qp), (when), (reg), \
190 #define _U_dyn_op_add(op, qp, when, reg, value)
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/network/
NetworkResetRestrictionCheckerTest.java 23 import static org.mockito.Mockito.when;
51 when(mContext.getSystemService(Context.USER_SERVICE)).thenReturn(mUserManager);
58 when(context.getSystemService(Context.USER_SERVICE)).thenReturn(mUserManager);
59 when(mUserManager.isAdminUser()).thenReturn(false);
66 when(mUserManager.isAdminUser()).thenReturn(true);
67 doReturn(true).when(mRestrictionChecker).hasUserBaseRestriction();
68 doReturn(false).when(mRestrictionChecker).isRestrictionEnforcedByAdmin();
75 when(mUserManager.isAdminUser()).thenReturn(true);
76 doReturn(false).when(mRestrictionChecker).hasUserBaseRestriction();
77 doReturn(true).when(mRestrictionChecker).isRestrictionEnforcedByAdmin()
    [all...]

Completed in 879 milliseconds

1 2 3 4 5 6 7 8 91011>>