Lines Matching refs:mechanism

72     FRAHotpOathMechanism *mechanism = (FRAHotpOathMechanism *)[reader parseFromString:qrString handler:nil error:nil];
75 BOOL result = [mechanism generateNextCode:nil];
76 NSString *nextCode = [mechanism code];
86 FRAHotpOathMechanism *mechanism = (FRAHotpOathMechanism *)[reader parseFromString:qrString handler:nil error:nil];
89 BOOL result = [mechanism generateNextCode:nil];
90 NSString *nextCode = [mechanism code];
100 FRAHotpOathMechanism *mechanism = (FRAHotpOathMechanism *)[reader parseFromString:qrString handler:nil error:nil];
101 OCMStub([(FRAIdentityDatabaseSQLiteOperations *)mockSqlOperations insertMechanism:mechanism error:nil]).andReturn(YES);
102 [database insertMechanism:mechanism error:nil];
105 [mechanism generateNextCode:nil];
108 OCMVerify([(FRAIdentityDatabaseSQLiteOperations*)mockSqlOperations updateMechanism:mechanism error:nil]);
114 FRAHotpOathMechanism *mechanism = (FRAHotpOathMechanism *)[reader parseFromString:qrString handler:nil error:nil];
115 OCMStub([(FRAIdentityDatabaseSQLiteOperations *)mockSqlOperations insertMechanism:mechanism error:nil]).andReturn(YES);
116 [database insertMechanism:mechanism error:nil];
117 OCMStub([(FRAIdentityDatabaseSQLiteOperations *)mockSqlOperations updateMechanism:mechanism error:nil]).andReturn(YES);
122 [mechanism generateNextCode:nil];
139 FRAHotpOathMechanism *mechanism = (FRAHotpOathMechanism *)[reader parseFromString:qrString handler:nil error:nil];
142 BOOL result = [mechanism generateNextCode:nil];
143 NSString *code = [mechanism code];